diff --git a/Project.toml b/Project.toml index f108eb4..b335b49 100644 --- a/Project.toml +++ b/Project.toml @@ -8,6 +8,6 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" SDPLR_jll = "3a057b76-36a0-51f0-a66f-6d580b8e8efd" [compat] -MathOptInterface = "1.22" +MathOptInterface = "1.24" SDPLR_jll = "=100.2.300" julia = "1.6" diff --git a/src/SDPLR.jl b/src/SDPLR.jl index 681d819..285f3a5 100644 --- a/src/SDPLR.jl +++ b/src/SDPLR.jl @@ -1,6 +1,6 @@ module SDPLR -using SDPLR_jll +import SDPLR_jll include("bounds.jl") @@ -142,7 +142,7 @@ function solve( end end GC.@preserve blksz blktype b CAent CArow CAcol CAinfo_entptr CAinfo_type R lambda maxranks ranks pieces begin - ret = @ccall SDPLR.SDPLR_jll.libsdplr.sdplrlib( + ret = @ccall SDPLR_jll.libsdplr.sdplrlib( m::Csize_t, numblk::Csize_t, blksz::Ptr{Cptrdiff_t}, diff --git a/test/MOI_wrapper.jl b/test/MOI_wrapper.jl index a172087..d5ff7f2 100644 --- a/test/MOI_wrapper.jl +++ b/test/MOI_wrapper.jl @@ -23,7 +23,6 @@ function test_runtests() MOI.ConstraintName, MOI.VariableName, MOI.ObjectiveBound, - MOI.ConstraintDual, # TODO MOI.SolverVersion, ], optimal_status = MOI.LOCALLY_SOLVED, @@ -45,8 +44,10 @@ function test_runtests() r"test_model_ScalarFunctionConstantNotZero$", r"test_model_delete$", # Detecting infeasibility or unboundedness not supported - "INFEASIBLE", + "INFEAS", "infeasible", + # Incorrect `ConstraintDual` for `vc2` for MacOS in CI + r"test_linear_integration", # FIXME investigate r"test_conic_SecondOrderCone_nonnegative_post_bound$", r"test_conic_SecondOrderCone_negative_post_bound_2$",