cst_optimizer
Set up optimization for CST Studio simulations: define minimization, maximization, or target goals, select parameters with bounds, and choose an algorithm.
Instructions
Set up an optimization in CST Studio. Define a goal (minimize, maximize, or target a specific value for a result), specify which parameters to vary with their bounds, and choose an optimization algorithm.
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": {
"goal_type": "<goal_type>",
"result_path": "<result_path>",
"parameters": "<parameters>"
},
"name": "cst_optimizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Optimization algorithm. | Trust Region |
| goal_type | Yes | Optimization goal type. | |
| goal_value | No | Target value for 'target' goal type. Ignored for minimize/maximize. | |
| parameters | Yes | List of parameters to optimize with their min/max bounds. | |
| result_path | Yes | Result tree path to optimize, e.g. '1D Results\S-Parameters\S1,1' or '1D Results\S-Parameters\S2,1'. | |
| max_evaluations | No | Maximum number of solver evaluations. |