type

Class property.

constraints.type

Indicating whether all constraints are linear.

If LQP, all constraints are linear. Then all constraints are of the form

\[Ex + Fu \leq h\]

If at least one constraint is initialized as a nonlinear constraint this attribute has the value NLP.

Type:

str