i want to mix a different fertilizers available in the market to create a new fertilizer WITH MY DESIRED AMOUNT OF NPK(Nitrogen, Phosphate, Potassium)...
i can do that in so many ways but i want to get the mixture with cheapest cost.
here is an example,
------------------N-P-K Numbers------------COST(Peso)
Fertilizer 1-----(24-2-8)---------------------100/bag
Fertilizer 2-----(20-20-20) ------------------50/bag
Fertilizer 3 -----(10-0-0)---------------------75/bag
Fertilizer 4----- (10-20-30)------------------20/bag
i want to mix some, if not all fertilizers with these NPK values with the cheapest price
INPUT--------------------(Desired NPK Mixture)
Nitrogen = 40
Phosphate = 30
Potassium = 50
OUTPUT-------------------
____________________Percentage per Bag--------COST
Fertilizer 1---------------____-----------------------____
Fertilizer 2---------------____-----------------------____
Fertilizer 3---------------____-----------------------____
Fertilizer 4---------------____-----------------------____
------------------------------------ TOTAL COST = ____
I want to know how many amount of each fertilizer per bag is to be added in my mixture in order for come up with the NPK values above, and with the least Cost...
Please help...you dont have to code it, i just need the concept of it....thank you for reading...
God Rocks!!!! ______\m/__________