Skip to content

Commit 5ecd302

Browse files
committed
simplify api
1 parent 4fc7565 commit 5ecd302

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/ModelAnalyzer.jl

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ Return the value associated to a particular issue. The value is a number
143143
with a different meaning depending on the type of issue. For example, for
144144
some numerical issues, it can be the coefficient value.
145145
"""
146-
function value(issue::AbstractIssue, ::Nothing)
147-
return value(issue)
148-
end
149-
150146
function value(issue::AbstractIssue, ::MOI.ModelLike)
151147
return value(issue)
152148
end
@@ -156,10 +152,6 @@ end
156152
157153
Return the values associated to a particular issue.
158154
"""
159-
function values(issue::AbstractIssue, ::Nothing)
160-
return values(issue)
161-
end
162-
163155
function values(issue::AbstractIssue, ::MOI.ModelLike)
164156
return values(issue)
165157
end
@@ -169,10 +161,6 @@ end
169161
170162
Return the variable associated to a particular issue.
171163
"""
172-
function variable(issue::AbstractIssue, ::Nothing)
173-
return variable(issue)
174-
end
175-
176164
function variable(issue::AbstractIssue, ::MOI.ModelLike)
177165
return variable(issue)
178166
end
@@ -182,10 +170,6 @@ end
182170
183171
Return the variables associated to a particular issue.
184172
"""
185-
function variables(issue::AbstractIssue, ::Nothing)
186-
return variables(issue)
187-
end
188-
189173
function variables(issue::AbstractIssue, ::MOI.ModelLike)
190174
return variables(issue)
191175
end
@@ -195,10 +179,6 @@ end
195179
196180
Return the constraint associated to a particular issue.
197181
"""
198-
function constraint(issue::AbstractIssue, ::Nothing)
199-
return constraint(issue)
200-
end
201-
202182
function constraint(issue::AbstractIssue, ::MOI.ModelLike)
203183
return constraint(issue)
204184
end
@@ -208,10 +188,6 @@ end
208188
209189
Return the constraints associated to a particular issue.
210190
"""
211-
function constraints(issue::AbstractIssue, ::Nothing)
212-
return constraints(issue)
213-
end
214-
215191
function constraints(issue::AbstractIssue, ::MOI.ModelLike)
216192
return constraints(issue)
217193
end
@@ -221,10 +197,6 @@ end
221197
222198
Return the set associated to a particular issue.
223199
"""
224-
function set(issue::AbstractIssue, ::Nothing)
225-
return set(issue)
226-
end
227-
228200
function set(issue::AbstractIssue, ::MOI.ModelLike)
229201
return set(issue)
230202
end

0 commit comments

Comments
 (0)