Skip to content

Commit

Permalink
Update src/MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 31, 2024
1 parent 38bdd24 commit fa69cf6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,6 @@ function MOI.add_constrained_variable(
return index, MOI.ConstraintIndex{MOI.VariableIndex,S}(index.value)
end


function MOI.is_valid(model::Optimizer, v::MOI.VariableIndex)
return haskey(model.variable_info, v)
end
Expand Down

0 comments on commit fa69cf6

Please sign in to comment.