penaltyFncValue

Returns the total violation penalty associated with the constraints for the problem. Ensures that the returned value is oriented according to the optimization type.

Parameters

solution

The solution for which the penalty is being computed. to compute the penality associated with the response constraints.