StopCriterion
Factories for the stop criteria applicable to any solver.
Wraps the factories of org.ddolib.common.solver.stopcriterion.StopCriterion.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StopCriterion.type
Members list
Value members
Concrete methods
Creates a stop criterion that terminates the search when the frontier size exceeds a specified limit.
Creates a stop criterion that terminates the search when the frontier size exceeds a specified limit.
Value parameters
- maxNodes
-
the maximum allowed size of the frontier
Attributes
Creates a stop criterion that terminates the search when the number of iterations exceeds a specified limit.
Creates a stop criterion that terminates the search when the number of iterations exceeds a specified limit.
Value parameters
- maxIter
-
the maximum allowed number of iterations
Attributes
Creates a stop criterion that terminates the search if no improvement has been found for a certain number of iterations.
Creates a stop criterion that terminates the search if no improvement has been found for a certain number of iterations.
Value parameters
- maxIter
-
the maximum allowed number of iterations since the last improvement
Attributes
Creates a stop criterion that terminates the search when the number of iterations without any gap improvement exceeds a specified limit.
Creates a stop criterion that terminates the search when the number of iterations without any gap improvement exceeds a specified limit.
Value parameters
- maxIter
-
the maximum allowed number of iterations since the last gap improvement
Attributes
Creates a stop criterion that terminates the search when the total runtime exceeds a specified limit.
Creates a stop criterion that terminates the search when the total runtime exceeds a specified limit.
Value parameters
- maxTimeMs
-
the maximum allowed runtime in milliseconds
Attributes
Creates a stop criterion that terminates the search if no improvement has been found for a certain amount of time.
Creates a stop criterion that terminates the search if no improvement has been found for a certain amount of time.
Value parameters
- maxTimeMs
-
the maximum allowed time since the last improvement in milliseconds
Attributes
Creates a stop criterion that terminates the search when the optimality gap is less than or equal to a specified threshold.
Creates a stop criterion that terminates the search when the optimality gap is less than or equal to a specified threshold.
Value parameters
- gapPercent
-
the maximum allowed optimality gap in percent
Attributes
Creates a stop criterion that terminates the search when the relative improvement between the current incumbent and the previous incumbent is less than or equal to a threshold.
Creates a stop criterion that terminates the search when the relative improvement between the current incumbent and the previous incumbent is less than or equal to a threshold.
Value parameters
- threshold
-
the minimum relative improvement required to continue the search in percent