Unit1 Optimization Complete
Unit1 Optimization Complete
MAT-C-521
OPTIMIZATION TECHNIQUE
UNIT I
Complete Notes
Topics Covered:
✦ Review of LPP Methods (Simplex, Big-M, Two-Phase)
✦ Special Cases: Multiple Optima, Degeneracy, Unboundedness, Infeasibility
✦ Sensitivity Analysis — Objective Coefficient & RHS Ranging
✦ Shadow Prices & Dual Variables
✦ Coefficient Matrix Changes & Adding Variables/Constraints
✦ Parametric LP — Objective Function & RHS Parametric Programming
✦ Previous Year Questions (PYQs) with Full Solutions
Primary Reference: Kanti Swarup, PK Gupta & Man Mohan — Operations Research, Sultan Chand & Sons (20th Ed.)
Secondary Reference: H. A. Taha — Operations Research, McMillan (5th Ed.)
Panchayat College, Bargarh | April 2025 Examination
Statement: If a linear programming problem has an optimal solution, then at least one optimal
solution occurs at an extreme point (corner point / vertex) of the feasible region.
Corollary: Since the number of extreme points is finite (at most C(n,m) = n!/(m!(n−m)!)), the
simplex method searches only among extreme points to find the optimum.
Proof Sketch: Suppose x* is optimal but not at a vertex. Then x* = λu + (1−λ)v for vertices u, v ∈
S, 0 < λ < 1. Since cᵀx* = λ(cᵀu) + (1−λ)(cᵀv), at least one of cᵀu or cᵀv must be ≥ cᵀx*. So a vertex
is also optimal. □
Key features: All constraints are equalities. All variables non-negative. All RHS values non-
negative.
Conversion Rules
Situation Conversion Rule
≤ inequality (aᵢᵀx ≤ bᵢ) Add slack variable sᵢ ≥ 0: aᵢᵀx + sᵢ = bᵢ. Coefficient of sᵢ in obj = 0
≥ inequality (aᵢᵀx ≥ bᵢ) Subtract surplus variable sᵢ ≥ 0: aᵢᵀx − sᵢ = bᵢ. Then add artificial variable
Aᵢ ≥ 0
= equality Add artificial variable Aᵢ ≥ 0 directly
Minimization: Min z Convert to: Maximize z' = −z
Unrestricted variable xⱼ Write xⱼ = xⱼ' − xⱼ'' where xⱼ',xⱼ'' ≥ 0
Negative RHS (bᵢ < 0) Multiply both sides of constraint by −1 (flips inequality sign)
Slack variable (s): Absorbs the "unused capacity" in ≤ constraints. Always part of initial basis
with identity coefficient. Objective coefficient = 0.
Surplus variable (s): Measures excess above minimum requirement in ≥ constraints. Objective
coefficient = 0.
Artificial variable (A): Used only to find an initial BFS for ≥ and = constraints. Must be driven
to zero. Penalized in objective: M (Big-M method) or Phase-I (Two-Phase method).
Basis (B): A set of m linearly independent columns of [A|I] selected as basic variables.
Basic Variables (xB): The m variables in the basis. Found by xB = B⁻¹b ≥ 0 for feasibility.
Non-Basic Variables (xN): Set to 0. There are n−m non-basic variables.
Objective value: z = cBᵀ B⁻¹b
Entering Variable: Non-basic variable with most positive cⱼ−zⱼ (for maximization). This
variable enters the basis.
Leaving Variable: Current basic variable that leaves the basis. Found by minimum ratio test (θ-
rule).
Pivot Element: The coefficient at the intersection of entering column and leaving row. Used to
perform row operations.
Reduced Cost: cⱼ−zⱼ = cⱼ − cBᵀ B⁻¹aⱼ. Indicates rate of change in z per unit increase in x ⱼ.
Step 1 — Standard Form: Convert the LPP to standard form. Add slack variables to ≤ constraints.
Step 2 — Initial BFS: The slack variables form the initial basis. Set xB = b (= b since B = I
initially).
Step 3 — Set up Simplex Table: Write the table with cⱼ row on top, cB column on left, then
compute:
zⱼ = Σᵢ cBᵢ · aᵢⱼ (for each variable column j) and z = Σᵢ cBᵢ · bᵢ
cⱼ − zⱼ for each variable
Step 4 — Optimality Test (for maximization): If all cⱼ − zⱼ ≤ 0, STOP. Current BFS is optimal.
Step 5 — Select Entering Variable: Choose variable xₛ with MAXIMUM positive cⱼ − zⱼ. This is
the Key Column.
Step 6 — Select Leaving Variable (θ-rule): Compute minimum ratio:
θ = min { bᵢ / aᵢₛ : aᵢₛ > 0 }
The row r achieving this minimum is the Key Row. The basic variable in row r leaves. Ties:
choose any (may cause degeneracy).
Step 7 — Pivot (Row Operations):
New Key Row = Old Key Row ÷ Pivot Element
All Other Rows = Old Row − (Element in Key Column) × New Key Row
Step 8 — Update Table: Replace cB and basis variable for the leaving row. Recompute zⱼ and
cⱼ−zⱼ. Go to Step 4.
For Maximization: The current BFS is optimal if and only if cⱼ − zⱼ ≤ 0 for ALL variables j (basic
and non-basic).
For Minimization: The current BFS is optimal if and only if cⱼ − zⱼ ≥ 0 for all j.
Interpretation: cⱼ − zⱼ represents the net profit gained by introducing one unit of xⱼ into the solution.
If it is non-positive for all variables, no improvement is possible.
cⱼ→ 5 4 3 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
0 s₁ 240 [6] 4 2 1 0 0 240/6
=40 ✓
0 s₂ 270 3 2 5 0 1 0 270/3
=90
0 s₃ 420 5 6 5 0 0 1 420/5
=84
zⱼ 0 0 0 0 0 0 0
cⱼ−z 5 4 3 0 0 0
ⱼ
EXAMPLE — (CONTINUED)
Key Column = x₁ (cⱼ−zⱼ = 5 is largest positive). Key Row = s₁ (ratio 40 is minimum). Pivot = [6].
Row Operations → Table 2:
New x₁ row = Old s₁ ÷ 6 = [1, 2/3, 1/3, 1/6, 0, 0 | 40]
New s₂ row = s₂ − 3×(new x₁) = [0, 0, 4, −1/2, 1, 0 | 150]
New s₃ row = s₃ − 5×(new x₁) = [0, 7/3, 10/3, −5/6, 0, 1 | 220]
cⱼ→ 5 4 3 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
5 x₁ 40 1 2/3 1/3 1/6 0 0 40/
(2/3)
=60
0 s₂ 150 0 0 4 -1/2 1 0 —
0 s₃ 220 0 [7/3] 10/3 -5/6 0 1 220/
(7/3)
=94.3
zⱼ 200 5 10/3 5/3 5/6 0 0
EXAMPLE — (CONTINUED)
cⱼ→ 5 4 3 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
5 x₁ 27.5 1 2/3 0 5/24 -1/12 0 —
3 x₃ 37.5 0 0 1 -1/8 1/4 0 —
0 s₃ 95 0 [7/3] 0 0 -5/6 1 95/
(7/3)
=40.7
zⱼ 250 5 10/3 3 5/24×5+(- 5/12 0
1/8)×3
cⱼ−z 0 2/3 0 -... ... 0
ⱼ
Always verify: substitute optimal values back into each constraint and confirm all are satisfied as
equalities or within the ≤ bound.
Condition: In the optimal simplex tableau, if any NON-BASIC variable j has cⱼ − zⱼ = 0, then an
alternative optimal solution exists.
Procedure: Introduce that non-basic variable into the basis (it has zero reduced cost, so z does not
change). The new BFS is also optimal.
All Optimal Solutions: Any convex combination λx* + (1−λ)x**, 0 ≤ λ ≤ 1, of two optimal BFSs is
also optimal (the optimal set is convex).
Condition: In the simplex process, if for some entering variable column s, ALL entries aᵢ ₛ ≤ 0, then
the objective is UNBOUNDED.
Interpretation: The feasible region extends to infinity in the direction of xₛ, allowing z → +∞.
Action: Conclude the problem has no finite optimal solution. Report unbounded.
1.4.3 Degeneracy
DEFINITION — DEGENERATE BFS
Definition: A BFS is degenerate if one or more basic variables equal zero (bᵢ = 0 for some i, even
though it is in the basis).
Cause: Tie in the minimum ratio test (θ-rule) — two or more rows have the same minimum ratio.
Problem: Degeneracy can cause cycling (returning to the same basis). In practice, cycling is rare.
Resolution: Bland's Rule — among tied variables, choose the one with smallest index. Guarantees
finite termination.
1.4.4 Infeasibility
THEOREM — CONDITION FOR INFEASIBILITY
Condition: After applying Big-M or Two-Phase Method, if the optimal solution contains an
artificial variable with positive value, the original LPP has NO feasible solution.
Big-M: If optimal z contains the penalty term M, problem is infeasible.
Two-Phase: If Phase I optimum > 0 (artificial variables cannot be driven to zero), problem is
infeasible.
Step 1: Convert to standard form. For each ≥ constraint: subtract surplus sᵢ and add artificial Aᵢ. For
each = constraint: add artificial Aᵢ directly.
Step 2: Assign a very large penalty −M (for maximization) or +M (for minimization) to each
artificial variable in the objective function. M is a large positive number (M >> any coefficient).
Step 3: Set up the initial simplex tableau. The initial basis consists of artificial variables (and any
available slack variables).
Step 4: Apply simplex iterations. Natural variables replace artificials as the method progresses.
Step 5 — Termination:
(a) If optimal solution has all Aᵢ = 0: original problem is solved. Remove artificial columns.
(b) If some Aᵢ > 0 at optimum: original problem is INFEASIBLE.
cB Basi b x₁ x₂ s₁ s₂ A₁ θ
s (Rati
o)
0 s₁ 2 2 [1] 1 0 0 2/1=2
✓
-M A₁ 12 3 4 0 -1 1 12/4=
3
zⱼ -12M -3M -4M 0 M -M
zⱼ with cB=(2,−M):
z[x₁]=2(2)+(−M)(−5)=4+5M; z[x₂]=2; z[s₁]=2+(−M)(−4)=2+4M; z[s₂]=(−M)(−1)=M; z=2(2)+
(−M)(4)=4−4M
c[x₁]−z[x₁]=3−4−5M=−1−5M<0; c[s₂]−z[s₂]=0−M<0. ALL ≤ 0.
In numerical computations, M is taken as a very large number (e.g., M = 10000) relative to all
objective coefficients. In theoretical analysis, M is treated symbolically.
Drawback: Numerical instability when M is very large. The Two-Phase Method avoids this problem.
Standard Form:
6x₁ + 4x₂ + s₁ = 24 (slack s₁)
x₁ + 2x₂ − s₂ + A₁ = 6 (surplus s₂, artificial A₁)
PHASE I — Minimize w = A₁
Initial basis: {s₁, A₁}. w = A₁ = 6.
Phase I tableau: c_phase1 = (0,0,0,0,1) for (x₁,x₂,s₁,s₂,A₁).
zⱼ[x₁]=1(1)=1; zⱼ[x₂]=1(2)=2; zⱼ[s₁]=0; zⱼ[s₂]=1(−1)=−1; zⱼ[A₁]=1
cⱼ−zⱼ: x₁: 0−1=−1; x₂: 0−2=−2; s₁: 0; s₂: 0−(−1)=1>0; A₁: 1−1=0
Since we MINIMIZE w: most NEGATIVE cⱼ−zⱼ enters. x₂: −2 most negative. x₂ enters.
Ratios: s₁: 24/4=6; A₁: 6/2=3 ← min. A₁ leaves. Pivot=[2].
New x₂ row = A₁÷2 = [1/2, 1, −1/2, 1/2 | 3]
New s₁ row = s₁−4×new_x₂ = [4, 0, 1, −2 | 12]
New w-row: update → all zⱼ−cⱼ ≤ 0. w=0. Phase I complete!
(i) By how much can the objective coefficient cⱼ change without altering the optimal basis?
(ii) By how much can the RHS value bᵢ change while keeping the current basis feasible?
(iii) What happens if a new variable or constraint is added?
(iv) What are the shadow prices (dual variables) of each constraint?
Central Idea: After solving the LPP optimally, we use the final simplex tableau (specifically B ⁻¹) to
answer all sensitivity questions WITHOUT re-solving from scratch.
B: Optimal basis matrix (m×m). Its columns are the optimal basic variable columns from A.
B⁻¹: Inverse of basis. Available from the optimal tableau (columns of original slack variables).
xB = B⁻¹b: Optimal basic variable values (RHS in final tableau).
cB: Objective coefficients of current basic variables.
zⱼ = cBᵀB⁻¹aⱼ: Simplex multiplier times j-th column.
cⱼ−zⱼ: Reduced cost. Negative for non-basic in optimal (maximization).
y = cBᵀB⁻¹: Row vector of shadow prices (dual variables). yᵢ = marginal value of i-th resource.
Shadow Prices: y = cBᵀB⁻¹ is obtained by reading the cⱼ−zⱼ row values for the original slack
variables (negated, for maximization).
Specifically: yᵢ = −(cⱼ−zⱼ for sᵢ) when maximizing. Or equivalently: yᵢ = zⱼ for sᵢ (since c ⱼ=0 for
slacks, so cⱼ−zⱼ = −zⱼ).
Shadow prices: y₁ = 7/6 (for constraint 1), y₂ = 2/3 (for constraint 2).
Interpretation: Increasing b₁ by 1 unit increases z* by 7/6. Increasing b₂ by 1 unit increases z* by
2/3.
B⁻¹: Read from s₁, s₂ columns of optimal tableau: B⁻¹ = [[1/2, −1/4], [−1/3, 1/3]]
Setup: Let xⱼ be non-basic in the optimal solution. Its reduced cost is cⱼ−zⱼ ≤ 0.
Effect of change Δcⱼ: The new reduced cost is (cⱼ+Δcⱼ) − zⱼ = (cⱼ−zⱼ) + Δcⱼ.
For optimality to hold (maximization): (cⱼ−zⱼ) + Δcⱼ ≤ 0
⟹ Δcⱼ ≤ −(cⱼ−zⱼ) = zⱼ − cⱼ
⟹ cⱼ + Δcⱼ ≤ zⱼ
Note: Since the variable is non-basic (= 0), changing cⱼ does NOT change the current optimal value
z*. It only affects optimality of the current basis (whether xⱼ wants to enter).
Setup: Let xⱼ be a basic variable. Its own reduced cost is always 0 in the optimal tableau. But
changing cⱼ changes the entire cBᵀ vector, which affects ALL reduced costs.
New reduced cost for ALL non-basic variables k:
(cₖ−zₖ)_new = (cₖ−zₖ)_old − Δcⱼ · (element of xⱼ's row in k's column)
Condition for optimality: All (cₖ−zₖ)_new ≤ 0 for all non-basic k. This gives a system of
inequalities in Δcⱼ.
Range: The allowable range of cⱼ (= Δcⱼ range + current cⱼ) is found by combining all these
inequalities.
Effect on z*: Since xⱼ is basic (xⱼ > 0), changing cⱼ DOES change z* = cBᵀ·xB. Specifically Δz* =
Δcⱼ · xⱼ*.
Definition: The shadow price yᵢ of constraint i is the rate of change of z* per unit increase in bᵢ,
holding all other data fixed:
yᵢ = ∂z*/∂bᵢ
Interpretation: yᵢ is the marginal value (economic value) of one additional unit of resource i. If bᵢ
represents available hours, yᵢ is the worth of one extra hour.
Computation from optimal tableau: y = cBᵀ B⁻¹ (read from zⱼ row for original slack columns)
yᵢ = value in zⱼ row, sᵢ column of optimal tableau (valid since c_{sᵢ}=0)
Setup: Change bᵢ → bᵢ + Δbᵢ. The optimal basis B remains feasible if and only if:
xB_new = B⁻¹(b + Δbᵢeᵢ) = B⁻¹b + Δbᵢ(B⁻¹eᵢ) = xB + Δbᵢ·(i-th column of B⁻¹) ≥ 0
Let uᵢ = i-th column of B⁻¹ = (u₁ᵢ, u₂ᵢ,…,uₘᵢ)ᵀ. Then for each basic variable row r:
xBᵣ + Δbᵢ · uᵣᵢ ≥ 0
This gives:
If uᵣᵢ > 0: Δbᵢ ≥ −xBᵣ/uᵣᵢ
If uᵣᵢ < 0: Δbᵢ ≤ −xBᵣ/uᵣᵢ
If uᵣᵢ = 0: no constraint
Range of Δbᵢ:
max{−xBᵣ/uᵣᵢ : uᵣᵢ > 0} ≤ Δbᵢ ≤ min{−xBᵣ/uᵣᵢ : uᵣᵢ < 0}
Binding constraint: Constraint satisfied as equality at optimum (sᵢ = 0 in the optimal solution).
Shadow price yᵢ > 0.
Non-binding constraint: sᵢ > 0 in optimal solution (slack > 0). Shadow price yᵢ = 0.
Intuition: Only binding constraints have positive shadow prices — they are the active
restrictions that prevent z* from increasing further.
∴ y = (1, 0, 0)
y₂ = 2(−3/7)+3(2/7)+0 = −6/7+6/7 = 0
y₃ = 0.
Shadow price interpretation: Each additional unit of resource 1 (b₁) increases z* by 1. Resources
2 and 3 have zero shadow price (not fully utilized).
Given: Optimal tableau with basic variable xⱼ at optimal BFS. Want to find range of c ⱼ.
Step 1: Let Δ = change in cⱼ. Then new cBᵀ has Δ added in position j.
Step 2: New reduced cost for each non-basic variable k:
(cₖ−zₖ)_new = (cₖ−zₖ)_old − Δ · (xⱼ-row, k-column entry in optimal tableau)
Denote: yⱼₖ = entry in xⱼ's row, k's column of optimal tableau
(cₖ−zₖ)_new = (cₖ−zₖ)_old − Δ · yⱼₖ
Step 3: For optimality (maximization): (cₖ−zₖ)_new ≤ 0 for all non-basic k:
(cₖ−zₖ)_old − Δ·yⱼₖ ≤ 0 for all non-basic k
Step 4: Solve for Δ:
If yⱼₖ > 0: Δ ≤ (cₖ−zₖ)_old / yⱼₖ → upper bound on Δ
If yⱼₖ < 0: Δ ≥ (cₖ−zₖ)_old / yⱼₖ → lower bound on Δ
If yⱼₖ = 0: no restriction from k
Step 5: Combine: Δ_min ≤ Δ ≤ Δ_max. Then c_j range = [current cⱼ + Δ_min, current c ⱼ + Δ_max].
EXAMPLE — FULL Cⱼ RANGING EXAMPLE — KANTI SWARUP FORMAT
Setup: A new variable xₙ₊₁ with objective coefficient cₙ₊₁ and constraint column a ₙ₊₁ is proposed.
Step 1: Compute the representation in the optimal basis:
ā_{n+1} = B⁻¹ · a_{n+1}
Step 2: Compute the reduced cost:
cₙ₊₁ − zₙ₊₁ = cₙ₊₁ − cBᵀ · ā_{n+1}
Step 3 — Decision:
If cₙ₊₁−zₙ₊₁ ≤ 0: Current optimal is still optimal. The new activity is not profitable.
If cₙ₊₁−zₙ₊₁ > 0: The new activity is profitable. Enter xₙ₊₁ into the basis and continue simplex.
Continuing the 3x₁+5x₂ example. Suppose a new product x₃ is proposed with c₃=4 and constraint
column a₃=(1,1,2)ᵀ (for constraints 1,2,3).
Step 1 — Compute ā₃ = B⁻¹·a₃:
B⁻¹ from optimal tableau (s₁,s₂,s₃ columns):
s₁ s₂ s₃
Decision: c₃−z₃=3/2>0. New variable x₃ is profitable! Enter x₃ into the basis and perform one more
simplex iteration.
Entering x₃ into x₂'s position (ratio: x₂: 6/(1/2)=12, only positive entry). After pivot, x₃=12 would
enter.
Dual Simplex Method starts with a tableau that is optimal (all cⱼ−zⱼ ≤ 0) but infeasible (some xBᵢ <
0). It restores feasibility while maintaining optimality by:
Leaving variable: Most negative xBᵢ (pivot row).
Entering variable: Among negative entries in pivot row, choose k minimizing |cₖ−zₖ|/|aᵢₖ|
(maintains optimality).
The dual simplex is the natural method for sensitivity analysis when adding constraints that violate
the current optimum.
For optimality: (new c_j−z_j) ≤ 0 (for maximization). If violated, introduce xⱼ into basis.
For feasibility: Changing aⱼ for a non-basic variable does NOT affect xB = B⁻¹b. Feasibility
maintained.
This is more complex — changing the column of a basic variable modifies the basis matrix B itself.
New basis: B_new = B with j-th column replaced by (aⱼ + Δaⱼ).
New B⁻¹: Must be recomputed (or updated using elementary row operations).
New xB_new = B_new⁻¹b: May change feasibility.
New reduced costs: cBᵀ·B_new⁻¹·aₖ may change for all columns k.
Procedure:
(1) Update B⁻¹ using the formula for rank-1 matrix update (Sherman-Morrison formula).
(2) Recompute xB = B⁻¹b and check feasibility.
(3) Recompute all reduced costs and check optimality.
(4) If infeasible: apply dual simplex. If non-optimal: apply primal simplex.
Purpose: Track the optimal solution as λ varies from 0 to some maximum value. The solution
consists of a sequence of optimal bases, each valid over an interval of λ.
Key Formula: In the current basis B, the reduced cost of non-basic variable xⱼ as a function of λ is:
(cⱼ + λdⱼ) − zⱼ(λ) = (cⱼ−zⱼ) + λ(dⱼ − dBᵀB⁻¹aⱼ)
where dB = (d values for basic variables) and dⱼ is the d-coefficient for x ⱼ.
Optimality condition: Current basis is optimal as long as all these reduced costs ≤ 0 (for
maximization).
Step 1: Solve the original LPP (λ=0) using the simplex method. Obtain optimal tableau T₀.
Step 2: In T₀, express each non-basic reduced cost as a linear function of λ:
f_j(λ) = (cⱼ−zⱼ)_0 + λ · (dⱼ−zⱼᵈ)_0
where (cⱼ−zⱼ)₀ is the value at λ=0, and (dⱼ−zⱼᵈ)₀ is computed from the d-vector.
Step 3: Find λ₁ = smallest λ > 0 at which some f_j(λ) first becomes positive. This is:
λ₁ = min{ −(cⱼ−zⱼ)₀ / (dⱼ−zⱼᵈ)₀ : (dⱼ−zⱼᵈ)₀ > 0 }
Step 4: At λ = λ₁, the corresponding variable enters the basis (as its reduced cost becomes positive,
it is profitable to include it). Perform the simplex pivot.
Step 5: Repeat from Step 2 with the new tableau. Continue until no f_j(λ) can become positive, or λ
→ ∞.
Step 6: Report: for each interval [λₖ, λₖ₊₁], state the optimal basis, optimal solution, and z*(λ).
Step 1 — Solve for λ=0: Max z=3x₁+2x₂+5x₃ (already solved in Chapter 1 format).
Optimal basis (λ=0): {x₂, x₃, s₃}. x₂=5, x₃=30, z*=160.
cB = (2, 5, 0), dB = (−2, 5, 0) (d-values for basic variables x₂, x₃, s₃)
c[s₂]−z[s₂] = 0−(5/2+5λ/2) ≤ 0 ✓
z[s₂](λ) = (5+5λ)(1/2) = 5/2+5λ/2
All reduced costs ≤ 0 for all λ≥1. Basis {s₁,x₃,s₃} is optimal for all λ≥1.
Phase 2: z*=150+150(1)=300 ✓
Phase 1: z*=160+140(1)=300
When all ūᵣ ≥ 0 (as above), the feasible region EXPANDS with λ and z* increases. When some ūᵣ <
0, the feasible region shrinks in that direction, limiting how far λ can go.
cⱼ→ 3 2 5 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
0 s₁ 40 1 2 1 1 0 0 40/1=
40
0 s₂ 60 3 0 [2] 0 1 0 60/2=
30✓
0 s₃ 30 1 4 0 0 0 1 —
zⱼ 0 0 0 0 0 0 0
cⱼ−z 3 2 5 0 0 0
ⱼ
cⱼ→ 3 2 5 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
0 s₁ 10 -1/2 [2] 0 1 -1/2 0 10/2=
5✓
5 x₃ 30 3/2 0 1 0 1/2 0 —
0 s₃ 30 1 4 0 0 0 1 30/4=
7.5
zⱼ 150 15/2 0 5 0 5/2 0
cⱼ→ 3 2 5 0 0 0
cB Basi b x₁ x₂ x₃ s₁ s₂ s₃ θ
s (Rati
o)
2 x₂ 5 -1/4 1 0 1/2 -1/4 0 —
5 x₃ 30 3/2 0 1 0 1/2 0 —
0 s₃ 10 2 0 0 -2 1 1 —
zⱼ 160 7 2 5 1 2 0
cⱼ−z -4 0 0 -1 -2 0
ⱼ
Same problem. Find range of λ>0 for which solution remains basic feasible and optimal.
Problem: Maximize z=2x₁+3x₂, s.t. x₁+x₂≥4, 2x₁+x₂≤10, x₁,x₂≥0. Solve by Big-M method.
cⱼ→ 2 3 0 0 -99
cB Basi b x₁ x₂ s₁ s₂ A₁ θ
s (Rati
o)
3 x₂ 4 1 1 -1 0 1 4/1=4
0 s₂ 6 1 0 [1] 1 -1 6/1=6
✓
zⱼ 12 3 3 -3 0 3
cⱼ−z -1 0 3 0 ...
ⱼ