Dr. Joon-Yeoul Oh: IEEN 5335 Principles of Optimization
Dr. Joon-Yeoul Oh: IEEN 5335 Principles of Optimization
Principles of Optimization
Lecture 2
Dr. Joon-Yeoul Oh
! C = # of chairs to produce
! T = # of tables to produce
Max 6 C + 12 T
s.t.
pine) 3 C + 12 T <= 120
Oak) 8 C + 4 T <= 160
Time) 6 C + 10 T <= 150
end
3
Chair and Table example - model
LINDO output
5
C & T example – graphing constraints plot
6
Plotting example (1)
7
Plotting example (2)
8
Plotting example (3)
9
C & T example – graphing constraints
10
C & T example – graphing constraints
11
C & T example – feasible area
12
C & T example – optimal point
13
C & T example – optimal direction
14
C & T example – optimal solution
15
C & T example – optimal solution
16
Another example
– solve it using graphical method
Max 2 A + 3 B
s.t.
limit1) A + B <= 5
limit2) 8 A + 2 B <= 8
limit3) 3 A + 6 B <= 12
end
17
LP models – possible results
18
LP assumptions
1. Proportionality
2. Additivity
3. Divisibility
4. Certainty
19
LP assumptions - proportionality
If aij units of the ith item are consumed (or produced) in
carrying out activity j at unit level, then aijxj units of this
item are consumed (or produced).
For each and every d.v. xj,
z(xj) = cj xj
gi(xj) = aij xj
e.g. Cannot have:
#Price breaks, powers of xj
20
LP assumptions - additivity
21
LP assumptions - divisibility
22
LP assumptions - certainty
23
Coping with assumptions
Reality:
Situation seldom fits exactly
Seldom know exactly
Coping
“Close enough” techniques
Sensitivity analysis
24
LP assumption summary
25
Lecture review
Basic Model:
Max or min z(x)
Subject to: gi(x) <, >, or = bi
Non-negativety: xj > 0
All functions linear
All constants known
Graphical Method (only for 2 dimensional)
Use gi(x) to find boundary
Find which side is feasible
Plot z line
Find optimal direction
26
Comments 1
27
Comments 2
28