subject

Consider that you are working for a delivery service, where you can go to the warehouse and pick items to deliver. each item i has a cost and weight ci, as well as the address to where to deliver. you have a limit w on how much weight your van can carry. for every item you deliver, you earn 10% of its cost you are also provided with a map of the town with all the possible of addresses of the items in the warehouse, and the distances between them. every mile you travel costs you $1. for simplicity you can consider the items are packaged and cannot be divided further. also there is a direct path between all pairs of addresses, although the distances may differ. each address receives exactly one item. 1. develop an algorithm, where given the list of items, their weights, costs and delivery ad- dresses, you can select the items to pick for 1trip, that brings you maximum profit. clearly explain the algorithm in english (stepl, ) and demonstrate how it works for an example problem (20+20=40) 2. implement the algorithm and try it on 5 different set of inputs. each input consists of a list of items and a complete graph of addresses, along with their distance. there should be at least 200 items on the list and 200 addresses. submit your code and your results (20+20=40)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
Complete the sentence based on your knowledge of the professional difficulties faced by music artists. digital technology allows audiences to see free live telecasts of music or dance performances through
Answers: 1
question
Computers and Technology, 22.06.2019 16:20
Consider the following statements, then select one of the answers below: the signal() function shown below registers "sig_handler()" as the signal handler function for the sigkill signal, without the complexity of using when the sigkill signal is sent to a process running this code, by a user typing "kill -kill ", where the correct process id is used for to target the process, sig_handler() will be executed.
Answers: 1
question
Computers and Technology, 23.06.2019 17:20
What is the best assassins creed game?
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
You know the right answer?
Consider that you are working for a delivery service, where you can go to the warehouse and pick ite...
Questions
question
Mathematics, 17.04.2020 19:58
question
Biology, 17.04.2020 19:58
question
Mathematics, 17.04.2020 19:58
question
Mathematics, 17.04.2020 19:59
Questions on the website: 13722363