外部数据与积分器External Data and Integrator
- 支持外部函数传入自定义数据,可通过External functions can now receive custom data through
_prob->external_data传递。. - 新增Added support for the
erk2积分器支持。integrator.
求解控制选项Solver Control Options
line_search_max_num_consecutive_fails
控制最大连续线搜索失败次数,便于针对不同问题调整终止策略。Controls the maximum number of consecutive line-search failures, allowing termination behavior to be tuned for different problems.
max_num_function_eval_ratio
/
max_num_function_eval_offset
共同控制最大函数计算次数,为求解时间和计算资源提供更明确的边界。Together, these options control the maximum number of function evaluations, providing clearer bounds on solve time and compute resources.
约束处理Constraint Handling
当约束值为 inf,或软约束权重小于 1e-8 时,可以关闭对应约束,从而简化问题配置与条件化处理。
A constraint can now be disabled when its value is inf or its soft-constraint weight is below 1e-8, simplifying problem configuration and conditional handling.