penaltyFunction

An optional, constraint-specific penalty function. If null, the solver will fall back to the type-level default penalty function defined in the ProblemDefinition.