Waiting for constraints.
Setup
Constraints and objective
Load model
Paste a two-variable LP statement or a coefficient table, preview it, then load it into the graph.
Use a standard two-variable LP format with `Max` or `Min`, one constraint per line, optional nonnegativity such as `A,B >= 0`, and fractions like `1/2` when needed.
Paste spreadsheet rows directly into the grid. A header row is optional, the columns are `name`, `A coeff`, `B coeff`, `relation`, and `rhs`. Fractions like `1/2` are accepted, and strict `<` or `>` will be treated as `<=` or `>=` for graphing.
Paste a model, then click Preview model or Load into graph.
Objective function
Drag the amber midpoint to move it in parallel, or drag an endpoint to change its slope.
Constraints
Add lines and half-planes to define the feasible set.
Visualization
Feasible region and objective line
Drag the graph to pan, use your mouse wheel to scale the window, and move the colored lines directly on the plot.
Live readout
The app updates these summaries as the model changes.
Enter a nonzero objective to draw the line.
Drag the line or snap it to the optimum.