Skip to content

Bridges fail test_model_LowerBoundAlreadySet test #1431

@odow

Description

@odow
julia> using GLPK

julia> GLPK.MOI.Test.test_model_LowerBoundAlreadySet(
           GLPK.Optimizer(), MOI.Test.Config()
       )

julia> GLPK.MOI.Test.test_model_LowerBoundAlreadySet(
           MOI.Bridges.full_bridge_optimizer(GLPK.Optimizer(), Float64), 
           MOI.Test.Config(),
       )
Test Failed at /Users/oscar/.julia/dev/MathOptInterface/src/Test/test_model.jl:815
  Expression: MOI.add_constraint(model, f, set2)
    Expected: MathOptInterface.LowerBoundAlreadySet{MathOptInterface.Semicontinuous{Float64}, MathOptInterface.GreaterThan{Float64}}(MathOptInterface.VariableIndex(1))
  No exception thrown
ERROR: There was an error during testing

Same happens with test_model_UpperBoundAlreadySet, but I assume it's the same problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions