- Write scalar objective function
- Maximize instead of minimize
- Linear constraints
- Lower bound constraints
quadprog for constrained maximisation
4 ビュー (過去 30 日間)
古いコメントを表示
I am trying to rewrite the following maximisation problem in quadprog format.
max{w} (w'.M - r) / (w S w)^-0.5 subject to w'. 1 = 1 and all w >=1
How can such problem be reformulated to suite Matlab optimisation solvers like quadprog (https://uk.mathworks.com/help/optim/ug/quadprog.html)?
0 件のコメント
回答 (1 件)
Alan Weiss
2018 年 3 月 28 日
I don't know how that problem can be formulated for quadprog. However, it is simple to formulate it for fmincon. For help, check the documentation:
Alan Weiss
MATLAB mathematical toolbox documentation
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Quadratic Programming and Cone Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!