16 #ifndef AlpsDecompModel_h_
17 #define AlpsDecompModel_h_
125 if (decompAlgo == NULL)
127 "AlpsDecompModel",
"AlpsDecompModel");
virtual AlpsTreeNode * createRoot()
Create the root node of the search tree.
DecompConstraintSet * getModel() const
AlpsDecompModel(UtilParameters &utilParam, DecompAlgo *decompAlgo)
Default constructors.
double m_bestUB
Store the name of the class (for logging/debugging) - "who am I?".
virtual bool fathomAllNodes()
Return true, if all nodes can be fathomed.
DecompAlgo * m_decompAlgo
Pointer to decomp algorithm used for bounding.
const DecompSolution * getXhatIPBest() const
Get a ptr to the current solution (in x-space).
const int getNumCoreRows() const
Get number of rows in core decomp model.
Parameters passed through to Alps.
std::string m_classTag
Store the name of the class (for logging/debugging) - "who am I?".
const int getNumRows() const
Derivation of AlpsModel for DECOMP.
void setDecompAlgo(DecompAlgo *decompAlgo)
Solve with ALPS and DECOMP.
const int getSolStatus() const
Get a ptr to the decomp algorithm vector.
This class holds one node of the search tree.
const std::vector< std::string > & getRowNames() const
Get the row names in core decomp model.
AlpsExitStatus solve()
Solve with ALPS and DECOMP.
virtual ~AlpsDecompModel()
Destructor.
double m_bestLB
Objective of best solution found.
const int getNumCoreCols() const
Get number of cols in core decomp model.
const std::vector< std::string > & getColNames() const
Get the column names in core decomp model.
const DecompSubModel & getModelCore() const
Get a ptr to the current solution (in x-space).
const std::vector< std::string > & getRowNames() const
int m_alpsStatus
Store the name of the class (for logging/debugging) - "who am I?".
const std::vector< std::string > & getColNames() const
const double getGlobalLB() const
Get a ptr to the decomp algorithm vector.
const double getGlobalUB() const
Get a ptr to the decomp algorithm vector.
const int getNumNodesProcessed() const
Get a ptr to the decomp algorithm vector.
AlpsDecompModel()
Default constructors.
const int getNumCols() const
#define UtilException(msg, methodN, classN)
AlpsDecompParam m_param
Parameters for Alps.
int m_nodesProcessed
Store the name of the class (for logging/debugging) - "who am I?".
Base class for DECOMP algorithms.
const DecompSolution * getBestSolution() const
Get the best solution found.
void setAlpsSettings()
Set the ALPS parameters.
AlpsDecompParam & getParam()
Get a ptr to the decomp algorithm vector.
DecompAlgo * getDecompAlgo()
Get a ptr to the decomp algorithm vector.