Open jibnew opened 9 months ago
If it works using glpk (the default) or another solver, then I would be suspicious of something in the interface to Gurobi. I wouldn't be surprised at all if the API has changed in the years since it was written. Unfortunately I no longer have access to Gurobi, so it's a bit tricky to debug. I don't think it should be too terrible to fix since it has an internal representation of the LP and when it comes time to solve it just translates it (i.e. it's all in one place as an abstracted problem -- see the section starting on line 712 of lp.cc). I'm happy to help if you want to try figuring it out.
I see that the help text claims that you can write the LP to a file, but the function that it calls to do that just does nothing. ...whoops guess I never got around to that. That would also be useful to have for testing.
I get these errors:
and
Here is the verbose output for the last case: