Hello, I'm using glpk-java. I need to model a max() function similar to Excel. max(3, 5, 7, 1) = 7
e.g.: a,b,c,d,e,f,g,h and i are binary variables m is an integer variable [0..+infinity[ m <= max(a, b + c + d, e + f, g+ h + i) Any suggestion? -- Patrik Dufresne
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
