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

1 view (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)

Community Treasure Hunt

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

Start Hunting!