Skip to content

Commit 6c7df9e

Browse files
authored
Fix incorrect code in the README (#280)
1 parent ba45b1c commit 6c7df9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ To use Xpress with JuMP, use:
103103
```julia
104104
using JuMP, Xpress
105105
model = Model(Xpress.Optimizer)
106-
set_optimizer(model, "PRESOLVE", 0)
106+
# Modify options, for example:
107+
set_attribute(model, "PRESOLVE", 0)
107108
```
108109

109110
## Options

0 commit comments

Comments
 (0)