// x : [2.000000, 2.000000], y : [4.000000, 4.000000]
// or x : [1.000000, 1.000000], y : [8.000000, 8.000000]
// but it always like this : x : [2.418267, 2.418267], y : [3.308154, 3.308154]
// rcons.discretize(x,y);
solver.post(new RealConstraint("RC","{0} * {1} = 8", vars));
solver.set(new RealStrategy(vars, new Cyclic(), new RealDomainMiddle()));
solver.findSolution();
Assert.assertEquals(x.getValue(), 2);
Assert.assertEquals(y.getValue(), 4);
}