Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

Commit 379b8f0

Browse files
authored
Merge pull request #43 from JuliaOpt/fbot/deps
Fix deprecations
2 parents 5b013f5 + 4bb411d commit 379b8f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CoinOptServices.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ couenne = joinpath(dirname(libOS), "..", "bin", "couenne")
2525
osildir = Pkg.dir("CoinOptServices", ".osil")
2626

2727
export OsilSolver, OsilBonminSolver, OsilCouenneSolver, OSOption
28-
immutable OsilSolver <: AbstractMathProgSolver
28+
struct OsilSolver <: AbstractMathProgSolver
2929
solver::String
3030
osil::String
3131
osol::String
@@ -88,7 +88,7 @@ end
8888
OSOption(optname, optval; kwargs...) =
8989
OSOption(name = optname, value = optval; kwargs...)
9090

91-
type OsilMathProgModel <: AbstractMathProgModel
91+
mutable struct OsilMathProgModel <: AbstractMathProgModel
9292
solver::String
9393
osil::String
9494
osol::String
@@ -129,10 +129,10 @@ type OsilMathProgModel <: AbstractMathProgModel
129129
OsilMathProgModel(solver, osil, osol, osrl, printLevel, options) =
130130
new(solver, osil, osol, osrl, printLevel, options)
131131
end
132-
immutable OsilLinearQuadraticModel <: AbstractLinearQuadraticModel
132+
struct OsilLinearQuadraticModel <: AbstractLinearQuadraticModel
133133
inner::OsilMathProgModel
134134
end
135-
immutable OsilNonlinearModel <: AbstractNonlinearModel
135+
struct OsilNonlinearModel <: AbstractNonlinearModel
136136
inner::OsilMathProgModel
137137
end
138138

0 commit comments

Comments
 (0)