KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
Optimization::LemkeLCP Class Reference

Solves a linear complementarity problem. More...

#include <LCP.h>

Public Member Functions

 LemkeLCP (const Matrix &M, const Vector &q)
 
bool Solve ()
 
void GetW (Vector &w) const
 
void GetZ (Vector &z) const
 
void Print (std::ostream &out) const
 

Public Attributes

int verbose
 

Detailed Description

Solves a linear complementarity problem.

* w = Mz + q
* w,z >= 0
* wk*zk = 0 for all indices k
* 

Convergence is assured if M is copositive, that is, x^t M x >= 0 if x >= 0, and satisfies (M+M^t)x = 0 for all x that satisfy x^t M x = 0 and M x >= 0


The documentation for this class was generated from the following files: