Effacer les filtres
Effacer les filtres

How do i solve minimax optimization problem?

2 vues (au cours des 30 derniers jours)
Meyyappan
Meyyappan le 16 Mai 2012
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 commentaires
Sargondjani
Sargondjani le 16 Mai 2012
no you dont have the optimization toolbox
Meyyappan
Meyyappan le 16 Mai 2012
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

Connectez-vous pour commenter.

Réponse acceptée

Sargondjani
Sargondjani le 16 Mai 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 commentaire
Meyyappan
Meyyappan le 16 Mai 2012
Thank you for help.. If u could elobrate on using fminsearch for solving minimax, it will be highly helpful.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by