Skip to content

Test failures from the Convex Problem Depot #12

@ericphanson

Description

@ericphanson

These don't seem like upstream issues, because they are just using Float64 on Convex.jl tests which are passed by other solvers.

From https://travis-ci.com/ericphanson/SDPA_GMP.jl/jobs/232679443, which is using the MathOptInterface2 branch of my Convex fork.

  • affine_Partial_transpose. This one is extra strange to me because it only solves trivial problems in the partial transpose tests.
affine_Partial_transpose: Test Failed at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problems/affine.jl:620
  Expression: (partialtranspose(S, 2, dims), evaluate(Rt2), atol=atol, rtol=rtol)
   Evaluated: Complex{Float64}[0.383852+0.528893im 0.742664+0.24492im  0.308696+0.210021im 0.364071+0.951709im; 0.690416+0.583909im 0.510558+0.988567im  0.651434+0.32428im 0.327982+0.737351im;  ; 0.545792+0.570356im 0.00173464+0.360559im  0.157738+0.138702im 0.806053+0.956032im; 0.813276+0.481045im 0.867989+0.432329im  0.920658+0.69532im 0.422239+0.321757im]  Complex{Float64}[0.0+0.0im 0.0+0.0im  0.0+0.0im 0.0+0.0im; 0.0+0.0im 0.0+0.0im  0.0+0.0im 0.0+0.0im;  ; 0.0+0.0im 0.0+0.0im  0.0+0.0im 0.0+0.0im; 0.0+0.0im 0.0+0.0im  0.0+0.0im 0.0+0.0im] (atol=0.001, rtol=0.0)
Stacktrace:
 [1] affine_Partial_transpose(::getfield(Main, Symbol("##12#14")){String}, ::Val{true}, ::Float64, ::Float64, ::Type{Float64}) at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problems/affine.jl:620
 [2] macro expansion at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11 [inlined]
 [3] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
 [4] (::getfield(Main, Symbol("##11#13")))(::String, ::typeof(Convex.ProblemDepot.affine_Partial_transpose)) at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11
  • affine_Diagonal_atom test
affine_Diagonal_atom: Test Failed at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problems/affine.jl:466
  Expression: all(abs.(evaluate(Diagonal(x)) - Diagonal([1, 2, 3, 4])) .<= atol)
Stacktrace:
 [1] affine_Diagonal_atom(::getfield(Main, Symbol("##12#14")){String}, ::Val{true}, ::Float64, ::Float64, ::Type{Float64}) at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problems/affine.jl:466
 [2] macro expansion at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11 [inlined]
 [3] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
 [4] (::getfield(Main, Symbol("##11#13")))(::String, ::typeof(Convex.ProblemDepot.affine_Diagonal_atom)) at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11
  • affine_Diagonal_atom presolve
affine_Diagonal_atom: Error During Test at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:10
  Got exception outside of a @test
  SDPA_GMP.PresolveError("Inconsistency at constraint index 2. Problem is dual infeasible.")
  Stacktrace:
   [1] presolve(::SDPA_GMP.Optimizer{Float64}) at /home/travis/build/ericphanson/SDPA_GMP.jl/src/presolve.jl:36
   [2] initializeSolve(::SDPA_GMP.Optimizer{Float64}) at /home/travis/build/ericphanson/SDPA_GMP.jl/src/file_io.jl:184
   [3] optimize!(::SDPA_GMP.Optimizer{Float64}) at /home/travis/build/ericphanson/SDPA_GMP.jl/src/MOI_wrapper.jl:301
   [4] optimize!(::MathOptInterface.Utilities.CachingOptimizer{SDPA_GMP.Optimizer{Float64},MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/travis/.julia/packages/MathOptInterface/WXD0G/src/Utilities/cachingoptimizer.jl:189
   [5] optimize!(::MathOptInterface.Bridges.LazyBridgeOptimizer{MathOptInterface.Utilities.CachingOptimizer{SDPA_GMP.Optimizer{Float64},MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}}) at /home/travis/.julia/packages/MathOptInterface/WXD0G/src/Bridges/bridge_optimizer.jl:184
   [6] optimize!(::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.Model{Float64}}) at /home/travis/.julia/packages/MathOptInterface/WXD0G/src/Utilities/cachingoptimizer.jl:189
   [7] #solve!#5(::Bool, ::Bool, ::Function, ::Problem{Float64}, ::SDPA_GMP.Optimizer{Float64}) at /home/travis/.julia/packages/Convex/Mnzj6/src/MOI_solve.jl:192
   [8] solve! at /home/travis/.julia/packages/Convex/Mnzj6/src/MOI_solve.jl:179 [inlined]
   [9] (::getfield(Main, Symbol("##12#14")){String})(::Problem{Float64}) at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:13
   [10] affine_Diagonal_atom(::getfield(Main, Symbol("##12#14")){String}, ::Val{true}, ::Float64, ::Float64, ::Type{Float64}) at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problems/affine.jl:482
   [11] macro expansion at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11 [inlined]
   [12] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [13] (::getfield(Main, Symbol("##11#13")))(::String, ::typeof(Convex.ProblemDepot.affine_Diagonal_atom)) at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:11
   [14] macro expansion at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problem_depot.jl:103 [inlined]
   [15] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [16] #foreach_problem#4(::Array{Regex,1}, ::Function, ::getfield(Main, Symbol("##11#13"))) at /home/travis/.julia/packages/Convex/Mnzj6/src/problem_depot/problem_depot.jl:101
   [17] (::getfield(Convex.ProblemDepot, Symbol("#kw##foreach_problem")))(::NamedTuple{(:exclude,),Tuple{Array{Regex,1}}}, ::typeof(foreach_problem), ::Function) at ./none:0
   [18] macro expansion at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:6 [inlined]
   [19] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [20] top-level scope at /home/travis/build/ericphanson/SDPA_GMP.jl/test/Convex.jl:6
   [21] include at ./boot.jl:317 [inlined]
   [22] include_relative(::Module, ::String) at ./loading.jl:1044
   [23] include(::Module, ::String) at ./sysimg.jl:29
   [24] include(::String) at ./client.jl:392
   [25] macro expansion at /home/travis/build/ericphanson/SDPA_GMP.jl/test/runtests.jl:17 [inlined]
   [26] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
   [27] top-level scope at /home/travis/build/ericphanson/SDPA_GMP.jl/test/runtests.jl:15
   [28] include at ./boot.jl:317 [inlined]
   [29] include_relative(::Module, ::String) at ./loading.jl:1044
   [30] include(::Module, ::String) at ./sysimg.jl:29
   [31] include(::String) at ./client.jl:392
   [32] top-level scope at none:0
   [33] eval(::Module, ::Any) at ./boot.jl:319
   [34] exec_options(::Base.JLOptions) at ./client.jl:243
   [35] _start() at ./client.jl:425
  • lp_dotsort_atom: only for sdpa. Under the default parameters the solution is not precise enough.
lp_dotsort_atom: Test Failed at /Users/travis/.julia/packages/Convex/gaI3W/src/problem_depot/problems/lp.jl:201
  Expression: (p.optval, 19, atol=atol, rtol=rtol)
   Evaluated: 18.998915046180628  19 (atol=0.001, rtol=0.0)
Stacktrace:
 [1] lp_dotsort_atom(::getfield(Main, Symbol("##12#14")){String}, ::Val{true}, ::Float64, ::Float64, ::Type{Float64}) at /Users/travis/.julia/packages/Convex/gaI3W/src/problem_depot/problems/lp.jl:201
 [2] macro expansion at /Users/travis/build/ericphanson/SDPAFamily.jl/test/Convex.jl:31 [inlined]
 [3] macro expansion at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
 [4] (::getfield(Main, Symbol("##11#13")))(::String, ::typeof(Convex.ProblemDepot.lp_dotsort_atom)) at /Users/travis/build/ericphanson/SDPAFamily.jl/test/Convex.jl:31
  • lp_pos_atom: only for sdpa. Under the default parameters the solution is not precise enough.
lp_pos_atom: Test Failed at C:\Users\zhuji\.julia\packages\Convex\LTy7f\src\problem_depot\problems\lp.jl:115
  Expression: (p.optval, 3, atol=atol, rtol=rtol)
   Evaluated: 2.9879415445029736  3 (atol=0.001, rtol=0.0)
Stacktrace:
 [1] lp_pos_atom(::getfield(Main, Symbol("##14#16")){String}, ::Val{true}, ::Float64, ::Float64, ::Type{Float64}) at C:\Users\zhuji\.julia\packages\Convex\LTy7f\src\problem_depot\problems\lp.jl:115
 [2] macro expansion at C:\Users\zhuji\.julia\dev\SDPAFamily\test\Convex.jl:35 [inlined]
 [3] (::getfield(Main, Symbol("##13#15")))(::String, ::typeof(Convex.ProblemDepot.lp_pos_atom)) at C:\Users\zhuji\.julia\dev\SDPAFamily\test\Convex.jl:35
 [4] #foreach_problem#4(::Array{Regex,1}, ::typeof(foreach_problem), ::getfield(Main, Symbol("##13#15"))) at C:\Users\zhuji\.julia\packages\Convex\LTy7f\src\problem_depot\problem_depot.jl:103
 [5] (::getfield(Convex.ProblemDepot, Symbol("#kw##foreach_problem")))(::NamedTuple{(:exclude,),Tuple{Array{Regex,1}}}, ::typeof(foreach_problem), ::Function) at .\none:0
 [6] top-level scope at C:\Users\zhuji\.julia\dev\SDPAFamily\test\Convex.jl:33
 [7] top-level scope at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Test\src\Test.jl:1113
 [8] top-level scope at C:\Users\zhuji\.julia\dev\SDPAFamily\test\Convex.jl:33

It looks like we pass the SOCP tests though, which is pretty cool since they were giving us so much trouble. Then we get a hang on lp_min_atom. Is it just too big?

I will rerun CI excluding that test to see what we get with tests after that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions