+ Reply to Thread
Results 1 to 5 of 5

How can I set >= and <= constraints for 1 variable in SOLVER?

  1. #1
    Registered User
    Join Date
    02-15-2009
    Location
    Hagerstown, Maryland, United States of America
    MS-Off Ver
    MS 2007
    Posts
    5

    How can I set >= and <= constraints for 1 variable in SOLVER?

    How can I set >= and <= constraints for 1 variable in SOLVER?

    Say I have a group of variable cells F5:F10. How can I set a constraint for those variables that will keep them between say 4 and 8.

  2. #2
    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: How can I set >= and <= constraints for 1 variable in SOLVER?

    Just set two constraints.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-15-2009
    Location
    Hagerstown, Maryland, United States of America
    MS-Off Ver
    MS 2007
    Posts
    5

    Re: How can I set >= and <= constraints for 1 variable in SOLVER?

    Quote Originally Posted by shg View Post
    Just set two constraints.
    OK I set two constraints for F5:F10 and it could not find a feasable solution. Now if I do one constraint of F5:F10<=8 it gives a solution. But it does not fit the other requirement of >=4.

    Here is the link to my original thread about this optimization problem. If you could look at it and give me some pointers I would appreciate it.

    http://www.excelforum.com/excel-prog...lver-help.html

    Thank you
    Justin

  4. #4
    Registered User
    Join Date
    02-15-2009
    Location
    Hagerstown, Maryland, United States of America
    MS-Off Ver
    MS 2007
    Posts
    5

    Re: How can I set >= and <= constraints for 1 variable in SOLVER?

    bump bump bump bump bump bump bump bump

  5. #5
    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: How can I set >= and <= constraints for 1 variable in SOLVER?

    How about posting the problem in this thread?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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