Skip to content

Commit ab4da45

Browse files
authored
Fix ConstraintsInterpretation docstring (#169)
1 parent b853398 commit ab4da45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MOI_wrapper.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,9 +1416,9 @@ Attribute to define how [`POI.Optimizer`](@ref) should interpret constraints.
14161416
# Example
14171417
14181418
```julia
1419-
MOI.set(model, POI.InterpretConstraintsAsBounds(), POI.ONLY_BOUNDS)
1420-
MOI.set(model, POI.InterpretConstraintsAsBounds(), POI.ONLY_CONSTRAINTS)
1421-
MOI.set(model, POI.InterpretConstraintsAsBounds(), POI.BOUNDS_AND_CONSTRAINTS)
1419+
MOI.set(model, POI.ConstraintsInterpretation(), POI.ONLY_BOUNDS)
1420+
MOI.set(model, POI.ConstraintsInterpretation(), POI.ONLY_CONSTRAINTS)
1421+
MOI.set(model, POI.ConstraintsInterpretation(), POI.BOUNDS_AND_CONSTRAINTS)
14221422
```
14231423
"""
14241424
struct ConstraintsInterpretation <: MOI.AbstractOptimizerAttribute end

0 commit comments

Comments
 (0)