Optimization of 4 cost functions altogether with specified constraints
Mostrar comentarios más antiguos
How can I optimize 4 simple cost functions altogether with specified constraints on each of them using MATLAB and optimization toolbox?
6 comentarios
Matt J
el 20 de Jun. de 2013
When you say "altogether", do you mean the sum of the 4 four functions? Otherwise, what do you mean?
Ali Rezaei
el 20 de Jun. de 2013
Ali Rezaei
el 21 de Jun. de 2013
Editada: Ali Rezaei
el 21 de Jun. de 2013
Maybe I wasn't clear. Do you mean you want to calculate
[argmin(f1), argmin(f2), argmin(f3), argmin(f4)]
without using a for-loop? If instead, you're looking for a single x that simultaneously minimizes f1(x), f2(x), f3(x), and f4(x), then see Jan's Answer.
Ali Rezaei
el 23 de Jun. de 2013
Respuestas (1)
You cannot optimize for 4 different criteria at the same time. An optimization requires a scalar cost function, and this is related to the nature of the term "optimimum".
If you want to consider 4 parameters, you still need a norm to create a scalar: E.g. a weighted or unweighted sum(), max() or mean(). Using max() is not smooth anymore and the optimization method need to consider this explicitly.
Example:
Find the price of an article, which maximizes the income of the sellers and minimizes the costs for the buyers simultaneously.
This must fail for obvious reasons.
1 comentario
Ali Rezaei
el 23 de Jun. de 2013
Categorías
Más información sobre Nonlinear Optimization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!