SOC constraint using Gurobi

what is the proper syntax to add second order cone constraints? I am using Gurobi solver with JuMP.

Which part of the JuMP documentation is unclear?

1 Like

Is there any special command for SOC constraints or I can just use @constraint? I am getting an error ERROR: LoadError: /(::Int64,::JuMP.Variable) is not defined. Are you trying to build a nonlinear problem? Make sure you use @NLconstraint/@NLobjective.

http://www.juliaopt.org/JuMP.jl/0.16/refmodel.html#second-order-cone-constraints