PenaltyFunctionIfc

fun interface PenaltyFunctionIfc(source)

A penalty function that is applied to the solution to the optimization problem. The penalty function is a function of the current solution and the current iteration count. A penalty function is added to the objective function to penalize infeasible solutions.

Inheritors

Functions

Link copied to clipboard
abstract fun penalty(solution: Solution, iterationCounter: Int): Double

The penalty function.