AL14–AL16 - Simplex for non-standard problems

AL14–AL16 - Simplex for non-standard problems

Understand why lower bounds can prevent an ordinary slack start, introduce surplus and artificial variables, and construct the initial two-stage tableau. Reformulate equalities as pairs of inequalities and recognise other cases that need an initial reformulation.

Lower bounds, surplus and artificial variables

How can simplex start at zero production when a contract already requires positive production?

It cannot treat the origin as a feasible solution of that original problem. A two-stage method first searches for a feasible starting point, using temporary artificial variables.

You already know

For an upper bound, add a non-negative slack. In the ordinary initial slack basis, decision variables are zero and slacks equal RHS, so that starting solution must be feasible.

For a lower bound, the amount above the minimum is a surplus, which is subtracted when forming an equality. This does not by itself supply a feasible slack-style basis at the origin.

Surplus and a temporary artificial variable

For αx+βy≥c\alpha x+\beta y\ge c, where c>0c>0:

αx+βy−s=c,s≥0\alpha x+\beta y-s=c,\qquad s\ge0

Introduce a temporary artificial variable a1≥0a_1\ge0 to obtain a starting basis:

αx+βy−s+a1=c\alpha x+\beta y-s+a_1=c

The coefficients α,β\alpha,\beta are fixed numbers; ss and a1a_1 are additional variables.

Not in the formula booklet: learn it.

The artificial variable temporarily permits the augmented equations to be satisfied. A solution of the original problem must ultimately have every artificial variable zero.

Worked example 1: a minimum total

Question. Prepare x+y≥3x+y\ge3, with x,y≥0x,y\ge0, for an initial two-stage tableau.

Plan. Subtract a non-negative surplus and add one artificial variable to provide the initial basic column.

x+y−s1=3surplus above the minimumx+y−s1+a1=3temporary augmented equationx=y=s1=0⟹a1=3initial auxiliary basis\begin{aligned} x+y-s_1&=3&&\text{surplus above the minimum}\\ x+y-s_1+a_1&=3&&\text{temporary augmented equation}\\ x=y=s_1=0&\Longrightarrow a_1=3&&\text{initial auxiliary basis} \end{aligned}

Why this step? Without a1a_1, setting x=y=0x=y=0 would force s1=−3s_1=-3, which is forbidden.

Answer. Use x+y−s1+a1=3x+y-s_1+a_1=3, with x,y,s1,a1≥0x,y,s_1,a_1\ge0. The initial basic artificial value is 33.

Check. The original feasible point x=y=2x=y=2 has surplus s1=1s_1=1 and artificial value zero.

Change only the required minimum.

Worked example 2: a higher minimum

Question. Replace the bound by x+y≥5x+y\ge5. Give the augmented equation and initial artificial value.

Plan. Retain the surplus and artificial signs, changing only the RHS.

x+y−s1+a1=5revised lower boundx=y=s1=0⟹a1=5new initial basic value\begin{aligned} x+y-s_1+a_1&=5&&\text{revised lower bound}\\ x=y=s_1=0&\Longrightarrow a_1=5&&\text{new initial basic value} \end{aligned}

Why this step? The amount of artificial feasibility needed at the zero decision point increases with the required minimum.

Answer. The equation is x+y−s1+a1=5x+y-s_1+a_1=5, and initially a1=5a_1=5.

Check. At x=2,y=4x=2,y=4, the genuine surplus is 11, so 2+4−1+0=52+4-1+0=5.

Adding a positive slack instead would turn the lower bound into an upper bound and change the feasible region.

Watch out

Wrong: x+y+s1+a1=5x+y+s_1+a_1=5 for a lower bound. Right: subtract the surplus and add the temporary artificial variable.

Use different coefficients and a new minimum.

Constructing the auxiliary objective row

In the convention used here, stage one minimises the sum of artificial variables. The original maximisation objective PP is retained for stage two.

The stage-one objective

If the artificial variables are a1,…,aka_1,\ldots,a_k, set

Minimise Q=a1+⋯+ak\text{Minimise }Q=a_1+\cdots+a_k

Substitute their constraint equations to eliminate basic artificial variables from the QQ row.

If the minimum is Q=0Q=0, every non-negative artificial variable is zero and the original constraints have a feasible solution. If Qmin⁡>0Q_{\min}>0, the original problem is infeasible.

Not in the formula booklet: learn it.

The QQ row has a minimisation role, unlike the retained maximisation row PP. Its signs follow from its equation; do not copy the ordinary PP-row signs by habit.

Worked example 3: one artificial variable

Question. Set up the initial two-stage tableau for

Maximise P=2x+y,x+y≥3,x+2y≤8,x,y≥0\text{Maximise }P=2x+y,\quad x+y\ge3,\quad x+2y\le8,\quad x,y\ge0

Plan. Augment both constraints, define Q=a1Q=a_1, then remove a1a_1 from the auxiliary row by substitution.

x+y−s1+a1=3lower boundx+2y+s2=8upper boundQ=a1=3−x−y+s1eliminate the basic artificialQ+x+y−s1=3canonical auxiliary rowP−2x−y=0retained original objective\begin{aligned} x+y-s_1+a_1&=3&&\text{lower bound}\\ x+2y+s_2&=8&&\text{upper bound}\\ Q=a_1&=3-x-y+s_1&&\text{eliminate the basic artificial}\\ Q+x+y-s_1&=3&&\text{canonical auxiliary row}\\ P-2x-y&=0&&\text{retained original objective} \end{aligned}
QQPPxxyys1s_1s2s_2a1a_1RHS
11001111−1-1000033
0011−2-2−1-100000000
00001111−1-1001133
0000112200110088

Why this step? The basic artificial column must have zero in the canonical QQ row, just as other basic columns do in their objective row.

Answer. The displayed tableau starts with a1=3,s2=8,Q=3a_1=3,s_2=8,Q=3, with the other non-objective variables zero.

Check. The original point x=3,y=0x=3,y=0 permits a1=0a_1=0, s1=0s_1=0, s2=5s_2=5; thus the auxiliary objective can reach zero.

Change only the second inequality's direction, producing a second lower bound.

Worked example 4: two artificial variables

Question. Keep P=2x+yP=2x+y and x+y≥3x+y\ge3, but replace the other constraint by x+2y≥8x+2y\ge8. Construct the initial two-stage tableau.

Plan. Use two surpluses and two artificial variables, then add their expressions to form QQ.

x+y−s1+a1=3first lower boundx+2y−s2+a2=8second lower boundQ=a1+a2=11−2x−3y+s1+s2sum the artificial expressionsQ+2x+3y−s1−s2=11canonical auxiliary row\begin{aligned} x+y-s_1+a_1&=3&&\text{first lower bound}\\ x+2y-s_2+a_2&=8&&\text{second lower bound}\\ Q=a_1+a_2&=11-2x-3y+s_1+s_2&&\text{sum the artificial expressions}\\ Q+2x+3y-s_1-s_2&=11&&\text{canonical auxiliary row} \end{aligned}
QQPPxxyys1s_1s2s_2a1a_1a2a_2RHS
11002233−1-1−1-100001111
0011−2-2−1-10000000000
00001111−1-100110033
0000112200−1-1001188

Why this step? The auxiliary objective includes every artificial variable. Omitting one could mistake a remaining artificial violation for feasibility.

Answer. The initial basic artificial values are 3,83,8, giving Q=11Q=11.

Check. At x=0,y=4x=0,y=4, take s1=1,s2=0,a1=a2=0s_1=1,s_2=0,a_1=a_2=0, so Q=0Q=0 is achievable.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account