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 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
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
Questions on the website: 13722360