+ Reply to Thread
Results 1 to 5 of 5

Loading optimization for warehouse

  1. #1
    Registered User
    Join Date
    05-24-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    2

    Loading optimization for warehouse

    Hello All,

    I have a question to see if this is possible in excel and some direction. I'm not asking for my problem to be solved more so just if this actually possible in excel.
    Also, if you guys have any good ideas on other programs that can do this please suggest.

    I have datasets that I want to implement the following business rules.

    The topic is warehouse pallet optimization for logistics.
    There are a few business rules to abide by:
    1. Trucks can hold a max of 45,000 LBS and 30 Pallets.
    Optimally they will be 38,000-42,000 LBS and 26-28 pallets.


    2. Each DC(Distribution Center) sends multiple POs(Purchase Orders):
    Each PO can be one or multiple items
    Each PO can be one of two types.


    3. More specifics about pallets:
    Goal weight is for them to average around 1,500 each.
    Each pallet can only contain one type of PO.
    Certain items cannot be mixed such as chemicals and food.
    Certain items can only be stacked with themself such as rice or fig bars
    Certain items cannot be stacked on top of food such as fish.
    Max height of a pallet is around 100 inches.
    Last edited by spatnala; 05-25-2017 at 08:43 AM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Loading optimization for warehouse

    Short but useless answer -- yes it is possible to build a spreadsheet to solve this "knapsack" problem. Perhaps the place to start is here (by the providers of Excel's built in Solver utility): http://www.solver.com/optimization-s...stics-examples Download the example file, then click through to the discussion of the knapsack problem.

    After that, you can easily put "knapsack problem" or "knapsack problem excel" into your favorite search engine and find all kinds of discussions around this common and long studied optimization problem. From there, it would be about how to program your specific requirements into a spreadsheet and incorporate them into the optimization algorithm.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Loading optimization for warehouse

    I would first try to setup a pallet loading model as certain items can't be loaded on top of each other.

    A proroblem of this kind should be possible to solve as a linear problem. The excel solver is not very powerful as the makers of solver have limited the size of problems to be solved by maximising the number of constraits to 100.

    There is a freebie called OpenSolver developed by the University of Auckland, integrates nicely with excel and has no constraints limits you could use if the excel solver is not powerful enough.

    As a number of forum member do not have English as their mother tongue (myself included) I would try not to use acronyms as DC and PO as their meaning is not always obvious.

    Alf

  4. #4
    Registered User
    Join Date
    05-24-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    2

    Re: Loading optimization for warehouse

    Thank you both for the feedback, helped a lot.
    I will edit my post so it does not use any acronyms.

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Loading optimization for warehouse

    Some time ago I build a model for container loading. This is not exactly what you asked for as it stacks pallets to a maximum weight but perhaps it will give you an idea how solver could be used.

    First of all you must have the solver add-in installed in excel. Check under the data tab and you if you don't see the solver icon you need to install it

    As this solver setup is run by starting the macro "Solver_container" you first of all need to set a reference to solver in VBA.

    Click on the "Developer" tab -> Click "Visual Basic" icon -> Click "Tools" -> Click "References"

    Find and tick box marked "Solver" then click "OK". now you are ready to run macro.

    After some seconds the "Show trial solution" windows pops up with the text "The maximum time limit was reached, continue anyway?"

    Click "Stop", and solver start another run. After having clicked "Stop" 4 times solver finds the final solution.

    Alf
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Warehouse sold items
    By Impulz in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-14-2016, 01:47 PM
  2. Warehouse Inventory Help
    By ManKorn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2014, 05:25 PM
  3. Warehouse Inventory formula help.
    By excel_soldier in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-10-2013, 09:21 AM
  4. Warehouse organization
    By jj3rd77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2013, 01:02 PM
  5. Warehouse Optimization
    By Matt Lee in forum Excel General
    Replies: 8
    Last Post: 12-29-2010, 05:14 PM
  6. Warehouse Inventory
    By skumar0807 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2010, 04:37 AM
  7. Warehouse management VBA
    By rushdie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2009, 09:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1