|
AGX Dynamics
2.37.2.0
|
Definition of a mixed LCP problem. More...
#include <MixedLCP.h>
Public Member Functions | |
| MixedLCPOld (SparseMatrix &M, RealValarray &q, SparseRangeReal &bounds, RealValarray &z, const RealValarray &signs, int max_iterations=-1) | |
| Construction copies references to the internal objects. More... | |
| ~MixedLCPOld () | |
| SparseRangeReal & | bounds () |
| const SparseRangeReal & | bounds () const |
| std::ostream & | diag (std::ostream &os, const agx::String &msg="") const |
| int | getIterations () const |
| Returns the number of iterations. More... | |
| Real | getLastResidual () const |
| bool | isSuccess () const |
| Returns true if the solver computed a correct answer, false * otherwise. More... | |
| RealValarray & | q () |
| const RealValarray & | q () const |
| void | solve (bool warm=false) |
| Solve the problem . More... | |
| RealValarray & | z () |
| const RealValarray & | z () const |
Definition of a mixed LCP problem.
Definition at line 460 of file MixedLCP.h.
| agx::MixedLCPOld::MixedLCPOld | ( | SparseMatrix & | M, |
| RealValarray & | q, | ||
| SparseRangeReal & | bounds, | ||
| RealValarray & | z, | ||
| const RealValarray & | signs, | ||
| int | max_iterations = -1 |
||
| ) |
Construction copies references to the internal objects.
If the number of maximum iterations is not specified, default values are used.
| agx::MixedLCPOld::~MixedLCPOld | ( | ) |
| SparseRangeReal& agx::MixedLCPOld::bounds | ( | ) |
| const SparseRangeReal& agx::MixedLCPOld::bounds | ( | ) | const |
| std::ostream& agx::MixedLCPOld::diag | ( | std::ostream & | os, |
| const agx::String & | msg = "" |
||
| ) | const |
| int agx::MixedLCPOld::getIterations | ( | ) | const |
Returns the number of iterations.
| Real agx::MixedLCPOld::getLastResidual | ( | ) | const |
| bool agx::MixedLCPOld::isSuccess | ( | ) | const |
Returns true if the solver computed a correct answer, false * otherwise.
| RealValarray& agx::MixedLCPOld::q | ( | ) |
| const RealValarray& agx::MixedLCPOld::q | ( | ) | const |
| void agx::MixedLCPOld::solve | ( | bool | warm = false | ) |
Solve the problem .
| RealValarray& agx::MixedLCPOld::z | ( | ) |
| const RealValarray& agx::MixedLCPOld::z | ( | ) | const |