IOptimizing with relative constraints

I'm trying to optimize inputs to a Simulink model. The input vector is a set of times that must be increasing monotonically. fminsearch usually works Ok, but sometimes its trial values violate this constraint, so the sim crashes.
How can I keep this constraint under control? Alternatively, how can I force the optimizer to take smaller steps?

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by