#include <CouenneDomain.hpp>
Public Member Functions | |
Domain () | |
basic constructor | |
Domain (const Domain &src) | |
copy constructor | |
~Domain () | |
destructor | |
void | push (int dim, CouNumber *x, CouNumber *lb, CouNumber *ub, bool copy=true) |
save current point and start using another | |
void | push (int dim, const CouNumber *x, const CouNumber *lb, const CouNumber *ub, bool copy=true) |
save current point and start using another | |
void | push (const OsiSolverInterface *si, OsiCuts *cs=NULL, bool copy=true) |
save current point and start using another -- retrieve information from solver interface and from previous column cuts | |
void | push (const DomainPoint &dp, bool copy=true) |
save current point and start using another | |
void | pop () |
restore previous point | |
DomainPoint * | current () |
return current point | |
CouNumber & | x (register int index) |
current variable | |
CouNumber & | lb (register int index) |
current lower bound | |
CouNumber & | ub (register int index) |
current upper bound | |
CouNumber * | x () |
return current variable vector | |
CouNumber * | lb () |
return current lower bound vector | |
CouNumber * | ub () |
return current upper bound vector | |
Protected Attributes | |
DomainPoint * | point_ |
current point | |
std::stack< DomainPoint * > | domStack_ |
stack of saved points |
Definition at line 104 of file CouenneDomain.hpp.
Couenne::Domain::Domain | ( | ) | [inline] |
Couenne::Domain::Domain | ( | const Domain & | src | ) | [inline] |
Couenne::Domain::~Domain | ( | ) |
destructor
void Couenne::Domain::push | ( | int | dim, | |
CouNumber * | x, | |||
CouNumber * | lb, | |||
CouNumber * | ub, | |||
bool | copy = true | |||
) |
save current point and start using another
void Couenne::Domain::push | ( | int | dim, | |
const CouNumber * | x, | |||
const CouNumber * | lb, | |||
const CouNumber * | ub, | |||
bool | copy = true | |||
) |
save current point and start using another
void Couenne::Domain::push | ( | const OsiSolverInterface * | si, | |
OsiCuts * | cs = NULL , |
|||
bool | copy = true | |||
) |
save current point and start using another -- retrieve information from solver interface and from previous column cuts
void Couenne::Domain::push | ( | const DomainPoint & | dp, | |
bool | copy = true | |||
) |
save current point and start using another
void Couenne::Domain::pop | ( | ) |
restore previous point
DomainPoint* Couenne::Domain::current | ( | ) | [inline] |
CouNumber& Couenne::Domain::x | ( | register int | index | ) | [inline] |
current variable
Definition at line 156 of file CouenneDomain.hpp.
Referenced by Couenne::CouenneProblem::X().
CouNumber& Couenne::Domain::lb | ( | register int | index | ) | [inline] |
current lower bound
Definition at line 157 of file CouenneDomain.hpp.
Referenced by Couenne::CouenneProblem::Lb().
CouNumber& Couenne::Domain::ub | ( | register int | index | ) | [inline] |
current upper bound
Definition at line 158 of file CouenneDomain.hpp.
Referenced by Couenne::CouenneProblem::Ub().
CouNumber* Couenne::Domain::x | ( | ) | [inline] |
return current variable vector
Definition at line 160 of file CouenneDomain.hpp.
References point_.
Referenced by x().
CouNumber* Couenne::Domain::lb | ( | ) | [inline] |
return current lower bound vector
Definition at line 161 of file CouenneDomain.hpp.
References point_.
Referenced by lb().
CouNumber* Couenne::Domain::ub | ( | ) | [inline] |
return current upper bound vector
Definition at line 162 of file CouenneDomain.hpp.
References point_.
Referenced by ub().
DomainPoint* Couenne::Domain::point_ [protected] |
std::stack<DomainPoint *> Couenne::Domain::domStack_ [protected] |