DecompAlgoD Class Reference

Class for DECOMP algorithm Decomp. More...

#include <DecompAlgoD.h>

Inheritance diagram for DecompAlgoD:
Inheritance graph
[legend]
Collaboration diagram for DecompAlgoD:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void solveD (DecompCutList *newCuts)
void createMasterProblem (DecompVarList &initVars)
 Create the master problem (all algorithms must define this function).
decompPhase phaseUpdate (const decompPhase phase, const decompStat stat, int &n_newCuts, int &n_newVars, int &n_cutCalls, int &n_priceCalls)
decompPhase phaseUpdate (const decompPhase phase, const decompStat stat)
void recomposeSolution (const double *solution, double *rsolution)
 Compose solution in x-space from current space.
 DecompAlgoD (DecompApp *app, double *xhat, int numOrigCols)
 ~DecompAlgoD ()

Private Member Functions

 DecompAlgoD (const DecompAlgoD &)
DecompAlgoDoperator= (const DecompAlgoD &)

Private Attributes

Data.



std::string m_classTag
 Store the name of the class (for logging/debugging) - "who am I?".
double * m_xhatD
 Store the name of the class (for logging/debugging) - "who am I?".
DecompCutListm_newCuts
 Store the name of the class (for logging/debugging) - "who am I?".
int m_numOrigCols
 Store the name of the class (for logging/debugging) - "who am I?".

Static Private Attributes

static const char * classTag

Derived from virtual functions of DecompAlgoPC



virtual void createMasterProblem (DecompVarList &initVars)
 Create the master problem (all algorithms must define this function).
virtual void masterMatrixAddArtCols (CoinPackedMatrix *masterM, double *colLB, double *colUB, double *objCoeff, std::vector< std::string > &colNames, int startRow, int endRow, char origOrBranch)
 Create the master problem (all algorithms must define this function).
virtual void phaseUpdate (DecompPhase &phase, DecompStatus &status)
 Create the master problem (all algorithms must define this function).
virtual void phaseDone ()
 Create the master problem (all algorithms must define this function).
virtual void setObjBoundIP (const double thisBound)
 Set the current integer bound and update best/history.
void solveD (DecompCutList *newCuts)
 Create the master problem (all algorithms must define this function).

Constructors and destructor.



 DecompAlgoD (const DecompAlgoD &)
 Disable copy constructors.
DecompAlgoDoperator= (const DecompAlgoD &)
 Disable copy constructors.
 DecompAlgoD (DecompApp *app, UtilParameters *utilParam, double *xhat, int numOrigCols)
 Default constructors.
 DecompAlgoD (DecompApp *app, UtilParameters *utilParam, std::string &paramSection, double *xhat, int numOrigCols)
 Disable copy constructors.
 ~DecompAlgoD ()
 Destructor.

Detailed Description

Class for DECOMP algorithm Decomp.

Definition at line 37 of file DecompAlgoD.h.


Constructor & Destructor Documentation

DecompAlgoD::DecompAlgoD ( const DecompAlgoD  )  [private]

Disable copy constructors.

DecompAlgoD::DecompAlgoD ( DecompApp app,
UtilParameters utilParam,
double *  xhat,
int  numOrigCols 
) [inline]

Default constructors.

Definition at line 143 of file DecompAlgoD.h.

References DECOMP, DecompAlgoStr, DecompAlgo::initSetup(), and DecompAlgo::m_algo.

DecompAlgoD::DecompAlgoD ( DecompApp app,
UtilParameters utilParam,
std::string &  paramSection,
double *  xhat,
int  numOrigCols 
) [inline]

Disable copy constructors.

Definition at line 160 of file DecompAlgoD.h.

References DECOMP, DecompAlgo::initSetup(), and DecompAlgo::m_algo.

DecompAlgoD::~DecompAlgoD (  )  [inline]

Destructor.

Definition at line 177 of file DecompAlgoD.h.

DecompAlgoD::DecompAlgoD ( const DecompAlgoD  )  [private]
DecompAlgoD::DecompAlgoD ( DecompApp app,
double *  xhat,
int  numOrigCols 
) [inline]

Definition at line 65 of file DecompAlgoD.h.

References m_numOrigCols, and m_xhatD.

DecompAlgoD::~DecompAlgoD (  )  [inline]

Definition at line 75 of file DecompAlgoD.h.


Member Function Documentation

virtual void DecompAlgoD::createMasterProblem ( DecompVarList initVars  )  [private, virtual]

Create the master problem (all algorithms must define this function).

Reimplemented from DecompAlgo.

virtual void DecompAlgoD::masterMatrixAddArtCols ( CoinPackedMatrix masterM,
double *  colLB,
double *  colUB,
double *  objCoeff,
std::vector< std::string > &  colNames,
int  startRow,
int  endRow,
char  origOrBranch 
) [private, virtual]

Create the master problem (all algorithms must define this function).

virtual void DecompAlgoD::phaseUpdate ( DecompPhase phase,
DecompStatus status 
) [private, virtual]

Create the master problem (all algorithms must define this function).

Reimplemented from DecompAlgo.

virtual void DecompAlgoD::phaseDone (  )  [private, virtual]

Create the master problem (all algorithms must define this function).

Reimplemented from DecompAlgo.

virtual void DecompAlgoD::setObjBoundIP ( const double  thisBound  )  [inline, private, virtual]
void DecompAlgoD::solveD ( DecompCutList newCuts  )  [inline]
DecompAlgoD& DecompAlgoD::operator= ( const DecompAlgoD  )  [private]

Disable copy constructors.

Reimplemented from DecompAlgo.

DecompAlgoD& DecompAlgoD::operator= ( const DecompAlgoD  )  [private]

Reimplemented from DecompAlgo.

void DecompAlgoD::solveD ( DecompCutList newCuts  )  [inline]
void DecompAlgoD::createMasterProblem ( DecompVarList initVars  )  [virtual]

Create the master problem (all algorithms must define this function).

Reimplemented from DecompAlgo.

decompPhase DecompAlgoD::phaseUpdate ( const decompPhase  phase,
const decompStat  stat,
int &  n_newCuts,
int &  n_newVars,
int &  n_cutCalls,
int &  n_priceCalls 
)
decompPhase DecompAlgoD::phaseUpdate ( const decompPhase  phase,
const decompStat  stat 
) [virtual]

Reimplemented from DecompAlgo.

void DecompAlgoD::recomposeSolution ( const double *  solution,
double *  rsolution 
) [virtual]

Compose solution in x-space from current space.

  • PC: this recomposes x from lambda
  • C : this just copies over LP solution

Reimplemented from DecompAlgo.


Member Data Documentation

std::string DecompAlgoD::m_classTag [private]

Store the name of the class (for logging/debugging) - "who am I?".

Reimplemented from DecompAlgo.

Definition at line 49 of file DecompAlgoD.h.

Referenced by setObjBoundIP().

double * DecompAlgoD::m_xhatD [private]

Store the name of the class (for logging/debugging) - "who am I?".

Definition at line 52 of file DecompAlgoD.h.

Referenced by DecompAlgoD().

Store the name of the class (for logging/debugging) - "who am I?".

Definition at line 54 of file DecompAlgoD.h.

Referenced by solveD().

Store the name of the class (for logging/debugging) - "who am I?".

Reimplemented from DecompAlgo.

Definition at line 56 of file DecompAlgoD.h.

Referenced by DecompAlgoD().

const char* DecompAlgoD::classTag [static, private]

Reimplemented from DecompAlgoPC.

Definition at line 29 of file DecompAlgoD.h.


The documentation for this class was generated from the following files:

Generated on 12 Feb 2015 for Dip-All by  doxygen 1.6.1