Professional Documents
Culture Documents
McGraw-Hill/Irwin
Technical Note 2
Optimizing the Use
of Resources with
Linear
Programming
McGraw-Hill/Irwin
OBJECTIVES
A Maximization Problem
A Minimization Problem
McGraw-Hill/Irwin
McGraw-Hill/Irwin
Common Applications
McGraw-Hill/Irwin
McGraw-Hill/Irwin
Objective Function
Maximize
Maximize (or
(or Minimize)
Minimize) ZZ ==CC11XX11 ++CC22XX22 ++...
...++ CCnnXXnn
McGraw-Hill/Irwin
Constraints
AA1111XX11 ++ AA1212XX22 ++ ...
... ++ AA1n1nXXnnBB11
AA2121XX11 ++ AA2222XX22 ++ ...
... ++ AA2n2nXXnnBB22
::
::
AAM1
X11 ++ AAM2
XX22 ++ ...
++ AAMn
XXnn==BBMM
...
XA
M1
M2
Mn
ij are resource requirements for each of
the related (Xj) decision variables
Bi are the available resource
requirements
Note that the direction of the inequalities
can be all or a combination of , , or =
linear mathematical expressions
McGraw-Hill/Irwin
Non-Negativity Requirement
XX11,X
,X22,, ,
, XXnn00
McGraw-Hill/Irwin
10
Now
Now lets
letsformula
formulathis
thisproblem
problem as
as an
an LP
LPmodel
model
McGraw-Hill/Irwin
Maximize
Maximize ZZ == 400X
400X11 ++ 800
800 XX22
Where
Where
ZZ == the
the monthly
monthlyprofit
profit from
from Max
Max and
and Multimax
Multimax
XX11 == the
the number
number of
of Max
Max produced
produced each
each month
month
XX22 == the
the number
number of
of Multimax
Multimax produced
produced each
each month
month
McGraw-Hill/Irwin
11
12
Constraints
Given
Giventhe
theresource
resourceinformation
informationbelow
below from
fromthe
theproblem:
problem:
Max (X1)
Required Time/Unit
3
1
Multimax (X2)
Required Time/Unit
5
4
Available Time/Month
5,000
3,000
Fab
Assy
We
Wecan
cannow
now state
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
(Non - negativity)
Note
Notethat
thatthe
theinequalities
inequalitiesare
areless-than-or-equal
less-than-or-equalsince
since
the
thetime
timeresources
resourcesrepresent
representthe
the total
total available
available
resources
resourcesfor
forproduction
production
McGraw-Hill/Irwin
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
McGraw-Hill/Irwin
An Example of a Minimization
Problem
HiTech Metal Company is developing a plan for buying
scrap metal for its operations. HiTech receives scrap
metal from two sources, Hasbeen Industries and
Gentro Scrap in daily shipments using large trucks.
Each truckload of scrap from Hasbeen yields 1.5 tons
of zinc and 1 ton of lead at a cost of $15,000. Each
truckload of scrap from Gentro yields 1 ton of zinc and
3 tons of lead at a cost of $18,000. HiTech requires at
least 6 tons of zinc and at least 10 tons of lead per day.
Question: How many truckloads of scrap should be
purchased per day from each source in order to
minimize scrap metal costs to HiTech?
Now
Now lets
letsformula
formulathis
thisproblem
problem as
as an
an LP
LPmodel
model
McGraw-Hill/Irwin
14
Minimize
Minimize ZZ == 15,000
15,000 XX11 ++ 18,000
18,000 XX22
Where
Where
ZZ== daily
dailyscrap
scrapcost
cost
XX11== truckloads
truckloadsfrom
fromHasbeen
Hasbeen
XX2 == truckloads
truckloadsfrom
fromGentro
Gentro
2
Hasbeen
McGraw-Hill/Irwin
Gentro
15
Constraints
16
Given
Giventhe
thedemand
demandinformation
informationbelow
below from
fromthe
the problem:
problem:
Hasbeen (X1)
Tons
1.5
1
Gentro (X2)
Tons
1
3
Min Tons
6
10
Zinc
Lead
We
Wecan
cannow
now state
statethe
theconstraints
constraintsand
andnon-negativity
non-negativity
requirements
requirementsas:
as:
Note
Notethat
thatthe
the
inequalities
inequalitiesare
are
1.5X
+
X
>
6(Zinc/tons)
1.5X11 + X22
> 6(Zinc/tons)
greater-than-orgreater-than-orequal
equal since
sincethe
the
XX1
++ 3X
>>10(Lead/tons)
demand
3X22
10(Lead/tons)
demandinformation
information
1
represents
representsthe
the
XX11,,XX22
>>00(Non-negativity)
minimum
(Non-negativity)
minimum necessary
necessary
for
forproduction.
production.
McGraw-Hill/Irwin
17
Solution
Order
Order 2.29
2.29 truckloads
truckloads from
from Hasbeen
Hasbeen and
and 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 you
you 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?
McGraw-Hill/Irwin
18
End of Technical
Note 2
McGraw-Hill/Irwin