CVXPY
Maximize
  x
Subject To
 26: 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
Subject To
 R0: - x + reshape_1[0] = 1
 26: reshape_1[0] <= 1
Bounds
 x free
 reshape_1[0] free
End