Professional Documents
Culture Documents
Lecture 02
Any specification of values for variables is called a solution eg. X1 = 60, X2 = 10.
Feasible solution is a solution that satisfies all constraints and sign restrictions
eg. [X1 = 40, X2 = 20] or [X1 = 30.5, X2 = 20.001] or …
Given many feasible solutions, goal is to find the best or optimal solution.
For max problem, optimal (best) solution is one which maximizes value of objective.
For min problem, it is one which minimizes objective.
Solutions which are intersection of 2 or more constraints are called corner feasible
solutions (at corner of feasible region). The optimal solution for an LP must be a corner
feasible solution.
LPs can have one optimal solution, multiple optimal solutions, or problem can be
infeasible (no feasible solution) or unbounded ( Z = ∞ or Z = - ∞)
Slack
Given optimal solution, can compute the slack for any “≤” constraints.
Slack = right hand side – left hand side.
1
Excess
Given optimal solution can compute excess for any “≥” constraints.
MIN Z = 2A + 3B
ST. A ≥ 125 (A Req.)
A + B ≥ 350 (A & B Req.)
2A + B ≤ 600 (process time)
A, B ≥ 0
Given the optimal solution, a constraint is said to be binding if the LHS = RHS
2
3
4
5
Example #2 – problem is infeasible
6
Example #4 - problem is unbounded
MAX Z = 2X1 - X2
S.T. X1 – X2 1
2X1 + X2 ≥ 6
X1, X2 0
7
Example #5 – multiple optimal solutions