PenaltyFunctionIfc

fun interface PenaltyFunctionIfc(source)

A penalty function that is applied to the violation of a constraint of an optimization problem. The penalty function is a function of the violation and the current iteration count. The penalty for the constraint is added to the objective function of the problem.

Inheritors

Functions

Link copied to clipboard
abstract fun penalty(violation: Double, iterationCounter: Int, sampleCount: Int): Double