Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to solve optimization problem?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2019-8-30
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!