optimization.solve
Runs single-objective mixed-variable genetic algorithm optimizations from specified variables, objectives, constraints, and budgets, returning structured results in sync or async mode.
Instructions
Run the optimization.
``execution_mode="sync"`` waits for completion and returns the summary.
``execution_mode="async"`` returns immediately with a ``run_id`` and
``status``; poll it with ``optimization.get_result``. A repeated
``client_request_id`` returns the existing run instead of starting a
duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | Yes | ||
| execution_mode | No | sync | |
| client_request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |