mpt_call_plcp

Purpose

A gateway function to PLCP solver (without errorchecks)

Syntax

R = mpt_call_plcp(S)

Description

The function implements call to PLCP solver from Opt class. Supported problems are PLCP, MPLP, and MPQP. For PLCP, the problem is directly passed to mpt_plcp solver. For MPLP/MPQP, the problem is first transformed to PLCP and then PLCP solver is called.

Input Arguments

S

Object of the Opt class with the PLCP data.

Class: Opt

S.Ath

Linear part of the inequality constraints ../../../../fig/mpt/modules/solvers/mpt_call_plcp1.png.

Class: double

Default: []

S.bth

Right hand side of the inequality constraints ../../../../fig/mpt/modules/solvers/mpt_call_plcp2.png.

Class: double

Default: []

S.M

Linear matrix involved in LCP.

Class: double

Default: []

S.q

Right hand side vector involved in LCP.

Class: double

Default: []

S.Q

Linear matrix involved in parametric formulation of LCP.

Class: double

Default: []

S.n

Number of decision variables.

Class: double

S.d

Number of parameters.

Class: double

S.varOrder

Order of variables if the problem was processed by YALMIP first.

Class: double

Default: []

S.Internal

Internal property of Opt class.

Class: struct

Default: []

Output Arguments

R

result structure

Class: struct

R.xopt

Optimal solution

Class: PolyUnion

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

R.solveTime

Information about the time that elapsed during the computation in seconds.

Class: double

R.stats

Further details from the parametric solver.

Class: struct

See Also

opt, mpt_solvemp


© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch