Linear Programming - Graphical Approach
Linear Programming - Graphical Approach
Linear Programming
Models
Introduction
• Assumptions
• Certainty exists
• Proportionality
• Additivity
• Divisibility
1
17-10-2022
Developing a LP Model
All LP models can be viewed in terms of the three distinct steps
Properties of a LP Model
1. Seek to maximize of minimize a some quantity
2. Restrictions or constraints
3. Alternative courses of action
4. Linear equations or inequalities
(=, ≤, ≥)
• A furniture company produces inexpensive tables and chairs. The production process is similar in that
both requires certain number of labor hours in the carpentry department and a certain number of labor
hours in the painting department.
• Each table takes 3 hours of carpentry work and 2 hours of painting work.
• Each chair requires 4 hours of carpentry and 1 hour of painting.
• During the current month, 2400 hours of carpentry and 1000 hours of painting time are available.
• The marketing department wants the company to make no more than 450 new chairs due to sizable
existing inventory of chairs.
• However, as the inventory for tables is low, they want the company to make at least 100 tables this
month.
• Each table sold results in a profit contribution of $7, and each chair sold yields a profit contribution of
$5.
• Determine the best possible combination of tables and chairs to manufacture this month in order to
attain maximum profit.
2
17-10-2022
Model Matrix
TABLES (T) CHAIRS (C) LIMIT
Profit Contribution $7 $5
Carpentry 3 hrs 4 hrs 2,400
Painting 2 hrs 1 hr 1,000
Chairs 0 unit 1 unit 450
Tables 1 unit 0 unit 100
1. Decision Variables
• What we are solving for
• Two variables in the Flair problem
• Number of tables (T, Tables or X1)
• Number of chairs (C, Chairs or X2)
3
17-10-2022
4
17-10-2022
• Nonnegativity
• Decision variables must be ≥ 0, so
T ≥ 0, and
C≥0
LP Characteristics
5
17-10-2022
Graphical Solution
• Complete model
Graphical Representation
1,000 –
–
Number of Chairs (C)
800 – (T = 0, C = 600)
–
600 – Carpentry Constraint Line
–
400 – (T = 400, C = 300)
–
200 –
(T = 800, C = 0)
–
0–
| | | | | | | | | | | |
0 200 400 600 800 1,000
Number of Tables(T)
6
17-10-2022
Graphical Representation
1,000 –
–
Region Satisfying
Number of Chairs (C)
800 – 3T + 4C ≤ 2,400
–
600 – (T = 300, C = 200)
–
400 – (T = 600, C = 400)
–
200 –
–
0–
| | | | | | | | | | | |
0 200 400 600 800 1,000
Number of Tables(T)
(T = 0, C = 600) T, C ≥ 0 (nonnegativity)
800 –
– Painting Constraint
600 –
(T = 300, C = 200)
–
Carpentry Constraint
400 –
– (T = 500, C = 200)
200 – (T = 500, C = 0)
– (T = 800, C = 0)
0–
| | | | | | | | | | | |
0 200 400 600 800 1,000
Number of Tables(T)
7
17-10-2022
8
17-10-2022
Special Situations
1. Redundant Constraints
• Example: Changed constraint in Furniture problem
• 2. Infeasibility
• No one solution satisfies all the constraints
• Changed constraint in Furniture problem
9
17-10-2022
4. Unbounded Solution
• May or may not have a finite solution
• Usually improper formulation
10