-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
Submodule: BridgesAbout the Bridges submoduleAbout the Bridges submodule
Description
Found as part of #2695. But it does't need to hold that up merging.
The last MOI.is_valid
should return false
:
julia> import MathOptInterface as MOI
julia> include("test/Bridges/sdpa_models.jl")
julia> model = MOI.instantiate(StandardSDPAModel{Float64}; with_bridge_type = Float64);
julia> x = MOI.add_variables(model, 2);
julia> c = MOI.add_constraint(model, MOI.VectorOfVariables(x), MOI.Nonpositives(2));
julia> MOI.is_valid(model, c)
true
julia> MOI.is_valid(model, typeof(c)(c.value + 1))
true
Metadata
Metadata
Assignees
Labels
Submodule: BridgesAbout the Bridges submoduleAbout the Bridges submodule