Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
cprudhom committed Jun 22, 2023
1 parent 1fcd134 commit cff9b28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/en/docs/Solving/Strategies.md
Expand Up @@ -73,7 +73,7 @@ There are several ways to achieve this:
// 1) verbose approach using usual imports

import org.chocosolver.solver.search.strategy.Search;
import org.chocosolver.solver.search.strategy.assignments.DecisionOperator;
import org.chocosolver.solver.search.strategy.assignments.DecisionOperatorFactory;
import org.chocosolver.solver.search.strategy.selectors.values.*;
import org.chocosolver.solver.search.strategy.selectors.variables.*;

Expand All @@ -85,7 +85,7 @@ import org.chocosolver.solver.search.strategy.selectors.variables.*;
// selects the smallest domain value (lower bound)
new IntDomainMin(),
// apply equality (var = val)
DecisionOperator.int_eq,
DecisionOperatorFactory.makeIntEq(),
// variables to branch on
x, y
));
Expand All @@ -97,7 +97,6 @@ import org.chocosolver.solver.search.strategy.selectors.variables.*;

import static org.chocosolver.solver.search.strategy.Search.*;

import org.chocosolver.solver.search.strategy.assignments.DecisionOperator;
import org.chocosolver.solver.search.strategy.selectors.values.*;
import org.chocosolver.solver.search.strategy.selectors.variables.*;

Expand Down

0 comments on commit cff9b28

Please sign in to comment.