title: Find combination of products for max profit
body: <p>I have a problem where I have to find out the best combination of products which can yield maximum profit.</p>
  
  <p>Suppose I have 3 products (A,B and C). The Unit cost of each product respectively is ($a, $b and $c). The inflation rate for A,B and C is (p%, q% and r%) i.e. every time user purchase a product, its unit cost increases by the said inflation rate.  User can only purchase the product in lot of (l,m and n) quantities respectively. Each product gives a profit of $x, $y and $z respectively per unit.</p>
  
  <p>So for a single round of purchase, for product A,</p>
  
  <ul>
  <li>Total Cost = l*$a </li>
  <li>Total Profit = l*$x  </li>
  <li>Unit price after purchase = ((p/100)*$a)+$a</li>
  </ul>
  
  <p>How can I find the right combination of purchase of A,B and C, which will give me maximum profit.</p>
  
  <p>I referred internet and found something called "Optimal Product Mix" problem given here...</p>
  
  <p><a href="http://www.technicalcommunicationcenter.com/2013/03/29/how-to-calculate-optimal-product-mix-with-ms-excel-2010-solver-to-maximize-profits/" rel="nofollow">http://www.technicalcommunicationcenter.com/2013/03/29/how-to-calculate-optimal-product-mix-with-ms-excel-2010-solver-to-maximize-profits/</a></p>
  
  <p>However, somehow I am not able to relate it which my problem statement.</p>
  
  <p>Can someone suggest me a way to solve this?</p>
  
  <p>Thanks</p>