Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
BinaryProvider = "0.5.9"
CEnum = "0.3, 0.4"
Cbc_jll = "=2.10.5, ~200.1000.500"
MathOptInterface = "0.9.7"
MathOptInterface = "0.10"
julia = "1"

[extras]
Expand Down
14 changes: 8 additions & 6 deletions src/Cbc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ end

# TODO(odow): remove at Cbc.jl v1.0.0.
function CbcSolver(args...; kwargs...)
error("""
`CbcSolver` is no longer supported. If you are using JuMP, upgrade to the
latest version and use `Cbc.Optimizer` instead. If you are using
MathProgBase (e.g., via `lingprog`), you will need to upgrade to
MathOptInterface (https://github.com/jump-dev/MathOptInterface.jl).
""")
return error(
"""
`CbcSolver` is no longer supported. If you are using JuMP, upgrade to the
latest version and use `Cbc.Optimizer` instead. If you are using
MathProgBase (e.g., via `lingprog`), you will need to upgrade to
MathOptInterface (https://github.com/jump-dev/MathOptInterface.jl).
""",
)
end
export CbcSolver

Expand Down
Loading