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