We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99eaebf commit 02e3143Copy full SHA for 02e3143
src/dcp.jl
@@ -15,6 +15,8 @@
15
# http://web.stanford.edu/~boyd/papers/disc_cvx_prog.html
16
#############################################################################
17
18
+# This is a subtype of MOI.UnsupportedError so that non-DCP
19
+# errors trigger the correct paths in MOI.Test for Convex.Optimizer.
20
struct DCPViolationError <: MOI.UnsupportedError end
21
22
function Base.showerror(io::IO, ::DCPViolationError)
0 commit comments