penalty

open override fun penalty(solution: Solution, iterationCounter: Int): Double(source)

The penalty function.

Parameters

solution

The solution for which the penalty is being computed.

iterationCounter

The current iteration count. The iteration associated with the solver's process.