optimizer_setup
Configure an Optimize Transform in one call by setting algorithm, error type, inputs, parameters, and options. All optimizer parameters must include min and max bounds to avoid optimization failures.
Instructions
Configure an Optimize Transform in a single call. Replaces multiple transform_set_optim_field calls.
Sets Algorithm, Error type, Inputs table (Target/Simulated/X range), Parameters table (Name/Min/Max), and Options all at once. The Transform must already exist with Function='Optimize' (use transform_create with transform_type='Optimize' first).
CRITICAL: ALL optimizer parameters MUST have both min AND max bounds specified. Unbounded parameters cause optimization failures (e.g. IS/N compensation). The server serializes all IC-CAP API calls, so parallel calls are automatically queued. If any field fails to set, the call stops and reports which field failed.
Options are validated against the selected algorithm. Common options per algorithm:
Random (R): RMS error, Rand Iters (NOT Max Iters!), Rand Std Dev, Rand Reward, Rand Penalty, Rand Seed, Comb Filter
LM (L): RMS error, Max error, Max Evals, Param Tol, Function Tol, Comb Filter, Param Delta
Hybrid (H): RMS error, Max error, Rand Iters, Comb Filter, Param Tol, Function Tol, Param Delta
Minimax (N): RMS error, Max error, Max Evals, Param Tol, Function Tol, Max Iters, Comb Filter
All algorithms also support: X/Y Lower/Upper Bound
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error type: 'Relative' or 'Absolute' | Relative |
| inputs | No | Inputs table rows | |
| options | No | Optimizer options (validated against algorithm) | |
| algorithm | No | Algorithm name or PEL code (L/R/H/B/G/N/Q/I) | Levenberg-Marquardt |
| parameters | No | Parameters table rows | |
| transform_path | Yes | Optimize Transform path |