Skip to content

Commit

Permalink
Remove unreachable method of add_variable
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Feb 26, 2025
1 parent bea72a0 commit a9e1ffb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/variables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2147,14 +2147,6 @@ function add_variable(
return add_variable.(model, variables, names)
end

function add_variable(
model::GenericModel,
variables::AbstractArray{<:VariableConstrainedOnCreation},
name::String,
)
return add_variable.(model, variables, Ref(name))
end

function _moi_add_constrained_variable(
moi_backend::MOI.ModelLike,
scalar_variable::ScalarVariable,
Expand Down

0 comments on commit a9e1ffb

Please sign in to comment.