Error Messages/40579


Error message

The "«item»" item to SolverInfo requires a quadratic program.

Examples:

The "Q" item to SolverInfo requires a quadratic program.

Cause

The Q matrix encodes the quadratic coefficients of a quadratic program, and does not exist in the definition of a linear or non-linear program. Similarly for LhsQ -- the quadratric coefficients of the constraints. You've asked for the quadratic matrix of coefficients for something other than a quadratic program -- either an LP or NLP, hence the error message.

Remedy

The call doesn't make sense for your situation. Did you intend to define a quadratic program, and instead defined only a linear program? If so, change LpDefine to QpDefine.

See Also

Comments


You are not allowed to post comments.