sim_optimize
Multi-objective optimisation over transition rates for a stored model: Monte Carlo samples the rate ranges, runs each combination to the horizon with the continuous engine, and returns every sample with a Pareto flag — the non-dominated set is the trade-off frontier ('which staffing is non-dominated on served vs walked out'). Continuous reading: a model with a schedule or a gate is refused with the reason (use sim_compare with explicit scenarios for those). Costs 1 token per 50 samples (rounded up) from your account's compute bucket; rate ranges must be 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": {
"id": "<id>",
"parameters": "<parameters>",
"objectives": "<objectives>"
},
"name": "sim_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | model id | |
| seed | No | sampling seed, a whole number (default 42) | |
| hours | No | horizon per run (default 8, above 0 and at most 10000) | |
| samples | No | Monte Carlo samples (default 100, 1..1000; outside that is refused) | |
| objectives | Yes | JSON array of {"place": id, "direction": "max"|"min"} | |
| parameters | Yes | JSON object transition_id → [min, max] rate range, e.g. {"finish_brew": [10, 40]} |