manufacture maximum products with minimum requirement based on inventory availability

  algorithm, inventory-management, php, python

I need to create ‘n’ products each one require some set of inventory but the quantity of the inventory varies based on the product, we also have a warehouse to store the inventory, so we need to have an algorithm which can calculate how many products can be manufactured using the available stock in the warehouse.

Maximum products based on the available stock.

Source: Python Questions