I want to do the following:
max: greatest(a1+b1+c1, a2+b2+c2, a3+b3+c3);
... constraints involving a1,a2,a3,b1,b2,b3,c1,c2,c3...
Since there is no greatest() function, I restructured it like this:
max: greatest_val;
greatest_val >= a1+b1+c1;
greatest_val >= a2+b2+c2;
greatest_val >= a3+b3+c3;
... constraints involving a1,a2,a3,b1,b2,b3,c1,c2,c3...
But this leads to a boundless problem as greatest_val can go to infinity.
How do I structure this problem so that it has upper and lower bounds??
Thanks in advance.
I dont understand what you asked.
I am a programer trying to solve the above problem using lp_solve (gplk). But when I run the above problem, I get this error:
– Antony Paul May 06 '15 at 10:15This problem is unboundedThis is the original problem: http://math.stackexchange.com/questions/1248146/which-optimization-class-does-the-following-problem-falls-into-lp-mip-cp-a
I have been able to tackle several of the issues. But I am stuck at maximizing the maximum which is an integral part of the problem.
Perhaps the problem (given in the link) is not an LP ?
– Antony Paul May 06 '15 at 10:33