Is it possible in fmincon to limit the fval in the options?
7 views (last 30 days)
Show older comments
Good morning,
is it possible to specify in the options of the fmincon, for example, that the fval may only take a maximum certain value? If it is possible, in what way does it change the iterary procedure of the fmincon to find a solution? Many thanks for your answers.
With kind regards
0 Comments
Accepted Answer
Matt J
on 15 Aug 2021
Edited: Matt J
on 15 Aug 2021
No, but you can pose the bound on fval as a nonlinear constraint, and put it in your nonlcon function.
Nonlinear constraints can complicate the optimization considerably, however, so if possible you should try instead to find bounds or linear constraints on your x(i) that imply the desired bounds on fval.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!