linear_program
Minimize a linear objective under inequality/equality constraints and optional variable bounds; negate coefficients to maximize.
Instructions
Minimize c @ x subject to linear inequality/equality constraints.
``fun`` is the minimum objective value; negate ``c`` to maximize. Default
bounds are scipy's ``(0, None)`` (all variables non-negative).
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": {
"c": "<c>"
},
"name": "linear_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| c | Yes | ||
| a_eq | No | ||
| a_ub | No | ||
| b_eq | No | ||
| b_ub | No | ||
| bounds | No | ||
| method | No | highs |