Is it possible to use addGenConstrMax() with expressions (containing variables) instead of just variables?
In particular, I'm looking to model W = Max(1-Xi), which of course can be modelled using (1 - W) in the formulation but I'm trying to avoid rewriting the code.
I'm using Gurobi 7.0.2.
Thanks!