Quadratic Programming and Cone Programming - MATLAB & Simulink (original) (raw)

Main Content

Solve problems with quadratic objectives and linear constraints or with conic constraints

Before you begin to solve an optimization problem, you must choose the appropriate approach: problem-based or solver-based. For details, see First Choose Problem-Based or Solver-Based Approach.

For the problem-based approach, create problem variables, and then represent the objective function and constraints in terms of these symbolic variables. For the problem-based steps to take, see Problem-Based Optimization Workflow. To solve the resulting problem, use solve.

For the solver-based steps to take, including defining the objective function and constraints, and choosing the appropriate solver, see Solver-Based Optimization Problem Setup. To solve the resulting problem, use quadprog or coneprog.

Live Editor Tasks

Optimize Optimize or solve equations in the Live Editor (Since R2020b)

Objects

Topics

Problem-Based Quadratic Programming

Solver-Based Quadratic Programming

Problem-Based Second-Order Cone Programming

Solver-Based Second-Order Cone Programming

Code Generation

Problem-Based Algorithms

Algorithms and Options