Why will the model not solve?

Find the constraints
that fight each other

When a set of limits leaves no answer, which ones clash? Type your constraints in x and y and the page finds the smallest set that cannot hold together, or, if they are consistent, which constraints are redundant.

Enter your figures and read the result

One constraint per line in x and y. The worked example is a set of limits that cannot all be met. Saved on this device only.

Loading Optimization Constraint Debugger. If nothing appears, turn on JavaScript.

What you get

Enrichment · STEM ExplorationsOpen to everyone · no sign-in

What you finish with
A worked-out result for your own entry (a headline figure, tiles, tables and a drawing where one helps), as a printout, a spreadsheet (.csv) or a saved file.
Who it is for
Students and teachers working with linear programming and systems of inequalities who need to see why a model has no solution or which limits do nothing.
Format
Browser tool for a phone, tablet or computer: type or paste, the result updates as you type. Print, spreadsheet (.csv), save to a file and open it again.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The STEM Explorations space in Caveat Enrichment.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Load the worked example to see how it reads, or start with your own entry.
  2. Type or paste into the fields; the result updates as you type.
  3. Read the headline, the tiles and the tables.
  4. Try a second case from the buttons above the fields.
  5. Print the result, download a spreadsheet or save the entry to a file.

Debug the constraints

How it works

The worked example from the typed limits to the smallest conflict.

Irreducible conflicts

A set of constraints is irreducibly infeasible when it has no solution but every smaller part of it does. Fixing a model means relaxing at least one member of such a set. Here the sum of the two minimums, 8 + 5 = 13, exceeds the cap of 10.

Redundant limits

A constraint that the others already imply, such as x + y at most 15 when x + y at most 10 is also required, changes nothing. Spotting these makes a model easier to read and to explain.

Sources

  1. Chinneck, J. W. Feasibility and Infeasibility in Optimization: Algorithms and Computational Methods, Springer, chapters on irreducible infeasible sets and the deletion filter.
  2. Bazaraa, M. S., Jarvis, J. J., & Sherali, H. D. Linear Programming and Network Flows, Wiley, on redundant constraints and feasible regions.

The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.