FUNCTION REFERENCE

mpcActiveSetOptions

Create options for the dense active-set quadratic program solver.

Create options for the dense active-set quadratic program solver.

Syntax

options = mpcActiveSetOptions(type)

The optional type is 'double' (default) or 'single'. Fields: DataType,

MaxIterations (200), ConstraintTolerance (1e-6), UseHessianAsInput (true),

IntegrityChecks (true). MaxIterations is a positive integer, at most 1000000.

All real solver inputs must match DataType. Single inputs use double internal

arithmetic and single outputs. IntegrityChecks=false omits final equality

residual diagnostics; finite values, dimensions and memory guards remain checked.

Example

opt=mpcActiveSetOptions; opt.MaxIterations=100

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.