+ Reply to Thread
Results 1 to 3 of 3

Excel Solver - Multiple By Changing Variables

  1. #1
    Registered User
    Join Date
    03-15-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    3

    Excel Solver - Multiple By Changing Variables

    Hi All,

    Attached is a document where I know what I want to do, but have no idea how to get Solver to do it.

    For the "Q7)" tab, for example, I need to use Solver to get the minimum value of $I$52 by changing $E$52 (which has a constraint that it equals 282.1) and also $I$52 is less than or equal to 12.

    Is someone please able to help me with this? Am I able to rearrange it in some way that will allow me to do this without too much hassle?

    Thank you.
    Attached Files Attached Files

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

    Re: Excel Solver - Multiple By Changing Variables

    I will look at this more closely in a little bit, but I will quickly mention that this forum can be strict about rules -- like rule 8 don't cross-post without a link. There is some valuable information in your earlier thread that puts the programming problem in the engineering context that, IMO, helps understand what you are trying to do here: https://www.cheresources.com/invisio...inary-mixture/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    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: Excel Solver - Multiple By Changing Variables

    Your setup for the problem does not make sense. You wish solver to minimize cell I52 by changing the cell value of E52 but you also say the E52 should be equal to 282.1???

    First of all the target cell must be related to the cell to change i.e. cell I52 must contain a formula that will change the value of it when changing the value in cell E52.

    The setup when you have fixed these problems would look like this:
    solv_setup.jpg

    Depending on the problem linear or nonlinear the proper solver engine should be selected, for nonlinear problems use GRG nonlinear or Simplex LP for linear problems.

    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. Excel Solver Max Value for Variables
    By bhutta223 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-13-2018, 10:10 AM
  2. Replies: 4
    Last Post: 01-01-2017, 07:38 PM
  3. Excel Solver - 2 Variables , Whole Numbers
    By mcp77 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-24-2016, 11:09 AM
  4. excel solver binary variables
    By kingkong123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2011, 01:59 PM
  5. using variables in excel solver constraints problem!
    By 77anders in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-12-2009, 08:49 PM
  6. Replies: 1
    Last Post: 08-08-2006, 01:00 PM
  7. variables in excel solver for vba
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2006, 10:50 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