Skip to content

Commit

Permalink
Update src/dcp.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Dec 4, 2024
1 parent 99eaebf commit 02e3143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dcp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# http://web.stanford.edu/~boyd/papers/disc_cvx_prog.html
#############################################################################

# This is a subtype of MOI.UnsupportedError so that non-DCP
# errors trigger the correct paths in MOI.Test for Convex.Optimizer.
struct DCPViolationError <: MOI.UnsupportedError end

function Base.showerror(io::IO, ::DCPViolationError)
Expand Down

0 comments on commit 02e3143

Please sign in to comment.