Go to the documentation of this file.
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;
AlpsExitStatus solve()
Solve with ALPS and DECOMP.
const int getNumCoreRows() const
Get number of rows in core decomp model.
const std::vector< std::string > & getColNames() const
Get the column names in core decomp model.
const int getNumNodesProcessed() const
void setAlpsSettings()
Set the ALPS parameters.
const int getNumCoreCols() const
Get number of cols in core decomp model.
Derivation of AlpsModel for DECOMP.
DecompAlgo * getDecompAlgo()
Get a ptr to the decomp algorithm vector.
AlpsDecompModel(UtilParameters &utilParam, DecompAlgo *decompAlgo)
Parameters passed through to Alps.
DecompConstraintSet * getModel() const
const DecompSolution * getXhatIPBest() const
const std::vector< std::string > & getColNames() const
const std::vector< std::string > & getRowNames() const
Get the row names in core decomp model.
const int getSolStatus() const
const std::vector< std::string > & getRowNames() const
virtual AlpsTreeNode * createRoot()
Create the root node of the search tree.
AlpsDecompParam & getParam()
const DecompSolution * getBestSolution() const
Get the best solution found.
#define UtilException(msg, methodN, classN)
AlpsDecompModel()
Default constructors.
const double getGlobalUB() const
void setDecompAlgo(DecompAlgo *decompAlgo)
Solve with ALPS and DECOMP.
virtual ~AlpsDecompModel()
Destructor.
const DecompSubModel & getModelCore() const
const int getNumRows() const
Base class for DECOMP algorithms.
const double getGlobalLB() const
const int getNumCols() const
virtual bool fathomAllNodes()
Return true, if all nodes can be fathomed.