From 37a08f617ede2ce8562ada8b696d6666b153d039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 23 Nov 2017 19:41:35 +0100 Subject: [PATCH] Add support for VOV in RootDetCone --- src/detbridge.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detbridge.jl b/src/detbridge.jl index 45218fa..be59dbb 100644 --- a/src/detbridge.jl +++ b/src/detbridge.jl @@ -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)