17 #ifndef DecompAlgoC_h_
18 #define DecompAlgoC_h_
109 const double* ubs) {};
bool updateObjBound(const double mostNegRC=-DecompBigNum)
Calculate the current objective LB, update the best, and store in history.
void phaseUpdate(DecompPhase &phase, DecompStatus &status)
Update of the phase for process loop.
const int getNodeIndex() const
Get a ptr to the current solution (in x-space).
DecompAlgoC & operator=(const DecompAlgoC &)
Disable copy constructors.
void createMasterProblem(DecompVarList &initVars)
Create the master problem (all algorithms must define this function).
int generateInitVars(DecompVarList &initVars)
Generate initial variables for master problem (PC/DC/RC).
virtual DecompSolverResult * solveDirect(const DecompSolution *startSol=NULL)
Calculate the current objective LB, update the best, and store in history.
void phaseDone()
Calculate the current objective LB, update the best, and store in history.
DecompAlgoC(const DecompAlgoC &)
Disable copy constructors.
void recomposeSolution(const double *solution, double *rsolution)
Compose solution in x-space from current space.
Class for DECOMP algorithm Cutting Plane Method.
~DecompAlgoC()
Destructor.
void setMasterBounds(const double *lbs, const double *ubs)
Calculate the current objective LB, update the best, and store in history.
void phaseInit(DecompPhase &phase)
Calculate the current objective LB, update the best, and store in history.
std::string m_classTag
Store the name of the class (for logging/debugging) - "who am I?".
Storage of solver result.
Base class for DECOMP algorithms.
void setSubProbBounds(const double *lbs, const double *ubs)
Calculate the current objective LB, update the best, and store in history.
std::list< DecompVar * > DecompVarList
DecompAlgoC(DecompApp *app, UtilParameters &utilParam)
Default constructors.
const double DecompBigNum
The main application class.
void initSetup()
Initial setup of algorithm structures and solver interfaces.