Skip to content

Commit

Permalink
Update Strategies.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cprudhom committed Mar 16, 2020
1 parent 9d077c6 commit 0a5939a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions content/en/docs/Solving/Strategies.md
Expand Up @@ -136,14 +136,3 @@ Most search strategies rely on :
Note that some strategies are *dynamic* and might work more efficiently when combined with a [restart policy]({{< ref "Restarts.md" >}}).
{{%/alert%}}


### Making a decision greedy

You can make a decision non-refutable by using `decision.setRefutable(false)`

To make an entire search strategy greedy, use:

```java
Solver s = model.getSolver();
s.setSearch(greedySearch(inputOrderLBSearch(x,y,z)));
```

0 comments on commit 0a5939a

Please sign in to comment.