I have to optimise an objective function within defined limits

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

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?
Ordinary bounds will limit the output as well.

Sign in to comment.

Categories

Asked:

on 16 Dec 2023

Commented:

on 16 Dec 2023

Community Treasure Hunt

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

Start Hunting!