Skip to content

Commit

Permalink
Update to MOI v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Aug 23, 2019
1 parent 4ef4c10 commit c1b730c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
ForwardDiff = "~0.5.0, ~0.6, ~0.7, ~0.8, ~0.9, ~0.10"
MathOptInterface = "~0.9"
MathOptInterface = "~0.9.1"
NaNMath = "≥ 0.2.1"
OffsetArrays = "≥ 0.2.13"
julia = "1"
Expand Down
4 changes: 0 additions & 4 deletions src/nlp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# TODO remove once we require MOI v0.9.1, see https://github.com/JuliaOpt/MathOptInterface.jl/issues/844
MOIU.map_indices(::Function, block::MOI.NLPBlockData) = block
MOIU.substitute_variables(::Function, block::MOI.NLPBlockData) = block

mutable struct _NonlinearExprData
nd::Vector{NodeData}
const_values::Vector{Float64}
Expand Down

0 comments on commit c1b730c

Please sign in to comment.