Results 1 to 4 of 4

Adding >= constraint to Solver for multiple variable cells

Threaded View

  1. #1
    Registered User
    Join Date
    06-29-2010
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    75

    Adding >= constraint to Solver for multiple variable cells

    I am using a Solver function in Excel which works well, but I want to add a new constraint.

    The solver tool currently manipulates the values of 100 variable cells in integers between 1 and 4 which correspond to size of product line to optimize sales within constrained space.

    The constraint I want to add is: the value of these 100 cells cannot be any number between 1 and 4, but must be >= the original size value (defined by me as constant).

    I.E. Product A Original Value = 2. Solver cannot assign any value to this product except 2, 3, or 4.

    In simple terms I want to add a constraint saying:

    "A1:A10 (variable cells) >= B1:B10 (fixed constants)

    *Edit: Added workbook with example*

    However when I do this solver doesn't understand it. I could add a separate constraint for A1>=B1, A2>=B2, etc., but that would be time consuming and would probably break solver.

    Any ideas?
    Attached Files Attached Files
    Last edited by Dynamo418; 02-10-2020 at 02:28 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Solver Constraint to Keep Certain Data Together?
    By Pira in forum Excel General
    Replies: 1
    Last Post: 10-19-2019, 02:13 AM
  2. [SOLVED] Adding Constraint to Solver
    By DAVE201992 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2019, 12:39 PM
  3. Excel Solver: adding ratio as a constraint
    By candirt in forum Excel General
    Replies: 7
    Last Post: 12-07-2015, 05:09 PM
  4. Require help with a solver constraint
    By Nakeysaw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2015, 03:06 AM
  5. Excel Solver Constraint Help
    By BauceArj in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-14-2014, 08:47 PM
  6. BUY-IN Constraint in Solver
    By WhamBam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2012, 02:30 AM
  7. solver constraint
    By jojo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-18-2005, 10:06 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