<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Linear_complementarity_problem</id>
	<title>Linear complementarity problem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Linear_complementarity_problem"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Linear_complementarity_problem&amp;action=history"/>
	<updated>2026-05-04T13:35:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Linear_complementarity_problem&amp;diff=6165001&amp;oldid=prev</id>
		<title>imported&gt;Я сошла с ума: Importing Wikidata short description: &quot;Quadratic programming as a special case&quot;</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Linear_complementarity_problem&amp;diff=6165001&amp;oldid=prev"/>
		<updated>2025-10-03T15:09:22Z</updated>

		<summary type="html">&lt;p&gt;Importing Wikidata &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_description&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Short description&quot;&gt;short description&lt;/a&gt;: &amp;quot;Quadratic programming as a special case&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:09, 3 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Short description|Quadratic programming as a special case}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In mathematical [[optimization (mathematics)|optimization theory]], the &amp;#039;&amp;#039;&amp;#039;linear complementarity problem (LCP)&amp;#039;&amp;#039;&amp;#039; arises frequently in [[computational mechanics]] and encompasses the well-known [[quadratic programming]] as a special case. It was proposed by Cottle and [[George Dantzig|Dantzig]] in&amp;amp;nbsp;1968.{{sfnp|Murty|1988}}{{sfnp|Cottle|Pang|Stone|1992}}{{sfnp|Cottle|Dantzig|1968}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In mathematical [[optimization (mathematics)|optimization theory]], the &amp;#039;&amp;#039;&amp;#039;linear complementarity problem (LCP)&amp;#039;&amp;#039;&amp;#039; arises frequently in [[computational mechanics]] and encompasses the well-known [[quadratic programming]] as a special case. It was proposed by Cottle and [[George Dantzig|Dantzig]] in&amp;amp;nbsp;1968.{{sfnp|Murty|1988}}{{sfnp|Cottle|Pang|Stone|1992}}{{sfnp|Cottle|Dantzig|1968}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Formulation ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Formulation ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Given a real matrix &#039;&#039;M&#039;&#039; and vector &#039;&#039;q&#039;&#039;, the linear complementarity problem LCP(&#039;&#039;q&#039;&#039;, &#039;&#039;M&#039;&#039;) seeks vectors &#039;&#039;z&#039;&#039; and &#039;&#039;w&#039;&#039; which satisfy the following constraints:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Given a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Matrix (mathematics)|&lt;/ins&gt;real matrix&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;&#039;&#039;M&#039;&#039; and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Vector space|&lt;/ins&gt;vector&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;&#039;&#039;q&#039;&#039;, the linear complementarity problem LCP(&#039;&#039;q&#039;&#039;, &#039;&#039;M&#039;&#039;) seeks vectors &#039;&#039;z&#039;&#039; and &#039;&#039;w&#039;&#039; which satisfy the following constraints:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;w, z \geqslant 0,&amp;lt;/math&amp;gt; (that is, each component of these two vectors is non-negative)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;w, z \geqslant 0,&amp;lt;/math&amp;gt; (that is, each component of these two vectors is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Sign (mathematics)|&lt;/ins&gt;non-negative&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;z^Tw = 0&amp;lt;/math&amp;gt; or equivalently &amp;lt;math&amp;gt;\sum\nolimits_i w_i z_i = 0.&amp;lt;/math&amp;gt; This is the [[Complementarity theory|complementarity]] condition, since it implies that, for all &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;, at most one of &amp;lt;math&amp;gt;w_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z_i&amp;lt;/math&amp;gt; can be positive.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;z^Tw = 0&amp;lt;/math&amp;gt; or equivalently &amp;lt;math&amp;gt;\sum\nolimits_i w_i z_i = 0.&amp;lt;/math&amp;gt; This is the [[Complementarity theory|complementarity]] condition, since it implies that, for all &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;, at most one of &amp;lt;math&amp;gt;w_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z_i&amp;lt;/math&amp;gt; can be positive.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;w = Mz + q&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;w = Mz + q&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Я сошла с ума</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Linear_complementarity_problem&amp;diff=1125739&amp;oldid=prev</id>
		<title>imported&gt;Thatsme314: /* See also */ grammar</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Linear_complementarity_problem&amp;diff=1125739&amp;oldid=prev"/>
		<updated>2024-04-05T14:39:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt; grammar&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In mathematical [[optimization (mathematics)|optimization theory]], the &amp;#039;&amp;#039;&amp;#039;linear complementarity problem (LCP)&amp;#039;&amp;#039;&amp;#039; arises frequently in [[computational mechanics]] and encompasses the well-known [[quadratic programming]] as a special case. It was proposed by Cottle and [[George Dantzig|Dantzig]] in&amp;amp;nbsp;1968.{{sfnp|Murty|1988}}{{sfnp|Cottle|Pang|Stone|1992}}{{sfnp|Cottle|Dantzig|1968}}&lt;br /&gt;
&lt;br /&gt;
== Formulation ==&lt;br /&gt;
Given a real matrix &amp;#039;&amp;#039;M&amp;#039;&amp;#039; and vector &amp;#039;&amp;#039;q&amp;#039;&amp;#039;, the linear complementarity problem LCP(&amp;#039;&amp;#039;q&amp;#039;&amp;#039;, &amp;#039;&amp;#039;M&amp;#039;&amp;#039;) seeks vectors &amp;#039;&amp;#039;z&amp;#039;&amp;#039; and &amp;#039;&amp;#039;w&amp;#039;&amp;#039; which satisfy the following constraints:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;w, z \geqslant 0,&amp;lt;/math&amp;gt; (that is, each component of these two vectors is non-negative)&lt;br /&gt;
* &amp;lt;math&amp;gt;z^Tw = 0&amp;lt;/math&amp;gt; or equivalently &amp;lt;math&amp;gt;\sum\nolimits_i w_i z_i = 0.&amp;lt;/math&amp;gt; This is the [[Complementarity theory|complementarity]] condition, since it implies that, for all &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;, at most one of &amp;lt;math&amp;gt;w_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z_i&amp;lt;/math&amp;gt; can be positive.&lt;br /&gt;
* &amp;lt;math&amp;gt;w = Mz + q&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A sufficient condition for existence and uniqueness of a solution to this problem is that &amp;#039;&amp;#039;M&amp;#039;&amp;#039; be [[Symmetric matrix|symmetric]] [[Positive-definite matrix|positive-definite]]. If &amp;#039;&amp;#039;M&amp;#039;&amp;#039; is such that {{math|LCP(&amp;#039;&amp;#039;q&amp;#039;&amp;#039;, &amp;#039;&amp;#039;M&amp;#039;&amp;#039;)}} has a solution for every &amp;#039;&amp;#039;q&amp;#039;&amp;#039;, then &amp;#039;&amp;#039;M&amp;#039;&amp;#039; is a [[Q-matrix]]. If &amp;#039;&amp;#039;M&amp;#039;&amp;#039; is such that {{math|LCP(&amp;#039;&amp;#039;q&amp;#039;&amp;#039;, &amp;#039;&amp;#039;M&amp;#039;&amp;#039;)}} have a unique solution for every &amp;#039;&amp;#039;q&amp;#039;&amp;#039;, then &amp;#039;&amp;#039;M&amp;#039;&amp;#039; is a [[P-matrix]]. Both of these characterizations are sufficient and necessary.{{sfnp|Murty|1972}}&lt;br /&gt;
&lt;br /&gt;
The vector &amp;#039;&amp;#039;w&amp;#039;&amp;#039; is a [[slack variable]],{{sfnp|Taylor|2015|p=[https://books.google.com/books?id=JBdoBgAAQBAJ&amp;amp;pg=PA172 172]}} and so is generally discarded after &amp;#039;&amp;#039;z&amp;#039;&amp;#039; is found. As such, the problem can also be formulated as:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;Mz+q \geqslant 0&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;z \geqslant 0&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;z^{\mathrm{T}}(Mz+q) = 0&amp;lt;/math&amp;gt; (the complementarity condition)&lt;br /&gt;
&lt;br /&gt;
==Convex quadratic-minimization: Minimum conditions==&lt;br /&gt;
Finding a solution to the linear complementarity problem is associated with minimizing the quadratic function&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(z) = z^T(Mz+q)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
subject to the constraints&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;{Mz}+q \geqslant 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;z \geqslant 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These constraints ensure that &amp;#039;&amp;#039;f&amp;#039;&amp;#039; is always non-negative. The minimum of &amp;#039;&amp;#039;f&amp;#039;&amp;#039; is 0 at &amp;#039;&amp;#039;z&amp;#039;&amp;#039; if and only if &amp;#039;&amp;#039;z&amp;#039;&amp;#039; solves the linear complementarity problem.&lt;br /&gt;
&lt;br /&gt;
If &amp;#039;&amp;#039;M&amp;#039;&amp;#039; is [[Positive-definite matrix|positive definite]], any algorithm for solving (strictly) convex [[Quadratic programming|QPs]] can solve the LCP.  Specially designed basis-exchange pivoting algorithms, such as [[Lemke&amp;#039;s algorithm]] and a variant of the [[simplex algorithm|simplex algorithm of Dantzig]] have been used for decades. Besides having polynomial time complexity, interior-point methods are also effective in practice.&lt;br /&gt;
&lt;br /&gt;
Also, a quadratic-programming problem stated as minimize &amp;lt;math&amp;gt;f(x)=c^Tx+\tfrac{1}{2} x^T Qx&amp;lt;/math&amp;gt; subject to &amp;lt;math&amp;gt;Ax \geqslant b&amp;lt;/math&amp;gt; as well as &amp;lt;math&amp;gt;x \geqslant 0&amp;lt;/math&amp;gt; with &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; symmetric&lt;br /&gt;
&lt;br /&gt;
is the same as solving the LCP with&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;q = \begin{bmatrix} c \\ -b \end{bmatrix}, \qquad M = \begin{bmatrix} Q &amp;amp; -A^T \\ A &amp;amp; 0 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is because the [[Karush–Kuhn–Tucker]] conditions of the QP problem can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{cases} &lt;br /&gt;
v = Q x - A^T {\lambda} + c \\ &lt;br /&gt;
s = A x - b \\ &lt;br /&gt;
x, {\lambda}, v, s \geqslant 0 \\ &lt;br /&gt;
x^{T} v+ {\lambda}^T s = 0&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &amp;#039;&amp;#039;v&amp;#039;&amp;#039; the Lagrange multipliers on the non-negativity constraints, &amp;#039;&amp;#039;λ&amp;#039;&amp;#039; the &amp;lt;!-- Lagrange  --&amp;gt;multipliers on the inequality constraints, and &amp;#039;&amp;#039;s&amp;#039;&amp;#039; the slack variables for the inequality constraints. The fourth condition derives from the complementarity of each group of variables {{math|(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}} with its set of KKT vectors (optimal Lagrange multipliers) being {{math|(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;, &amp;#039;&amp;#039;λ&amp;#039;&amp;#039;)}}. In that case,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;z = \begin{bmatrix} x \\ \lambda \end{bmatrix}, \qquad w = \begin{bmatrix} v \\ s \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the non-negativity constraint on the &amp;#039;&amp;#039;x&amp;#039;&amp;#039; is relaxed, the dimensionality of the LCP problem can be reduced to the number of the inequalities, as long as &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; is non-singular (which is guaranteed if it is [[Positive-definite matrix|positive definite]]). The multipliers &amp;#039;&amp;#039;v&amp;#039;&amp;#039; are no longer present, and the first KKT conditions can be rewritten as:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;Q x = A^{T} {\lambda} - c&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; x = Q^{-1}(A^{T} {\lambda} - c)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pre-multiplying the two sides by &amp;#039;&amp;#039;A&amp;#039;&amp;#039; and subtracting &amp;#039;&amp;#039;b&amp;#039;&amp;#039; we obtain:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; A x - b = A Q^{-1}(A^{T} {\lambda} - c) -b \,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The left side, due to the second KKT condition, is &amp;#039;&amp;#039;s&amp;#039;&amp;#039;. Substituting and reordering:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; s = (A Q^{-1} A^{T}) {\lambda} + (- A Q^{-1} c - b )\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Calling now&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M &amp;amp;:= (A Q^{-1} A^{T}) \\&lt;br /&gt;
q &amp;amp;:=  (- A Q^{-1} c - b)&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
we have an LCP, due to the relation of complementarity between the slack variables &amp;#039;&amp;#039;s&amp;#039;&amp;#039; and their Lagrange multipliers &amp;#039;&amp;#039;λ&amp;#039;&amp;#039;. Once we solve it, we may obtain the value of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; from &amp;#039;&amp;#039;λ&amp;#039;&amp;#039;  through the first KKT condition.&lt;br /&gt;
&lt;br /&gt;
Finally, it is also possible to handle additional equality constraints:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A_{eq}x = b_{eq}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This introduces a vector of Lagrange multipliers &amp;#039;&amp;#039;μ&amp;#039;&amp;#039;, with the same dimension as &amp;lt;math&amp;gt;b_{eq}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is easy to verify that the &amp;#039;&amp;#039;M&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; for the LCP system &amp;lt;math&amp;gt; s = M {\lambda} + Q&amp;lt;/math&amp;gt; are now expressed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M &amp;amp;:= \begin{bmatrix} A &amp;amp; 0 \end{bmatrix}  \begin{bmatrix} Q &amp;amp; A_{eq}^{T} \\ -A_{eq} &amp;amp; 0 \end{bmatrix}^{-1}  \begin{bmatrix} A^T \\ 0 \end{bmatrix}  \\&lt;br /&gt;
q &amp;amp;:= - \begin{bmatrix} A &amp;amp; 0 \end{bmatrix}  \begin{bmatrix} Q &amp;amp; A_{eq}^{T} \\ -A_{eq} &amp;amp; 0 \end{bmatrix}^{-1} \begin{bmatrix} c \\ b_{eq} \end{bmatrix} - b&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From &amp;#039;&amp;#039;λ&amp;#039;&amp;#039; we can now recover the values of both &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and the Lagrange multiplier of equalities &amp;#039;&amp;#039;μ&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x \\ \mu \end{bmatrix} = \begin{bmatrix} Q &amp;amp; A_{eq}^{T} \\ -A_{eq} &amp;amp; 0 \end{bmatrix}^{-1} \begin{bmatrix} A^T \lambda - c \\ -b_{eq} \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In fact, most QP solvers work on the LCP formulation, including the [[interior point method]], principal / complementarity pivoting, and [[active set]] methods.{{sfnp|Murty|1988}}{{sfnp|Cottle|Pang|Stone|1992}} LCP problems can be solved also by the [[criss-cross algorithm]],{{sfnp|Fukuda|Namiki|1994}}{{sfnp|Fukuda|Terlaky|1997}}{{sfnp|den Hertog|Roos|Terlaky|1993}}{{sfnp|Csizmadia|Illés|2006}} conversely, for linear complementarity problems, the criss-cross algorithm terminates finitely only if the matrix is a sufficient matrix.{{sfnp|den Hertog|Roos|Terlaky|1993}}{{sfnp|Csizmadia|Illés|2006}} A [[sufficient&amp;amp;nbsp;matrix]] is a generalization both of a [[positive-definite matrix]] and of a [[P-matrix]], whose [[principal&amp;amp;nbsp;minor]]s are each positive.{{sfnp|den Hertog|Roos|Terlaky|1993}}{{sfnp|Csizmadia|Illés|2006}}{{sfnp|Cottle|Pang|Venkateswaran|1989}}&lt;br /&gt;
Such LCPs can be solved when they are formulated abstractly using [[oriented matroid|oriented-matroid]] theory.{{sfnp|Todd|1985|}}{{sfnp|Terlaky|Zhang|1993}}{{sfnp|Björner|Las Vergnas|Sturmfels|White|1999}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Complementarity theory]]&lt;br /&gt;
*[[Physics engine]] Impulse/constraint type physics engines for games use this approach.&lt;br /&gt;
*[[Contact dynamics]] Contact dynamics with the nonsmooth approach.&lt;br /&gt;
*[[Bimatrix game]]s can be reduced to LCP.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|24em}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* {{cite book|last1=Björner|first1=Anders|author-link1=Anders Björner|last2=Las Vergnas|author-link2=Michel Las Vergnas|first2=Michel|last3=Sturmfels|first3=Bernd|author-link3=Bernd Sturmfels|last4=White|first4=Neil |author-link4=Neil White|last5=Ziegler |first5=Günter|author-link5=Günter M. Ziegler |year=1999 |title=Oriented Matroids|chapter=10 Linear programming |publisher=Cambridge University Press|isbn=978-0-521-77750-6 |pages=417–479 |doi=10.1017/CBO9780511586507 |mr=1744046}}&lt;br /&gt;
* {{cite journal|last1=Cottle|first1=R. W.|last2=Dantzig|first2=G. B.|author-link2=G. B. Dantzig |title=Complementary pivot theory of mathematical programming |journal=Linear Algebra and Its Applications |volume=1 |pages=103–125 |date=1968|doi=10.1016/0024-3795(68)90052-9|doi-access=free}}&lt;br /&gt;
* {{cite book|last1=Cottle|first1=Richard W.|last2=Pang|first2=Jong-Shi|last3=Stone|first3=Richard E. |title=The linear complementarity problem | series=Computer Science and Scientific Computing |publisher=Academic Press, Inc. |location=Boston, MA|year=1992|pages=xxiv+762 pp|isbn=978-0-12-192350-1 |mr=1150683}}&lt;br /&gt;
* {{cite journal|last1=Cottle|first1=R. W.|authorlink1=Richard W. Cottle|last2=Pang|first2=J.-S. |last3=Venkateswaran|first3=V.|title=Sufficient matrices and the linear complementarity problem |journal=Linear Algebra and Its Applications|volume=114–115|date=March–April 1989|pages=231–249 |doi=10.1016/0024-3795(89)90463-1|mr=986877|doi-access=}}&lt;br /&gt;
* {{cite journal|first1=Zsolt|last1=Csizmadia|first2=Tibor|last2=Illés|title=New criss-cross type algorithms for linear complementarity problems with sufficient matrices|journal=Optimization Methods and Software|volume=21 |year=2006|number=2|pages=247–266 |doi=10.1080/10556780500095009 |s2cid=24418835 |url=http://www.cs.elte.hu/opres/orr/download/ORR03_1.pdf}}&lt;br /&gt;
* {{cite journal|last1=Fukuda|first1=Komei|authorlink1=Komei Fukuda|last2=Namiki|first2=Makoto|title=On extremal behaviors of Murty&amp;#039;s least index method|journal=Mathematical Programming|date=March 1994|pages=365–370|volume=64|issue=1|doi=10.1007/BF01582581|mr=1286455|s2cid=21476636}}&lt;br /&gt;
* {{cite journal|first1=Komei|last1=Fukuda &amp;lt;!-- authorlink1=Komei Fukuda --&amp;gt;|first2=Tamás|last2=Terlaky &amp;lt;!-- authorlink2=Tamás Terlaky --&amp;gt;|title=Criss-cross methods: A fresh view on pivot algorithms |journal=Mathematical Programming, Series B|volume=79|issue=1–3| pages=369–395|series=Papers from the 16th International Symposium on Mathematical Programming held in Lausanne, 1997 |editor=Thomas M. Liebling |editor2=Dominique de Werra |year=1997 |doi=10.1007/BF02614325|mr=1464775 |citeseerx=10.1.1.36.9373 |s2cid=2794181 |id=[http://www.cas.mcmaster.ca/~terlaky/files/crisscross.ps Postscript preprint]}}&lt;br /&gt;
* {{cite journal|first1=D.|last1=den Hertog|first2=C.|last2=Roos|first3=T.|last3=Terlaky|title=The linear complementarity problem, sufficient matrices, and the criss-cross method| journal=Linear Algebra and Its Applications |volume=187|date=1 July 1993|pages=1–14|url=http://core.ac.uk/download/pdf/6714737.pdf|doi=10.1016/0024-3795(93)90124-7|doi-access=free}}&lt;br /&gt;
* {{cite journal|last1=Murty|first1=Katta G.|title=On the number of solutions to the complementarity problem and spanning properties of complementary cones|journal=Linear Algebra and Its Applications |date=January 1972 |volume=5 |issue=1|pages=65–108 |doi=10.1016/0024-3795(72)90019-5 |hdl=2027.42/34188 |url=https://deepblue.lib.umich.edu/bitstream/2027.42/34188/1/0000477.pdf|hdl-access=free }}&lt;br /&gt;
* {{cite book|last=Murty|first=K. G.|title=Linear complementarity, linear and nonlinear programming |series=Sigma Series in Applied Mathematics|volume=3|publisher=Heldermann Verlag|location=Berlin|year=1988 |isbn=978-3-88538-403-8 |url=http://ioe.engin.umich.edu/people/fac/books/murty/linear_complementarity_webbook/ |mr=949214|id=[http://www-personal.umich.edu/~murty/ Updated and free PDF version at Katta G. Murty&amp;#039;s website]|archive-url=https://web.archive.org/web/20100401043940/http://ioe.engin.umich.edu/people/fac/books/murty/linear_complementarity_webbook/|archive-date=2010-04-01|url-status=dead}}&lt;br /&gt;
* {{cite book|last=Taylor|first=Joshua Adam|year=2015|title=Convex Optimization of Power Systems |publisher=Cambridge University Press |isbn=9781107076877 |url=https://books.google.com/books?id=JBdoBgAAQBAJ}}&lt;br /&gt;
* {{cite journal|last1=Terlaky|first1=Tamás &amp;lt;!-- authorlink1=Tamás Terlaky --&amp;gt;|last2=Zhang|first2=Shu Zhong |title=Pivot rules for linear programming: A Survey on recent theoretical developments|series=Degeneracy in optimization problems|journal=Annals of Operations Research|volume=46–47|year=1993|issue=1|pages=203–233 |doi=10.1007/BF02096264|mr=1260019|citeseerx=10.1.1.36.7658 |s2cid=6058077|issn=0254-5330}}&lt;br /&gt;
*{{cite journal|last=Todd|first=Michael J.|author-link=Michael J. Todd (mathematician)|title=Linear and quadratic programming in oriented matroids|journal=Journal of Combinatorial Theory|series=Series B |volume=39 |year=1985 |issue=2|pages=105–133|mr=811116|doi=10.1016/0095-8956(85)90042-5 |doi-access=free}}&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*{{cite web | url=http://www.utdallas.edu/~chandra/documents/6311/bimatrix.pdf | title=Bimatrix games | accessdate=18 December 2015 | author=R. Chandrasekaran | pages=5–7}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://web.archive.org/web/20041029022008/http://www.american.edu/econ/gaussres/optimize/quadprog.src LCPSolve] &amp;amp;mdash; A simple procedure in GAUSS to solve a linear complementarity problem&lt;br /&gt;
* [[Siconos]]/Numerics open-source GPL  implementation in C of Lemke&amp;#039;s algorithm and other methods to solve LCPs and MLCPs&lt;br /&gt;
&lt;br /&gt;
{{Mathematical programming}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linear algebra]]&lt;br /&gt;
[[Category:Mathematical optimization]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Thatsme314</name></author>
	</entry>
</feed>