Go to the documentation of this file.
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);
virtual void setUSE_INTSLACKS(bool value)
Set the value of USE_INTSLACKS.
double getEpsElim() const
Class collecting parameters for all cut generators.
void setEpsElim(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...
virtual void setENFORCE_SCALING(bool value)
Set the value of ENFORCE_SCALING.
double getInfinity() const
void setMaxSupportAbs(int value)
Alias for consistency with our naming scheme.
int getMaxSupport() const
bool getINTEGRAL_SCALE_CONT() const
Get the value of INTEGRAL_SCALE_CONT.
void setEnforceScaling(bool value)
Aliases.
void setAWAY(double value)
Aliases.
virtual CglGMIParam * clone() const
Clone.
double getMINVIOL() const
Get the value of MINVIOL.
virtual void setEPS_RELAX_ABS(double value)
Set EPS_RELAX_ABS.
bool ENFORCE_SCALING
Should we discard badly scaled cuts (according to the scaling procedure in use)? If false,...
bool USE_INTSLACKS
Use integer slacks to generate cuts if USE_INTSLACKS = 1.
virtual void setEPS_RELAX_REL(double value)
Set EPS_RELAX_REL.
CleaningProcedure getCLEAN_PROC() const
Get the value of CLEAN_PROC.
bool getENFORCE_SCALING() const
Get the value of ENFORCE_SCALING.
virtual void setAway(double value)
Set AWAY, the minimum distance from being integer used for selecting rows for cut generation; all row...
virtual void setEPS_COEFF(const double eps_c)
Set EPS_COEFF.
virtual ~CglGMIParam()
Destructor.
CleaningProcedure getCleaningProcedure() const
double getMAXDYN() const
Get the value of MAXDYN.
CleaningProcedure CLEAN_PROC
Which cleaning procedure should be used?
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 setMinViol(double value)
Aliases.
void setEpsRelaxAbs(double value)
Aliases.
int MAX_SUPPORT
Maximum number of non zero coefficients in a generated cut; Default: COIN_INT_MAX.
virtual void setMAXDYN(double value)
double EPS_RELAX_ABS
Value added to the right hand side of each generated cut to relax it.
double getEPS_RELAX_ABS() const
Get value of EPS_RELAX_ABS.
double getEPS_RELAX_REL() const
Get value of EPS_RELAX_REL.
bool getIntegralScaleCont() const
void setEpsCoeff(double value)
Epsilon for zeroing out coefficients.
double getEpsCoeff() const
virtual void setMINVIOL(double value)
Set the value of MINVIOL, the minimum violation for the current basic solution in a generated cut.
double MAXDYN
Maximum ratio between largest and smallest non zero coefficients in a cut.
double getMAX_SUPPORT_REL() const
Get the value of MINVIOL.
void setEpsRelaxRel(double value)
Aliases.
double MAX_SUPPORT_REL
Maximum support relative to number of columns.
double getMaxSupportRel() const
void setCleanProc(CleaningProcedure value)
Aliases.
virtual CglGMIParam & operator=(const CglGMIParam &rhs)
Assignment operator.
bool getCheckDuplicates() const
void setMaxDyn(double value)
Aliases.
bool getUSE_INTSLACKS() const
Get the value of USE_INTSLACKS.
bool getEnforcescaling() const
virtual void setMAX_SUPPORT(const int max_s)
Set MAX_SUPPORT.
double getEPS_ELIM() const
Get the value of EPS_ELIM.
virtual void setEPS(const double eps)
Set EPS.
void setIntegralScaleCont(bool value)
Aliases.
double getEpsRelaxAbs() const
Class collecting parameters for the GMI cut generator.
double getAway() const
Get value of away.
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...
void setMaxSupportRel(double value)
Aliases.
void setMaxSupport(int value)
Maximum support of the cutting planes.
double getEpsRelaxRel() const
int getMAX_SUPPORT_ABS() const
double EPS_ELIM
Epsilon for value of coefficients when eliminating slack variables.
virtual void setCHECK_DUPLICATES(bool value)
Set the value of CHECK_DUPLICATES.
virtual void setINFINIT(const double inf)
Set INFINIT.
double AWAY
Use row only if pivot variable should be integer but is more than AWAY from being integer.
int getMaxSupportAbs() const
double getMinViol() const
void setInfinity(double value)
Aliases for parameter get/set method in the base class CglParam.
int getUseIntSlacks() const
double MINVIOL
Minimum violation for the current basic solution in a generated cut.
void setCheckDuplicates(bool value)
Aliases.
void setUseIntSlacks(bool value)
Aliases.
void setEps(double value)
Epsilon for comparing numbers.
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?
virtual void setCLEAN_PROC(CleaningProcedure value)
Set the value of CLEAN_PROC.
virtual void setINTEGRAL_SCALE_CONT(bool value)
Set the value of INTEGRAL_SCALE_CONT.
bool getCHECK_DUPLICATES() const
Get the value of CHECK_DUPLICATES.
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 ...