Say, I am having an IntVar array int n = 10; IntVar[] x = VariableFactory.boundedArray("x", n, 0, 100, solver);
I need to define a constraint that restricts the standard deviation(can be a number with decimal points) of this array less than a predefined real number, say 3.45.