-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Submodule: BridgesAbout the Bridges submoduleAbout the Bridges submodule
Description
Found during jump-dev/SCS.jl#219
optimizer = SCS.Optimizer()
MOI.set(optimizer, MOI.Silent(), true)
model = MOI.Bridges.full_bridge_optimizer(
MOI.Utilities.CachingOptimizer(
MOI.Utilities.UniversalFallback(MOI.Utilities.Model{Float64}()),
optimizer,
),
Float64,
)
julia> MOI.Test.test_basic_VectorAffineFunction_LogDetConeTriangle(model, config)
Error During Test at /Users/oscar/.julia/dev/MathOptInterface/src/Test/test_basic_constraint.jl:168
Test threw exception
Expression: MOI.get(model, MOI.ConstraintFunction(), c) ≈ constraint_function
ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.LogDetBridge{Float64}` does not support accessing the attribute `MathOptInterface.ConstraintFunction()`. If you encountered this error unexpectedly, it probably means your model has been reformulated using the bridge, and you are attempting to query an attribute that we haven't implemented yet for this bridge. Please open an issue at https://github.com/jump-dev/MathOptInterface.jl/issues/new and provide a reproducible example explaining what you were trying to do.
Stacktrace:
julia> MOI.Test.test_basic_VectorAffineFunction_RootDetConeTriangle(model, config)
Error During Test at /Users/oscar/.julia/dev/MathOptInterface/src/Test/test_basic_constraint.jl:168
Test threw exception
Expression: MOI.get(model, MOI.ConstraintFunction(), c) ≈ constraint_function
ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.RootDetBridge{Float64}` does not support accessing the attribute `MathOptInterface.ConstraintFunction()`. If you encountered this error unexpectedly, it probably means your model has been reformulated using the bridge, and you are attempting to query an attribute that we haven't implemented yet for this bridge. Please open an issue at https://github.com/jump-dev/MathOptInterface.jl/issues/new and provide a reproducible example explaining what you were trying to do.
Stacktrace:
julia> MOI.Test.test_basic_VectorOfVariables_LogDetConeTriangle(model, config)
Error During Test at /Users/oscar/.julia/dev/MathOptInterface/src/Test/test_basic_constraint.jl:168
Test threw exception
Expression: MOI.get(model, MOI.ConstraintFunction(), c) ≈ constraint_function
ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.LogDetBridge{Float64}` does not support accessing the attribute `MathOptInterface.ConstraintFunction()`. If you encountered this error unexpectedly, it probably means your model has been reformulated using the bridge, and you are attempting to query an attribute that we haven't implemented yet for this bridge. Please open an issue at https://github.com/jump-dev/MathOptInterface.jl/issues/new and provide a reproducible example explaining what you were trying to do.
Stacktrace:
julia> MOI.Test.test_basic_VectorOfVariables_RootDetConeTriangle(model, config)
Error During Test at /Users/oscar/.julia/dev/MathOptInterface/src/Test/test_basic_constraint.jl:168
Test threw exception
Expression: MOI.get(model, MOI.ConstraintFunction(), c) ≈ constraint_function
ArgumentError: Bridge of type `MathOptInterface.Bridges.Constraint.RootDetBridge{Float64}` does not support accessing the attribute `MathOptInterface.ConstraintFunction()`. If you encountered this error unexpectedly, it probably means your model has been reformulated using the bridge, and you are attempting to query an attribute that we haven't implemented yet for this bridge. Please open an issue at https://github.com/jump-dev/MathOptInterface.jl/issues/new and provide a reproducible example explaining what you were trying to do.
Stacktrace:
Metadata
Metadata
Assignees
Labels
Submodule: BridgesAbout the Bridges submoduleAbout the Bridges submodule