You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the re-format functionality needs to be cleaned up and updated.
The library itself handles binary variables; however ReformatLP doesn't (yet).
In the mean time, would this hacky solution work?:
Does this package handle binary variables?
I tried this in the Tableau format, but I'm not getting the expected result.
rawModel = [ "max: 21 x11 22.5 x21 22.5 x12 24.5 x22 23 x13 25.5 x23 1500 y1 2000 y2 3000 y3", "1 x11 1 x21 <= 425", "1 x12 1 x22 >= 400", "1 x13 1 x23 >= 750", "1 x11 1 x12 1 x13 >= 550", "1 x21 1 x22 1 x23 >= 450", "1 x11 1 x21 -425 y1 <= 0", "1 x12 1 x22 -400 y2 <= 0", "1 x13 1 x23 -750 y3 <= 0", "1 x11 >= 0", "1 x12 >= 0", "1 x13 >= 0", "1 x21 >= 0", "1 x22 >= 0", "1 x23 >= 0", "y1 = {0,1}", "y2 = {0,1}", "y3 = {0,1}", "int x11", "int x21", "int x12", "int x22", "int x13", "int x23", ];
Thank you for your help.
The text was updated successfully, but these errors were encountered: