File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
module ModelAnalyzer
7
7
8
+ import MathOptInterface as MOI
9
+
8
10
abstract type AbstractIssue end
9
11
10
12
abstract type AbstractData end
Original file line number Diff line number Diff line change 1
- using JuMP
1
+ import JuMP
2
2
3
3
# struct JuMPData{T<:AbstractData} <: ModelAnalyzer.AbstractData
4
4
# data::T
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ julia> ModelAnalyzer.summarize(ModelAnalyzer.Numerical.VariableBoundAsConstraint
94
94
struct VariableBoundAsConstraint <: AbstractNumericalIssue
95
95
ref:: MOI.ConstraintIndex
96
96
end
97
- ModelAnalyzer. constraint (issue:: EmptyConstraint , model) = issue. ref
97
+ ModelAnalyzer. constraint (issue:: VariableBoundAsConstraint , model) = issue. ref
98
98
99
99
"""
100
100
DenseConstraint <: AbstractNumericalIssue
@@ -2277,7 +2277,7 @@ function ModelAnalyzer._verbose_summarize(
2277
2277
issue:: NonconvexQuadraticObjective ,
2278
2278
name_source,
2279
2279
)
2280
- return ModelAnalyzer. _summarize (io, issue)
2280
+ return ModelAnalyzer. _summarize (io, issue, name_source )
2281
2281
end
2282
2282
2283
2283
function ModelAnalyzer. _verbose_summarize (
You can’t perform that action at this time.
0 commit comments