generate_model_code
Translates an approved mathematical formulation into structured PySCIPOpt Python code with model metadata, dependencies, assumptions, and objective sense.
Instructions
Translates an approved mathematical formulation into structured, executable PySCIPOpt Python code. Returns structured metadata (model_name, description, code, dependencies, assumptions, objective_sense).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"formulation": "<formulation>"
},
"name": "generate_model_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback | No | ||
| formulation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||