CVXPY
Maximize
  x
Subject To
 11: reshape(x + 1.0, (), F) <= 1.0
Bounds
 x free
End
----------------------------------------
AFTER COMPILATION
Minimize
  - C0
Subject To
 R0: C0 <= 0
Bounds
 C0 free
End
----------------------------------------
GUROBI
Maximize
  x[0]
Subject To
 R0: - x[0] + reshape_1[0] = 1
 11: reshape_1[0] <= 1
Bounds
 x[0] free
 reshape_1[0] free
End