OBOE  0.1
Accpm Namespace Reference

Classes

class  LocSet
class  PointGen
class  Manager
class  Method
class  DualMethod
class  Solution
class  NewtonSolution
class  AccpmDynMatrix
class  AccpmGenMatrix
class  AccpmVector
struct  ltvector
class  OracleFunction
class  Oracle
class  Parameters
class  QpGenerator
class  Timer

Typedefs

typedef std::pair< const
AccpmVector *, int > 
AccpmVectorIntPair
typedef LaGenMatDouble RealMatrix
typedef LaSymmMatDouble SymmetricMatrix

Enumerations

enum  OptType { OPT_MIN = 1, OPT_MAX = -1 }
enum  ExitCode {
  LOCSET_EMPTY = -5, CONVEXITY_FAILURE = -4, LA_ERROR = -3, CHOLESKY_FAILURE = -2,
  UNKNOWN = -1, ITERATING = 0, RELATIVE_GAP_REACHED = 2, USER_STOP = 3,
  MAX_OUTER_ITERATIONS = 4
}

Functions

void AccpmLALinearSolve (const RealMatrix &A, RealMatrix &x, const RealMatrix &b)
int AccpmLASymmLinSolve (const AccpmGenMatrix &A, RealMatrix &X, const RealMatrix &B)
int AccpmLASymmLinSolve (SymmetricMatrix &A, RealMatrix &X, const RealMatrix &B)
int AccpmLACholeskyFactor (const RealMatrix &A, RealMatrix &L)
void AccpmLALinSolve (const RealMatrix &A, bool cholesky, RealMatrix &X, const RealMatrix &B)
std::ostream & operator<< (std::ostream &os, const Parameters &P)

Detailed Description

The Query Point Generator class. This is the handle for the user code to iterate and get query points.

The Timer class. Takes care of tracking Real, CPU and System time.


Typedef Documentation

typedef std::pair<const AccpmVector *, int> Accpm::AccpmVectorIntPair
typedef LaGenMatDouble Accpm::RealMatrix
typedef LaSymmMatDouble Accpm::SymmetricMatrix

Enumeration Type Documentation

Enumerator:
LOCSET_EMPTY 
CONVEXITY_FAILURE 
LA_ERROR 
CHOLESKY_FAILURE 
UNKNOWN 
ITERATING 
RELATIVE_GAP_REACHED 
USER_STOP 
MAX_OUTER_ITERATIONS 
Enumerator:
OPT_MIN 
OPT_MAX 

Function Documentation

int Accpm::AccpmLACholeskyFactor ( const RealMatrix &  A,
RealMatrix &  L 
)

Computes the Cholesky factor for matrix A and returns it in L.

Returns:
The Cholesky factorization L of A 0 LL^T
0 on success, or info value from dpotrf.
void Accpm::AccpmLALinearSolve ( const RealMatrix &  A,
RealMatrix &  x,
const RealMatrix &  b 
)

Solves Ax = b using Lapack++ interface to Lapack.

Referenced by AccpmLALinSolve().

void Accpm::AccpmLALinSolve ( const RealMatrix &  A,
bool  cholesky,
RealMatrix &  X,
const RealMatrix &  B 
)

Solves AX = B. It uses the Cholesky factorization of A computed by a previous call to AccmpLACholeskyFactor.

References AccpmLALinearSolve().

int Accpm::AccpmLASymmLinSolve ( const AccpmGenMatrix &  A,
RealMatrix &  X,
const RealMatrix &  B 
)

Solves AX = B.

int Accpm::AccpmLASymmLinSolve ( SymmetricMatrix &  A,
RealMatrix &  X,
const RealMatrix &  B 
)

Solves AX = B, for Symmetric Matrices.

std::ostream& Accpm::operator<< ( std::ostream &  os,
const Parameters &  P 
)