289. Simplex Cheatsheet

  1. Convert to standard form

Objective Function

Constraints

Negative/Free Variables

  1. Partition
𝐴=[𝐵𝑁]𝑥=[𝑥𝐵𝑥𝑁]𝑐=[𝑐𝐵𝑐𝑁]

Constraints:

𝐵𝑥𝑏+𝑁𝑥𝑛=𝑏
  1. Basic Feasible Solution
𝑥𝐵=𝐵1𝑏
  1. Reduced Costs
𝑥̄𝑁=𝑐𝑁𝑇𝑐𝐵𝑇𝐵1𝑁
  1. Choose Entering Variable

Select 𝑥𝑗𝑁 with the largest 𝑐̄𝑗.

If there’s a tie, pick the smallest index (Bland’s rule).

  1. Pivot / Ratio Test

Let 𝑑=𝐵1𝐴𝑗 be the column of the entering variable expressed in basic coordinates Only 𝑑𝑖>0 maintain feasibility

𝜃𝑖=(𝐵1𝑏)𝑖𝑑𝑖,𝑑𝑖>0