Skip to content

Commit

Permalink
Update to MOI 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 1, 2022
1 parent 118615d commit e4427a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- name: MOI#bl/throw_unsupported_uf
shell: julia --project=@. {0}
run: |
using Pkg
Pkg.add(PackageSpec(name="MathOptInterface", rev="bl/throw_unsupported_uf"))
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"

[compat]
Clp_jll = "=1.17.6, ~100.1700.600"
MathOptInterface = "1.0.1"
MathOptInterface = "1.1"
julia = "1.6"

[extras]
Expand Down
3 changes: 2 additions & 1 deletion test/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function test_runtests()
MOI.Utilities.UniversalFallback(MOI.Utilities.Model{Float64}()),
MOI.instantiate(Clp.Optimizer; with_bridge_type = Float64),
)
@test model.optimizer.model.model_cache isa MOI.Utilities.UniversalFallback{Clp.OptimizerCache}
@test model.optimizer.model.model_cache isa
MOI.Utilities.UniversalFallback{Clp.OptimizerCache}
# `Variable.ZerosBridge` makes dual needed by some tests fail.
MOI.Bridges.remove_bridge(
model.optimizer,
Expand Down

0 comments on commit e4427a8

Please sign in to comment.