Class Presolvers

java.lang.Object
org.ojalgo.optimisation.Presolvers

public abstract class Presolvers extends Object
  • Field Details

    • INTEGER

      public static final ExpressionsBasedModel.Presolver INTEGER
    • LINEAR_OBJECTIVE

      public static final ExpressionsBasedModel.Presolver LINEAR_OBJECTIVE
      If the expression is linear and contributes to the objective function, then the contributions are transferred to the variables and the weight of the expression set to null.
    • REDUNDANT_CONSTRAINT

      public static final ExpressionsBasedModel.Presolver REDUNDANT_CONSTRAINT
      Calculates the min and max value of this expression based on the variables' individual bounds. Then compares those with the expression's bounds.
    • UNREFERENCED

      public static final ExpressionsBasedModel.VariableAnalyser UNREFERENCED
      Verifies that the variable is actually referenced/used in some expression. If not then that variable can either be fixed or marked as unbounded.
       2019-02-15: Turned this off. Very slow for large models
       2019-02-22: Turned this on again, different implementation
       
    • ZERO_ONE_TWO

      public static final ExpressionsBasedModel.Presolver ZERO_ONE_TWO
      Looks for constraint expressions with 0, 1 or 2 non-fixed variables. Transfers the constraints of the expressions to the variables and then (if possible) marks the expression as redundant.
    • LEVEL

      private static final NumberContext LEVEL
    • SIMILARITY

      private static final MathContext SIMILARITY
    • LOWER

      static final MathContext LOWER
    • UPPER

      static final MathContext UPPER
  • Constructor Details

    • Presolvers

      public Presolvers()
  • Method Details