Originally posted by: SystemAdmin
If s_i is the sum of row i, you want to introduce a new decision variable z (the maximum difference) and minimize z subject to the constraints s_i - s_j <= z for all i != j. (Note that each (i,j) pair will occur in two constraints, such as s_3 - s_7 <= z and s_7 - s_3 <= z.)
Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#CPLEXOptimizers#DecisionOptimization