Non linear Optimization problem.

3 visualizzazioni (ultimi 30 giorni)
Konstantinos Belivanis
Konstantinos Belivanis il 22 Lug 2015
Risposto: Alan Weiss il 23 Lug 2015
Dear all,
I have a problem where 4 parameters (A,B,C,D) feed into 5 nonlinear inequalities.
I would like to minimize the product of those parameters (A*B*C*D).
Could I have any more insight (useful link or so)?
Thanks

Risposta accettata

Alan Weiss
Alan Weiss il 23 Lug 2015
As the Optimization Decision Table shows, fmincon is the correct solver to use for this problem. As the documentation shows, you should put your parameters A, B, C, and D into a vector x, so
A = x(1);
B = x(2);
C = x(3);
D = x(4);
Write your nonlinear inequality constraints in the form specified in Nonlinear Constraints. For a simple example, see this example.
Alan Weiss
MATLAB mathematical toolbox documentation

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by