In mathematical optimization theory, the linear complementarity problem, or LCP, is a special case of quadratic programming which arises frequently in computational mechanics.
Formulation
Given a real matrix M and vector q, the linear complementarity problem seeks a vector z and w which satisfies the following constraints:
- (that is, each component of these two vectors is non-negative)
- for all i. (The complementarity condition)
A sufficient condition for existence and uniqueness of a solution to this problem is that M be symmetric positive-definite.
The vector is a slack variable, and so is generally discarded after is found. As such, the problem can also be formulated as:
- (the complementarity condition)
Relation to Quadratic Programming
Finding a solution to the linear complementarity problem is equivalent to minimizing the quadratic function
subject to the constraints
Because these constraints ensure that f is always non-negative, it attains its minimum of 0 at z if and only if z solves the linear complementarity problem.
If M is positive definite, any algorithm for solving (convex) QPs can of course be used to solve the LCP. However, there also exist more efficient, specialized algorithms, such as Lemke's algorithm and Dantzig's algorithm.
See also
- Complementarity theory
- Physics engine Impulse/constraint type physics engines for games use this approach.
References
Further reading
- Cottle, Richard W. et al. (1992) The linear complementarity problem. Boston, Mass. : Academic Press
- R. W. Cottle and G. B. Dantzig. Complementary pivot theory of mathematical programming. Linear Algebra and its Applications, 1:103-125, 1968.