You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LoadError: MethodError: MathOptInterface.Utilities.load_constraint(::SCS.Optimizer, ::MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables,MathOptInterface.PositiveSemidefiniteConeTriangle}, ::MathOptInterface.VectorOfVariables, ::MathOptInterface.PositiveSemidefiniteConeTriangle) is ambiguous. Candidates:
load_constraint(optimizer::SCS.Optimizer, ci, f::MathOptInterface.VectorOfVariables, s) in SCS at /home/travis/.julia/packages/SCS/L1XbN/src/MOI_wrapper.jl:230
load_constraint(model::MathOptInterface.ModelLike, ::MathOptInterface.ConstraintIndex, func::MathOptInterface.AbstractFunction, set::MathOptInterface.AbstractSet) in MathOptInterface.Utilities at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/copy.jl:592
Possible fix, define
load_constraint(::SCS.Optimizer, ::MathOptInterface.ConstraintIndex, ::MathOptInterface.VectorOfVariables, ::MathOptInterface.AbstractSet)
Stacktrace:
[1] load_constrained_variables(::SCS.Optimizer, ::Array{MathOptInterface.VariableIndex,1}, ::MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables,MathOptInterface.PositiveSemidefiniteConeTriangle}, ::MathOptInterface.PositiveSemidefiniteConeTriangle) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/copy.jl:463
[2] load_vector_of_variables(::SCS.Optimizer, ::MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}, ::MathOptInterface.Utilities.IndexMap, ::Array{MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables,MathOptInterface.PositiveSemidefiniteConeTriangle},1}) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/copy.jl:581
[3] allocate_load(::SCS.Optimizer, ::MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}, ::Bool) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/copy.jl:676
[4] #automatic_copy_to#89 at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/copy.jl:17 [inlined]
[5] #automatic_copy_to at ./none:0 [inlined]
[6] #copy_to#27 at /home/travis/.julia/packages/SCS/L1XbN/src/MOI_wrapper.jl:95 [inlined]
[7] #copy_to at ./none:0 [inlined]
[8] attach_optimizer(::MathOptInterface.Utilities.CachingOptimizer{SCS.Optimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/cachingoptimizer.jl:138
[9] optimize!(::MathOptInterface.Utilities.CachingOptimizer{SCS.Optimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/cachingoptimizer.jl:174
[10] optimize!(::MathOptInterface.Bridges.LazyBridgeOptimizer{MathOptInterface.Utilities.CachingOptimizer{SCS.Optimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}}) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Bridges/bridge_optimizer.jl:139
[11] optimize!(::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/travis/.julia/packages/MathOptInterface/mvlGI/src/Utilities/cachingoptimizer.jl:178
[12] #optimize!#78(::Bool, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Model, ::Nothing) at /home/travis/.julia/packages/JuMP/LfUs7/src/optimizer_interface.jl:141
[13] optimize! at /home/travis/.julia/packages/JuMP/LfUs7/src/optimizer_interface.jl:111 [inlined] (repeats 2 times)
[14] #example_cluster#7(::Bool, ::Function) at /home/travis/build/JuliaOpt/JuMP.jl/examples/cluster.jl:47
[15] (::getfield(Main, Symbol("#kw##example_cluster")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(example_cluster)) at ./none:0
[16] top-level scope at none:0
[17] include at ./boot.jl:317 [inlined]
[18] include_relative(::Module, ::String) at ./loading.jl:1044
[19] include(::Module, ::String) at ./sysimg.jl:29
[20] include(::String) at ./client.jl:392
[21] macro expansion at /home/travis/build/JuliaOpt/JuMP.jl/examples/run_examples.jl:21 [inlined]
[22] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1156 [inlined]
[23] macro expansion at /home/travis/build/JuliaOpt/JuMP.jl/examples/run_examples.jl:20 [inlined]
[24] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
[25] top-level scope at /home/travis/build/JuliaOpt/JuMP.jl/examples/run_examples.jl:20
[26] include at ./boot.jl:317 [inlined]
[27] include_relative(::Module, ::String) at ./loading.jl:1044
[28] include(::Module, ::String) at ./sysimg.jl:29
[29] exec_options(::Base.JLOptions) at ./client.jl:266
[30] _start() at ./client.jl:425
in expression starting at /home/travis/build/JuliaOpt/JuMP.jl/examples/cluster.jl:82
The text was updated successfully, but these errors were encountered:
SCS v0.6 needs to be tagged. SCS v0.5 was using REQUIRE so it seems the upper bound wasn't set correctly similarly to JuMP v0.19: JuliaRegistries/General#2684
https://travis-ci.org/JuliaOpt/JuMP.jl/jobs/573462747#L351
The text was updated successfully, but these errors were encountered: