Forum Discussion
FICO
5 years agoCommunity Manager
Bug 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_...
FICO
5 years agoCommunity Manager
Thanks for the reply!
Manually aggregating variables and constraints is very cumbersome, if the problem is complicated and distributed over dozens of source files (which it is in my case). Great if the addVariable function can be fixed to have constant-time overhead, so that aggregation is not that critical.
For the time being I will wrap the Xpress problem class and do the aggregation in the wrapper, so that I don't have to change all my existing code.
Related Content
Related Content
Quadratic Optimization
Hello! I have the following problem: I want to minimize a least square problem with restrictions using quadratic module from xpress MP. The model has the following form: F:=sum(i in 1..N) (y(i)-...14 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentMixed-Integer Quadratically-Constrained Programming (MIQCP)
Hello, I would like to solve a MIQCP problem in Xpress Python Interface, but I cannot find the online document prescribing the noticeble points need to be pay attention prior to solving such type of...7 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4CommentsIs it possible to disable the implicit factor of 0.5 in the optimization objectives quadratic part?
Through trial and error, I figured out, that the XPress optimizer is using an implicit factor of 0.5 in the quadratic part of the optimization objective (which doesn't show up in the mps dumps btw.) ...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4Comments