Translate a model between formats
translateRewrites an optimisation model from one file format to another: LP (CPLEX LP format), MPS, or EBM (ojAlgo's own).
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": {
"model": "<model>",
"from": "<from>",
"to": "<to>"
},
"name": "translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| model | Yes | The model, as text |