Forum Discussion
FICO
8 years agoCommunity Manager
Bug report: problem.loadproblem not correct
Hi, In Python, I want to give an MIQP to Xpress directly [i.e. in matrix form], as it saves me the time to construct the model. To do so, I am using the problem.loadproblem functionality explained i...
FICO
8 years agoCommunity Manager
Hi Richard,
it seems to be a bug of loadproblem(): for some reason it expects either integer/binary variables AND special-ordered sets (SOS) or it doesn't read any. To overcome this temporary bug (to be fixed asap) I suggest using, before solve(),
p.chgcoltype([0,1], ['I', 'B'])
Thanks,
Pietro
Related Content
Related Content
Audit log report didn't log details for specific dates for HK when audit report was generated.
HK users reported that some logs that are related to user account creation done on 29Nov is not reflected on audit log when generated report on 30Nov24 and no server activities/ refresh has been done...0Views0likes1CommentWhat is the correct syntax of the function branchobj.addrows?
I am implementing a branch-and-bound algorithm in Python using the Xpress package. In this algorithm, I create multiple child nodes with different added constraints. I use the addcbchgbranchobject c...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3CommentsBug report: addVariable() has quadratic time complexity on QCQP's
Hi, I'm using the Python API of Xpress and I noticed that addVariable() has quadratic time complexity when the problem is a QCQP. This code here demonstrates the issue: import timeit def create_...5 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3Comments