Computers and Technology

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)

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:00, lilkit
Is the following sentence true or false? during meiosis, the two alleles for each gene stay together.
Answers: 3
image
Computers and Technology, 22.06.2019 22:40, Bgreene2377
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
image
Computers and Technology, 23.06.2019 01:40, littlebirdd987
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
image
Computers and Technology, 23.06.2019 15:00, Siris420
Plz ( which is an example of a good url?
Answers: 1
Do you know the correct answer?
Consider that you are working for a delivery service, where you can go to the warehouse and pick ite...

Questions in other subjects: