siconos.numerics.LCP (Python class)

class siconos.numerics.LCP(M: PyObject *, q: PyObject *)[source]

Bases: object

Structure that contains and defines a LCP Problem.

See :ref:`lc_problem`_

Generated class (swig), based on C++ header Program listing for file numerics/src/LCP/LinearComplementarityProblem.h.

Attributes:
  • M (NumericsMatrix *) – M matrix of the LCP (see the mathematical description)
  • q (array_like (np.float64, 1D)) – vector of the LCP (see the mathematical description)
  • size (int) – size of the problem