Question

Problem 1 - Local routing II ////////////////////////////// You are routing your vehicles to deliver goods to...

Problem 1 - Local routing II

//////////////////////////////

You are routing your vehicles to deliver goods to seven customers. The customers are identified with an ID.

These are the distances between the customer locations and the distribution centers in miles.

Distance 1 2 3 4 5 6 7 DC
1 16.3 16.5 20 19.6 17.9 9.3 12.7
2 7.2 14.9 16.6 16.6 12.7 11.5
3 8.9 10.1 11 10.8 9.8
4 7.3 13.4 19.1 17.5
5 12.9 16.4 16.1
6 9.4 17.4
7 3.6

These are the number of boxes the customers need.

Customer
ID
1 2 3 4 5 6 7
Demand (Boxes) 24 38 19 37 23 21 10

------------------------------

Vehicle routes

Consider that each of your trucks can carry, at most, 100 boxes per tour. Use the Savings algorithm to design the routes.

Tip: Remember that the Savings algorithm is a heuristic algorithm. This means that the solution provided by the Savings algorithm will not necessarily be the optimal solution to the problem.

Important: Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from DC to 5 to 2 to 6 to DC, write 5-2-6 or 6-2-5 (both are considered correct). In the above example, 2-5-6 or 2-6-5 would be considered wrong!

How many tours do you need?

-------------------------------

What are the savings (in distance traveled) compared to delivering directly from the DC to each customer?

Round your result to one decimal digit

-----------------------------

In the following questions, you will be asked to describe the route/tour that includes certain customers. Please, for designing the routes, use exclusively the Savings algorithm. (Do not further optimize the paths obtained from the Savings algorithm using other methods. Provide the answer in the format that is specified.)

Please describe the tour including Customer 1.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

-----------------------------------

Please describe the tour including Customer 2.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

----------------------------------

Please describe the tour including Customer 3.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

--------------------------------

Please describe the tour including Customer 4.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

------------------------------

Please describe the tour including Customer 5.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

---------------------------

Please describe the tour including Customer 6.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

---------------------------------

Please describe the tour including Customer 7.

Write the sequence of customers with a dash between the ID numbers (do not use spaces and do not include “DC”). For example, if the route goes from customer 5 to 2 to 6, write 5-2-6 or 6-2-5. Please remember to follow the order in which the customers are visited. In the above example, 2-5-6 or 2-6-5 would be considered wrong.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • First, we can calculate the distance savings matrix
  • Secondly, we can figure out the rank of svings to figure out the pairing of customers. The pairing can only be done if the aggregate of the demand value does not exceed the given value ie 100

The distancesavings matrix can be calculated as follows

Distance 1 2 3 4 5 6 7
1 7.9 6 10.2 9.2 12.2 7
2 14.1 14.1 11 12.3 2.4
3 18.4 15.8 16.2 2.6
4 26.3 21.5 2
5 20.6 3.3
6 11.6
  • Based on this matri, ranking table can be easily identified. I am attaching the rank table as well
Distance Trips Rank Tour
26.3 4->5 1 4->5
21.5 4 6 2 5 4 6
20.6 5 6 3 na
18.4 3 4 4 na
16.2 3 6 5 3 6 4 5
15.8 3 5 6 na
14.1 2 3 7 na
14.1 2 4 8 na
12.3 2 6 9 na
12.2 1 6 10 na
11.6 6 7 11 na
11 2 5 12 na
10.2 1 4 13 na
9.2 1 5 14 na
7.9 1 2 15 1 2
7 1 7 16 2 1 7
6 1 3 17 na
3.3 5 7 18 na
2.6 3 7 19 na
2.4 2 7 20 na
2 4 7 21 na

From the above table we see the below conclusions

  • Pairing at first need to be for customer 4 and 5. SO the sequecne is 5-4-6
  • Conequently, our very first tour would be DC-3-6-4-5-DC or it can be DC-5-4-6-3-DC.
  • Further, lets move down, we get 1 and 2, making tour DC-1-2-DC or DC-2-1-DC.
  • Now, we can pair 1 and 7, so our tour can be DC-7-1-2-DC or DC-2-1-7-DC.

Answers

Tours needed : 2

Savings in distane traveled : 78.9

Tour including customer 1 : 2-1-7 or 7-1-2

Tour including customer 2 : 2-1-7 or 7-1-2

Tour including customer 3 : 3-6-4-5 or 5-4-6-3

Tour including customer 4 : 3-6-4-5 or 5-4-6-3

Tour including customer 5 : 3-6-4-5 or 5-4-6-3

Tour including customer 6 : 3-6-4-5 or 5-4-6-3

Tour including customer 7 : 2-1-7 or 7-1-2

Add a comment
Know the answer?
Add Answer to:
Problem 1 - Local routing II ////////////////////////////// You are routing your vehicles to deliver goods to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1.) Given a directed negative weights Graph what is the most efficient algorithm to detect...

    Question 1.) Given a directed negative weights Graph what is the most efficient algorithm to detect a cycle. What is the most efficient method to detect a cycle? Question 2.)Let A= student id last digit % 4 and add 1. For example mine student id is 7. So 7%4=3 and add 1 -->A=4 Run DFS starting at node a, and breaking ties alphabetically(in this case numerically as nodes have numbers where 1 goes before 2). Please label just back edges....

  • repl,it HW 11.2 Please verify your em back to classroom run i.mport random 2 # DO...

    repl,it HW 11.2 Please verify your em back to classroom run i.mport random 2 # DO NOT DELETE you may want to collapse it. 4- def generate_number_strings (): 3 wGenerates a string that contai ns digits and spaces. 6 numbers- 7 rng range(random.randint (1, 20) 8 for i in rng: 10- if (len(numbers)> and numbers[-1:] != and i !-rng. stop and random.randint (0, 10) % 50): 11 12 13 1 14- numbers + 15 else: 16- numbers +str(random . randint...

  • Find the two other segments of the sequence among your classmates that will complete the protein....

    Find the two other segments of the sequence among your classmates that will complete the protein. For example if you have a middle segment you will need to find a beginning and an end segment. Write the entire linear order of amino acids in Part 2, Question l in your proforma, (using the single letter amino acid abbreviation). Start with the beginning segment, followed by the middle segment and lastly, the end segment. Indicate the amino (NH2) and carboxyl (COOH)...

  • write in C++ Problem 1: Mobile Service Provider A cell phone service provider has three different...

    write in C++ Problem 1: Mobile Service Provider A cell phone service provider has three different subscription packages for its customers. Package A: For $39.99 per month 450 minutes are provided. Additional minutes are $0.45 per minute. Package B: For $59.99 per month 900 minutes are provided. Additional minutes are $0.40 per minute. Package C: For $69.99 per month unlimited minutes provided. Write a program that calculates a customer’s monthly bill. It should ask which package the customer has purchased...

  • Problem 1 1 def modify(word.ch). word == word + ch return word print('new word is', word)...

    Problem 1 1 def modify(word.ch). word == word + ch return word print('new word is', word) To run the function modify() defined above, we make the following call: result = modify('course', 's') Find and fix the errors in the function definition, lines (1) to (4), such that after the call is executed: • Variable result has the value 'courses' • 'new word is courses' is printed out. For each error found and fixed, you must indicate the following: • line...

  • IN PYTHON 1.Choose a positive integer 2. To get the next number in the sequence we...

    IN PYTHON 1.Choose a positive integer 2. To get the next number in the sequence we do the following: If the integer is odd, we multiply by 3 and add 1. If the integer is even, we divide by 2. It is hypothesized that the above sequence will always converge to the value of 1, regardless of any valid initial choice. This hypothesis is known as the Collatz Conjecture. For example, if we start at 5, the numbers generated by...

  • Part 1: Please describe one example of information technology that you use for your role in...

    Part 1: Please describe one example of information technology that you use for your role in your organization. Your description should include the business functions that are supported by the technology, the technology infrastructure (platform) on which it operates, and the types of data that are captured or produced by the system. Next describe the benefits provided by the system. Does it automate manual processes, to reduce the labor costs required for the process? Does it support business decisions to...

  • Use R language to program Problem 1: Greatest Common Divisor (GCD) Please write two functions, g...

    Use R language to program Problem 1: Greatest Common Divisor (GCD) Please write two functions, g edi ) and gcdr , which both take two integers a, b and calculates their greatest common divisor (GCD) using the Euclidean algorithm gcdi () should do so using iteration while gcdr () should use recursion. Then write a third function, gcd(), which takes two integers a, band an optional third argument nethod which takes a charater string containing either "iterative" or "recursive", with...

  • Hi, I need help with this practice problem! Chapter 2 Algorithm Discovery and Design 64C FIGURE...

    Hi, I need help with this practice problem! Chapter 2 Algorithm Discovery and Design 64C FIGURE 2.10 Get values for a and b If (either a 0orb 0) then Set the value of product to o se Set the value of count to 0 Set the value of product to 0 While (count <b) do Set the value of product to (product+ a) Set the value of count to (count + 1) End of loop Print the value of product...

  • This assignment must be completed on your own with your team mates. Don't give your code...

    This assignment must be completed on your own with your team mates. Don't give your code to others or use other students' code. This is considered academic m will result 0 marks) Write a java program that mange JUC Bank accounts services. The program should have the following: The total number of accounts (n) will be specified by the user at the beginning of the program. Depending upon the entered number, create three Arrays as following o o o Array...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT