CVXPY
Maximize
  x
Subject To
 6: reshape(x, (), F) <= 1.0
Bounds
 x free
End
----------------------------------------
AFTER COMPILATION
Minimize
  - C0
Subject To
 R0: C0 <= 1
Bounds
 C0 free
End
----------------------------------------
GUROBI
Maximize
  x
Subject To
 6: x <= 1
Bounds
 x free
End