AGX Dynamics  2.35.0.1
agx::MixedLCPOld Class Reference

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
 

Detailed Description

Definition of a mixed LCP problem.

Definition at line 460 of file MixedLCP.h.

Constructor & Destructor Documentation

◆ MixedLCPOld()

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.

◆ ~MixedLCPOld()

agx::MixedLCPOld::~MixedLCPOld ( )

Member Function Documentation

◆ bounds() [1/2]

SparseRangeReal& agx::MixedLCPOld::bounds ( )

◆ bounds() [2/2]

const SparseRangeReal& agx::MixedLCPOld::bounds ( ) const

◆ diag()

std::ostream& agx::MixedLCPOld::diag ( std::ostream &  os,
const agx::String &  msg = "" 
) const

◆ getIterations()

int agx::MixedLCPOld::getIterations ( ) const

Returns the number of iterations.

◆ getLastResidual()

Real agx::MixedLCPOld::getLastResidual ( ) const

◆ isSuccess()

bool agx::MixedLCPOld::isSuccess ( ) const

Returns true if the solver computed a correct answer, false * otherwise.

◆ q() [1/2]

RealValarray& agx::MixedLCPOld::q ( )

◆ q() [2/2]

const RealValarray& agx::MixedLCPOld::q ( ) const

◆ solve()

void agx::MixedLCPOld::solve ( bool  warm = false)

Solve the problem .

◆ z() [1/2]

RealValarray& agx::MixedLCPOld::z ( )

◆ z() [2/2]

const RealValarray& agx::MixedLCPOld::z ( ) const

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