Constraint for row total with each element in the array less than a given value

In reply to Yuankun:

Thank you. This works.