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 55
66module ModelAnalyzer
77
8+ import MathOptInterface as MOI
9+
810abstract type AbstractIssue end
911
1012abstract type AbstractData end
Original file line number Diff line number Diff line change 1- using JuMP
1+ import JuMP
22
33# struct JuMPData{T<:AbstractData} <: ModelAnalyzer.AbstractData
44# data::T
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ julia> ModelAnalyzer.summarize(ModelAnalyzer.Numerical.VariableBoundAsConstraint
9494struct VariableBoundAsConstraint <: AbstractNumericalIssue
9595 ref:: MOI.ConstraintIndex
9696end
97- ModelAnalyzer. constraint (issue:: EmptyConstraint , model) = issue. ref
97+ ModelAnalyzer. constraint (issue:: VariableBoundAsConstraint , model) = issue. ref
9898
9999"""
100100 DenseConstraint <: AbstractNumericalIssue
@@ -2277,7 +2277,7 @@ function ModelAnalyzer._verbose_summarize(
22772277 issue:: NonconvexQuadraticObjective ,
22782278 name_source,
22792279)
2280- return ModelAnalyzer. _summarize (io, issue)
2280+ return ModelAnalyzer. _summarize (io, issue, name_source )
22812281end
22822282
22832283function ModelAnalyzer. _verbose_summarize (
You can’t perform that action at this time.
0 commit comments