Dear All,
First of all many thanks for reading this post, and to whoever can help, many thanks for taking the time for responding.
Today I came across a problem at work, which I believe could have a mathematical solution, however I am not smart enough to find it.
Let me explain my problem:
1. I have a product whose price is determined only by the final weight. Let's say that product weights 1000 grams (=1kg).
2. The product is made out of different components whose price is determined by weight ranges. For example:
2.1. Component A: Range 100 to 200 Grams: Cost per kg is 500USD
2.2 Component A: Range 250 to 450 Grams: Cost per kg is 600USD (same component as A, but different cost for different range of weight)
2.2 Component B: Range 300 to 800 Grams: Cost per kg is 700USD
3. I sell my product at a constant price for the TOTAL weight of 1000 grams. Let's say I sell my product for 1.500 USD at 1000 grams.
4. One of the ways in which I can earn money is by smart buying of the components. I can freely chose the mixture of components.
If you have read until here, let me give you an intermediate thank you.
5. The only thing I cannot change is the final weight which is 1000 grams and I always need to use a minimum of 30% of product B and a minimum of 20% of product A of the second range.
5. Option A:
I can buy 150 grams of component A = 0.150 kg x 500 USD = 75 USD
I can buy 350 grams of component A = 0.350 kg x 600 USD = 210 USD
I can buy 500 grams of component B = 0.500 kg x 700 USD = 350 USD
The 3 components together make 1000kg and my cost is 635 USD.
6. Option B:
I can buy 0 grams of component A = 0.000 kg x 500 USD = 0 USD
I can buy 460 grams of component A = 0.460 kg x 600 USD = 276 USD
I can buy 540 grams of component B = 0.540 kg x 700 USD = 378 USD
The 3 components together make 1000kg and my cost is 654 USD.
With option A I save 19 USD. So how can I create a system where I can know what is the optimal mix of components to achieve the cheapest price.
I hope I explained it well enough. Your help is very much appreciated and your time put into this valued.
Thank you so much for reading and helping.
Regards,
Jose
First of all many thanks for reading this post, and to whoever can help, many thanks for taking the time for responding.
Today I came across a problem at work, which I believe could have a mathematical solution, however I am not smart enough to find it.
Let me explain my problem:
1. I have a product whose price is determined only by the final weight. Let's say that product weights 1000 grams (=1kg).
2. The product is made out of different components whose price is determined by weight ranges. For example:
2.1. Component A: Range 100 to 200 Grams: Cost per kg is 500USD
2.2 Component A: Range 250 to 450 Grams: Cost per kg is 600USD (same component as A, but different cost for different range of weight)
2.2 Component B: Range 300 to 800 Grams: Cost per kg is 700USD
3. I sell my product at a constant price for the TOTAL weight of 1000 grams. Let's say I sell my product for 1.500 USD at 1000 grams.
4. One of the ways in which I can earn money is by smart buying of the components. I can freely chose the mixture of components.
If you have read until here, let me give you an intermediate thank you.
5. The only thing I cannot change is the final weight which is 1000 grams and I always need to use a minimum of 30% of product B and a minimum of 20% of product A of the second range.
5. Option A:
I can buy 150 grams of component A = 0.150 kg x 500 USD = 75 USD
I can buy 350 grams of component A = 0.350 kg x 600 USD = 210 USD
I can buy 500 grams of component B = 0.500 kg x 700 USD = 350 USD
The 3 components together make 1000kg and my cost is 635 USD.
6. Option B:
I can buy 0 grams of component A = 0.000 kg x 500 USD = 0 USD
I can buy 460 grams of component A = 0.460 kg x 600 USD = 276 USD
I can buy 540 grams of component B = 0.540 kg x 700 USD = 378 USD
The 3 components together make 1000kg and my cost is 654 USD.
With option A I save 19 USD. So how can I create a system where I can know what is the optimal mix of components to achieve the cheapest price.
I hope I explained it well enough. Your help is very much appreciated and your time put into this valued.
Thank you so much for reading and helping.
Regards,
Jose