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 个评论

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

请先登录,再进行评论。

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by