Professional Documents
Culture Documents
DAVID L. BERNICK
dbernick@soe.ucsc.edu
1. Overview
• Typical Linear Programming problems
• Standard form and converting to Standard form
• Geometry of Linear Programming
• Extreme points, linear independence and bases
• Optimality conditions
• The Simplex method
amt. item(pounds)
480 corn
available resources =
160
(1)
hops
1190 malt
item corn hops malt
(barrel) (pounds) (ounces) (pounds)
required resources =
(2)
Ale 5 4 35
Beer 15 4 20
· ¸
Ale $13/barrel
prof it = (3)
Beer $23/barrel
1
ISM206 Optimization Scribing Notes
Analysis:
A = Ale(barrels)
B = Beer(barrels)
Objective f unction
M ax{P rof it = 13A + 23B}
Constraints :
Subject to(s.t)
5A + 15B ≤ 480
4A + 4B ≤ 160
35A + 20B ≤ 1190
A, B ≥ 0
In general:
ci = producti prof it
xi = producti count
bj = resourcej availability
ai,j = resourcej required f or producti
X
objective f unction = max{ ci xi }
i∈{products}
X
s.t. ai,j xi ≤ bj
i∈{products}
xi ≥ 0
3. Other LP examples
• Blending Problem
• Diet Problem
• Assignment Problem
4. Key elements of a LP
• Proportionality - the function depends on a proportion assigned to
a variable.
• Additivity
• Divisibility
5. Geometry of a LP
Consider the plot of the solution space for the following:
objective f unction : max{x1 + x2 }
s.t. 3x1 − 5x2 ≤ 15
3x1 − 5x2 ≤ 12
x1 , x2 ≥ 0
As a quick way to find the regions specificd by the inequality, consider
weather (0,0) is a solution for the inequality or not. In this case, (0,0) is
part of the solution spacec for all constraints.
Geometrically, this problem can be viewed as Fig:??. As can be seen,
the solution is at a corner. This is true in general for Linear Programming
problems - one of the optimal points will be at a corner. This is the basis
of the Simplex method.
6. Standard Form
Types of LP descriptors:
Objective f unction :
max(c1 x1 + c2 x2 + . . . cN xN
s.t
a1,1 x1 + a1,2 x2 + . . . + a1,N xN = b1
a2,1 x1 + a2,2 x2 + . . . + a2,N xN = b2
xj ≥ 0, j = 1, N
ISM206 Optimization Scribing Notes
Figure 1. Graph of feasible region, bounded by all constraints, with family of curves of
x1 + x2 and max(x1 + x2 ).
or consisely:
max(c0 x)
s.t. Ax = b
x≥0
• inequalities
• free variables
• MINimizations
objective f unction :
min x1 + x2 new variable does not appear in the objective function
s.t. x2 ≥0
x+
1 + −
x1 + x2 =3
x+ −
1 , x1 ≥0
Let V 1 , V 2 , . . . , V N be vectors.
They are linearly independent,
if : α1 V 1 + α2 V 2 . . . + αN V N = 0
=⇒ α1 = α2 = . . . αN = 0
· ¸
110
A= (constraints)
111
Basis(A) = 1st and 3rd columns of A, or 2nd and 3rd columns
a1,1 a1,2 . . . a1, N
A = ...
am,1 am,2 . . . am,n