Pick an objective, add constraints, ground the model symbol by symbol — every variable and parameter has its own connector — then export it as text, solver code or LaTeX.
⚗ vision demo — UI only, not yet wired to the library
1 · Objective — tap to change
2 · Constraints — tap to add to the canvas
3 · Ground every symbol
Drag a port ○ to a data chip. Blue = variable — binds to the index set it ranges over; orange = parameter — binds to the data that fills it. Any connection is allowed; a dashed orange wire warns of a bad fit. Tap a wire to unbind, ✕ removes a constraint.
Model preview
4 · Export
Auto-generated sketch of the composed structure — a starting point, not (yet) validated by lp2graph.