Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
Integer
Programming,
Goal
Programming,
and
Nonlinear
Programming
Prepared by Lee Revere and John Large
To accompany
Quantitative
11-1
2006 by
Prentice Hall,
Learning Objectives
Students will be able to:
1. Understand the difference between
LP and integer programming.
2. Understand and solve the three
types of integer programming
problems.
3. Apply the branch and bound method
to solve integer programming
problems.
4. Solve goal programming problems
graphically and using a modified
simplex technique.
5. Formulate nonlinear programming
problems and solve using Excel.
To accompany
Quantitative
11-2
2006 by
Prentice Hall,
Chapter Outline
11.1 Introduction
11.2 Integer Programming
11.3 Modeling with 0-1 (Binary)
Variables
11.4 Goal Programming
11.5 Nonlinear Programming
To accompany
Quantitative
11-3
2006 by
Prentice Hall,
Introduction
Integer programming is the extension of
LP that solves problems requiring
integer solutions.
Goal programming is the extension of
LP that permits more than one objective
to be stated.
Nonlinear programming is the case in
which objectives or constraints are
nonlinear.
All three above mathematical
programming models are used when
some of the basic assumptions of LP are
made more or less restrictive.
To accompany
Quantitative
11-4
2006 by
Prentice Hall,
Summary: Linear
Programming Extensions
Integer Programming
Linear, integer solutions
Goal Programming
Linear, multiple objectives
Nonlinear Programming
Nonlinear objective and/or
constraints
To accompany
Quantitative
11-5
2006 by
Prentice Hall,
Integer Programming
Solution values must be whole
To accompany
Quantitative
11-6
2006 by
Prentice Hall,
Integer Programming
(continued)
11-7
2006 by
Prentice Hall,
Integer Programming
Example:
Harrison Electric Company
The Company produces two products
popular with home renovators: oldfashioned chandeliers and ceiling fans.
Both the chandeliers and fans require a twostep production process involving wiring
and assembly.
It takes about 2 hours to wire each
chandelier and 3 hours to wire a ceiling fan.
Final assembly of the chandeliers and fans
requires 6 and 5 hours, respectively.
The production capability is such that only
12 hours of wiring time and 30 hours of
assembly time are available.
To accompany
Quantitative
11-8
2006 by
Prentice Hall,
Integer Programming:
Example (continued)
If each chandelier produced nets the firm
$7 and each fan $6, Harrisons production
mix decision can be formulated using LP as
follows:
maximize profit = $7X1 + $6X2
subject to:
To accompany
Quantitative
11-9
2006 by
Prentice Hall,
Integer Programming:
Example (continued)
With only two variables and two constraints,
the graphical LP approach to generate the
optimal solution is given below:
6X1 + 5X2 30
+ = Possible Integer Solution
Optimal LP Solution
(X1 = 33/4, X2 = 11/2,
Profit = $35.25
2X1 + 3X2 12
To accompany
Quantitative
11-10
2006 by
Prentice Hall,
Integer Solution to
Harrison Electric Co.
Optimal
solution
Solution if
rounding
off
To accompany
Quantitative
11-11
2006 by
Prentice Hall,
Integer Solution to
Harrison Electric Co.
(continued)
Rounding off is one way to reach
integer solution values, but it often
does not yield the best solution.
An important concept to
understand is that an integer
programming solution can never
be better than the solution to the
same LP problem.
The integer problem is usually
worse in terms of higher cost or
lower profit.
To accompany
Quantitative
11-12
2006 by
Prentice Hall,
To accompany
Quantitative
11-13
2006 by
Prentice Hall,
To accompany
Quantitative
11-14
2006 by
Prentice Hall,
To accompany
Quantitative
11-15
2006 by
Prentice Hall,
To accompany
Quantitative
11-16
2006 by
Prentice Hall,
To accompany
Quantitative
11-17
2006 by
Prentice Hall,
To accompany
Quantitative
11-18
2006 by
Prentice Hall,
To accompany
Quantitative
11-19
2006 by
Prentice Hall,
Integer Solution:
Creating Sub-problems
11-20
2006 by
Prentice Hall,
11-21
2006 by
Prentice Hall,
To accompany
Quantitative
11-22
2006 by
Prentice Hall,
Sub-problems C and D
Subproblem As branching yields
Subproblems C and D.
Subproblem C
maximize profit = $7X1 + $6X2
Subject to:
2X1 + 3X2 12
6X1 + 5X2 30
X1
4
X2 2
Subproblem D
maximize profit = $7X1 + $6X2
Subject to:
2X1 + 3X2 12
6X1 + 5X2 30
X1
4
X2 1
To accompany
Quantitative
11-23
2006 by
Prentice Hall,
Sub-problems C and D
(continued)
11-24
2006 by
Prentice Hall,
To accompany
Quantitative
11-25
2006 by
Prentice Hall,
Subproblems E and F
Finally, create subproblems E and F and
solve for X1 and X2 with the added
constraints X1 4 and X1 5. The
subproblems and their solutions are:
Subproblem E
maximize profit = $7X1 + $6X2
Subject to:
2X1 + 3X2 12
6X1 + 5X2 30
X1
4
X1
4
X2 1
Optimal solution for E:
X1 = 4, X2 = 1, profit = $34
To accompany
Quantitative
11-26
2006 by
Prentice Hall,
Subproblems E and F
(continued)
Subproblem F
maximize profit = $7X1 + $6X2
Subject to:
2X1 + 3X2 12
6X1 + 5X2 30
X1
4
X1
5
X2 1
Optimal solution for F:
X1 = 5, X2 = 0, profit = $35
To accompany
Quantitative
11-27
2006 by
Prentice Hall,
To accompany
Quantitative
11-28
2006 by
Prentice Hall,
To accompany
Quantitative
11-29
2006 by
Prentice Hall,
Goal Programming
Firms usually have more than one goal. For
example,
11-30
2006 by
Prentice Hall,
Goal Programming
(continued)
To accompany
Quantitative
11-31
2006 by
Prentice Hall,
Example of Goal
Programming
Harrison Electric Revisited
Goals Harrisons management wants to
achieve, each equal in priority:
Goal 1: to produce as much profit
above $30 as possible during the
production period.
Goal 2: to fully utilize the available
wiring department hours.
Goal 3: to avoid overtime in the
assembly department.
Goal 4: to meet a contract requirement
to produce at least seven ceiling fans.
To accompany
Quantitative
11-32
2006 by
Prentice Hall,
Example of Goal
Programming
Harrison Electric Revisited
Need a clear definition of deviational
variables, such as :
d1 = underachievement of the profit target
d1+ = overachievement of the profit target
d2 = idle time in the wiring dept. (underused)
d2+ = overtime in the wiring dept. (overused)
d3 = idle time in the assembly dept. (underused)
d3+ = overtime in the wiring dept. (overused)
d4 = underachievement of the ceiling fan goal
d4+ = overachievement of the ceiling fan goal
To accompany
Quantitative
11-33
2006 by
Prentice Hall,
Priority
Priority11isisinfinitely
infinitelymore
moreimportant
importantthan
than
Priority
Priority2,2,which
whichisisinfinitely
infinitelymore
moreimportant
important
than
thanthe
thenext
nextgoal,
goal,and
andso
soon.
on.
To accompany
Quantitative
11-34
2006 by
Prentice Hall,
To accompany
Quantitative
11-35
2006 by
Prentice Hall,
To accompany
Quantitative
11-36
2006 by
Prentice Hall,
To accompany
Quantitative
11-37
2006 by
Prentice Hall,
To accompany
Quantitative
11-38
2006 by
Prentice Hall,
Initial Goal
Programming Tableau
Cj
0 P1 P2 0 P4 0
0 P3 0
Pivot Column
Solution
x1 x2 d1- d2- d3- d4- d1+ d2+ d3+ d4+
Quantity
Mix
P1
d1-
0 -1 0
30
P2
d2-
0 -1 0
12
d3-
0 -1 0
30
P4
d4-
0 -1
Zj
0 1 0
{
P4
Cj - Zj 0 -1 0
0 -1
0 -1
0
{ Zj
P3
Cj - Z j 0
Zj
2
{
P2
Cj - Zj -2
0
3
0 0
0 1
0
0
0
0
0 0 1
0 -1 0
0
0
0 -1 0
-3 0
7 6
{ Zj
P1
Cj - Zj -7 -6
To accompany
Quantitative
11-39
0
1
2
2006 by
Prentice Hall,
Second Goal
Programming Tableau
Cj
0 P1 P2 0 P4 0
0 P3 0
Pivot Column
Solution x x d - d - d - d - d + d + d + d +
1
2
1
2
3
4
1
2
3
4
Quantity
Mix
P1
x1
1 6/7 1/7 0
0 -1/7 0
30/7
P2
d2-
0 9/7 -2/7 1
0 +2/7 -1 0
24/7
d3-
0 -1/7 -6/7 0
0 6/7 0 -1 0
30/7
P4
d4-
0 -1
Zj
0 1 0
{
P4
Cj - Zj 0 -1 0
0 -1
0 +1
0
{ Zj
P3
Cj - Zj 0
0 0
Z
0 9/7 -2/7 1
P2 { j
Cj - Zj 0 -9/7 +2/7 0
0 2/7 -1 0
0 24/7
0 -2/7 +1 0
0
{ Zj
P1
Cj - Zj 0
To accompany
Quantitative
11-40
2006 by
Prentice Hall,
0 P1 P2 0 P4 0
0 P3 0
Solution x x d - d - d - d - d + d + d + d +
1
2
1
2
3
4
1
2
3
4
Quantity
Mix
P1
d2+
8/5 0
0 -1 3/5 0
1 -3/5 0
P2
x2
6/5 1
0 1/5 0
0 -1/5 0
d1+
1/5 0 -1 0 6/5 0
0 -6/5 0
P4
d4+
-6/5 0
0 -1/5 1
0 1/5 -1
Zj
-6/5 0
{
P4
Cj - Zj 6/5 0
0 -1/5 1
0 1/5 -1
0 1/5 0
0 -1/5 -1
0 0
0
{ Zj
P3
Cj - Z j 0
Zj
0
{
P2
Cj - Zj 0
0 0
0
{ Zj
P1
Cj - Z j 0
To accompany
Quantitative
11-41
0
0
0
2006 by
Prentice Hall,
Final
FinalTableau
Tableau for
forHarrison
Harrison Electric
Electric
Using
Using POM-QM
POM-QM for
forWindows.
Windows.
To accompany
Quantitative
11-42
2006 by
Prentice Hall,
To accompany
Quantitative
11-43
2006 by
Prentice Hall,
Nonlinear
Programming
Nonlinear objective function, linear
constraints
Nonlinear objective function and
nonlinear constraints
Linear objective function and
nonlinear constraints
To accompany
Quantitative
11-44
2006 by
Prentice Hall,
Nonlinear
Programming
Nonlinear objective function,
linear constraints
Max:
Subject to:
To accompany
Quantitative
11-45
2006 by
Prentice Hall,
Nonlinear
Programming
An
AnExcel
ExcelFormulation
Formulationof
ofGreat
GreatWestern
Western
Appliances
AppliancesNonlinear
NonlinearProgramming
ProgrammingProblem.
Problem.
To accompany
Quantitative
11-46
2006 by
Prentice Hall,
Nonlinear
Programming
Nonlinear objective function and
nonlinear constraints.
Max:
Subject to:
To accompany
Quantitative
11-47
2006 by
Prentice Hall,
Nonlinear
Programming
The
TheProblem
Problemhas
hasboth
bothNonlinear
NonlinearObjective
Objective
Function
Functionand
andNonlinear
NonlinearConstraints.
Constraints.
The
Thesolution
solutionto
toGreat
GreatWestern
WesternAppliances
Appliances
NLP
NLPProblem
Problemusing
usingExcel
ExcelSolver:
Solver:
To accompany
Quantitative
11-48
2006 by
Prentice Hall,
Nonlinear
Programming
The
Theproblem
problemhas
hasboth
bothNonlinear
NonlinearObjective
Objective
Function
Functionand
andNonlinear
NonlinearConstraints.
Constraints.
An
AnExcel
ExcelFormulation
Formulationof
ofHospicare
HospicareCorp.s
Corp.s
NLP
NLPProblem:
Problem:
To accompany
Quantitative
11-49
2006 by
Prentice Hall,
Nonlinear
Programming
The
Theproblem
problemhas
hasboth
bothNonlinear
NonlinearObjective
Objective
Function
Functionand
andNonlinear
NonlinearConstraints.
Constraints.
Excel
ExcelSolution
Solutionto
tothe
theHospicare
HospicareCorp.s
Corp.s
NLP
NLPProblem
Problemusing
usingSolver:
Solver:
To accompany
Quantitative
11-50
2006 by
Prentice Hall,
Nonlinear
Programming
Linear objective function and
nonlinear constraints
Max:
5X1 + 7X2
Subject to:
3X1+ 0.25X12 + 4X2 + 0.3X22 125
13X1 + X13 80
0.7X1 + X2 17
To accompany
Quantitative
11-51
2006 by
Prentice Hall,
Nonlinear
Programming
The
Theproblem
problemhas
hasboth
bothLinear
LinearObjective
Objective
Function
Functionwith
withNonlinear
NonlinearConstraints.
Constraints.
Excel
ExcelFormulation
Formulationof
ofThermlocks
ThermlocksNLP
NLP
Problem:
Problem:
To accompany
Quantitative
11-52
2006 by
Prentice Hall,
Nonlinear
Programming
The
Theproblem
problemhas
hasboth
bothLinear
LinearObjective
Objective
Function
Functionwith
withNonlinear
NonlinearConstraints.
Constraints.
The
Thesolution
solutionto
toThermlocks
ThermlocksNLP
NLPProblem
Problem
Using
Usingthe
theExcel
ExcelSolver:
Solver:
To accompany
Quantitative
11-53
2006 by
Prentice Hall,
Computational Procedures
-Nonlinear Programming
Gradient method (steepest descent)
Separable programming - linear
representation of nonlinear problem
Separable programming deals with a
class of problems in which the objective
and constraints are approximated by
linear functions. In this way, the
powerful simplex algorithm may again
be applied.
In general, work in the area of NLP is
the least charted and most difficult of
all the quantitative analysis models.
To accompany
Quantitative
11-54
2006 by
Prentice Hall,