Forum Discussion
FICO
8 months agoCommunity Manager
A specific separation procedure, $(l,S)$ Inequalities, to solve the lot-sizing problem
Dear support team, I have tried to use a specific separation procedure, $(l, S)$ Inequalities, to solve the lot-sizing problem proposed in the references, like Algorithm and formulations for lot siz...
FICO
8 months agoCommunity Manager
Dear Abbas,
Thank you very much for contacting our community. Let me answer your questions in the same order:
- We could not find the second inequality in the paper of Laurence Wolsey. Most likely, it is either an aggregation of constraints in the original ULS formulation, so not a cut, or it is equivalent to to the (l,S) cut, in the sense that flow conservation equations can be added to obtain the one or the other.
- The mentioned Mosel code does indeed generate violated (l,S) inequalities. The produce variables are the $x$ variables and the setup variables are the $y$ variables in your expression. The if statement is responsible for defining the subset $S$ and its complement $L \backslash S$. That is, the summation in the Mosel expression represents the two summations in the (l,S) inequality.
- For an example of how to generate and add cuts in a callback using python, my colleagues Bruno Vieira and Susanne Heipke managed to translate the same Mosel model into similar python code, which I am attaching here (els.py). Notice that for this exemplary small problem instance, the Python callback overhead may offset the node reduction benefit from the cuts, so you may not see meaningful speedup until you scale to larger instances where node count dominates solve time.
Best regards,
Christian Raack
Related Content
Related Content
Mapping methods between XPRBctr and new class Inequality
I'm porting a Java application to c++ (I'm using latest Xpress Version). From guide I understood that XPRBctr old BCL class has been mapped to Inequality, but I cannot find some methods (i.e. addTerm...1 year agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentContainer separation
Hi, I have a problem that I cannot solve for about a week. I have defined a set of Containers =[1,2,3,4,5,6] where bins have to be loaded. Bins come from differen suppliers = [L1,L2,L3], are loaded ...10 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2CommentsProcedure error, why?
Why does this result in an error message (Syntax Error before ")")? procedure sInitialise() declarations end-declarations initializations from "mmsheet.excel:Dataset.xlsx" mFracRet as "noin...8 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment