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

Enable ConstraintDual tests #19

Merged
merged 7 commits into from
Jan 3, 2024
Merged
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 @@ -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"
4 changes: 2 additions & 2 deletions src/SDPLR.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module SDPLR

using SDPLR_jll
import SDPLR_jll

include("bounds.jl")

Expand Down Expand Up @@ -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},
Expand Down
5 changes: 3 additions & 2 deletions test/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function test_runtests()
MOI.ConstraintName,
MOI.VariableName,
MOI.ObjectiveBound,
MOI.ConstraintDual, # TODO
MOI.SolverVersion,
],
optimal_status = MOI.LOCALLY_SOLVED,
Expand All @@ -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$",
Expand Down
Loading