lingo_run_commands
Run custom LINGO command-window commands against a loaded model and return raw output. Use it for analyses the structured solver does not cover.
Instructions
Run an arbitrary sequence of LINGO command-window commands against a model and return the raw output. Use this for analyses the structured solver does not cover, e.g. ["GO", "RANGE 1", "PICTURE 1"]. Commands run after the model is loaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | LINGO model source. | |
| commands | Yes | LINGO commands, e.g. ["GO", "SOLU", "RANGE 1", "DUAL 1"]. | |
| file_path | No | Path to a LINGO model file to load instead. | |
| timeout_ms | No |