Notes 11 Linear Programming
Notes 11 Linear Programming
Application
Optimization: Linear Programming
} Objective Function:
} represents some principal objective criterion or
goal that measures the effectiveness of the system
such as maximizing profits or productivity, or
minimizing cost or consumption
Decision
Constraints Variable Objective
Maximize profit:
900X1 + 1000 X2 Objective Function
Z1=X1+Y1-800
} Decision Variable:
} X1 number of advertisement in TV
} X2 number of advertisement in Newspaper
} X3 number of advertisement in Website
} X4 number of advertisement in radio
} Objective Function
} Maximize the total reach, which is the sum of reach associated
to each of the media
} Z=8000X1+5000X2+3000X3+2000X4
} Constraints
} Budget Restriction
} 4X1+3X2+2X3+1.5X4<=32 in million
} Number of advertisements per media Constraints
} X1<=3
} X2<=4
} X3<=5
} X4<=4
} Nonnegativity Constraints
} X1,X2,X3 and X4>=0
6 Non-negativity
X2 ≥ 0 Constraints
5
2
X1 ≥ 0
1
0
0 1 2 3 4 5 6 7
7
3X1 + 3X2 =21
6
3
1st Constraint
2
3X1 + 3X2 ≤ 21
0
0 1 2 3 4 5 6 7
4
3X1 + 3X2 =21
3
2nd Constraint
2
4X1 + 3X2 ≤ 24
0
0 1 2 3 4 5 6 7
4 Common Region
3
0
0 1 2 3 4 5 6 7
0
0 1 2 3 4 5 6 7
0
0 1 2 3 4 5 6 7
1
(0,0) (6,0)
0
Z=0 Z=60
0 1 2 3 4 5 6 7
0
0 1 2 3 4 5 6 7
1
X1 + X2 = 4
0 X1
0 1 2 3 4 5 6 7
3 5X1 + 2X2 = 10
0
0 1 2 3 4 5 6 7
3 New Feasible
Region
2
X1 + X2 = 4
1
0
0 1 2 3 4 5 6 7
X1 + X2 = 4
1 Minimum Z
corner points
(4,0)
Z= 28
0
0 1 2 3 4 5 6 7
X1 + X2 = 4
1
(4,0)
Z= 28
0
0 1 2 3 4 5 6 7
} Objective: Minimize Z= 5x + 3y
} Constraints:
} 2x +4y ≥ 40 ; for Vitamin A
} 3x +2y ≤ 50 ; for Vitamin D
} x, y ≥ 0
Example: x < 10
x < 12
The second constraint is redundant because it is
less restrictive.
Example: x < 10
x > 15
2T
Max 2T + 2C 10
+
2C
Subject to: All points on
=
20
T + C < 10 Red segment
6
T < 5 are optimal
C< 6
T, C > 0
0
0 Simply the Best
Engineering 5 !!! 10 T
Special Situation in LP
C i o n
ct i on
Max 2T + 2C i re l u t
D so
Subject to: 2 of
2T + 3C > 6
T, C > 0 1
0
0 Simply1the Best !!!2
Engineering 3 T
Graphical Method
} Observation:
} Given two decision variable, we could find the optimal
solution using graphical method.
} It is not necessary to evaluate all the points in the feasible
region, evaluation of the corner points will give us the
optimal solution
} Questions:
} What if we have a linear programming problem that
will involve more than two variables?