Task-oriented recipes for common operations. Each guide gets straight to the point with self-contained examples you can copy and run.
| Guide | Description |
|---|---|
| Building Optimization Models | Variables, constraints, objectives, and solving in recipe form |
| Define Block Schemas | Define typed block inputs/outputs with dataclass or pydantic models |
| Numpy Integration | Array arithmetic, element-wise bounds, indexing, and reduction operators |
| Configure Solver | Solver objects, settings, and reusable configurations |
| Debug Infeasibility | Use slacks and elastic constraints to diagnose infeasible models |
| Inspect a Model | Examine model structure with snapshots before and after solving |
| Handle Errors | Catch model-building exceptions and check solver outcomes |
| Enable Logging | Configure Rust-side tracing and solver output |