- java.lang.Object
-
- org.ojalgo.optimisation.integer.IntegerStrategy.GMICutConfiguration
-
- Enclosing interface:
- IntegerStrategy
public static final class IntegerStrategy.GMICutConfiguration extends java.lang.ObjectGomory Mixed Integer Cut Configuration
-
-
Field Summary
Fields Modifier and Type Field Description doublefractionalityThe minimum fractionality of the integer variable used to generate the cut.java.math.BigDecimalviolationAfter the cut is generated it is transformed to be expresssed in the original model variables.
-
Constructor Summary
Constructors Modifier Constructor Description GMICutConfiguration()privateGMICutConfiguration(double newAway, java.math.BigDecimal newExpansion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerStrategy.GMICutConfigurationwithFractionality(double newFractionality)IntegerStrategy.GMICutConfigurationwithViolation(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)
-
-