I'm using LPSolve to solve a linear problem, however I'm having problems expressing myself on the constraints. I want to write on my constraints that a variable t3 is one of three values. so I did something like this:
min t3;
t3 >= 2+t1;
t3 >= 2+t4;
t3 >= 2+t8;
(This is just an example not the actual thing of course otherwise t4, t1 and t8 where not doing anything). However the final value of t3 is the highest and not the lowest... What could I be doing wrong, I think this makes sense. Of course it doesn't work if I try to maximize t3 as there isn't an upper bound but that's not really the issue here I think.