+ Reply to Thread
Results 1 to 6 of 6

Solver

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    1

    Solver

    I kindly request your assistance with the attached file. I have bn trying to model the data using the solver function in excel but it has not made any success. I kindly request you have a look at it and see where I am going wrong.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Solver

    Would you explain all the terms and which cells contain the values. e.g. y(t), e,
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,872

    Re: Solver

    Is your question about Solver or something else? Your solver model looks set up correctly, so that, with a good set of initial values, it should be able to find the "best fit" parameters. The problem seems to me to be in your modeling equation. A good logistic type function like this should have an asymptote (ym) as t goes to infinity, but your equation in column C seems to go on to infinity. I suspect that you need to spend some time with the formula in column C to make sure it is correct.

    The first thing I might do is to pull up the formula evaluate tool (https://support.office.com/en-us/art...6-a70aa409b8a7 ) and step through one of the cells in column C. I might even have my hand calculator on hand and perform each step by hand to see if Excel is evaluating the formula exactly the same as I would. If there is any difference between what Excel does and what I would do on my hand calculator, explore that difference. With as many parentheses as you have in this formula, perhaps the first thing to be looking for in this step would be misplaced, missing, or extra parentheses.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    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: Solver

    Played around a bit with the Ym, U and the lamda values to see how the D51 value changed.

    Based on this I set upper and lover values for Ym, U and lamda (range R11:S13) and used Evolutionary solver. Somebody with more mathematical
    know-how than I should probably give you more sensible constraints / values than the one I have tested.

    It also seems that the U value has very little influence on the result. I'v tested with min U = 0.00001 and U = 0.001 but the result for
    D51 was the same in both cases.

    It seems that putting the max values in range C4:C6 and then run solver gives a result a tad better that putting the min values in C4:C6
    and then run solver. Why? I have not the foggiest.

    Alf
    Attached Files Attached Files
    Last edited by Alf; 09-27-2017 at 12:41 PM. Reason: extra info

  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: Solver

    Ooops! My bad, should be the other way round. Adding lowest values to C4:C6 gives a D51 of 34.93382

    Starting with highest value in C4:C6 givesa D51 of 34.95674

    Alf

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Solver

    Assuming we're all looking at the Model 3 sheet, that's a very strange function to use to model a sigmoid. Where did it come from?
    Entia non sunt multiplicanda sine necessitate

+ 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: 7
    Last Post: 12-31-2016, 12:29 PM
  2. Replies: 1
    Last Post: 04-27-2016, 03:05 PM
  3. Replies: 0
    Last Post: 07-20-2014, 12:45 PM
  4. Replies: 6
    Last Post: 05-18-2013, 05:49 AM
  5. Can't start Solver. Error message says Solver.xlam already open.
    By DaveHills in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 10-21-2012, 11:02 AM
  6. solver macro + simulation code + not updating solver values
    By sabinemaria in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2012, 11:37 AM
  7. Interesting Solver problem (Solver encounters an error)
    By MrShorty in forum Excel General
    Replies: 3
    Last Post: 12-22-2005, 06:55 PM

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