Skip to content

Commit

Permalink
Merge pull request #11 from joaquimg/jg/ambiguity
Browse files Browse the repository at this point in the history
Fix ambiguity
  • Loading branch information
joaquimg authored Sep 18, 2020
2 parents 7647275 + c06f415 commit 010bf83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "QuadraticToBinary"
uuid = "014a38d5-7acb-4e20-b6c0-4fe5c2344fd1"
authors = ["Joaquim Garcia <[email protected]>"]
version = "0.2.0"
version = "0.2.1"


[deps]
Expand All @@ -10,7 +10,7 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"

[compat]
MathOptInterface = "0.9.12"
DataStructures = "0.17.10"
DataStructures = "0.17.10, 0.18.0"
julia = "1"

[extras]
Expand Down
4 changes: 4 additions & 0 deletions src/moi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ function MOI.supports_add_constrained_variables(
model::Optimizer, ::Type{S}) where S
return MOI.supports_add_constrained_variables(model.optimizer, S)
end
function MOI.supports_add_constrained_variables(
model::Optimizer, ::Type{MOI.Reals})
return MOI.supports_add_constrained_variables(model.optimizer, MOI.Reals)
end

# function MOI.set(model::Optimizer, param::MOI.RawParameter, value)
# # if in a subset of the q2b save it
Expand Down

2 comments on commit 010bf83

@joaquimg
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/21598

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 010bf8372d15697de9adc34037c0f0920fa5a341
git push origin v0.2.1

Please sign in to comment.