Re: [Help-glpk] More conditional variables fun

2009-10-13 Thread Yaron Kretchmer
Michael, I'm sorry, but I didn't understand your explanation below- This is due to my limited LP/MIP understanding- sigh.. But, looking at the examples on http://www.aimms.com/aimms/download/manuals/AIMMS3OM_IntegerProgrammingTricks.pdfand doing some math led me to the following formulation:

Re: [Help-glpk] More conditional variables fun

2009-10-13 Thread Andrew Makhorin
Now I #39;d like to be able to model conditional non-binary variables. Does anybody know how to formulate this in mathprog? --Begin Description --- *) a,b are binary *) c,d,e is continuous. *) I #39;d like c to be     - 0 if a=b=0     - d if a=0,b=1     - e if