Skip to content

Commit e94c2ec

Browse files
odowblegat
andauthored
Apply suggestions from code review
Co-authored-by: Benoît Legat <[email protected]>
1 parent 6579600 commit e94c2ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Utilities/feasibility_relaxation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
) <: MOI.AbstractModelAttribute
1111
1212
A model attribute that, when set, destructively modifies the model in-place to
13-
create a feasibility relxation.
13+
create a feasibility relaxation.
1414
1515
!!! warning
1616
This is a destructive routine that modifies the model in-place. If you don't
@@ -35,7 +35,7 @@ constraints, because these cannot be modified in-place.
3535
3636
## Example
3737
38-
```jldoctest
38+
```jldoctest; setup=:(import MathOptInterface; const MOI = MathOptInterface)
3939
julia> model = MOI.Utilities.Model{Float64}();
4040
4141
julia> x = MOI.add_variable(model);

0 commit comments

Comments
 (0)