Package org.ojalgo.optimisation.integer
Class IntegerStrategy.GMICutConfiguration
- java.lang.Object
-
- org.ojalgo.optimisation.integer.IntegerStrategy.GMICutConfiguration
-
- Enclosing interface:
- IntegerStrategy
public static final class IntegerStrategy.GMICutConfiguration extends java.lang.Object
Gomory Mixed Integer Cut Configuration
-
-
Field Summary
Fields Modifier and Type Field Description double
fractionality
The minimum fractionality of the integer variable used to generate the cut.java.math.BigDecimal
violation
After the cut is generated it is transformed to be expresssed in the original model variables.
-
Constructor Summary
Constructors Modifier Constructor Description GMICutConfiguration()
private
GMICutConfiguration(double newAway, java.math.BigDecimal newExpansion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerStrategy.GMICutConfiguration
withFractionality(double newFractionality)
IntegerStrategy.GMICutConfiguration
withViolation(java.math.BigDecimal newViolation)
-
-
-
Field Detail
-
fractionality
public final double fractionality
The minimum fractionality of the integer variable used to generate the cut. Less than this, and the (potential) cut is never generated.
-
violation
public final java.math.BigDecimal violation
After the cut is generated it is transformed to be expresssed in the original model variables. In this process the RHS of the cut inequality changes. This parameter controls how much the RHS is allowed to grow in magnitude. If it grows/expands to much the cut is discarded.The cut/constraint violation is always exactly 1 (due to how the cut is generated). That means the magnitude of the RHS becomes a meassure of the relative cut violation. Allowing large RHS values is equivalent to accepting small relative cut violations. The number you specify here is the inverse of the relative cut violation (the absolute value of the max RHS allowed).
-
-
Method Detail
-
withFractionality
public IntegerStrategy.GMICutConfiguration withFractionality(double newFractionality)
-
withViolation
public IntegerStrategy.GMICutConfiguration withViolation(java.math.BigDecimal newViolation)
-
-