OBOE  0.1
Accpm::LocSet Class Reference

#include <LocSet.h>

List of all members.

Public Member Functions

 LocSet (const Manager &manager, const Parameters &param)
virtual ~LocSet ()
const AccpmGenMatrixgetA () const
const AccpmGenMatrixgetE () const
const AccpmVectorgetC () const
const AccpmVectorgetProximalCenter () const
const double & getRhs () const
const AccpmGenMatrixgetAFull () const
const AccpmGenMatrixgetEFull () const
const AccpmGenMatrixgetATQAFull () const
const AccpmGenMatrixgetAT () const
const AccpmGenMatrixgetEFullT () const
int computeFullAE (const Parameters &param, const AccpmVector *df2)
int computeFullATQA (const AccpmGenMatrix &ATQA, const AccpmVector &diagQ, const AccpmVector *df2)
int checkFeasibility (const Parameters &param, double &objVal, AccpmVector &y, AccpmVector &x) const

Detailed Description

Class for the LocalizationSet.


Constructor & Destructor Documentation

Accpm::LocSet::~LocSet ( ) [virtual]

Member Function Documentation

int Accpm::LocSet::checkFeasibility ( const Parameters param,
double &  objVal,
AccpmVector y,
AccpmVector x 
) const

Check if the Localization set has a non-empty interior. This solves an LP feasibilty problem using a solver. Currently we use glpk package to solve the LP.

Returns:
Returns whether or not the localization set is feasible. If feasible it also returns the simplex objective value in objVal.
The primal variables(query point) in y
The dual variables in x

References ACCPM_MINUS_INF, AccpmError(), and Accpm::Parameters::getIntParameter().

const AccpmGenMatrix& Accpm::LocSet::getA ( ) const [inline]
const AccpmGenMatrix* Accpm::LocSet::getAFull ( ) const [inline]
const AccpmGenMatrix* Accpm::LocSet::getAT ( ) const [inline]
const AccpmGenMatrix* Accpm::LocSet::getATQAFull ( ) const [inline]
const AccpmVector& Accpm::LocSet::getC ( ) const [inline]
const AccpmGenMatrix& Accpm::LocSet::getE ( ) const [inline]
const AccpmGenMatrix* Accpm::LocSet::getEFull ( ) const [inline]
const AccpmGenMatrix* Accpm::LocSet::getEFullT ( ) const [inline]
const AccpmVector& Accpm::LocSet::getProximalCenter ( ) const [inline]
const double& Accpm::LocSet::getRhs ( ) const [inline]

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