SearchStrategy searchStrategy = getSearchStrategy();
if (isTraceSolutions()) {
addSearchStrategy(new StrategyLogVar("Found a solution with ", objectiveVar));
}
Goal strategy = makeGoal(searchStrategy);
com.exigen.ie.constrainer.Goal goal = (com.exigen.ie.constrainer.Goal)strategy.getImpl();
for (int i = 1; i < getSearchStrategies().size(); i++) {
strategy = makeGoal(getSearchStrategies().elementAt(i));
com.exigen.ie.constrainer.Goal nextGoal = (com.exigen.ie.constrainer.Goal)strategy.getImpl();
goal = new GoalAnd(goal,nextGoal);
}
//clearSolutions();
com.exigen.ie.constrainer.Goal saveGoal = new GoalSaveSolution(this);