Dip  0.95.0
List of all members
DecompAlgoCGL Class Reference

An interface to CGL cut generator library. More...

#include <DecompAlgoCGL.h>

Public Member Functions

Helper functions.
int initGenerators (const int doClique, const int doOddHole, const int doFlowCover, const int doKnapCover, const int doMixIntRound, const int doGomory)
 
int generateCuts (OsiSolverInterface *cutGenSI, OsiSolverInterface *masterSI, double *xhat, std::vector< int > &integerVars, DecompCutList &newCuts)
 
Set/get methods.
void setLogLevel (const int logLevel)
 
void setLogStream (std::ostream *logStream)
 
Constructors and destructor.
 DecompAlgoCGL (int logLevel=0, DecompAlgoType algo=CUT, std::ostream *logStream=&std::cout)
 Default constructors. More...
 
 ~DecompAlgoCGL ()
 Destructor. More...
 

Detailed Description

An interface to CGL cut generator library.

Definition at line 41 of file DecompAlgoCGL.h.

Constructor & Destructor Documentation

◆ DecompAlgoCGL()

DecompAlgoCGL::DecompAlgoCGL ( int  logLevel = 0,
DecompAlgoType  algo = CUT,
std::ostream *  logStream = &std::cout 
)
inline

Default constructors.

Definition at line 118 of file DecompAlgoCGL.h.

◆ ~DecompAlgoCGL()

DecompAlgoCGL::~DecompAlgoCGL ( )
inline

Destructor.

Definition at line 135 of file DecompAlgoCGL.h.

Member Function Documentation

◆ initGenerators()

int DecompAlgoCGL::initGenerators ( const int  doClique,
const int  doOddHole,
const int  doFlowCover,
const int  doKnapCover,
const int  doMixIntRound,
const int  doGomory 
)

◆ generateCuts()

int DecompAlgoCGL::generateCuts ( OsiSolverInterface cutGenSI,
OsiSolverInterface masterSI,
double *  xhat,
std::vector< int > &  integerVars,
DecompCutList newCuts 
)

◆ setLogLevel()

void DecompAlgoCGL::setLogLevel ( const int  logLevel)
inline

Definition at line 98 of file DecompAlgoCGL.h.

◆ setLogStream()

void DecompAlgoCGL::setLogStream ( std::ostream *  logStream)
inline

Definition at line 101 of file DecompAlgoCGL.h.


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