csnlp.wrappers.PwaRegion#
- class csnlp.wrappers.PwaRegion(A, B, c, S, T)[source]#
Bases:
objectStores the matrices defining the i-th region in a piecewise affine system.
Methods
Attributes
The state matrix \(A_i\) of the affine dynamics \(x_+ = A_i x + B_i u + c_i\).
The input matrix \(B_i\) of the affine dynamics \(x_+ = A_i x + B_i u + c_i\).
The affine constant vector \(c_i\) of the affine dynamics \(x_+ = A_i x + B_i u + c_i\).
The state matrix \(S_i\) of the region inequality \(S_i [x^\top, u^\top]^\top \leq T_i\)
The constant vector \(T_i\) of the region inequality \(S_i x + R_i u \leq T_i\)
-
A:
ndarray[tuple[Any,...],dtype[floating]]# The state matrix \(A_i\) of the affine dynamics \(x_+ = A_i x + B_i u + c_i\).
-
B:
ndarray[tuple[Any,...],dtype[floating]]# The input matrix \(B_i\) of the affine dynamics \(x_+ = A_i x + B_i u + c_i\).
-
S:
ndarray[tuple[Any,...],dtype[floating]]# The state matrix \(S_i\) of the region inequality \(S_i [x^\top, u^\top]^\top \leq T_i\)
-
A: