Solutions

constructor(solutions: List<Solution>, capacity: Int = defaultCapacity, allowInfeasibleSolutions: Boolean = false)(source)

Class to support a group of solutions (all containing inputs, responses, objective fns, penalties) The solutions are naturally ordered by comparison of Solution instances based on their penalized objective functions (without regard to sampling error).

Parameters

solutions

the initial list of solutions to add

capacity

the capacity for the solutions. Constrains the total number of solutions in-memory. The default capacity is defaultCapacity. Oldest solutions are evicted first.

allowInfeasibleSolutions

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


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

Parameters

capacity

the capacity for the solutions. Constrains the total number of solutions in-memory. The default capacity is defaultCapacity. Oldest solutions are evicted first.

allowInfeasibleSolutions

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