
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The formula sheet for calculating the primal and dual dictionaries in linear programming, as well as the primal simplex algorithm in matrix notation. It includes the inverse of a nonsingular 2x2 matrix, the primal and dual dictionaries, and the steps for the primal simplex algorithm.
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Formula Sheet
ad − bc
d −b −c a
Z = cTB B−^1 b − (cTB B−^1 N − cTN )xN xB = B−^1 b − B−^1 N xN.
−W = −cTB B−^1 b − (B−^1 b)T^ yB yN = (B−^1 N )T^ cB − cN + (B−^1 N )T^ yB.
Input: B, N , x∗ B ≥ 0 , x∗ N = 0, y N∗ and y∗ B = 0 while y N∗ 0 do pick entering variable xj as j ∈ N for which y∗ j < 0; i = argmin{ (x
∗ B )B(i) (B−^1 aj )B(i) : (B
− (^1) aj )B(i) > 0 , i ∈ B}; if no such i exists then return LP is unbounded else θ = (x
∗ B )B(i) (B−^1 aj )B(i) and^ xi^ leaves; end x∗N ← θeN (j); x∗ B ← x∗ B − θB−^1 aj ; α = −y j∗ [(B−^1 N )T^ eB(i)]N (j) ; y∗ N ← y∗ N + α(B−^1 N )T^ eB(i); y∗ B ← αeB(i); B ← B ∪ {j} \ {i}; N ← N ∪ {i} \ {j}; end