+ Reply to Thread
Results 1 to 2 of 2

Minimizing the amount of ressource needed

  1. #1
    Registered User
    Join Date
    01-05-2020
    Location
    France
    MS-Off Ver
    2017
    Posts
    1

    Minimizing the amount of ressource needed

    Hello,

    I want to make a workbook to help reducing the amount of primary ressource needed, and I am a bit lost on where to start...

    Let's say I have three types of Ores, A, B, and C, than can each be reprocessed into different materials k, l, and m; with different amount as follow:
    A = 200k + 100l + 150m
    B = 500k + 200l + 500m
    C = 300k + 110l + 300m

    Now, what I want to do is to input a goal as the amount of materials I need, and the worksheet to display the least amount of Ore needed.
    Let's say I need 3 000k, 4 000l, and 5 000m:

    xA + yB +zC > 3000k + 4000l + 5000m

    And I want to minimize x+y+z, which will indicate the least amount of Ore I need to gather to reprocess into the materials I need.

    Any help will be appreciated! I'm sure there's a way to do this on excel, but I've never done similar task before.
    Many thanks!

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Minimizing the amount of ressource needed

    Perhaps you could use the excel add-in solver?

    a_b_c_mix.jpg

    The values in range C10:E10 is found by using the "SUMPRODUCT" function. For C10 the formula is "=SUMPRODUCT($F$7:$F$9,C7:C9)"

    The Object function (cell C14) is set to minimize the difference between range C10:E10 and C12:E12.

    Looking at the different units of k, l and m and the requirement the problem is to meet the demand of 4000l, solver does that with 40 units of A giving total "overshot" of 6000 as the best solution. Testing manually by setting F8 to 20 meets the demand for l = 4000 but the total "overshot" is then 12000 or testing with F9 equal to 36.36 also meets l = 4000 but in this case the total "overshot" is around 13815 so the solver solution is the one with the smallest "overshot"

    Alf

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 04-26-2019, 08:40 AM
  2. [SOLVED] SUMIFS formula to replace SUMPRODUCT because of ressource issue
    By lillumultipass in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 12-14-2017, 08:05 AM
  3. VBA Macro needed to delete X amount of rows below the Nth row
    By jsirish in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-02-2012, 01:01 PM
  4. Replies: 1
    Last Post: 10-27-2011, 11:43 AM
  5. Replies: 0
    Last Post: 01-26-2011, 05:18 PM
  6. CRTL+D macro (very large amount of rows needed)
    By wlan11g in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-11-2009, 04:04 AM
  7. Standard Deviation that factors in the amount of sales needed in Excel 2002
    By Lostinexcel2002 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2009, 09:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1