Should I set my bounds in the main function call or in the constraints function in global optimization?

3 views (last 30 days)
Should I set my bounds in the main function call or in the constraints function in global optimization?

Accepted Answer

Bruno Luong
Bruno Luong on 8 Jul 2019
In the lb, ub if you can.
Then in linear constraints.
then in non-linear constraints.
Don't do in the main function.

More Answers (0)

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!