CVXPY
Maximize
  x + y
Subject To
 16: maximum(x, y, 1.0) <= 3.0
Bounds
 x free
 y free
End
----------------------------------------
AFTER COMPILATION
Minimize
  - C0 - C1
Subject To
 R0: C0 - C2 <= 0
 R1: C1 - C2 <= 0
 R2: - C2 <= -1
 R3: C2 <= 3
Bounds
 C0 free
 C1 free
 C2 free
End
----------------------------------------
GUROBI
Maximize
  x + y
Subject To
 16: maximum_1 <= 3
Bounds
 x free
 y free
 maximum_1 free
General Constraints
 GC0: maximum_1 = MAX ( x , y , 1 )
End