Skip to content

Commit e13cbca

Browse files
Merge branch 'SciML:master' into daenew
2 parents 5e359d1 + 02c3d9f commit e13cbca

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

lib/OptimizationMOI/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OptimizationMOI"
22
uuid = "fd9f6733-72f4-499f-8506-86b2bdd0dea1"
33
authors = ["Vaibhav Dixit <[email protected]> and contributors"]
4-
version = "0.5.4"
4+
version = "0.5.5"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

lib/OptimizationMOI/src/OptimizationMOI.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ using LinearAlgebra
1515

1616
const MOI = MathOptInterface
1717

18-
const DenseOrSparse{T} = Union{Matrix{T}, SparseMatrixCSC{T}}
19-
2018
function SciMLBase.requiresgradient(opt::Union{
2119
MOI.AbstractOptimizer, MOI.OptimizerWithAttributes})
2220
true

lib/OptimizationMOI/src/nlp.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
mutable struct MOIOptimizationNLPEvaluator{T, F <: OptimizationFunction, RC, LB, UB,
2-
I,
3-
JT <: DenseOrSparse{T}, HT <: DenseOrSparse{T},
4-
CHT <: DenseOrSparse{T}, S, CB} <:
2+
I, JT <: AbstractMatrix{T}, HT <: AbstractMatrix{T}, CHT <: AbstractMatrix{T}, S, CB} <:
53
MOI.AbstractNLPEvaluator
64
f::F
75
reinit_cache::RC

0 commit comments

Comments
 (0)