penalty

open override fun penalty(violation: Double, iterationCounter: Int, sampleCount: Int): Double(source)

Parameters

violation

The magnitude of the constraint violation.

iterationCounter

The current solver iteration (k).

sampleCount

The number of times this response has been sampled N(x).