Forum Discussion
FICO
4 years agoCommunity Manager
Reading problem from .lp file into Julia
I'm reading a problem from .lp into Julia. I've tried various xpress.optimizer params - the problem is infeasible. The reason is b/c the model isn't read exactly as it's defined in the .lp file - som...
FICO
4 years agoCommunity Manager
While Julia developers are aware of the bug in MathOptInterface and seem to be working on it - I've got another temporary workaround.
Julia developer Jose Lara suggested to call xpress api directly and once I’ve figured out how to set the logger – to make sure it solves indeed – the following code works with LP!!!
prob = Xpress.XpressProblem()
Xpress.readprob(prob, probPath, "")
Xpress.setlogfile(prob, "lp.log")
Xpress.lpoptimize(prob, "")
But as Daniel Junglas pointed out there are some limitations: LP reader directly under Xpress api does not support indicator constraints, for example.
Related Content
Related Content
Problem with reading from an Excel file
I tried to read data from an Excel file into Xpress IVE. However, I get the following error message: "Mosel: E-22: I cannot open file `mmsheet.excel:data.xlsx' for reading (Invalid class string )." ...4 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread4Views0likes2CommentsReading CSV files
I'm not quite sure what it is that I'm doing wrong here, but I've been getting "SHEET: Wrong number of columns (req:3 found:2)" whenever I try to load data from a csv/xlsx file. To elaborate upon t...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread6Views0likes2Comments