Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to solve optimization problem?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear All,
I have optimization tool box. Could you help me in solving these two optimization problem?
(1)
subject to the constraints
.
(2)
subject to the constraints
, , , ,
.
2 commentaires
Walter Roberson
le 30 Août 2019
For the first one:
fmincon() with lower bound 0, upper bound infinity, Aeq = ones(1,6), beq = 1 . And minimize the negative of the expression that you need to maximize (so basically change all those subtractions into additions.)
For the second one: nearly the same but with changes to the lower bound and upper bound.
Réponses (0)
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!