Find maximum of constrained multivariable function

18 views (last 30 days)
Hey,
I am looking for maximum optimization of a constrained nonlinear multivariable function. I found some solvers for minimum optimization of constrained nonlinear multivariable function, like fmincon ,fminsearch etc. But I need maximization of the same function.
Thanks- Mahir.

Answers (1)

Matt J
Matt J on 10 Mar 2014
Edited: Matt J on 10 Mar 2014
Minimizing -f(x) it is equivalent to maximizing f(x).
  2 Comments
mahir
mahir on 10 Mar 2014
so its a simple mathematical thing....no functional trick is required....thanks .....i have one more ques...i am working with optimtool box and the fmincon solver....how do i extract the optimized data in a variable after optimization ends

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!