Dip  0.92.4
Public Member Functions | Private Attributes | List of all members
DecompSubModel Class Reference

#include <DecompModel.h>

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

Public Member Functions

void setCounter (const int num)
 
int getCounter ()
 
void setOsi (OsiSolverInterface *osi)
 
void setOsiObjCoeff (const double *objCoeff)
 
void setActiveColBounds (const double *colLB, const double *colUB)
 
void solveAsMIPSym (DecompSolverResult *result, DecompParam &param, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit)
 
void solveAsMIPCbc (DecompSolverResult *result, DecompParam &param, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit)
 
void solveAsMIPCpx (DecompSolverResult *result, DecompParam &param, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit)
 
void solveAsMIPGrb (DecompSolverResult *result, DecompParam &param, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit)
 
OsiSolverInterfacegetOsi () const
 
void solveAsMIP (DecompSolverResult *result, DecompParam &param, bool doExact, bool doCutoff, bool isRoot, double cutoff, double timeLimit)
 
bool isPointFeasible (const double *x, const bool isXSparse=false, const int logLevel=0, const double feasVarTol=1.0e-5, const double feasConTol=1.0e-4)
 
 DecompSubModel (const DecompModel &appModel)
 
DecompSubModeloperator= (const DecompModel &rhs)
 
 DecompSubModel (UtilParameters &utilParam)
 
 DecompSubModel (DecompConstraintSet *model, std::string modelName, int blockId, UtilParameters &utilParam)
 
 ~DecompSubModel ()
 
- Public Member Functions inherited from DecompModel
DecompConstraintSetgetModel () const
 
const std::string & getModelName () const
 
const int getBlockId () const
 
void setModel (DecompConstraintSet *model)
 
void setModelName (const std::string modelName)
 
void setBlockId (const int blockId)
 
 DecompModel (const DecompModel &appModel)
 
DecompModeloperator= (const DecompModel &rhs)
 
 DecompModel (UtilParameters &utilParam)
 
 DecompModel (DecompConstraintSet *model, std::string modelName, int blockId, UtilParameters &utilParam)
 
virtual ~DecompModel ()
 
 DecompModel ()
 
virtual ~DecompModel ()
 

Private Attributes

OsiSolverInterfacem_osi
 
int m_numCols
 
int * m_colIndices
 
int m_counter
 

Additional Inherited Members

- Public Attributes inherited from DecompModel
double * objCoeff
 Model data objects (must be defined by users). More...
 
DecompVarList vars
 Model data objects will be used during algos. More...
 
DecompCutList cuts
 
DecompVarPool varpool
 
DecompCutPool cutpool
 
- Protected Attributes inherited from DecompModel
DecompConstraintSetm_model
 
std::string m_modelName
 
int m_blockId
 
UtilParametersm_utilParam
 

Detailed Description

Definition at line 91 of file DecompModel.h.

Constructor & Destructor Documentation

DecompSubModel::DecompSubModel ( const DecompModel appModel)
inline

Definition at line 242 of file DecompModel.h.

DecompSubModel::DecompSubModel ( UtilParameters utilParam)
inline

Definition at line 255 of file DecompModel.h.

DecompSubModel::DecompSubModel ( DecompConstraintSet model,
std::string  modelName,
int  blockId,
UtilParameters utilParam 
)
inline

Definition at line 262 of file DecompModel.h.

DecompSubModel::~DecompSubModel ( )
inline

Definition at line 272 of file DecompModel.h.

References m_colIndices, and m_osi.

Member Function Documentation

void DecompSubModel::setCounter ( const int  num)
inline

Definition at line 99 of file DecompModel.h.

References m_counter.

int DecompSubModel::getCounter ( )
inline

Definition at line 103 of file DecompModel.h.

References m_counter.

void DecompSubModel::setOsi ( OsiSolverInterface osi)
inline
void DecompSubModel::setOsiObjCoeff ( const double *  objCoeff)
inline
void DecompSubModel::setActiveColBounds ( const double *  colLB,
const double *  colUB 
)
inline
void DecompSubModel::solveAsMIPSym ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)
void DecompSubModel::solveAsMIPCbc ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)
void DecompSubModel::solveAsMIPCpx ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)
void DecompSubModel::solveAsMIPGrb ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)
OsiSolverInterface* DecompSubModel::getOsi ( ) const
inline

Definition at line 222 of file DecompModel.h.

References m_osi.

void DecompSubModel::solveAsMIP ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)
bool DecompSubModel::isPointFeasible ( const double *  x,
const bool  isXSparse = false,
const int  logLevel = 0,
const double  feasVarTol = 1.0e-5,
const double  feasConTol = 1.0e-4 
)
DecompSubModel& DecompSubModel::operator= ( const DecompModel rhs)
inline

Definition at line 250 of file DecompModel.h.

References DecompModel::operator=().

Member Data Documentation

OsiSolverInterface* DecompSubModel::m_osi
private

Definition at line 93 of file DecompModel.h.

Referenced by getOsi(), setActiveColBounds(), setOsi(), setOsiObjCoeff(), and ~DecompSubModel().

int DecompSubModel::m_numCols
private

Definition at line 94 of file DecompModel.h.

Referenced by setOsi(), and setOsiObjCoeff().

int* DecompSubModel::m_colIndices
private

Definition at line 95 of file DecompModel.h.

Referenced by setOsi(), setOsiObjCoeff(), and ~DecompSubModel().

int DecompSubModel::m_counter
private

Definition at line 96 of file DecompModel.h.

Referenced by getCounter(), and setCounter().


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