+ Reply to Thread
Results 1 to 11 of 11

optimise trips

  1. #1
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    optimise trips

    Hi guys,

    Appreciate some help with the following.

    In this exercise, my objective is to optimise the number of deliveries, based on the various-sized trucks that i have.
    I have the raw data of 'total number of pallets' by row, and i need to know in each row, what is the optimal size and amount of trucks to use for delivery.


    Assume I have the following delivery options:
    -20 pallet truck (20P)
    -10 pallet truck (10P)
    -4 pallet truck (4P)
    -2 pallet truck (2P)
    -1 pallet truck (1P)

    If I need to deliver 5 pallets, I will use a 4P+1P truck.
    If I need to deliver 14 pallets, I will use a 10P+4P truck.
    If I need to deliver 15 pallets, I will use a 20P truck.
    If I need to deliver 25 pallets, I will use 20P+10P truck
    If I need to deliver 35 pallets, I will use 2*20P truck

    For 'total pallets' that are x5 and above (i.e. 15 pallets, 25 pallets, 35 pallets...), it is usually assumed to use a 10P or 20P truck (instead of a 4P+1P)

    Goal is to place yourself as the business owner- you want the most efficient way to deliver goods. So ideally, I want to minimise the total number of trips.

    Attached is a sample.


    Thank you so much!!
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: optimise trips

    Hypothetical -

    For a total of 14 pallets wouldn't it be more efficient to use a 20 pallet truck rather than a 10 and a 4?

    EDIT - ignore this, I think I get it now.
    Last edited by kersplash; 10-17-2018 at 04:21 AM.

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: optimise trips

    For the 20 pallet truck try this in D4 and copy down;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: optimise trips

    yes i debated that with myself as well- ideally we will use a right-sized truck whenever possible, while minimising the total number of trucks/ trips.

    So at 14 pallets, i have a 10P+4P.
    at 15 pallets, I use a 20P instead of a 10P+4P+1P (3 trips)

  5. #5
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: optimise trips

    Quote Originally Posted by kersplash View Post
    For the 20 pallet truck try this in D4 and copy down;
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    great this works!! hoping that you are able to help with the remaining columns please!!

  6. #6
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: optimise trips

    still need help please

  7. #7
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: optimise trips

    bump

    really really need some help here please

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: optimise trips

    Hi

    C3 must be 0 and D3:H3 has 20, 10, 4, 2, 1
    Use in D4 the following formula to get a trivial solution
    Here's a formula for finding a trivial solution to use in D4 and valid to drag down and forward to column I
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    To set the relative cost I used (number of pallets to spare + $J$2 * the number of trips) where $J$2 is a fixed number (4, 5, ... to manipulate the cost)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    From Row 30 I make to areas two do simulations with different costs to try others solutions than the trivial

    See the file for clarification.
    Attached Files Attached Files

  9. #9
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: optimise trips

    Please see attached.

    D4
    =ROUND($C4/D$3-0.1,0)

    E4
    =MAX(ROUND(($C4-SUMPRODUCT($D$3:D$3,$D4:D4))/E$3,0),0)

    F4 to H4
    =MAX(ROUND(($C4-SUMPRODUCT($D$3:E$3,$D4:E4)-0.1)/F$3,0),0)
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    10-17-2018
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    6

    Re: optimise trips

    Quote Originally Posted by Bo_Ry View Post
    Please see attached.

    D4
    =ROUND($C4/D$3-0.1,0)

    E4
    =MAX(ROUND(($C4-SUMPRODUCT($D$3:D$3,$D4:D4))/E$3,0),0)

    F4 to H4
    =MAX(ROUND(($C4-SUMPRODUCT($D$3:E$3,$D4:E4)-0.1)/F$3,0),0)
    thank you so much!! this worked!!
    could you explain why F4 to H4 required the -0.1?

    been thinking about it but cant figure it out.

    Thanks so much anyway!!! it really saved my project!

  11. #11
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: optimise trips

    D and F to H use -0.1 because next of D4 20 is 10 is half of D4 same for F to H.
    Without -0.1 round will round up when value is decimal is .5 so 10 Total pallets will go with 20 pallet truck

    E.G
    Total pallets is 10 10/20 is 0.5 it should go for 10 pallet truck need to round 0.5-0.1 to get 0 so 10 pallet can get 10 pallet
    Total pallets is 10 10/20 is 0.5 it should go for 10 pallet truck need to round 0.55 -0.1 to get 0 so 10 pallet can get 10 pallet and another 1 will will go to 1 pallet

    You may adjust this number to -0.05 if you want 11 pallet to go with 20 pallet truck.

    same for F to H

+ 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. Trips selector
    By 4petris in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-21-2017, 06:13 AM
  2. [SOLVED] Last 5 trips weight
    By lokpal.panwar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2015, 02:08 AM
  3. Counting Vehicle Trips in Date Ranges
    By johnexcel1987 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2014, 12:41 PM
  4. Replies: 2
    Last Post: 07-16-2014, 12:37 PM
  5. [SOLVED] Count number of trips by occurences
    By Ucpaul in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-05-2013, 05:49 PM
  6. Formula for ordering trips from days
    By pezalmendra in forum Excel General
    Replies: 0
    Last Post: 07-27-2012, 04:26 PM
  7. very high cpu/ram usage: many Excel/SQL Server ADO return-trips
    By Loane Sharp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2005, 04:39 AM

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