CVXPY
Minimize
  Sum(x + [1. 2.][0:2], None, False)
Subject To
Bounds
 0.0 <= x
End
----------------------------------------
AFTER COMPILATION
Minimize
  C0 + C1
Subject To
Bounds
End
----------------------------------------
GUROBI
Minimize
  x[0] + x[1] + 3 Constant
Subject To
Bounds
 Constant = 1
End