The penalty function.
The solution for which the penalty is being computed.
The current iteration count. The iteration associated with the solver's process.