Unit test for maximising an offset sum.
Bugfix for max/minimising an offset expression in MIP solvers.