+ Reply to Thread
Results 1 to 6 of 6

Excel "Solver" - Functionality - questions from my worksheet

  1. #1
    Registered User
    Join Date
    08-13-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    46

    Excel "Solver" - Functionality - questions from my worksheet

    Hi,

    Please see attached worksheet

    1) Now, look at the sheet titled: "IncrementalFit"
    2) Go to Data->Solver
    3) As you can see there are some consttraints
    4) In the constraints L3<=1 and L3>0 i.e. L3 lies between 0 and 1
    5) Similarly with L4
    6) L3 and L4 are cells (hope I'm right)
    7) I want make the value of L3 as 0.3 and L4 as 0.5 and then do the optimization of other parameters: R5,U3,U4
    8) Can you tell me how to carry out step 7 above?

    Thanks
    Jo
    Last edited by ateestructural; 07-04-2020 at 06:10 AM.

  2. #2
    Valued Forum Contributor Hydraulics's Avatar
    Join Date
    07-15-2018
    Location
    Udine - Italy
    MS-Off Ver
    Office 365
    Posts
    370

    Re: Excel "Solver" - Functionality - questions from my worksheet

    Quote Originally Posted by ateestructural
    I want make the value of L3 as 0.3 and L4 as 0.5
    This is easy: set them to the values you wish overwriting the cells, and then remove L3 and L4 from the list of variables in the Solver dialog (optional: remove the constraints, even though they are satisfied with those values).

    Quote Originally Posted by ateestructural
    and then do the optimization of other parameters: R5,U3,U4
    This looks quite hard. There are too many discontinuous functions in your worksheet (IF, MAX...), and after some testing, not even the evolutionary engine can reliably find a solution.

    HTH,

    Francesco
    Aim high or don't even try.
    ---------------------------------
    If your question has been answered, don't forget to mark the thread as SOLVED.
    If you find an answer helpful, click on the star icon at the bottom of the post.

  3. #3
    Registered User
    Join Date
    08-13-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    46

    Re: Excel "Solver" - Functionality - questions from my worksheet

    In the consstraints dialog I set the values of L3 and L4 equal to 0.3 and 0.5 and I did get a reasonably fit. Why did you say it hard?

  4. #4
    Valued Forum Contributor Hydraulics's Avatar
    Join Date
    07-15-2018
    Location
    Udine - Italy
    MS-Off Ver
    Office 365
    Posts
    370

    Re: Excel "Solver" - Functionality - questions from my worksheet

    Deleted comments since they are not meaningful.

    Yes, my bad ,the model seems to point to a max value, even if with slightly different choices for U3, U4 and S5.

    HTH,

    Francesco
    Last edited by Hydraulics; 07-04-2020 at 06:41 AM.

  5. #5
    Registered User
    Join Date
    08-13-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    46

    Re: Excel "Solver" - Functionality - questions from my worksheet

    Thanks. I myself am getting familiarized with the sheet. Did you mean that retaining the original constraints you get th right values of AB4?

    Also getting different values of AB4, did you mean the solution is returning a local minima?

  6. #6
    Valued Forum Contributor Hydraulics's Avatar
    Join Date
    07-15-2018
    Location
    Udine - Italy
    MS-Off Ver
    Office 365
    Posts
    370

    Re: Excel "Solver" - Functionality - questions from my worksheet

    Sorry, I was editing my post.

    I have played some more with the parameters of the evolutionary engine, increasing both mutation rate and population size, and the max of AB4 is always within a very narrow range around 2.6E-10.
    The problem is that you can never know if the value found is really the best one.
    However, if results make sense, I wouldn't worry too much.

    HTH,

    Francesco

+ 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: 5
    Last Post: 05-07-2016, 02:16 PM
  2. Replies: 0
    Last Post: 09-22-2015, 06:09 PM
  3. Replies: 11
    Last Post: 10-30-2013, 02:11 PM
  4. [SOLVED] A few questions about "E-mail one worksheet" code
    By Ragnaros in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-29-2013, 01:59 PM
  5. Calendar "like" functionality in worksheet
    By sarails in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-24-2010, 12:05 AM
  6. Replies: 0
    Last Post: 06-14-2010, 10:39 AM
  7. [SOLVED] With autorecover on in Excel you lose your "undo" functionality.
    By AndyBofNY in forum Excel General
    Replies: 0
    Last Post: 04-28-2006, 05:55 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