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)
Rajkumar Verma
Rajkumar Verma le 30 Août 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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
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.
Rajkumar Verma
Rajkumar Verma le 30 Août 2019
Thanks.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by