We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The dual values are infinite for infinity certificates which prevents distinguishing from a ray (1, 2) or a ray (2, 1) for instance since they would both be (Inf, Inf) IIUC. This makes tests linear12: https://github.com/JuliaOpt/MathOptInterface.jl/blob/cbc37a5b8f1f20371598cc84f617a4a461f9877a/src/Test/contlinear.jl#L1452-L1507 and rotatedsoc2: https://github.com/JuliaOpt/MathOptInterface.jl/blob/cbc37a5b8f1f20371598cc84f617a4a461f9877a/src/Test/contconic.jl#L674-L750 fail. To reproduce the failue:
linear12
rotatedsoc2
import CDCS; optimizer = CDCS.Optimizer(verbose=0, maxIter=4000); using MathOptInterface const MOI = MathOptInterface const MOIU = MOI.Utilities MOIU.@model(ModelData, (), (), (MOI.Zeros, MOI.Nonnegatives, MOI.SecondOrderCone, MOI.RotatedSecondOrderCone, MOI.PositiveSemidefiniteConeTriangle), (), (), (), (MOI.VectorOfVariables,), (MOI.VectorAffineFunction,)); const cached = MOIU.CachingOptimizer(ModelData{Float64}(), optimizer); const bridged = MOI.Bridges.full_bridge_optimizer(cached, Float64); config = MOI.Test.TestConfig(atol=3e-2, rtol=3e-2) MOI.Test.linear12test(bridged, config) # output Test Failed at /home/blegat/.julia/dev/MathOptInterface/src/Test/contlinear.jl:1499 Expression: ≈(-3 * cd1 + cd2, -bndyd, atol=atol, rtol=rtol) Evaluated: NaN ≈ -Inf (atol=0.03, rtol=0.03) ERROR: There was an error during testing MOI.Test.rotatedsoc2test(bridged, config) # output Test Failed at /home/blegat/.julia/dev/MathOptInterface/src/Test/contconic.jl:745 Expression: ≈(vardual, -y, atol=atol, rtol=rtol) Evaluated: [NaN, Inf, -Inf] ≈ [Inf, Inf, -Inf] (atol=0.03, rtol=0.03) ERROR: There was an error during testing
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The dual values are infinite for infinity certificates which prevents distinguishing from a ray (1, 2) or a ray (2, 1) for instance since they would both be (Inf, Inf) IIUC.
This makes tests
linear12
:https://github.com/JuliaOpt/MathOptInterface.jl/blob/cbc37a5b8f1f20371598cc84f617a4a461f9877a/src/Test/contlinear.jl#L1452-L1507
and
rotatedsoc2
:https://github.com/JuliaOpt/MathOptInterface.jl/blob/cbc37a5b8f1f20371598cc84f617a4a461f9877a/src/Test/contconic.jl#L674-L750
fail. To reproduce the failue:
The text was updated successfully, but these errors were encountered: