CVXPY
Maximize
  x
Subject To
 31: reshape(x + 1.0, (1,), F) <= [1.]
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
 31[0]: reshape_1[0] <= 1
Bounds
 x free
 reshape_1[0] free
End