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?


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.