Integer Mhs
Integer Mhs
Integer Programming,
Goal Programming, and
Nonlinear Programming
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna © 2008 Prentice-Hall, Inc.
Power Point slides created by Jeff Heyl © 2009 Prentice-Hall, Inc.
Introduction
A large number of business problems can be
solved only if variables have integer values
We will solve integer programming problems
graphically and by using the branch and bound
method
Many business problems have multiple objectives
Goal programming is an extension to LP that can
permit multiple objectives
Linear programming requires linear models
Nonlinear programming allows objectives and
constraints to be nonlinear
4–
+ = Possible Integer Solution
3– +
Optimal LP Solution
(X1 =3.75, X2 = 1.5,
2– + + + Profit = $35.25)
2X1 + 3X2 ≤ 12
1– + + + +
| | | | | | |
0–
Figure 11.1 1 2 3 4 5 6 X1
© 2009 Prentice-Hall, Inc. 11 – 7
Harrison Electric Company Example of
Integer Programming
The production planner Wes recognizes this is an
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
Program 11.1A
Program 11.1B
Program 11.2B
© 2009 Prentice-Hall, Inc. 11 – 15
Using Software to Solve Harrison
Integer Programming Problem
Excel solution to the Harrison Electric integer
programming model
Program 11.2C
© 2009 Prentice-Hall, Inc. 11 – 16
Mixed-Integer Programming
Problem Example
There are many situations in which some of the
variables are restricted to be integers and some
are not
Bagwell Chemical Company produces two
industrial chemicals
Xyline must be produced in 50-pound bags
Hexall is sold by the pound and can be produced
in any quantity
Both xyline and hexall are composed of three
ingredients – A, B, and C
Bagwell sells xyline for $85 a bag and hexall for
$1.50 per pound
Program 11.3
Program 11.4A
© 2009 Prentice-Hall, Inc. 11 – 21
Mixed-Integer Programming
Problem Example
Excel solution to the Bagwell Chemical problem
Program 11.4B
Table 11.2
The basic model is
Maximize net present value of projects undertaken
subject to Total funds used in year 1 ≤ $20,000
Total funds used in year 2 ≤ $16,000
Table 11.3
X1 = 0, X2 = 1, X3 = 1, X4 = 0, X5 = 19,000, X6 = 19,000
Objective function value = $1,757,000
Table 11.4
Model formulation
subject to
X1 + X4 + X5 ≥ 2 (Texas constraint)
X2+ X3 ≤ 1 (foreign oil constraint)
X6 + X7 = 1 (California constraint)
480X1 + 540X2 + 680X3 + 1,000X4 + 700X5
+ 510X6 + 900X7 ≤ 3,000 ($3 million limit)
Program 11.5A
Program 11.5B
© 2009 Prentice-Hall, Inc. 11 – 38
Using Excel to Solve the
Simkin Example
Excel solution to Simkin’s 0-1 integer
programming problem
Program 11.5C
© 2009 Prentice-Hall, Inc. 11 – 39
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
GOAL PRIORITY
Program 11.6A
Program 11.6B
Program 11.6C
© 2009 Prentice-Hall, Inc. 11 – 55
Nonlinear Programming
The methods seen so far have all assumed that
the problem's objective function and constraints
are linear
Terms such as X13, 1/X2, log X3, or 5X1X2 are not
allowed
But there are many nonlinear relationships in the
real world that would require the objective
function, constraint equations, or both to be
nonlinear
Excel can be used to solve these nonlinear
programming (NLP)
NLP problems
+ 21X2
+ 0.25X22
subject to X1
+ 21X2a squared
When an objective function contains
term and the problem constraints
≤
are linear, it is
called a quadratic programming problem
1,000
© 2009 Prentice-Hall, Inc. 11 – 58
Nonlinear Objective Function and
Linear Constraints
An Excel formulation of Great Western’s problem
Program 11.7A
© 2009 Prentice-Hall, Inc. 11 – 59
Nonlinear Objective Function and
Linear Constraints
Solution to Great Western Appliance’s NLP
problem using Excel Solver
Program 11.7B
Program 11.8A
© 2009 Prentice-Hall, Inc. 11 – 63
Both Nonlinear Objective Function
and Nonlinear Constraints
Excel solution to the Hospicare Corp. NLP
problem using Solver
Program 11.8B
+ 0.25X12
+ 4X2
+ 0.3X22
125
(hardness
constraint)
© 2009 Prentice-Hall, Inc. 11 – 66
Linear Objective Function and
Nonlinear Constraints
Excel formulation of Thermlock’s NLP problem
Program 11.9A
© 2009 Prentice-Hall, Inc. 11 – 67
Linear Objective Function and
Nonlinear Constraints
Solution to Thermlock’s NLP problem using Excel
Solver
Program 11.9B