We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d262d commit 5e1a671Copy full SHA for 5e1a671
README.md
@@ -35,7 +35,7 @@ Use ParametricOptInterface with JuMP by following this brief example:
35
```julia
36
using JuMP, HiGHS
37
import ParametricOptInterface as POI
38
-model = Model(() -> POI.Optimizer(HiGHS.Optimizer()))
+model = direct_model(POI.Optimizer(HiGHS.Optimizer()))
39
@variable(model, x)
40
@variable(model, p in Parameter(1.0))
41
@constraint(model, cons, x + p >= 3)
0 commit comments