Package org.ojalgo.optimisation.integer
Class IntegerStrategy.GMICutConfiguration
java.lang.Object
org.ojalgo.optimisation.integer.IntegerStrategy.GMICutConfiguration
- Enclosing interface:
IntegerStrategy
Gomory Mixed Integer Cut Configuration
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double
The minimum fractionality of the integer variable used to generate the cut.final BigDecimal
After the cut is generated it is transformed to be expresssed in the original model variables. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
GMICutConfiguration
(double newAway, BigDecimal newExpansion) -
Method Summary
Modifier and TypeMethodDescriptionwithFractionality
(double newFractionality) withViolation
(BigDecimal newViolation)
-
Field Details
-
fractionality
public final double fractionalityThe minimum fractionality of the integer variable used to generate the cut. Less than this, and the (potential) cut is never generated. -
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).
-
-
Constructor Details
-
GMICutConfiguration
public GMICutConfiguration() -
GMICutConfiguration
-
-
Method Details
-
withFractionality
-
withViolation
-