diff --git a/Project.toml b/Project.toml index 47b9db86..490f1bf5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SCIP" uuid = "82193955-e24f-5292-bf16-6f2c5261a85f" -version = "0.9.8" +version = "0.10.0" [deps] Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7" @@ -10,7 +10,7 @@ SCIP_jll = "e5ac4fe4-a920-5659-9bf8-f9f73e9e79ce" [compat] Ipopt_jll = "^3.13.2" -MathOptInterface = "0.10" +MathOptInterface = "0.10.4" SCIP_jll = "^0.1.2" julia = "1" diff --git a/src/MOI_wrapper.jl b/src/MOI_wrapper.jl index 44ce32ae..73ed423b 100644 --- a/src/MOI_wrapper.jl +++ b/src/MOI_wrapper.jl @@ -189,6 +189,10 @@ function MOI.set(o::Optimizer, ::MOI.TimeLimitSec, value) end end +MOI.supports(::Optimizer, ::MOI.SolverVersion) = true + +MOI.get(::Optimizer, ::MOI.SolverVersion) = "v" * string(SCIP_versionnumber()) + ## model creation, query and modification function MOI.is_empty(o::Optimizer)