I have to optimise an objective function within defined limits

2 views (last 30 days)
I have to optimise an objective function within defined limits. However, using problem-based optimization, I can only set the lower and upper bounds for input parameters, not the objective function itself. Any suggestions on how to approach this?

Answers (1)

Matt J
Matt J on 16 Dec 2023
Edited: Matt J on 16 Dec 2023
You can set any nonlinear constraint functions that you want, though ideally it would be continuously differentiable. However, bounds on the objective fuction are often not useful, because they can lead to discontiguous feasible sets.
  2 Comments
Sunita
Sunita on 16 Dec 2023
I am using GA optimizer which gives the value that is not practically possible. So, I was thinking if I could limit the output. any suggestion?

Sign in to comment.

Categories

Find more on Get Started with Optimization Toolbox 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!