OBOE
0.1
|
#include <LocSet.h>
Public Member Functions | |
LocSet (const Manager &manager, const Parameters ¶m) | |
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 ¶m, const AccpmVector *df2) |
int | computeFullATQA (const AccpmGenMatrix &ATQA, const AccpmVector &diagQ, const AccpmVector *df2) |
int | checkFeasibility (const Parameters ¶m, double &objVal, AccpmVector &y, AccpmVector &x) const |
Class for the LocalizationSet.
Accpm::LocSet::LocSet | ( | const Manager & | manager, |
const Parameters & | param | ||
) |
References Accpm::Manager::getActiveCuts(), Accpm::Manager::getBestY(), Accpm::Parameters::getIntParameter(), Accpm::Manager::getObjUB(), Accpm::Parameters::getRealParameter(), Accpm::Manager::getRhsCoef(), Accpm::Manager::getSubProblemIndex(), Accpm::Manager::inPhase2(), IS_FINITE(), and Accpm::AccpmGenMatrix::transpose().
Accpm::LocSet::~LocSet | ( | ) | [virtual] |
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.
References ACCPM_MINUS_INF, AccpmError(), and Accpm::Parameters::getIntParameter().
int Accpm::LocSet::computeFullAE | ( | const Parameters & | param, |
const AccpmVector * | df2 | ||
) |
int Accpm::LocSet::computeFullATQA | ( | const AccpmGenMatrix & | ATQA, |
const AccpmVector & | diagQ, | ||
const AccpmVector * | df2 | ||
) |
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] |