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

Tests fail on 1.4 due to changes in printing #1000

Closed
KristofferC opened this issue Jan 10, 2020 · 0 comments · Fixed by #1010
Closed

Tests fail on 1.4 due to changes in printing #1000

KristofferC opened this issue Jan 10, 2020 · 0 comments · Fixed by #1010
Milestone

Comments

@KristofferC
Copy link
Contributor

It seems the test fails on 1.4 due to how something is printed:

Testing /home/pkgeval/.julia/packages/MathOptInterface/C1XBe/test/Bridges/Variable/vectorize.jl
MultirowChange: Test Failed at /home/pkgeval/.julia/packages/MathOptInterface/C1XBe/test/Bridges/Variable/vectorize.jl:121
  Expression: MOI.modify(bridged_mock, cis[1], change)
    Expected: MathOptInterface.ModifyConstraintNotAllowed{MathOptInterface.VectorAffineFunction{Float64},MathOptInterface.ExponentialCone,MathOptInterface.MultirowChange{Float64}}(MathOptInterface.ConstraintIndex{MathOptInterface.VectorAffineFunction{Float64},MathOptInterface.ExponentialCone}(12345677), MathOptInterface.MultirowChange{Float64}(MathOptInterface.VariableIndex(-1), [(3, 0.0)]), "The change MathOptInterface.MultirowChange{Float64}(MathOptInterface.VariableIndex(-1), Tuple{Int64,Float64}[(3, 0.0)]) contains variables bridged into a function with nonzero constant.")
      Thrown: MathOptInterface.ModifyConstraintNotAllowed{MathOptInterface.VectorAffineFunction{Float64},MathOptInterface.ExponentialCone,MathOptInterface.MultirowChange{Float64}}(MathOptInterface.ConstraintIndex{MathOptInterface.VectorAffineFunction{Float64},MathOptInterface.ExponentialCone}(12345677), MathOptInterface.MultirowChange{Float64}(MathOptInterface.VariableIndex(-1), [(3, 0.0)]), "The change MathOptInterface.MultirowChange{Float64}(MathOptInterface.VariableIndex(-1), [(3, 0.0)]) contains variables bridged into a function with nonzero constant.")
Stacktrace:
 [1] top-level scope at /home/pkgeval/.julia/packages/MathOptInterface/C1XBe/test/Bridges/Variable/vectorize.jl:121
 [2] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
 [3] top-level scope at /home/pkgeval/.julia/packages/MathOptInterface/C1XBe/test/Bridges/Variable/vectorize.jl:117
 [4] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
 [5] top-level scope at /home/pkgeval/.julia/packages/MathOptInterface/C1XBe/test/Bridges/Variable/vectorize.jl:61
@blegat blegat added this to the v0.9.10 milestone Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants