CVXPY
Minimize
  power(x + -y, 2.0) + x + y
Subject To
 41: y == 0.0
Bounds
 x free
 y free
End
----------------------------------------
AFTER COMPILATION
Minimize
  C1 + C2 + [ 2 C0 ^2 ] / 2 
Subject To
 R0: - C0 + C1 - C2 = 0
 R1: C2 = 0
Bounds
 C0 free
 C1 free
 C2 free
End
----------------------------------------
GUROBI
Minimize
  x + y + [ 2 x ^2 - 4 x * y + 2 y ^2 ] / 2 
Subject To
 41: y = 0
Bounds
 x free
 y free
End