CVXPY
Maximize
  Sum(X @ [[2.00 1.00]
 [-2.00 -4.00]], None, False)
Subject To
 14: Pnorm(X, 2) <= 6.0
Bounds
 X free
End
----------------------------------------
AFTER COMPILATION
Minimize
  - 2 x_0 + 2 x_1 - x_2 + 4 x_3
Subject To
 R0: x_4 <= 6
 R1: - x_4 + soc_t_1 = 0
 R2: - x_0 + soc_x_2 = 0
 R3: - x_1 + soc_x_3 = 0
 R4: - x_2 + soc_x_4 = 0
 R5: - x_3 + soc_x_5 = 0
 qc0: [ - soc_t_1 ^2 + soc_x_2 ^2 + soc_x_3 ^2 + soc_x_4 ^2 + soc_x_5 ^2 ]
   <= 0
Bounds
 x_0 free
 x_1 free
 x_2 free
 x_3 free
 x_4 free
 soc_x_2 free
 soc_x_3 free
 soc_x_4 free
 soc_x_5 free
End
----------------------------------------
GUROBI
Maximize
  2 X[0,0] + X[0,1] - 2 X[1,0] - 4 X[1,1]
Subject To
 14: norm2_1 <= 6
Bounds
 X[0,0] free
 X[0,1] free
 X[1,0] free
 X[1,1] free
General Constraints
 GC0: norm2_1 = NORM ( 2 ) ( X[0,0] , X[0,1] , X[1,0] , X[1,1] )
End