Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
Add support for VOV in RootDetCone
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 23, 2017
1 parent 208a10c commit 37a08f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/detbridge.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ struct RootDetBridge{T} <: AbstractBridge
sdref::CR{MOI.VectorAffineFunction{T}, MOI.PositiveSemidefiniteConeTriangle}
gmref::CR{MOI.VectorAffineFunction{T}, MOI.GeometricMeanCone}
end
function RootDetBridge{T}(instance, f::MOI.VectorOfVariables, s::MOI.RootDetConeTriangle) where T
RootDetBridge{T}(instance, MOI.VectorAffineFunction{T}(f), s)
end
function RootDetBridge{T}(instance, f::MOI.VectorAffineFunction{T}, s::MOI.RootDetConeTriangle) where T
d = s.dimension
n = trimap(d, d)
Expand Down

0 comments on commit 37a08f6

Please sign in to comment.