// if (solver.getMaxNumberOfSolutions() > 0)
// constrainer.set
boolean trace = false;
boolean goal_saves_solution = true;
GoalFastMinimize optimizationGoal = new GoalFastMinimize(totalGoal, cObj, trace, goal_saves_solution);
Solution solution = null;
try {
if (constrainer.execute(optimizationGoal)) {
// solution = new BasicSolution(this,1);
// solution.setSolutionNumber(optimizationGoal.numberOfSolutions());
solution = this.getSolution();