how I can solve linear programming with quadratic constraints and linear constraints?

28 views (last 30 days)
Rasheed Al-Salih
Rasheed Al-Salih on 8 Jun 2017
Answered: Steve Grikschat on 18 Sep 2020
how I can solve linear programming with quadratic constraints and linear constraints?

Answers (2)

Torsten
Torsten on 9 Jun 2017
Use fmincon:
https://de.mathworks.com/help/optim/ug/linear-or-quadratic-problem-with-quadratic-constraints.html
Best wishes
Torsten.

Steve Grikschat
Steve Grikschat on 18 Sep 2020
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

Community Treasure Hunt

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

Start Hunting!