I'm volunteering for a non-profit, and was asked to write a program for this problem, but I'm having a little trouble tackling it. Here's the problem:So they're a daycare, and they get paid by the government depending on specific ratio's of staff to children. Here are the possible ratios and their pay:one staff to 3 children (3:1). Pays 14.71 dollars per hourone staff to 2 children (2:1). Pays 9.10 dollars per hourone staff to 1 child (1:1). Pays 7.28 dollars per hourWith every possible number of staff and number of children in the daycare, there is a combination of ratios that will give the maximum profit. How do I find those ratios? Are there any clever ways to approach this problem? The inputs of this ideal program would be number of staff and number of children, and the output would be the combination of ratios that produces the maximum profit.
How to solve an optimization problem that deals with the optimal combination of given ratios?
algorithms;optimization;assignment problem