Skip to content

Commit f483430

Browse files
authored
Add instructions for CP-SAT in README (#93)
1 parent 582a9c3 commit f483430

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ optimize!(model)
123123
@show value.(x)
124124
```
125125

126+
In order to use the CP-SAT solver from ORTools, use
127+
```julia
128+
import ORTools_jll
129+
path = joinpath(ORTools_jll.artifact_dir, "share", "minizinc", "solvers", "cp-sat.msc")
130+
model = Model(() -> MiniZinc.Optimizer{Float64}(path))
131+
```
132+
126133
## MathOptInterface API
127134

128135
The MiniZinc `Optimizer{T}` supports the following constraints and attributes.

0 commit comments

Comments
 (0)