Dip  0.95.0
Public Member Functions | List of all members
DecompSubModel Class Reference

#include <DecompModel.h>

+ Inheritance diagram for DecompSubModel:
+ Collaboration diagram for DecompSubModel:

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 ()
 

Additional Inherited Members

- 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() [1/3]

DecompSubModel::DecompSubModel ( const DecompModel appModel)
inline

Definition at line 242 of file DecompModel.h.

◆ DecompSubModel() [2/3]

DecompSubModel::DecompSubModel ( UtilParameters utilParam)
inline

Definition at line 255 of file DecompModel.h.

◆ DecompSubModel() [3/3]

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

Definition at line 262 of file DecompModel.h.

◆ ~DecompSubModel()

DecompSubModel::~DecompSubModel ( )
inline

Definition at line 272 of file DecompModel.h.

Member Function Documentation

◆ setCounter()

void DecompSubModel::setCounter ( const int  num)
inline

Definition at line 99 of file DecompModel.h.

◆ getCounter()

int DecompSubModel::getCounter ( )
inline

Definition at line 103 of file DecompModel.h.

◆ setOsi()

void DecompSubModel::setOsi ( OsiSolverInterface osi)
inline

Definition at line 107 of file DecompModel.h.

◆ setOsiObjCoeff()

void DecompSubModel::setOsiObjCoeff ( const double *  objCoeff)
inline

Definition at line 128 of file DecompModel.h.

◆ setActiveColBounds()

void DecompSubModel::setActiveColBounds ( const double *  colLB,
const double *  colUB 
)
inline

Definition at line 149 of file DecompModel.h.

◆ solveAsMIPSym()

void DecompSubModel::solveAsMIPSym ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)

◆ solveAsMIPCbc()

void DecompSubModel::solveAsMIPCbc ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)

◆ solveAsMIPCpx()

void DecompSubModel::solveAsMIPCpx ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)

◆ solveAsMIPGrb()

void DecompSubModel::solveAsMIPGrb ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)

◆ getOsi()

OsiSolverInterface* DecompSubModel::getOsi ( ) const
inline

Definition at line 222 of file DecompModel.h.

◆ solveAsMIP()

void DecompSubModel::solveAsMIP ( DecompSolverResult result,
DecompParam param,
bool  doExact,
bool  doCutoff,
bool  isRoot,
double  cutoff,
double  timeLimit 
)

◆ isPointFeasible()

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 
)

◆ operator=()

DecompSubModel& DecompSubModel::operator= ( const DecompModel rhs)
inline

Definition at line 250 of file DecompModel.h.


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