14 package com.google.ortools.sat;
18 private final IntVar[] variables;
19 private final long[] coefficients;
22 assert (variables.length == coefficients.length);
23 this.variables = variables;
24 this.coefficients = coefficients;
29 return variables.length;
35 assert (index < variables.length);
36 return variables[index];
42 assert (index < coefficients.length);
43 return coefficients[index];