Interface IntegerStrategy

    • Method Detail

      • countUniqueStrategies

        int countUniqueStrategies()
      • 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
      • getIntegralityTolerance

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

        java.util.List<java.util.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.