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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | model id | |
| seed | No | sampling seed (default 42) | |
| hours | No | horizon per run (default 8) | |
| samples | No | Monte Carlo samples (default 100, max 1000) | |
| 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]} |