what solver to use for a linear objective function with a quadratic constraint?

2 ビュー (過去 30 日間)
Kimberley
Kimberley 2014 年 5 月 13 日
回答済み: Steve Grikschat 2020 年 9 月 18 日
Hi,
I'm looking for a solver that will help me optimise my objective function.
My objective function is linear and so are most of my constraints (so up till this point I’ve been using Linprog, which has worked well) but now I've expanded my constraints to include a nonlinear constraint. I don’t know if now I should try to use Quadprog? Or fmincon? Any advice would be appreciated.
Thank you!

採用された回答

Alan Weiss
Alan Weiss 2014 年 5 月 13 日
According to the Optimization Decision Table, you should use fmincon.
Alan Weiss
MATLAB mathematical toolbox documentation

その他の回答 (1 件)

Steve Grikschat
Steve Grikschat 2020 年 9 月 18 日
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quadratic constrained problems.
https://www.mathworks.com/help//optim/ug/convert-qp-to-socp.html
Function reference:
coupled with a function to make a second-order cone constraint
For an example see

カテゴリ

Help Center および File ExchangeQuadratic Programming and Cone Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by