The Feasible Region in 3D

Six pictures of the same idea: a problem is a shape, and solving it is finding a point on that shape. Every number you see is computed in your browser, and checked against a second method.

What this is

The Feasible Region course draws most of its shapes flat. Some of them are not flat: a three-variable linear program is a solid with corners, an integer program is a cloud of points inside it, Max-Cut’s relaxation lives on a sphere. This page lets you turn them over. Nothing here is a claim about quantum speed-ups. It is the geometry that the quantum optimisation papers start from.

The 3D view loads only when you press Start 3D. On a weak phone it draws with a lighter setting, and the tables under each scene say the same thing in numbers if you would rather not load it.

Drag to turn. Scroll, pinch or the + and − keys to zoom. Arrow keys turn it when the picture has focus.

A linear program is a solid, and the simplex method walks its edges

Maximise 5x + 4y + 3z subject to three limits and x, y, z ≥ 0. The allowed points form a solid with flat faces. The best point is always a corner, so the simplex method starts at the origin and slides from corner to corner, each step along an edge and each step improving the objective, until no neighbour is better.

Cornerxyz5x+4y+3z

The amber path is the simplex method’s own pivots (the textbook tableau, Dantzig’s rule). The check script confirms the objective never falls along it, every step lands on a corner, and the end is the same corner an exhaustive search finds.

How it was checked

Every figure above comes from region3d.js, and tools/verify_region3d.mjs recomputes each scene by a different method: a grid search for the linear program, exhaustive enumeration for the integer program, a closed form for the sphere, a dense scan and many seeded runs for the landscape, pairwise comparison for the Pareto surface, and enumeration of every cut for the network. The picture is drawing, not evidence; the numbers are the evidence.

Low-end phones: the page draws no shadows, caps the pixel ratio, drops antialiasing on weak devices, pauses when scrolled out of view or the tab is hidden, and does not animate on its own if your device asks for reduced motion.

Back to the Feasible Region course