# siconos.numerics.ConvexQP (Python class)¶

class siconos.numerics.ConvexQP[source]

Bases: object

Attributes: A (NumericsMatrix *) – Matrix A that defines the constraints. If it is NULL, we assume that A is the identity matrix b (array_like (np.float64, 1D)) – vector b that defines the constant term in the constraints. env (None *) – pointer onto env object (which is self is the simplest case) istheNormConvexQPset (int) – Boolean to know if the norm is set If not (istheNormConvexQPset=0) it will be computed in the first call of convexQP_compute_error By default, set istheNormConvexQPset =0. m (int) – m $$m$$ M (NumericsMatrix *) – Matrix M that defines the quadratic term in the cost function. normConvexQP (double) – Norm of the problem to compute relative solution. ProjectionOnC (None(*) – Projection on C. q (array_like (np.float64, 1D)) – vector q that defines the linear term in the cost function. set (None *) – opaque struct that represent the set C (possibly empty) size (int) – size $$n$$