Skip to content

Commit 5e1a671

Browse files
authored
Update README.md
1 parent 76d262d commit 5e1a671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Use ParametricOptInterface with JuMP by following this brief example:
3535
```julia
3636
using JuMP, HiGHS
3737
import ParametricOptInterface as POI
38-
model = Model(() -> POI.Optimizer(HiGHS.Optimizer()))
38+
model = direct_model(POI.Optimizer(HiGHS.Optimizer()))
3939
@variable(model, x)
4040
@variable(model, p in Parameter(1.0))
4141
@constraint(model, cons, x + p >= 3)

0 commit comments

Comments
 (0)