返回新闻动态Back to News
产品发布Product Release

OPTIMake 0.5.2 版本发布!OPTIMake 0.5.2 Released!

本次更新扩展了外部函数与积分器能力,并提供更精细的线搜索、函数计算和约束控制选项。 This release extends external-function and integrator capabilities while providing finer control over line search, function evaluations, and constraints.

外部数据与积分器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.