Professional Documents
Culture Documents
Session-4 (Infeasible, Unbounded, Simplex)
Session-4 (Infeasible, Unbounded, Simplex)
Session-4
𝑥2
Tables
(x1=0, x2=20)
revenue = 1600 (x1=24, x2=14)
revenue = 2200
1
13-02-2024
2
13-02-2024
𝑥2
Tables
Obj: 𝑀𝑎𝑥 𝑟𝑒𝑣𝑒𝑛𝑢𝑒 = 50𝑥1 + 75𝑥2
S.t.: 5𝑥1 + 20𝑥2 <= 400 Units of mahogany capacity
10𝑥1 + 15𝑥2 <= 450 Labor hours capacity
P2
P3
Polyhedron
(Mahogany)
P4
P1
45 80 𝑥1
Chairs
Enumeration approach
Points of interest Vertex of the polyhedron Objective function value. Revenue = 50x1 + 75x2
3
13-02-2024
Unbounded LP problem
4
13-02-2024
Constraint (2.0)
Mahogany • Conclusion: With unlimited
mahogany and labor, revenue
𝑥1 is unlimited.
Chairs
0 ≤ 𝑥1 ≤ 200
0 ≤ 𝑥2 ≤ 150
Constraint (2.0)
Mahogany
𝑥1 200
Revenue equation:
Revenue = 45x1 + 80x2 Chairs
5
13-02-2024
Infeasible LP problem
6
13-02-2024
Addressing infeasibility
• There is a Board of Director meeting and the data scientist cannot tell
the Board that their requirement of having a total revenue of at least
$4,500 per week is Infeasible !!!
• The data scientist knows that the cause of infeasibility is the limited
capacity available of resources that does not allow the production of
chairs and tables to reach the minimum level of total revenue.
• The data scientist calls the supplier of mahogany and talks with the
labor union, and they agree to increase the supply at a cost.
7
13-02-2024
10 10 184,756
50 50 ~10^29
100 100 ~10^58
150 150 ~10^88
200 200 ~10^299
8
13-02-2024
9
13-02-2024
Simplex method
Algebraic and Tableau way
10
13-02-2024
11
13-02-2024
Minimization to Maximization
• To transfer a minimization problem to a maximization
problem, multiply the objective function by -1 and vice
versa.
• Transforming linear constraints from a greater-than or
equal-to-inequality to less than or equal to inequality
can be done similarly to what we have done to the
objective function. By multiplying by -1 on both sides,
inequality can be changed to less-than-or-equal to.
12
13-02-2024
Note:
• Computer programs that solve linear programming problems
(like excel) are smart enough to perform any transformations
automatically.
• That is, you need not perform any transformations in order to
enter an LP into Excel.
• The program asks you whether you are minimizing or
maximizing, whether each constraint is an inequality or an
equation, and whether the variables are constrained to be
non-negative.
• Slack Variable:
13
13-02-2024
14
13-02-2024
20
Polyhedron
(0,0)
45 80 𝑥1 ≥ 0
Chairs
15
13-02-2024
𝑥2
Reduced costs: Objective funcion
Non − negativity
Tables coefficients of non-basic variables
(x1, x2)
(0,0)
45 80
𝑥1 ≥ 0
Chairs
(Revenue)
Step-3
16
13-02-2024
Iteration 1
17
13-02-2024
18
13-02-2024
19
13-02-2024
𝑥1 = 24 − 3ൗ25 ℎ1 + 4ൗ25 ℎ2
• Step 1: reduced costs (h1, h2) ≤ 0. Recall that the reduced costs
are the coefficients of the non basic.
20
13-02-2024
• Objective Function:
21