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 AccpmGenMatrix & getA () const
const AccpmGenMatrix & getE () const
const AccpmVector & getC () const
const AccpmVector & getProximalCenter () const
const double & getRhs () const
const AccpmGenMatrix * getAFull () const
const AccpmGenMatrix * getEFull () const
const AccpmGenMatrix * getATQAFull () const
const AccpmGenMatrix * getAT () const
const AccpmGenMatrix * getEFullT () 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: