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 b853398 commit ab4da45Copy full SHA for ab4da45
src/MOI_wrapper.jl
@@ -1416,9 +1416,9 @@ Attribute to define how [`POI.Optimizer`](@ref) should interpret constraints.
1416
# Example
1417
1418
```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)
+MOI.set(model, POI.ConstraintsInterpretation(), POI.ONLY_BOUNDS)
+MOI.set(model, POI.ConstraintsInterpretation(), POI.ONLY_CONSTRAINTS)
+MOI.set(model, POI.ConstraintsInterpretation(), POI.BOUNDS_AND_CONSTRAINTS)
1422
```
1423
"""
1424
struct ConstraintsInterpretation <: MOI.AbstractOptimizerAttribute end
0 commit comments