linear_constr

Class property.

constraints.linear_constr

Collection of all linear constraints.

This dictionary has the following form:

>>> linear_constr = {'eq': [..], 'ineq': [..],
>>>                  'terminal_eq': [..], 'terminal_ineq': [..]}

The arrays that define the constraints are saved as lists which are contained in the dictionary. For example

>>> linear_constr['eq'][0]

returns a list with the arrays \(H\), \(F\) and \(h\) defining the first equality constraint

\[Hx + Fu = h.\]
Type:

dict