There is a drug that comes in two size. 1 is 300mg and cost 400 and 1 is 500mg and cost 600. Given a total dose needed, how many of each vile type do I need to minimize the cost.(adsbygoogle = window.adsbygoogle || []).push({});

Ex) I need a 1100mg dose, how many 300mg viles and how many 500 viles do I need to minimize the cost. I know the answer from looking at it is 2-300mg and 1-500mg.

So if x = # of 300mg viles and y = # of 500mg viles we have :

Total Cost = 400 * x + 600 * y; I also have the constraint that ( for this paticular example) 300x + 500y >= 1100mg.

I feel like this should be easy but my mind is not working.

Thanks

-Marc

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How can I minimize this?

Loading...

Similar Threads - minimize | Date |
---|---|

A Certain convex minimization problem | May 22, 2016 |

A Solving polynomial coefficients to minimize square error | May 19, 2016 |

Calc of variations, minimizing functionals question | Nov 20, 2015 |

Minimizing surface area of a shaker | Oct 29, 2015 |

Minimizing functions | Apr 7, 2015 |

**Physics Forums - The Fusion of Science and Community**