Integer Programming and Goal Programming: To Accompany
Integer Programming and Goal Programming: To Accompany
Integer Programming
and Goal Programming
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna
Power Point slides created by Jeff Heyl
Introduction
A large number of business problems can be
11 2
Integer Programming
An integer programming model is one where one
11 3
11 4
each fan $6
Harrisons production mix decision can be
formulated using LP as follows
11 5
Electric
Problem
X2
6
5
6X1 + 5X2 30
3
2
1
Figure 11.1
+
+
Optimal LP Solution
(X1 =3.75, X2 = 1.5,
Profit = $35.25)
2X1 + 3X2 12
X1
11 6
integer problem
His first attempt at solving it is to round the
values to X1 = 4 and X2 = 2
However, this is not feasible
Rounding X2 down to 1 gives a feasible solution,
but it may not be optimal
This could be solved using the enumeration
method
Enumeration is generally not possible for large
problems
11 7
$0
14
21
28
35
13
20
27
34
12
19
26
33
18
25
Integer
solutions
Optimal solution to
integer programming
problem
Solution if
rounding is used
Table 11.1
2009 Prentice-Hall, Inc.
11 8
11 9
Branch-and-Bound Method
The most common algorithm for solving integer
11 10
Branch-and-Bound Method
Bounds on the value of the objective function are
11 11
11 12
(a)
If a branch yields a solution to the LP
problem that is not feasible,
feasible terminate the
branch
(b) If a branch yields a solution to the LP
problem that is feasible, but not an integer
solution, go to step 6
(c)
If the branch yields a feasible integer
solution, examine the value of the objective
function. If this value equals the upper bound,
an optimal solution has been reached. If it not
equal to the upper bound, but exceeds the
lower bound, terminate this branch.
2009 Prentice-Hall, Inc.
11 13
11 14
11 15
not valid
The profit value of $35.25 will provide the initial
upper bound
We can round down to X1 = 3, X2 = 1, profit = $27,
which provides a feasible lower bound
The problem is now divided into two subproblems
11 16
11 17
bound method
11 18
subproblems A and B
Subproblem A
X1
X1 = 4
X2 = 1.2
P = 35.20
X1 = 3.75
X2 = 1.5
P = 35.25
X
Figure 11.2
X1 = 3
X2 = 2
P = 33.00
Stop This Branch
Solution Is Integer, Feasible
Provides New Lower Bound of $33.00
2009 Prentice-Hall, Inc.
11 19
subproblems, C and D
Subproblem C
Maximize profit = $7X1 + $6X2
subject to
2X1 + 3X2
6X1 + 5X2
X1
X2
12
30
4
2
Subproblem D
Maximize profit = $7X1 + $6X2
subject to
2X1 + 3X2
6X1 + 5X2
X1
X2
12
30
4
1
2009 Prentice-Hall, Inc.
11 20
11 21
12
30
4
4
1
12
30
4
5
1
Optimal solution to E:
X1 = 4, X2 = 1, profit = $34
Optimal solution to F:
X1 = 5, X2 = 0, profit = $35
11 22
11 23
Subproblem A
X2
X1
X1 = 4
X2 = 1.2
P = 35.20
Subproblem D
X
X1 = 3.75
X2 = 1.5
P = 35.25
X
Figure 11.3
Subproblem B
3
Subproblem E
X1
X1 = 4.17
X2 = 1
P = 35.16
1
Upper Bound
= $35.25
Lower Bound
= $27.00
Feasible, Integer
Solution
Subproblem F
X
X1 = 3
X2 = 2
P = 33.00
X1 = 4
X2 = 1
P = 34.00
X1 = 5
X2 = 0
P = 35.00
Optimal
Solution
2009 Prentice-Hall, Inc.
11 24
Electric data
Program 11.1A
2009 Prentice-Hall, Inc.
11 25
Electric data
Program 11.1B
2009 Prentice-Hall, Inc.
11 26
Program 11.1C
11 27
Mixed-Integer Programming
Problem Example
There are many situations in which some of the
11 28
Mixed-Integer Programming
Problem Example
AMOUNT PER 50-POUND
BAG OF XYLINE (LB)
AMOUNT OF
INGREDIENTS
AVAILABLE
30
0.5
2,000 lbingredient A
18
0.4
800 lbingredient B
0.1
200 lbingredient C
11 29
Mixed-Integer Programming
Problem Example
The model is
2,000
800
200
0 and X integer
11 30
Mixed-Integer Programming
Problem Example
Using QM for Windows and Excel to solve
Bagwells IP model
Program 11.3
2009 Prentice-Hall, Inc.
11 31
11 32
projects undertaken
11 33
YEAR 1
YEAR 2
Catalytic Converter
$25,000
$8,000
$7,000
Software
$18,000
$6,000
$4,000
Warehouse expansion
$32,000
$12,000
$8,000
$20,000
$16,000
Available funds
Table 11.2
11 34
11 35
11 36
11 37
Dependent Selections
At times the selection of one project depends on
11 38
11 39
ANNUAL
FIXED COST
VARIABLE COST
PER UNIT
ANNUAL
CAPACITY
Baytown, TX
$340,000
$32
21,000
Lake Charles, LA
$270,000
$33
20,000
Mobile, AL
$290,000
$30
19,000
Table 11.3
11 40
11 41
X1 = 0, X2 = 1, X3 = 1, X4 = 0, X5 = 19,000, X6 = 19,000
Objective function value = $1,757,000
2009 Prentice-Hall, Inc.
11 42
Exercise
The net present value (total profitability considering the time value
of money) of each of these alternatives is shown in the fourth
column of Table 1. The rightmost column gives the capital
required (already included in the net present value) for the
respective investments, where the total capital available is $10
million. The objective is to find the feasible combination of
alternatives that maximizes the total net present value
11 43
Table 1
11 44
Goal Programming
Firms often have more than one goal
They may want to achieve several, sometimes
contradictory, goals
In linear and integer programming methods the
objective function is measured in one dimension
only
It is not possible for LP to have multiple goals
unless they are all measured in the same units,
and this is a highly unusual situation
An important technique that has been developed
to supplement LP is called goal programming
11 45
Goal Programming
Typically goals set by management can be
11 46
problem is
11 47
11 48
= d 1 + d 1+
11 49
11 50
11 51
d 1+
d 2+
d 3+
d 4+
= 30
= 12
= 30
=7
(profit constraint)
(wiring hours)
(assembly hours)
(ceiling fan constraint)
11 52
11 53
PRIORITY
P1
P2
P3
P4
11 54
ones
11 55
problems graphically
We must be aware of three characteristics
of goal programming problems
1. Goal programming models are all
minimization problems
2. There is no single objective, but multiple
goals to be attained
3. The deviation from the high-priority goal
must be minimized to the greatest extent
possible before the next-highest-priority goal
is considered
2009 Prentice-Hall, Inc.
11 56
model
11 57
11 58
X2
7
Minimize Z = P1d1
6
5
4
3
d1+
2
1
0
Figure 11.4
d 1
7X1 + 6X2 = 30
X1
11 59
minimizing d2
The region below the constraint line 2X1 + 3X2 =
12 represents the values for d2 while the region
above the line stands for d2+
To avoid underutilizing wiring department hours
the area below the line is eliminated
This goal must be attained within the feasible
region already defined by satisfying the first goal
11 60
first and
second goals
X2
7
6
5
d1+
4
3
2
2X1 + 3X2 = 12
1
d2+
0
Figure 11.5
7X1 + 6X2 = 30
d2
X1
11 61
assembly department
We want d3+ to be as close to zero as possible
This goal can be obtained
Any point inside the feasible region bounded by
the first three constraints will meet the three
most critical goals
The fourth constraint seeks to minimize d4
To do this requires eliminating the area below
the constraint line X2 = 7 which is not possible
given the previous, higher priority, constraints
11 62
all four
priority goals
X2
d 4+
7
6 A
5
D
4
X2 = 7
d 4
d3
d1+
d2+
6X1 + 5X2 = 30
B
0
Figure 11.6
2X1 + 3X2 = 12
7X1 + 6X2 = 30
|
X1
11 63
11 64
11 65
P1
P2
P4
P3
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
QUANTITY
P1
d1
30
P2
d2
12
d3
30
P4
d4
Zj
P4
P3
P2
12
P1
30
P4
P3
P2
P1
Cj Zj
6 column
0
Pivot
Table 11.5
2009 Prentice-Hall, Inc.
11 66
11 67
11 68
11 69
11 70
P1
P2
P4
P3
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
QUANTITY
X1
6/7
1/7
1/7
30/7
P2
d2
9/7
2/7
2/7
24/7
d3
1/7
6/7
6/7
30/7
P4
d4
Zj
P4
P3
P2
9/7
2/7
2/7
24/7
P1
P4
P3
P2
9/7
2/7
2/7
P1
Cj Zj
1 column
0
Pivot
Table 11.6
2009 Prentice-Hall, Inc.
11 71
P1
P2
P4
P3
SOLUTION
MIX
X1
X2
d1
d2
d3
d4
d1+
d2+
d3+
d4+
QUANTITY
d2+
8/5
3/5
3/5
X2
6/5
1/5
1/5
d1+
1/5
6/5
6/5
P4
d4
6/5
1/5
1/5
Zj
P4
6/5
1/5
1/5
P3
P2
P1
P4
6/5
1/5
1/5
P3
P2
P1
Cj Zj
Table 11.7
2009 Prentice-Hall, Inc.
11 72
11 73
X1 = 0 chandeliers produced
X2 = 6 ceiling fans produced
d1+ = $6 over the profit goal
d2+ = 6 wiring hours over the minimum set
d4 = 1 fewer fan than desired
11 74
11 75
11 76
Program 11.6A
11 77
Windows
Program 11.6B
11 78
Program 11.6C
2009 Prentice-Hall, Inc.
11 79