Question: Linear Optimization A local charity group has a community outreach program that trains residents for two types of recycling and community cleanup activity and is

Linear Optimization
A local charity group has a community outreach program that trains residents for two types of recycling and community cleanup activity and is planning a big recycling weekend effort to tidy up the city and generate funds to support further outreach. With limited volunteers, they need to determine how to best prioritize their recycling efforts.
Recycling plastic bottles generates proceeds of \(\$ 16\) per bag and a volunteer can gather 5 bags per hour. Recycling aluminum cans generates proceeds of \(\$ 28\) per bag and a volunteer can gather 3 bags per hour.
The charity expects to have 100 volunteers.
To ensure that both kinds of recycling are collected, the city wants at least \(25\%\) of the volunteers collecting cans and at least \(30\%\) collecting bottles.
Write a Matlab script that uses linprog to determine the number of volunteers to use collecting each type of recyclable to maximize fund generation. Let a variable named vols be your solution vector, representing the numbers of bottle-collecting and can-collecting volunteers, in that order.
Have your script clearly say how many volunteers should be trained to collect each type of recycling. Have it print the hourly fundraising for the recycling effort when volunteers are organized the way you have determined.
(Hint: When testing in normal Matlab, the result might change if the proceeds for plastic were \(\$ 17\) per bag.)
```
% Our vols variable will be [number of plastic bottle volunteers, number of aluminum can volunteers]
% It would be smart to define things like the amount of each recyclable that can be collected per hour
% the value of each bag of the recyclables.
% Our objective function is the total value of collected recycling per hour,
% We will have to swap the sign.
```
Linear Optimization A local charity group has a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!