Professional Documents
Culture Documents
2
Optimizing the Use of
Resources with Linear
Programming
1
OBJECTIVES
A Maximization Problem
A Minimization Problem
LINEAR PROGRAMMING
ESSENTIAL CONDITIONS
COMMON APPLICATIONS
Limited Resources
dialokasikan
Linearitas adalah pemodelan
yang ada dalam fungsi objektif
dan constraint (batasan)
Produk diasumsikan homogen
dan semua jam
kerja/produktifitas diasumsikan
sama
Divisibility mengasumsikan
produk dan sumber-sumber
/resource dapat dibagi
5
OBJECTIVE FUNCTION
Maximize
Maximize(or
(orMinimize)
Minimize)ZZ==CC11XX11 ++ CC22XX22 ++ ...
... ++ CCnnXXnn
CONSTRAINTS
AA1111XX11 ++ AA1212XX22 ++ ...
... ++ AA1n1nXXnnBB11
AA2121XX11 ++ AA2222XX22 ++ ...
... ++ AA2n2nXXnnBB22
::
::
are
for each
AAAM1
+ resource
A M2XX22 ++ ...
++ AAMn
X =B
ij X
...requirements
M1X11 + AM2
MnXnn=BMM
NON-NEGATIVITY REQUIREMENT
XX11,X
,X22,, ,
, XXnn00
Now
Now lets
letsformula
formulathis
thisproblem
problem as
asan
anLP
LPmodel
model
9
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
Note that
that the
theinequalities
inequalitiesare
areless-than-or-equal
less-than-or-equal since
since
the
thetime
timeresources
resources represent
represent the
thetotal
totalavailable
available
resources
resourcesfor
forproduction
production
11
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
12
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
this problem
problem as
asan
an LP
LPmodel
model
13
Minimize
Minimize ZZ == 15,000
15,000 XX11 ++ 18,000
18,000 XX22
Where
Where
ZZ== daily
dailyscrap
scrapcost
cost
XX11== cost
cost load
loadfrom
from Hasbeen
Hasbeen
XX22 == cost
cost load
loadfrom
from Gentro
Gentro
Hasbeen
Gentro
14
CONSTRAINTS
Given
Given the
thedemand
demandinformation
informationbelow
below from
fromthe
theproblem:
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
and non-negativity
non-negativity
requirements
requirements as:
as:
1.5X
1.5X11++ XX22
>>6(Zinc/tons)
6(Zinc/tons)
XX11
>>10(Lead/tons)
10(Lead/tons)
++
XX11,,XX22
3X
3X22
>>00(Non-negativity)
(Non-negativity)
Note
Notethat
thatthe
theinequalities
inequalitiesare
are
greater-than-or-equal
since
greater-than-or-equal sincethe
the
demand
information
represents
demand information representsthe
the
minimum
necessary
for
production.
minimum necessary for production.
15
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?
16
Any Question?
17
ASSIGMENT 1
1. DIKA Bread Company produces two types of
products, namely products of T and S. Each of these
products require two kinds of raw materials, raw
material A is available 6 tons, 10 tons of material B
is available. To produce one bread S required
materials A as much as 1 kg and 2 kg of material B.
in other side, to produce of bread T need 1 kg of
material A and 1 kg of material B as well.
The selling price of bread T is Rp. 1000, - and the
bread S is Rp. 1500, -. Determine the amount of
bread T and S in order to get the maximum benefit
18
ASSIGMENT 1 (CONTINUED)
2. A baker has ingredients A, B, and C respectively each as much as 250 kg, 200 kg and 300 kg. If
the bread I need 2 kg of material A, I kg of
material B, and 1 kg of material C. While bread II
requires 1 kg of A, 2 kg of material B, and 3 kg of
material C and the bread III requires 1 kg of
material A, 1 kg of material B and 1 kg of material
C. A bread I sold at Rp 10,000,- a bread II sold at
Rp 15,000,-, and bread III sold at Rp. 10.000,-.
Determines how many bread produced in every
type of bread to in order to get maximize income?
19
20