+ Reply to Thread
Results 1 to 6 of 6

Excel: Logistics cost optimization with constrained destination points?

  1. #1
    Registered User
    Join Date
    09-10-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    2

    Excel: Logistics cost optimization with constrained destination points?

    We are trying to run a model, which will help us minimize the overall logistics cost. We have different type of vehicles available in the fleet, each with a different capacity and different tariff.

    As a result of this solution, we want to reach an outcome, where not only the logistics cost incurred by me is the lowest, but at the same time, I want to ensure that most of number of vehicles used by me are touching two drop points. All drop points available can be assumed to be equidistant for the sake of simplicity. The way we have modeled this problem is not helping because solver is throwing an error that we are trying to solve a NSP (Non Smooth Problem)

    Objective fn: sum(derived_cost,criteria(Combination>0))

    VehicleConfiguration.png
    Optimization.png

    Will be grateful if someone can help.
    Attached Images Attached Images
    Last edited by swapnil_bhrdwj; 09-10-2019 at 11:24 AM.

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

    Re: Excel: Logistics cost optimization with constrained destination points?

    In Excel, these kinds of problems are usually solved using Excel's built in Solver utility. Frontline, the makers of Excel's Solver, have several examples on their page for these kinds of logistics problems. https://www.solver.com/optimization-...stics-examples I would start by studying their examples and then adapt one of them to your specific problem.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    09-10-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    2

    Re: Excel: Logistics cost optimization with constrained destination points?

    We have already taken cues from these set of solutions. We are getting stuck at the point, where we are trying to introduce a restriction that as many vehicles should touch multiple touch points. When we are trying to model it, we are making the entire model a Non-smooth Model.

    In order to understand the number of drop points a vehicle is travelling, I am using sumproduct((C4:H4)<>0*1). The not equal to sign <> is making the model non smooth.

    Also, I can't use functions such as IF, SUMIF, COUNT, COUNTIF, because all of them will make the function non smooth
    Last edited by swapnil_bhrdwj; 09-10-2019 at 11:54 AM. Reason: Making it more lucid and easy to understand

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

    Re: Excel: Logistics cost optimization with constrained destination points?

    I am not very skilled at linear programming problems like this, so I am not sure what specific recommendations to make. Typically when I approach a problem like this, I start with something that works for the unconstrained model (without the need to hit two drop points), then look for ways to incorporate the additional constraint(s) that maintain the necessary smooth, linear nature of the problem. As you correctly note, this usually means avoiding many worksheet functions that tend to be discrete, non-smooth functions. Based only on the screenshots given, without any knowledge of a model that works for the unconstrained scenario, I have no specific recommendations to make. My general recommendation is to reconsider your use of the discrete function and see if there is a different way to incorporate the additional constraint without using a discrete function.

    What Solver algorithm are you using? Some -- like the evolutionary algorithm -- are less bothered by discrete functions. If you have not tried those, it may be worth trying to see if that helps.

  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: Excel: Logistics cost optimization with constrained destination points?

    Perhaps any of these links could be of interest? So instead of distance between points you could use costs instead.

    https://www.excel-easy.com/examples/...h-problem.html

    https://www.youtube.com/watch?v=-E3rSoClgMI

    Alf

  6. #6
    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: Excel: Logistics cost optimization with constrained destination points?

    And finally this link, a freebie that works with Google earth for transport planning.

    https://people.bath.ac.uk/ge277/vrp-spreadsheet-solver/

    you can download the solver file and the manual of the how and the why of the solver model.

    Alf

+ 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. Constrained regression using Excel solver
    By samquerty in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 01-30-2017, 11:05 AM
  2. MRP logistics
    By ppiotrexx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2016, 04:47 PM
  3. Am I Excel-constrained or RAM-constrained
    By OhNo in forum Excel General
    Replies: 10
    Last Post: 02-05-2015, 10:14 PM
  4. Conversion table logistics
    By jondh18 in forum Excel General
    Replies: 2
    Last Post: 01-10-2015, 07:41 PM
  5. Replies: 0
    Last Post: 06-14-2012, 04:42 PM
  6. [SOLVED] Help with some logistics
    By StompS in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 01:10 PM
  7. Cost optimization
    By banpo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2005, 09:15 AM

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