Solving the Lot Sizing Problem in Resolver One (Wagner-Whitin Algorithm)
I was working on a lot sizing problem today and implemented a Wagner-Whitin algorithm in Resolver One. I just want to share it with you here. Some people use a MIP solver to solve lot sizing problems while Wagner and Whitin have devised an algorithm that can be implemented quickly on a spreadsheet and there is no need to use an expensive solver. You can download the spreadsheet from this link.
In the classical lot sizing problem we have the following assumptions:
- We have a single product (with the production quantity in period t
) - Discrete Time (unlike EOQ model)
- Demand is known but varies over time (e.g., we have orders)
- No shortage is allowed
- No capacity constraints
- There is a positive setup cost that might be varying over time
- The unit production cost is constant
- The objective is to minimize the total setup cost and inventory costs
Here is the formulation for the model:
setup cost in period tinventory holding cost per unit remaining at end of period tdemand in period ta large number (will be used in the MIP model)production quantity in period tifand is 0 otherwiseinventory remaining at the end of period t
The MIP model will be:
Wagner and Whitin have solved this problem using the forward dynamic programming. In this spreadsheet we implement the forward dynamic programming for the lot sizing problem. The spreadsheet then suggests the time period than it is optimal to pay for the setup cost, in other time periods it is cheaper to carry an inventory.
Update: Please see this post for an updated version and more information

i need your help Mr, for my Thesis,,cause my Thesis Title also likes your scribd in this blog.how can i call u or always chat with you.i really dont know about my problem. plez,,help me Mr.
this is my title :
Integer Program Model for Resolving Issues Lot Size
Coordinated with deterministic Dynamic Demand
can you give me some books that relation with my title ,,Mr???ples yaaaaaaaa
http://leeds-faculty.colorado.edu/glover/xuinventory.pdf
http://e-optimization.com/resources/uploads/Optimierung.DOC
Hi there:
I am an undergraduate student at SUNY Buffalo. I wanted to open the sample spreadsheet file you have posted, but it is an .RSL file, and I can’t find information about that extension online. Which program can I use to open it?
Thanks!
Alex
Please email me at:
admills@buffalo.edu
Sir, how can i able to access your journals freely. As i am a Ph. D. scholar in Assam University Silchar, India.
Thank you
Please e-mail me at:
mantukls86@gmail.com
hi,
May I know how to open the .RSL file? Which program should I use to open these extensive file? Thanks for sharing this information.
May I suggest as an alternative the SCperf package for R where the WW() function implements the Wagner-Within algorithm (forward and backward methods). Here is the link http://cran.r-project.org/web/packages/SCperf/index.html
Thanks.
Very Nice, posted it on twitter too.