Class MemoryLimitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ddolib.common.solver.stopcriterion.MemoryLimitException
All Implemented Interfaces:
Serializable

public class MemoryLimitException extends RuntimeException
Signals that a search reached its memory limit, see StopCriterion.maxFrontierSize(int). The solvers catch it, like an OutOfMemoryError, and return the best solution found so far with the status SearchStatus.MEMOUT.
See Also:
  • Constructor Details

    • MemoryLimitException

      public MemoryLimitException(String message)
      Creates the exception. No stack trace is recorded, it is not needed to stop the search.
      Parameters:
      message - the description of the limit that was reached