Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to solve optimization problem?

3 Ansichten (letzte 30 Tage)
Rajkumar Verma
Rajkumar Verma am 30 Aug. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentare
Walter Roberson
Walter Roberson am 30 Aug. 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 am 30 Aug. 2019
Thanks.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by