*/
public static Tuples scalar(IntVar[] VARS, final int[] COEFFS, final String OPERATOR, IntVar SCALAR, final int SCALAR_COEFF) {
if(OPERATOR.equals("=")){
return scalar(VARS,COEFFS,SCALAR,SCALAR_COEFF);
}
final Operator op = Operator.get(OPERATOR);
return generateTuples(new TupleValidator() {
@Override
public boolean valid(int... values) {
int scalar = 0;
for (int i = 0; i < values.length - 1; i++) {