chaprola_optimize
Run HULDRA nonlinear optimization to minimize objectives by adjusting parameters, using a compiled PR program as the objective evaluator.
Instructions
Run HULDRA nonlinear optimization using a compiled .PR as the objective evaluator
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": {
"project": "<project>",
"program": "<program>",
"primary_file": "<primary_file>",
"elements": "<elements>",
"objectives": "<objectives>"
},
"name": "chaprola_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | Compiled .PR program name (the VALUE program) | |
| project | Yes | Project name | |
| elements | Yes | Parameters to optimize | |
| h_initial | No | Initial step fraction (default: 0.125) | |
| async_exec | No | If true, return job_id for long optimizations | |
| objectives | Yes | Objective values to minimize | |
| primary_file | Yes | Data file to pass to the VALUE program | |
| max_iterations | No | Max iterations (default: 100) |