A gateway function to QPC solver (without errorchecks)
R = mpt_call_qpc(S)
S |
Structure of the Opt class. Class: struct |
S.H |
Quadratic part of the objective function. Class: double Default: [] |
S.f |
Linear part of the objective function. Class: double |
S.A |
Linear part of the inequality constraints ![]() Class: double |
S.b |
Right hand side of the inequality constraints ![]() Class: double |
S.Ae |
Linear part of the equality constraints ![]() Class: double Default: [] |
S.be |
Right hand side of the equality constraints ![]() Class: double Default: [] |
S.lb |
Lower bound for the variables ![]() Class: double Default: [] |
S.ub |
Upper bound for the variables ![]() Class: double Default: [] |
S.n |
Problem dimension (number of variables). Class: double |
S.m |
Number of inequalities in ![]() Class: double |
S.me |
Number of equalities in ![]() Class: double |
S.problem_type |
A string specifying the problem to be solved. Class: char |
S.test |
Call (false) or not to call (true) MPT global settings. Class: logical Default: false |
S.solver |
Specific routine to be called of QPC. To call interior point method,
specify "qpip". To call active set method, specify "qpas" or leave empty. Class: char |
R |
result structure Class: struct |
R.xopt |
Optimal solution. Class: double |
R.obj |
Optimal objective value. Class: double |
R.lambda |
Lagrangian multipliers. Class: double |
R.exitflag |
An integer value that informs if the result was feasible (1), or otherwise (different from 1). Class: double |
R.how |
A string that informs if the result was feasible ('ok'), or if any problem appeared through optimization Class: char |
◀ | mpt_plcp | mpt_solvers_options | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch