Interface IntegerStrategy

All Known Implementing Classes:
IntegerStrategy.ConfigurableStrategy, ModelStrategy, ModelStrategy.AbstractStrategy, ModelStrategy.DefaultStrategy

public interface IntegerStrategy
  • Field Details

  • Method Details

    • newConfigurable

      static IntegerStrategy.ConfigurableStrategy newConfigurable()
    • getGapTolerance

      NumberContext getGapTolerance()
      The MIP gap is the difference between the best integer solution found so far and a node's relaxed non-integer solution. The relative MIP gap is that difference divided by the optimal value (approximated by the currently best integer solution). If the gap (absolute or relative) is too small, then the corresponding branch is terminated as it is deemed unlikely or too "expensive" to find better integer solutions there.
      Returns:
      The tolerance context used to determine if the gap is too small or not
    • getGMICutConfiguration

      IntegerStrategy.GMICutConfiguration getGMICutConfiguration()
    • getIntegralityTolerance

      NumberContext getIntegralityTolerance()
      Used to determine if a variable value is integer or not
    • getWorkerPriorities

      List<Comparator<NodeKey>> getWorkerPriorities()
      There will be 1 worker thread per item in the returned List. The Comparator instances need not be unique. Used to prioritise among the nodes waiting to be evaluated.
    • newModelStrategy

      ModelStrategy newModelStrategy(ExpressionsBasedModel model)