Linear Programming Models (2D Case) : Graphical Solution
Linear Programming Models (2D Case) : Graphical Solution
Graphical Solution
Outline
• Review: LP Formulation
Operations Research 1
Overview: Reddy Mikks Model Example
Operations Research 2
Overview: Reddy Mikks LP formulation
Decision variables:
x1, x2 amount of exterior/interior paint produced daily (tons)
Objective:
maximize profit 5x1 + 4x2 (in thousand of dollars)
Constraints:
6x1 + 4x2 ≤ 24, x1 + 2x2 ≤ 6 - raw material M1/M2 resources
• LP Formulation:
maximize z = 5x1 + 4x2
subject to 6x1 + 4x2 ≤ 24
x1 + 2x2 ≤ 6
x1, x2 ≥ 0 nonnegativity constraints
Operations Research 3
Recognizing LP from Formulation
Operations Research 4
Examples
Operations Research 5
Graphical Solution
Operations Research 6
Reddy Mikks: Graphical Solution
maximize z = 5x1 + 4x2
subject to 6x1 + 4x2 ≤ 24
x1 + 2x2 ≤ 6
x1 , x 2 ≥ 0
Operations Research 7
Reddy Mikks: Constraint set
Operations Research 8
• The constraint set is a polyhedral set (intersection of finitely many
half-spaces)
• Some vertices are feasible for the problem, and some are not.
• In our example, A, B, C, and D are feasible (belong to the constraint
set), while (0, 6), and (6, 0) are not feasible (lie outside of the
constraint set)
Operations Research 9
Reddy Mikks: Objective & Optimal Solution
Objective z = 5x1 + 4x2 to be maximized
Operations Research 10
• We can solve graphically problems with 2 decision variables
Operations Research 11