| license: apache-2.0 | |
| language: | |
| - en | |
| tags: | |
| - optimization | |
| - operations-research | |
| - structured-binding | |
| - text-to-milp | |
| size_categories: | |
| - n<1K | |
| # OptiCoder Binding Cases | |
| Structured JSON binding cases paired with symbolic formulations for the OptiCoder text-to-MILP pipeline. | |
| Each case includes: | |
| - Natural language problem description | |
| - Symbolic formulation (sets, parameters, variables, objective, constraints) | |
| - Structured binding JSON (all numeric values with provenance) | |
| - Solver-verified ground-truth objective | |
| ## Problem Types | |
| - Transportation | |
| - Assignment | |
| - Knapsack | |
| - Production planning | |
| ## Usage | |
| ```python | |
| import json | |
| from pathlib import Path | |
| case = json.loads(Path("cases/case_transportation.json").read_text()) | |
| print(case["binding"]) | |
| ``` | |