103 virtual void setAway(
double value);
212 double eps_coeff = 1e-11,
214 double eps_relax_abs = 1e-11,
215 double eps_relax_rel = 1e-13,
216 double max_dyn = 1e6,
217 double min_viol = 1e-4,
218 int max_supp_abs = 1000,
219 double max_supp_rel = 0.1,
221 bool use_int_slacks =
false,
222 bool check_duplicates =
false,
223 bool integral_scale_cont =
false,
224 bool enforce_scaling =
true);
229 double eps_elim = 1e-12,
230 double eps_relax_abs = 1e-11,
231 double eps_relax_rel = 1e-13,
232 double max_dyn = 1e6,
233 double min_viol = 1e-4,
234 double max_supp_rel = 0.1,
236 bool use_int_slacks =
false,
237 bool check_duplicates =
false,
238 bool integral_scale_cont =
false,
239 bool enforce_scaling =
true);
void setUseIntSlacks(bool value)
Aliases.
double getMaxSupportRel() const
Aliases for parameter get/set method in the base class CglParam.
virtual void setINFINIT(const double inf)
Set INFINIT.
virtual CglGMIParam & operator=(const CglGMIParam &rhs)
Assignment operator.
double MAX_SUPPORT_REL
Maximum support relative to number of columns.
bool getIntegralScaleCont() const
Aliases for parameter get/set method in the base class CglParam.
double MAXDYN
Maximum ratio between largest and smallest non zero coefficients in a cut.
void setEpsElim(double value)
Aliases.
virtual void setUSE_INTSLACKS(bool value)
Set the value of USE_INTSLACKS.
void setMaxSupportAbs(int value)
Alias for consistency with our naming scheme.
double getEpsCoeff() const
Aliases for parameter get/set method in the base class CglParam.
int getUseIntSlacks() const
Aliases for parameter get/set method in the base class CglParam.
double getEpsRelaxAbs() const
Aliases for parameter get/set method in the base class CglParam.
double getEPS_RELAX_REL() const
Get value of EPS_RELAX_REL.
void setEpsRelaxAbs(double value)
Aliases.
CleaningProcedure CLEAN_PROC
Which cleaning procedure should be used?
int getMAX_SUPPORT_ABS() const
Aliases for parameter get/set method in the base class CglParam.
virtual CglGMIParam * clone() const
Clone.
CleaningProcedure getCLEAN_PROC() const
Get the value of CLEAN_PROC.
double getMinViol() const
Aliases for parameter get/set method in the base class CglParam.
double EPS
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
bool getINTEGRAL_SCALE_CONT() const
Get the value of INTEGRAL_SCALE_CONT.
double getEPS_ELIM() const
Get the value of EPS_ELIM.
double getMaxDyn() const
Aliases for parameter get/set method in the base class CglParam.
double getAway() const
Get value of away.
void setInfinity(double value)
Aliases for parameter get/set method in the base class CglParam.
double INFINIT
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
int getMaxSupport() const
Aliases for parameter get/set method in the base class CglParam.
virtual void setENFORCE_SCALING(bool value)
Set the value of ENFORCE_SCALING.
virtual void setMAX_SUPPORT(const int max_s)
Set MAX_SUPPORT.
double getEps() const
Aliases for parameter get/set method in the base class CglParam.
bool getENFORCE_SCALING() const
Get the value of ENFORCE_SCALING.
virtual ~CglGMIParam()
Destructor.
void setCleanProc(CleaningProcedure value)
Aliases.
virtual void setEPS_RELAX_REL(double value)
Set EPS_RELAX_REL.
virtual void setMINVIOL(double value)
Set the value of MINVIOL, the minimum violation for the current basic solution in a generated cut...
virtual void setAway(double value)
Set AWAY, the minimum distance from being integer used for selecting rows for cut generation; all row...
Class collecting parameters for all cut generators.
double getMAX_SUPPORT_REL() const
Get the value of MINVIOL.
double getMINVIOL() const
Get the value of MINVIOL.
void setMinViol(double value)
Aliases.
bool getCHECK_DUPLICATES() const
Get the value of CHECK_DUPLICATES.
int getMaxSupportAbs() const
Aliases for parameter get/set method in the base class CglParam.
bool ENFORCE_SCALING
Should we discard badly scaled cuts (according to the scaling procedure in use)? If false...
bool getCheckDuplicates() const
Aliases for parameter get/set method in the base class CglParam.
double getInfinity() const
Aliases for parameter get/set method in the base class CglParam.
virtual void setEPS(const double eps)
Set EPS.
void setMaxDyn(double value)
Aliases.
int MAX_SUPPORT
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
double MINVIOL
Minimum violation for the current basic solution in a generated cut.
bool getUSE_INTSLACKS() const
Get the value of USE_INTSLACKS.
CglGMIParam(double eps=1e-12, double away=0.005, double eps_coeff=1e-11, double eps_elim=0, double eps_relax_abs=1e-11, double eps_relax_rel=1e-13, double max_dyn=1e6, double min_viol=1e-4, int max_supp_abs=1000, double max_supp_rel=0.1, CleaningProcedure clean_proc=CP_CGLLANDP1, bool use_int_slacks=false, bool check_duplicates=false, bool integral_scale_cont=false, bool enforce_scaling=true)
Default constructor.
void setAWAY(double value)
Aliases.
virtual void setCHECK_DUPLICATES(bool value)
Set the value of CHECK_DUPLICATES.
double getMAXDYN() const
Get the value of MAXDYN.
double getEpsRelaxRel() const
Aliases for parameter get/set method in the base class CglParam.
virtual void setMAX_SUPPORT_REL(double value)
Set the value of MAX_SUPPORT_REL, the factor contributing to the maximum support relative to the numb...
bool USE_INTSLACKS
Use integer slacks to generate cuts if USE_INTSLACKS = 1.
virtual void setEPS_COEFF(const double eps_c)
Set EPS_COEFF.
virtual void setEPS_RELAX_ABS(double value)
Set EPS_RELAX_ABS.
virtual void setMAXDYN(double value)
Aliases for parameter get/set method in the base class CglParam.
virtual void setINTEGRAL_SCALE_CONT(bool value)
Set the value of INTEGRAL_SCALE_CONT.
bool getEnforcescaling() const
Aliases for parameter get/set method in the base class CglParam.
void setEnforceScaling(bool value)
Aliases.
void setIntegralScaleCont(bool value)
Aliases.
bool INTEGRAL_SCALE_CONT
Should we try to rescale cut coefficients on continuous variables so that they become integral...
bool CHECK_DUPLICATES
Check for duplicates when adding the cut to the collection?
double AWAY
Use row only if pivot variable should be integer but is more than AWAY from being integer...
Class collecting parameters for the GMI cut generator.
virtual void setCLEAN_PROC(CleaningProcedure value)
Set the value of CLEAN_PROC.
double EPS_RELAX_ABS
Value added to the right hand side of each generated cut to relax it.
double getAWAY() const
Aliases for parameter get/set method in the base class CglParam.
void setMaxSupportRel(double value)
Aliases.
void setEpsCoeff(double value)
Epsilon for zeroing out coefficients.
double EPS_COEFF
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
CleaningProcedure getCleaningProcedure() const
Aliases for parameter get/set method in the base class CglParam.
double EPS_ELIM
Epsilon for value of coefficients when eliminating slack variables.
void setMaxSupport(int value)
Maximum support of the cutting planes.
double EPS_RELAX_REL
For a generated cut with right hand side rhs_val, EPS_RELAX_EPS * fabs(rhs_val) is used to relax the ...
double getEPS_RELAX_ABS() const
Get value of EPS_RELAX_ABS.
void setEpsRelaxRel(double value)
Aliases.
virtual void setEPS_ELIM(double value)
Set the value of EPS_ELIM, epsilon for values of coefficients when eliminating slack variables; Defau...
double getEpsElim() const
Aliases for parameter get/set method in the base class CglParam.
void setEps(double value)
Epsilon for comparing numbers.
void setCheckDuplicates(bool value)
Aliases.