Practice: One Iteration of the Simplex Method
Question
Recognition · Interpretation
During a simplex iteration the entering direction is
2 hints available, least help first.
Hint 1: Retrieval cue
Write the
Hint 2: Concept cue
The ratio test asks which basic variable hits zero first. Which of them are moving toward zero at all?
Method selection
A minimization problem is at a basic feasible solution where the nonbasic variables have reduced costs
Select every variable that is eligible to enter the basis.
Direct application · Completion
A simplex iteration has basic values
2 hints available, least help first.
Hint 1: Retrieval cue
Which rows enter the minimum ratio test?
Hint 2: Concept cue
A basic variable with
Interpretation
During a simplex iteration an entering variable is chosen, and the direction it generates has no positive component: increasing the entering variable does not decrease any basic variable.
Select every conclusion that follows.
Direct application
A simplex iteration starts at
After the pivot, what is the value of
Enter the value. It is checked against the answer and the precision this task asks for.
Direct application · Construction
Consider the standard-form program
at the basis
Carry out one simplex iteration. Compute the reduced costs, choose an entering variable and justify the choice, compute the direction, run the minimum ratio test showing which rows you include and why, and report the new basis and the value of every variable at the new point.
Suppose instead the entering direction had come out with no positive components. State what the ratio test returns and what that says about the program.
Write your answer, then compare it with the worked solution.
3 hints available, least help first.
Hint 1: Retrieval cue
Which two columns form
Hint 2: Concept cue
Compute
Hint 3: Next step
With the entering column chosen, solve
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
With
No positive components. The ratio test is taken over rows where the direction is strictly positive, because only those bound how far the step may go before a basic variable reaches zero. If no component is positive, the test is over an empty set and returns no leaving variable: moving along the direction keeps every basic variable nonnegative however far it goes. The objective falls without limit, so the program is unbounded and the method stops there rather than pivoting.
A complete answer does each of these:
- entering variable justified
- direction computed
- ratio test restricted
- leaving variable and step
- updated solution reported
- unboundedness recognised
Error diagnosis · Explanation
At a basic feasible solution the basic values are
A student writes:
"The ratios are
Identify the error, explain what happens to the second basic variable as the entering variable increases, and give the correct step length and leaving variable.
Write your answer, then compare it with the worked solution.
2 hints available, least help first.
Hint 1: Retrieval cue
Can a step length be negative? What would that mean for the direction of travel?
Hint 2: Concept cue
Write
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
The second row should not be in the ratio test at all, because
A complete answer does each of these:
- ratio test restricted
- direction computed
- leaving variable and step
Transfer · Evaluation · Explanation
A colleague is running the simplex method and reports: "I found an entering variable with reduced cost
Explain what the empty ratio test actually means about the program, why the patch is wrong, and what the code should report instead. Then describe what happens to the objective and to feasibility as the entering variable increases without limit.
Write your answer, then compare it with the worked solution.
2 hints available, least help first.
Hint 1: Retrieval cue
The ratio test exists to find the first basic variable to hit zero. What if none of them is heading there?
Hint 2: Strategy cue
Write
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
An empty ratio test means no basic variable falls as the entering variable rises, so none of them ever reaches zero. The entering variable can increase without limit while every constraint continues to hold, which is precisely the condition for the program to be unbounded. The patch is wrong because a negative ratio is not a step length: taking it moves backwards along the edge, and the row it names was never approaching zero, so the resulting point violates feasibility while the code reports a successful pivot. The correct behavior is to terminate and report that the program is unbounded, optionally returning the ray direction. As the entering variable rises to
A complete answer does each of these:
- unboundedness recognised
- direction computed
- ratio test restricted
Session complete
Every question in this set has been through once. What you can do now depends on how it went — practising again is worth more than moving on if any of it was uncertain.
Practice data
Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.