Computes and returns the total violation for the functional constraints.
the total violation associated with the functional constraints
the inputs to use to compute the left-hand side values