+ Reply to Thread
Results 1 to 6 of 6

Spreadsheet too slow: Excel solver taking long to find values for decision variables

  1. #1
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    317

    Spreadsheet too slow: Excel solver taking long to find values for decision variables

    What I am trying to do is to rate teams using the solver functionality is excel. After doing some research online, I found that the solver is very effective in rating teams according to performance.

    The objective is in cell K2 and the constraint in cell D4.

    Two issues:

    1. My spreadsheet has become too slow. It takes too long to do its thing when I execute the solve command in the solver utility. Is there a way to speed this?

    2. In the solver parameters dialog box, under the variables section; can the variables be set to self - update?

    A non VBA approach will be much appreciated.


    Solver Ratings.xlsx
    OnditiGK

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Spreadsheet too slow: Excel solver taking long to find values for decision variables

    VLOOKUP is more efficient with used range
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Spreadsheet too slow: Excel solver taking long to find values for decision variables

    I cannot figure out what you did exactly and what you changed and where Tim. Would you kindly explain? Does it affect anything inthe original file apart from making it faster?

    Thanks.
    Last edited by gko_87; 08-30-2018 at 01:09 PM.

  4. #4
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Spreadsheet too slow: Excel solver taking long to find values for decision variables

    Is there a way to make the workbook faster without altering original formulae?

  5. #5
    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: Spreadsheet too slow: Excel solver taking long to find values for decision variables

    I've tested your solver setup both in a 2007 and a 2010 excel environment and in excel 2007 solver finds a solution in about 1 second. Using excel 2010 it takes 5 second for solver to find a solution so I don't think your model is that slow.

    My PC has an AMD processor Phenom II 4 965 and run at a speed of 3400 MHz so it's not that fast. Then I got 8 Gb of ram but running the 32 bits versions of excel.

    To make a faster model, well if you could convert your solver setup from a non-linear to a linear one that should increase the speed but then you have to get rid of a number of of functions in order to do this conversion.

    To test the speed of you model a macro like this would do it. But first you must add a reference -> Visual Basic -> Tools -> References and tick the box marked "Solver".

    Then you need to set the format of cell F2 and F3 to "Custom" an select format "mm:ss"

    Please Login or Register  to view this content.
    Alf

  6. #6
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Spreadsheet too slow: Excel solver taking long to find values for decision variables

    How can I arrive at the same ratings without using the solver? If the solver was not there, how could I type the formula in excel cells to arrive at the same ratings?

+ 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. Decision Variables
    By NatalieEC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2018, 01:52 PM
  2. [SOLVED] Excel freezing/slow/ taking up 99% CPU
    By Questionz in forum Excel General
    Replies: 5
    Last Post: 09-29-2016, 06:06 AM
  3. Solver loop with 2 sets of decision variables
    By Willie68 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2014, 07:19 PM
  4. [SOLVED] Copying Spreadsheet taking extremely long time
    By mgs73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-17-2014, 12:45 AM
  5. Excel taking too long to respond
    By jacob@thepenpoint in forum Excel General
    Replies: 2
    Last Post: 03-04-2011, 11:06 AM
  6. Problem with spreadsheet taking a long time to open
    By clowrym in forum Excel General
    Replies: 4
    Last Post: 05-29-2009, 01:14 PM
  7. Excel taking too long to open up
    By dkblee in forum Excel General
    Replies: 1
    Last Post: 03-26-2006, 06:35 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