How do i solve minimax optimization problem?

certain examples are given in help. But when i try the same, its showing error. Can anyone, with an example, be able to explain solving Minimax optimization problem.

4 Commenti

Why don't you include the code you tried and the error message in your question?
do you have the optimization toolbox?
you can type 'ver' to see what toolboxes you have
no you dont have the optimization toolbox
function b = three_var(v)
x = v(1);
y = v(2);
z = v(3);
b = x.^2 + 2.5*sin(y) - z^2*x^2*y^2;
v = [-0.6 -1.2 0.135];
a = fminsearch(@three_var,v)
Error using three_var (line 2)
Not enough input arguments. This was the message that i am getting even if try with fminsearch.. kindly elobrate on fminsearch to solve minnimax.. thanks

Accedi per commentare.

 Risposta accettata

Sargondjani
Sargondjani il 16 Mag 2012
to solve a minimax program you will have to rely on 'fminsearch', file exchange or write you own optimization routine (this might be less difficult than you think)

1 Commento

Thank you for help.. If u could elobrate on using fminsearch for solving minimax, it will be highly helpful.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by