MemorySolutionCache

constructor(capacity: Int = defaultCacheSize, allowInfeasibleSolutions: Boolean = false)(source)

Parameters

capacity

the maximum permitted size of the cache

allowInfeasibleSolutions

if true, the input infeasible solutions are allowed to be saved in the cache. If false, input-infeasible solutions are silently ignored. The default is false (do not allow input infeasible solutions to be saved)