Optimize
zemax_optimizeOptimize optical designs in Ansys Zemax OpticStudio by running native local optimization with selectable DLS or Orthogonal algorithms and cycle/core settings.
Instructions
Run native local optimization.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zemax_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cores | No | Legacy CPU core count | |
| cycles | No | 0 for automatic | |
| method | No | Legacy local, hammer, or global | |
| algorithm | No | DLS or Orthogonal | DLS |