16 #ifndef DecompAlgoPC_h_ 17 #define DecompAlgoPC_h_ 44 std::string m_classTag;
53 std::vector<double> m_dual;
60 std::vector<double> m_dualRM;
67 std::vector<double> m_dualST;
86 double& mostNegReducedCost) {
99 virtual const double* getMasterDualSolution()
const {
115 virtual void adjustMasterDualSolution();
122 virtual void setObjBound(
const double thisBound,
123 const double thisBoundUB) {
131 copy(m_dualST.begin(), m_dualST.end(), m_dual.begin());
143 virtual inline void setObjBoundIP(
const double thisBound) {
158 void addCutsToPool(
const double* x,
164 int addCutsFromPool();
165 void solveMasterAsMIP();
170 int adjustColumnsEffCnt();
171 int compressColumns ();
202 m_classTag(
"D-ALGOPC") {
void UtilPrintFuncEnd(std::ostream *os, const std::string &classTag, const std::string &funcName, const int logLevel, const int logLimit)
std::vector< double > & getDualRMP()
virtual void setObjBoundIP(const double thisBound)
Set the current integer bound and update best/history.
const double DecompEpsilon
virtual void createMasterProblem(DecompVarList &initVars)
Create the master problem (all algorithms must define this function).
std::vector< double > & getDualBest()
std::list< DecompCut * > DecompCutList
std::list< DecompVar * > DecompVarList
virtual int generateVars(DecompVarList &newVars, double &mostNegReducedCost)
std::vector< double > m_dualSolution
DecompAlgoPC(DecompApp *app, UtilParameters &utilParam, bool doSetup=true, const DecompAlgoType algo=PRICE_AND_CUT)
Default constructors.
std::pair< double, double > objBest
The global lower (.first) and upper (.second) bound.
virtual void setObjBound(const double thisBound, const double thisBoundUB)
Set the current continuous bounds and update best/history.
void UtilPrintFuncBegin(std::ostream *os, const std::string &classTag, const std::string &funcName, const int logLevel, const int logLimit)
~DecompAlgoPC()
Destructor.
Storage of solver result.
DecompParam m_param
Parameters.
DecompNodeStats m_nodeStats
The main application class.
std::ostream * m_osLog
Stream for log file (default to stdout).
Base class for DECOMP algorithms.
Class for DECOMP algorithm Price and Cut.