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