Professional Documents
Culture Documents
Technical Note 2
OBJECTIVES
Linear Programming Basics
A Maximization Problem
A Minimization Problem
Common Applications
Objective Function
Maximize
Maximize(or
(orMinimize)
Minimize) ZZ==CC11XX11 ++CC22XX22 ++...
...++ CCnnXXnn
Constraints
... ++ AA1n1nXXnnBB11
AA1111XX11 ++ AA1212XX22 ++ ...
... ++ AA2n2nXXnnBB22
AA2121XX11 ++ AA2222XX22 ++ ...
::
::
AAM1
XA
M1X11 + AAM2
ij+are
XX22 ++ ...
M2resource ... ++ AA X =B
MnXnn=BMM
requirements
Mn for each of
the related (Xj) decision variables
Bi are the available resource
requirements
Note that the direction of the inequalities
Non-Negativity Requirement
XX11,X …, XXnn00
,X22,, …,
All linear programming model
formulations require their decision
variables to be non-negative
While these non-negativity
requirements take the form of a
constraint, they are considered a
mathematical requirement to complete
the formulation of an LP model
W
Where
here
Z
Z ==the
themmonthly
onthlyprofit
profitfrom
fromMMax
axand
andMMultim
ultimax
ax
X
X11==the
thenum
number
berof
ofMMax
axproduced
producedeach
eachmmonth
onth
X
X22==the
thenum
number
berof
ofM
Multim
ultimax
axproduced
producedeach
eachm month
onth
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
12
Constraints
Given
Giventhe
theresource
resourceinformation
informationbelow
belowfrom
fromthe
theproblem:
problem:
Max (X1) Multimax (X2)
Required Time/Unit Required Time/Unit Available Time/Month
3 5 5,000 Fab
1 4 3,000 Assy
We
Wecan
cannow
nowstate
statethe
theconstraints
constraintsand
andnon-negativity
non-negativity
requirements
requirementsas:
as:
3X1 + 5X 2 5,000 (Fab.)
X1 + 4X 2 3,000 (Assy.)
X1 ,X 2 0 (Non-negativity)
Note
Notethat
thatthe
theinequalities
inequalitiesare
areless-than-or-equal
less-than-or-equalsince
since
the
thetime
timeresources
resourcesrepresent
representthe
the total
totalavailable
available
resources
resourcesforforproduction
production
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
13
Solution
Produce
Produce 715 715 Max
Max and
and 571
571 Multimax
Multimax per
per month
month
for
for aa profit
profit of
of $742,800
$742,800
Now
Now let’s
let’sformulate
formulatethis
thisproblem
problemas
asan
anLP
LPmodel…
model…
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
15
Minimize
Minimize ZZ == 15,000
15,000 XX11 ++ 18,000
18,000 XX22
Where
Where
ZZ == daily
dailyscrap
scrap cost
cost
XX11== truckloads
truckloadsfrom
fromHasbeen
Hasbeen
XX2 == truckloads
truckloadsfrom
fromGentro
Gentro
2
Hasbeen
Gentro
We
Wecan cannow
nowstate
statethe
theconstraints
constraintsand andnon-negativity
non-negativity
requirements
requirementsas: as: Note
Notethat
thatthe
the
inequalities
inequalitiesare
are
1.5X + X
1.5X11 + X22 > 6(Zinc/tons)
> 6(Zinc/tons) greater-than-or-
greater-than-or-
equal
equal since
sincethe
the
XX1 ++ 3X
3X22 >>10(Lead/tons)
10(Lead/tons) demand
demandinformation
information
1
represents
representsthe
the
XX11,,XX22 >>00(Non-negativity)
(Non-negativity) minimum
minimumnecessary
necessary
for
forproduction.
production.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
17
Solution
Order
Order 2.29
2.29 truckloads
truckloads from
from Hasbeen
Hasbeen andand 2.57
2.57
truckloads
truckloads from
from Gentro
Gentro for
for daily
daily delivery.
delivery. The
The daily
daily
cost
cost will
will be
be $80,610.
$80,610.
Note:
Note: Do
Do youyou see
see why
why in
in this
this solution
solution that
that
“integer”
“integer” linear
linear programming
programming methodologies
methodologies
can
can have
have useful
useful applications
applications in in industry?
industry?
Question Bowl
Which of the following is considered
an “essential condition” for linear
programming to be used in a
problem situation?
a. Limited resources
b. Explicit objective
c. Divisibility
d. Linearity
e. All of the above
Question Bowl
The fact that a regular linear programming
model has to permit a solution that is
factional, refers to which of the
following “essential conditions”?
a. Limited resources
b. Explicit objective
c. Divisibility
d. Linearity
e. All of the above
Answer: c. Divisibility
Question Bowl
Which of the following are means by
which a linear programming
problem can be solved?
a. Genetic algorithm
b. Microsoft Solver spreadsheet
program
c. Graphic LP
d. All of the above
e. None of the above
End of Technical
Note 2