Practice: Verifying a Reported Solution
Question
Recognition · Evaluation
A solver reports INFEASIBLE for a model. What single piece of evidence refutes that status?
2 hints available, least help first.
Hint 1: Retrieval cue
State what the word infeasible claims, then negate it.
Hint 2: Concept cue
What would it take to show that claim is false?
Direct application · Evaluation · Explanation
The model as written.
The report. Status OPTIMAL, point
Run the checks and give a verdict.
Write your answer, then compare it with the worked solution.
2 hints available, least help first.
Hint 1: Retrieval cue
Take the checks in order and record the residual for each constraint.
Hint 2: Strategy cue
For optimality, try moving along the binding constraint and see what the objective does.
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.
Primal feasibility, against the model as written.
First constraint:
Second constraint:
Sign restrictions:
Feasible.
Objective consistency.
Status credibility. The claim is optimality. One constraint binds and one has slack, so the point sits on an edge rather than at a corner of both, worth checking. Consider moving along the first constraint's boundary: increasing
The status is refuted. A feasible point with a strictly better value exists, so
Continuing in that direction. Increasing
Verdict and attribution. The reported point is feasible and its reported value is correct for that point; only the optimality claim fails. That pattern, feasible, consistent, not optimal, points at a premature termination or at an objective row that differs between the model and the solver's input, not at a transcription error in the constraints, since those checked out exactly.
A complete answer does each of these:
- tests primal feasibility
- recomputes objective
- judges status
- attributes discrepancy
Comparison · Method selection
A reported point is feasible against the model as written, and the recomputed objective does not match the reported value. Which fault does this pattern indicate?
2 hints available, least help first.
Hint 1: Retrieval cue
What does the feasibility check passing already rule out?
Hint 2: Concept cue
The point is fine and the number attached to it is not. Which part of the model produces that number?
Evaluation
A solver reports the point
Select every constraint the reported point satisfies.
Evaluation
A solver reports that the program
attains its optimum at
Enter the value. It is checked against the answer and the precision this task asks for.
Error diagnosis · Explanation · Evaluation
A planner writes:
The model built without warnings and the solver returned
OPTIMALin under a second. There were no errors at any stage, so the plan it produced is correct and I have sent it to operations. Checking the answer by hand would only re-derive what the software already did, more slowly and less reliably.
Evaluate this reasoning.
Write your answer, then compare it with the worked solution.
2 hints available, least help first.
Hint 1: Retrieval cue
What exactly does an OPTIMAL status assert, and about which program?
Hint 2: Concept cue
Compare the cost of finding an optimum with the cost of testing a given point.
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.
What the solver's status actually claims. That for the program it received, the reported point is feasible and no feasible point has a better objective value. That claim is almost certainly true. It is also almost beside the point.
What it does not claim. That the program it received is the program the planner meant. The solver has no access to intent. A constraint entered with a reversed inequality, a coefficient mistyped, a bound omitted. Each produces a perfectly well-posed linear program with a genuine optimum, solved correctly, reported without complaint.
Why the absence of errors carries no information. Software that rejects malformed input trains the expectation that silence means correctness. Solvers break that expectation, because nearly any input is a legitimate problem. There is no category of 'wrong model' for the solver to detect.
Where the reasoning inverts the actual economics. Checking is not a slower re-derivation of the solve. Finding the optimum is the expensive part; substituting a known point into the constraints is a handful of multiplications, and recomputing the objective is one dot product. The check costs a fraction of the solve and tests something the solve cannot test, agreement between the written model and the input.
What should have been done before sending it to operations. Substitute the reported point into the constraints as originally written on paper, including bounds and sign restrictions. Recompute the objective from that point and compare. Ask whether the status is credible given what the model can support. Three checks, a few minutes.
What checking still would not establish. That the model represents the situation. A constraint that exists in the world and was never written into the model will pass every check, because nothing in the model contradicts the point. That remains a formulation question, and it is a further reason not to treat any automated output as self-certifying.
A complete answer does each of these:
- tests primal feasibility
- recomputes objective
- judges status
- attributes discrepancy
Transfer · Evaluation · Explanation
A colleague reports that their production model returned UNBOUNDED. You have not seen the model, but they tell you every decision variable represents a quantity produced and each carries a finite capacity limit.
Say what you can conclude before reading a single line of it, what you would ask for first, and what the two most likely causes are.
Write your answer, then compare it with the worked solution.
2 hints available, least help first.
Hint 1: Retrieval cue
What does unboundedness require of the feasible region?
Hint 2: Strategy cue
If every variable is capacity-limited, what shape is the region?
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.
What follows immediately. The status cannot be true of the model as described. Unboundedness requires a direction in which the feasible region continues without limit and the objective improves along it. If every variable carries a finite capacity limit, the region is contained in a box and admits no direction of unlimited travel at all. No objective can be unbounded over a bounded region.
So the model solved is not the model described. That is a firm conclusion, reached without seeing the file, and it should be stated plainly before any debugging begins. It rules out a whole class of investigation, including anything about the objective.
What to ask for first. The list of variables the solver received together with their bounds, compared against the intended list. The claim is that every variable is capacity-limited; the fastest test is to find the variable that is not.
Most likely cause: a bound that never reached the solver. A capacity limit present in the written model and absent from the input. A row omitted, a loop that skipped an index, a bound applied to the wrong variable name. One unbounded variable with a favourable objective coefficient is enough to produce the status.
Second most likely: a variable that is not what it is thought to be. An auxiliary or slack variable introduced during formulation, or a sign-unrestricted variable that was split, may carry no capacity limit because none was ever meant for it. If such a variable has a nonzero objective coefficient, for instance because a constant from a shifted variable was folded in wrongly, it can run away freely.
What would decide it. Ask the solver for the unbounded ray if it reports one. The ray names the variables increasing without limit, which points directly at the missing bound and usually ends the investigation in one step.
Why this is the transfer. The checks were introduced as things to run on a report in front of you. Here the reasoning runs before the model is available at all: a status is a claim, and some claims are refutable from a description alone.
A complete answer does each of these:
- tests primal feasibility
- recomputes objective
- judges status
- attributes discrepancy
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.