You are on page 1of 19

LinearProgramming LP Defi Linearfunction

cikitcztztn.tcnxn.tl
xpxz4linearfnsitmplexto
understand Generally notlineart MathModet

solve
Objf
oindrenousoets
objectiveFunction flu
Maximization
subject
to
suchthat
Minimization

functional Note
DecisionVariable12150
boundary
x columnrector

xpxzZ3X
Constraint Et
Iif gE
Inequality

Functional Constrainttionnewavogfonet Equality Ex exists 3


Boundary constraint Nonnegativity 1 30 imgur.biz heconstrai

IntegerfxeInteger

Decision Variables
xp ofbrownie
serving

we servingoficecream
xz servingofcola
Kye servingofcheesecake
objfn min costoffood
2 0.5110.24210.3110.84
subjectto
Cal 1150
4001,420042 150047500

Chocolate
3811242 26
Sugar 2A12 214151414710
Fat 2b144211,152428
Nonneg XpXzXyX4 70

Properties ofDecision Variable Noteiparameteredmoot

nopnotisuosdecisionvariablenouparameter
import'constantonoonW
lofinirominos Reality80yuznno.in
Gooounted
motterstowNotationalformulation Barsmathmodelfawfjluo.nopuipefB Phinr8constraintpatterninuino
constraint
10089
nonewaset parameter Decisionvariable

set a servingoffoodtypei wherein


I _setoffood 113,1CCola.CC
where it 013

ie2 BIC
is ocola
itall
f setofnutrients4cal sugarfat
choc

Parameter
jan je je ja
ciecostoffoodtypei ieI i
in
nutrientje is
aijminimum
obtainedfromfoodtype.IE
i4
levelofnutrient required
Lj jet
Objf 2 0.5110.240.3110.8dg 02 8 Citi
iEI
Cat 1150
4001,420042 50047500
rank 192KztA t 104,147500
date b A b Iobloo
Sugar 21,4211244kg1414710 a Ayzky1923112 933 51014314710

Fat 2b144211,157478 a A14KptA24K21934151944478

Nonneg XpXzXyx4 70 D x 70 Vin


ieI
asloop
pi Miwa Sets
I setofsted4AB
J setofmille142,3
i Parameters

Cijicostofproducingsteeltypei
j atmilljiicI.IE
tijetimeofproducingsteeltypei

DecisionVariable manufacturing ofsteelaatmilli atmilljiicI.ie


Ka Lialeastamountofstediproducti

kaza ofsteelAatmill2
manufacturing maximumtimeavailableforeaohmi
Tj 200160min
XA manufacturing ofsteelAatmills
DV
XBya manufacturing ofsteelBatmilli
steeltypeiproducedatmilly
Vij
BE manufacturing ofsteelBatmD where ieI jeJ
KBza manufacturing ofsteelBatmills
0bjf minimizecost ofproduction
2 a 101A1771ps1128A19432414kt 11043g Objf 2 EEcijXjj
subjectto
jeJiEI
Demand
A KAMAAINA7500 pDemandi
ExijZLi i tie 1
TEJ
Demand B Xp 1 21 2600 p
avoid1

Time 4200160
20th12213
Timed 24421781132420060 Himeji EtijkijET
ie't
tjEJ
Time 281nA130 133440060
f
owqdJ
NonNeg AllDUSZO Nonneg Nij 20 tiEIVjeJ
ExplicitModel noone
LPIMathModel
Notational Modelling

Illustrate Graphical
Method
In any
simplexmethod Algorithmlumrivilinearprogloinsonstol

Excel

wheat
DVs awe acreswith
Xc acreswithcorn

Objfh MaxProfit Pazookw1300kg ME x


B'BindingConstraint
subjectto
Cohn'DVs parameter DEI LASERHS
LHS RHS pandn Bindingconstraint
lxw.iofiop5
Land two1kgf 5
constraint

Worker 3twt2AcE100X10,501,450,0 420,251 panthuhiBinding constraint

Fertilizer 2kW141612010,3014 dark qaoIwWT3fdwU0


Nonneg
Aikido FeasibleSoklionpconstraint

Graphic hidrodooisonft InfeasibleSorkin


t 20,251

Feasiblesomndhi
50 optimalSolnlop
45 objvaluentininga
P Optimal'Objvalueldt

120,201

N
Feasible
Region
i
100
l
45 he 2kW
7kW
is he xwtxcE45 144420

µiEwdo8
1245100
3kW Iso.catprofitlineodireotionofimprovement
Join'Esdecisionvariable

DII
n

veto

Def oafhotograin

nontrivial

FeasibleRegioncconvexsets

f
inimitowoeflusetinD
Iconrexset

k
1123 KitupalusDd

ED

SEIR
wow
Inonoftest
set
convex

Nooth A120,201

Do
Tostenson palnghsRegionFunktoitupnyp
aFeasibleregion

combinationn49wWoi
minconvex

coda
if Hat til o ra

i A 1124A114 1
10,30

mo

l't o
Cornerpoint

nbo8qaoidwvouvosqdirdnoso.pe
Extremepoint

Gonap goinJinylbarriisfeasibleregion
CaserosLPsolution nou

4M
D
oedigwouzppqwnbotnmouimnwniso

Motohnouas
prof.itinenuconstraint

LIFE
Poinmounts as
feasibleregion

const 24425100
An182580
Xp 40
Ky 70
Wo

shiftidhtifoug

unbounded
foolminl
talman
in LPisunbounded aFeasibleRegionisunbounded

InfeasibleRegionisunbounded LPhbid 8minzlvfuos


ReviewLinearProg

Max
Sdn objectivefn
Min
DecisionVariablesContinuous
MNote Remark
Constraints Lugo

Defi
Convexsetsideregionsofalludsmustbeconvexset

N
BUT'owdrawifown X
hitntowrobound

cornerpoint
Convexhull feasibleregionndynotisomanExtremepoint

4 44 14 oakD roommate
point odqvouqavoolfu Impugners
former
Extreme
point
Godataoining
Note
Drugs Drug2

Chem1Z7o Chem2760
sets
Index
DI IaSetsofchemicalSold 6syoy.up1040 Sold 55 4030
chemicalieIindrugjEJ Jesetsofdrug
ij s
Chem purchase 6 upto45

Chem2 purchase 4 upto40


drugs MMM
Parameters

drug2 42 22
foreman.ir
ii iii aiia
chem2 kzHKzz rij foo.jo
Drugs Drugs

objFh MaxProfit_Revenue Cost461km1km 15ft 1422 blandin 151kHz

PjiE ij Efiffij
EEeEgfPj ci tij Formulation
owinotg
Notational
Const Cilsupply 40 b
Kutty Viet
yxij Ssi
schemesupply
Glsupplyl Knyaz go j
DylDemand
oujaf
Kutty 45 d
Drug
1
Demand
kijsdjv.ge
B lDemand 40
guy ChemitchemzinDp
us
GinDp into.tlxggtAzg Hse I
CainDz xzzzo.ioqztxzz
Chemret
Hj7kj ij fjet
on ka j I
r.r.nonregiviizoitiiiiiti.me's 2
i II o
Nonweg aHDVsZ0
GBodataointing

Drugi 765 chemi sell 6


chemi sell 4
Drugs 755
a
ihr 3 2hr43
process 3oz cherry 13ozChem
processor ht2RM3hrlB Chem 1102
3oz fchem2
Indexsets
DI Iasetsofchemical Available
400
RM
drugsmating
20hr43

I
chemicalieIindrugjEJ Jesetsofdrug
xij hrrunningprocesskek
drugs known

yk ofminprocesskthnelBnrfII
Resetsofprocess Mesetofresource 1112
Parameter
Tim ftp.dmruginan.EE

ObjFh MaxProfit 61km1km 14142122 EPjExij


je ie1
Const CainDg Mito.fi xifXz
V
j tlEI
scheme

jeJGinDz
lg finding qq.zrkj.AE
8nzZOu55lkntkzz raised
RM 39,42425100
VmtM
fresourcemifamkyksLm
LBhr 2ygt3yzfyzo

Cp 341 34258114142

Ca
lsvPMYohemi.IE
kYkfEgxij
3ytyzsq.mx

tieIN0hNeg
kijZOVic I tjEJ
Yk7o Kek
Nonneg allDVszo
z RI feb
purchase

rebRM issolbRB 7102

xebec 6101
gozRB 10243
were 2hr44 nozLC

Is ki HozofperfumeicIsod.tt I RB 43,14
y RM

ObjFh Maxprofit_RevHaw
Material cost
Process
174 61121185114114 3414342
Fconst CRM y 54000
hravialable ly 13k 12456000
Hate

product
347k 11
RCproduct 447m44

Nonneg allDvs70
r
www.I 4m
o 4 g iz it to 24

Sgt I 41,474,561,3 104,48,812,1216,1620,2074


Az
DV xi policeofficerclockingin as
14
atshiftieI
Parameter
15
ai 19 a

ObjI Min policeofficer Ex


ieI

Const period Ay 4678 p go go go go 9


lj DYMMfuqtayitztayikttayity
tfh.fi
periods
qtr z
eriIoddDg
I If fperiodji.E.giitizljiv.IE
periods 44th 25
periods
kg1A 212
NonNeg wi 70 itieI
REF

Indexset I SetofworkbeginningDays 42 it
Jesetofworkingday 44,5312,616,7114731119 427,14 1,311 11,4

IV i
ii beginning
employees
air
toworkindayiet
time
Full require
Parameter Ei minimum fulltime
employeesatleastrequiredindayieI

wi 19 I inteigitietities
btimesconsecutivedays

ObjfI Minimize HinedEumployges


affix IObjfuk fulltimeemployees

sat constraints Maxrequiredemployeesondayi EwgiZEj VjeJ


ti
4 1kg777
HimEfj 14,516,71 it 10 24051My11 517
NonNeg Kiko Hiei
Integer xieInteger Viet
Recap
DVsto
LP obj Maxmin guide Dvnoionitaiga's
constraints noorroovooorwy
nooooo
Formulation
Explicit Formulation

do Notational Formulation

Indexset
Parametere constant

drovniversinufoionvitt
ldkloonooulluoT Dt Ct
ftp.ok M Demand Product
Cost

1 50 5
A 2 65 8
s 100 4

Lwiiiiiiiiiiiis.in
4 no 7

sawageiiiiiioIndexset
setof 4143,4
T months Parameter

DVs product producedinmonthtet


ate qnriinisaihiit.ws'wTw
inventory attheendofmontht
Ite duo Joints

Objfh minimizecost productioncost Inventorycost salvagecost

5448244851744 121111241 614 ECtkt EhtIt h It


tet tettitt
q
sit Xiao Idun.EsouinosInventory ftp.og movoosett
n98initialinventory
no i.oson
KZ7O 10 I 12 I 14
pm My pm My
to
o o 0
Dy D2 P 174

to IT ofinventoryinvinhimuro Italo ttET


months
q DptI
month2
I 1 2 172 12
FlowBalancingConstraint slmonthtJItyttt DttIt
IetY BtIz
10 0 1
mmgt.hn

g 15K Da114
Nonneg AllDUSZO
oindbaddogin 9 Hoorooo
L douburfbacklogcost Inventorycost oionioniodin

bfggkuo.sn'm

roads
I 0
Indexset T setofmonths4143,4J
DVs productproducedinmonthtet
ate
Ite inventoryatthe of
end montht
backlog attheend month
9134 0
Bt of tet
minimizecost
objfn
fttttfnhtft hHIHt µ
btBt

qtalnnwiowsws.to
It Btitat DttIt Bt
month t a
M
fnotihilwinountwhiitoun

Io 0
10
130 131

EE t Io Bott4444 By
f 42
O O140 5010 10

In B 1 2 172112132
0 10 85 65110 0
Note NPV power

Exico 41

f
present
gig

gets Ieset ofInvestment 11,213,451


T setofyear Ion
DI mi proportion ofinvestment ieI selected foexist tieI
Objth MaximizeNPV

eENPVixiieI.li
constraint

money attao EcoxiE40

of
i Budget EictitifBtittet
moneyattay qq.iq
Boundary exist tieI
TT paint

µ
i jo ay
Truck 40
Hood
flay50 day

DVs Ae car indaily


produced

produced indaily
rite truck
Maximize profit 2 200 300kt Me f
Obfha
6
s.t.constrainti lPaintshopJ oxctyoxiE1fg40lfb.o
I
me
of
fraction day 40
Fay day
Daily.iday

10,501,150,0
Bodyshop Eject AT E I

NonNeg AllDVS70
XT
a

shiftog940

Bbc

ma 2g
Mz I

i 2may_200 0
i 212000
Quiz OO

Isis Ata TVkeepinstock TV 10ft


f
spooky zooft2
Yr Radiokeepinstock
boradio 4ft
60
Profit EarnfTV
Radio 20
2 008 120kg
Bj Maximizeprofit
tinradio
stconstraints
ME toff market requirement

Stock
lout14k 20019501490
200 HV
capitalties
up s 3ooo

Marketingrequirement krzo.bfxttxpfio4xeo.ba 50forRadio

CapitalTie worry150453000 0,601,115,0


up
NonNeg AllDuszo andAHDUSEInteger

ate
Graphy

10,50

2 1000
a Sky
S
maximumprofitisinisoprofitlineofrooof
ii Aftershiftgraph
atfat Ar 40,501

An
Z

You might also like