Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump MOI 1 #90

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Mosek = "6405355b-0ac2-5fba-af84-adbd65488c0e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
MathOptInterface = "0.10.5"
MathOptInterface = "1"
Mosek = "1"
julia = "1"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
``MosekTools`` is the
[MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl)
implementation for the MOSEK solver. The low-level solver API for MOSEK is
found in the package [Mosek.jl](https://github.com/JuliaOpt/Mosek.jl).
found in the package [Mosek.jl](https://github.com/MOSEK/Mosek.jl).
The latest release of this package and the `master` branch are to be used with
the latest release of Mosek.jl (which uses MOSEK v9). To use MOSEK v8, use
the v0.7.x releases of this package (or the `mosekv8` branch) and v0.9.x releases Mosek.jl.
Expand Down
2 changes: 1 addition & 1 deletion src/MosekTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function MOI.get(::Optimizer, ::MOI.SolverVersion)
return string(VersionNumber(major, minor, revision))
end

MOIU.supports_default_copy_to(::Optimizer, copy_names::Bool) = true
MOI.supports_incremental_interface(::Optimizer) = true
function MOI.copy_to(dest::Optimizer, src::MOI.ModelLike; kws...)
return MOIU.default_copy_to(dest, src; kws...)
end
Expand Down
5 changes: 2 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ end
end
end

@testset "supports_default_copy_to" begin
@test MOIU.supports_default_copy_to(optimizer, false)
@test MOIU.supports_default_copy_to(optimizer, true)
@testset "supports_incremental_interface" begin
@test MOI.supports_incremental_interface(optimizer)
end

const config = MOIT.Config(
Expand Down