Forum Discussion
FICO
2 years agoCommunity Manager
Best way to specify lower bound in xprsmip when only some variables need lower bound
I am using xprsmip with a combination of continuous and binary variables. The continuous variables need a lower bound of 0. If all variables were binary, I could set lb = [], but that is not the cas...
FICO
2 years agoCommunity Manager
Thanks,
I have no desire to set -Inf as a lower bound on binary variables. I was wondering whether -Inf might be interpreted the same as no lower bound provided, and therefore eliminate the redundancy of zero as a lower bound on the binary variables.
Related Content
Related Content
Variable names in callback (Java API)
I construct a cut in a preintsol callback using variables from the model containing the callback. When constructing the model, I give the variables names (using withName(...)) and store them in a vec...10 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread18Views0likes4CommentsVariable object mapping issue in Python Callbacks with Presolve enabled
Hi, I am implementing a Branch-and-Cut algorithm using the Xpress Python interface. I have structured my code as a class where I create variables (using xp.var) and store them in a dictionary attrib...9 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum6 unread comments6 unread38Views0likes6Commentsxpress variable type
Hi, I set vartype=xp.binary when I create the xpress variables, but some of the results have values such as 0.13333, 0.36667, 0.5. I found that this was caused by one of the constraints. When I disa...6 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread6Views0likes1Comment