+ Reply to Thread
Results 1 to 7 of 7

Problem with Solver

  1. #1
    Registered User
    Join Date
    11-06-2017
    Location
    ITALY
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Problem with Solver

    Hello everyone,
    I have a problem with Solver.I need for my research that the variables assume a specific range of value.In this case only these values:
    0.1,0.2,0.3,0.4
    How can i do that?
    Thank you
    Attached Files Attached Files

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

    If four of you variables shall have specific values and the sum of these are 1.0 then your last variable mus be 0 if the result should be 1???

    So why do you need solver???

    Alf

  3. #3
    Registered User
    Join Date
    11-06-2017
    Location
    ITALY
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Re: Problem with Solver

    Alf,thank you
    you are right
    here is the correct spreadsheet
    Attached Files Attached Files

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

    You could do it like this:

    D
    E
    F
    3
    Solver
    Pesi
    4
    2
    0.2
    E4: =D4/10
    5
    1
    0.1
    6
    1
    0.1
    7
    2
    0.2
    8
    4
    0.4
    9
    1
    E9: =SUM(E4:E8)


    Maximize B30 by changing D4:D8, constrained as integers >=1, <=4, D8 constrained to =1.
    Last edited by shg; 11-06-2017 at 02:20 PM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    11-06-2017
    Location
    ITALY
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Re: Problem with Solver

    Great idea,shg
    Thanks a lot!

  6. #6
    Registered User
    Join Date
    11-06-2017
    Location
    ITALY
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Re: Problem with Solver

    shg,
    for a wider solution i solved like this.
    Could you have a look?
    Thank you
    Attached Files Attached Files

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

    Not knowing what you're trying to do, it looks fine.

    BTW, you can set those constraints en masse, e.g.,

    F4:F7 >= 0
    F4:F7 <= 10

+ 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. Problem Using Solver with an optimization stock problem
    By Jagrubski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2013, 03:41 AM
  3. Problem with Solver
    By pg2000 in forum Excel General
    Replies: 1
    Last Post: 12-20-2012, 11:27 PM
  4. Problem with the solver
    By Costasg in forum Excel General
    Replies: 1
    Last Post: 10-26-2011, 09:12 AM
  5. Solver problem
    By tlhood1080 in forum Excel General
    Replies: 6
    Last Post: 03-11-2009, 11:45 PM
  6. Interesting Solver problem (Solver encounters an error)
    By MrShorty in forum Excel General
    Replies: 3
    Last Post: 12-22-2005, 06:55 PM
  7. [SOLVED] IF problem using Solver
    By [email protected] in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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