16 #ifndef AlpsDecompModel_h_ 17 #define AlpsDecompModel_h_ 78 std::string m_classTag;
114 m_classTag (
"ALPSM"),
116 m_decompAlgo (NULL) {
122 m_classTag (
"ALPSM"),
124 m_decompAlgo(decompAlgo) {
125 if (decompAlgo == NULL)
127 "AlpsDecompModel",
"AlpsDecompModel");
178 m_decompAlgo = decompAlgo;
248 return m_nodesProcessed;
const int getSolStatus() const
AlpsExitStatus solve()
Solve with ALPS and DECOMP.
DecompAlgo * getDecompAlgo()
Get a ptr to the decomp algorithm vector.
AlpsDecompParam & getParam()
const int getNumCoreRows() const
Get number of rows in core decomp model.
const DecompSolution * getBestSolution() const
Get the best solution found.
Derivation of AlpsModel for DECOMP.
const DecompSolution * getXhatIPBest() const
const int getNumCols() const
const std::vector< std::string > & getColNames() const
AlpsDecompModel(UtilParameters &utilParam, DecompAlgo *decompAlgo)
const double getGlobalLB() const
DecompConstraintSet * getModel() const
Parameters passed through to Alps.
virtual AlpsTreeNode * createRoot()
Create the root node of the search tree.
const DecompSubModel & getModelCore() const
const int getNumRows() const
AlpsDecompModel()
Default constructors.
#define UtilException(msg, methodN, classN)
const std::vector< std::string > & getRowNames() const
Get the row names in core decomp model.
void setAlpsSettings()
Set the ALPS parameters.
virtual ~AlpsDecompModel()
Destructor.
const std::vector< std::string > & getColNames() const
Get the column names in core decomp model.
const double getGlobalUB() const
void setDecompAlgo(DecompAlgo *decompAlgo)
Solve with ALPS and DECOMP.
virtual bool fathomAllNodes()
Return true, if all nodes can be fathomed.
const int getNumNodesProcessed() const
const std::vector< std::string > & getRowNames() const
Base class for DECOMP algorithms.
const int getNumCoreCols() const
Get number of cols in core decomp model.