Dip
0.92.4
|
Class collecting parameters for all cut generators. More...
#include <CglParam.hpp>
Public Member Functions | |
Public Set/get methods | |
virtual void | setINFINIT (const double inf) |
Set INFINIT. More... | |
double | getINFINIT () const |
Get value of INFINIT. More... | |
virtual void | setEPS (const double eps) |
Set EPS. More... | |
double | getEPS () const |
Get value of EPS. More... | |
virtual void | setEPS_COEFF (const double eps_c) |
Set EPS_COEFF. More... | |
double | getEPS_COEFF () const |
Get value of EPS_COEFF. More... | |
virtual void | setMAX_SUPPORT (const int max_s) |
Set MAX_SUPPORT. More... | |
int | getMAX_SUPPORT () const |
Get value of MAX_SUPPORT. More... | |
Constructors and destructors | |
CglParam (const double inf=COIN_DBL_MAX, const double eps=1e-6, const double eps_c=1e-5, const int max_s=COIN_INT_MAX) | |
Default constructor. More... | |
CglParam (const CglParam &) | |
Copy constructor. More... | |
virtual CglParam * | clone () const |
Clone. More... | |
CglParam & | operator= (const CglParam &rhs) |
Assignment operator. More... | |
virtual | ~CglParam () |
Destructor. More... | |
Protected Attributes | |
Protected member data | |
double | INFINIT |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX. More... | |
double | EPS |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX. More... | |
double | EPS_COEFF |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX. More... | |
int | MAX_SUPPORT |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX. More... | |
Class collecting parameters for all cut generators.
Each generator may have a derived class to add parameters. Each generator might also set different default values for the parameters in CglParam.
Definition at line 22 of file CglParam.hpp.
CglParam::CglParam | ( | const double | inf = COIN_DBL_MAX , |
const double | eps = 1e-6 , |
||
const double | eps_c = 1e-5 , |
||
const int | max_s = COIN_INT_MAX |
||
) |
Default constructor.
CglParam::CglParam | ( | const CglParam & | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Set INFINIT.
Referenced by CglGMIParam::setInfinity().
|
inline |
|
virtual |
Set EPS.
Referenced by CglGMIParam::setEps().
|
inline |
|
virtual |
Set EPS_COEFF.
Referenced by CglGMIParam::setEpsCoeff().
|
inline |
|
virtual |
Set MAX_SUPPORT.
Referenced by CglRedSplit2Param::setMAX_SUPP_ABS(), CglGMIParam::setMaxSupport(), and CglGMIParam::setMaxSupportAbs().
|
inline |
|
virtual |
Clone.
Reimplemented in CglRedSplit2Param, CglGMIParam, and CglRedSplitParam.
|
protected |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
Definition at line 75 of file CglParam.hpp.
Referenced by getINFINIT(), and CglGMIParam::getInfinity().
|
protected |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
Definition at line 78 of file CglParam.hpp.
Referenced by getEPS(), and CglGMIParam::getEps().
|
protected |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
Definition at line 82 of file CglParam.hpp.
Referenced by getEPS_COEFF(), and CglGMIParam::getEpsCoeff().
|
protected |
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
Definition at line 86 of file CglParam.hpp.
Referenced by CglRedSplit2Param::getMAX_SUPP_ABS(), getMAX_SUPPORT(), CglGMIParam::getMAX_SUPPORT_ABS(), CglGMIParam::getMaxSupport(), and CglGMIParam::getMaxSupportAbs().