+ Reply to Thread
Results 1 to 2 of 2

Excel solver -- Entering a product mix constraint from a percentage

Hybrid View

  1. #1
    Registered User
    Join Date
    07-03-2012
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2010
    Posts
    2

    Excel solver -- Entering a product mix constraint from a percentage

    I'm new to solver and am trying to add a constraint where, when I'm selling two items (X and Y), at least 60% of those items must be item X. I tried making the constraint as X >= .6(X+Y).

    When I do that, solver treats it as if qty X must be exactly 60% rather than at least 60%, so I get an output of 6 X and 4Y. (With my other constraints, the optimal answer should be 13X and 8Y).

    I tried making a ratio of 1.5 but I get a DIV/ZERO error when I try to set that up.

    Any help would be tremendously appreciated.

    Thanks!

    Product Mix - Solver.xlsx

  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,784

    Re: Excel solver -- Entering a product mix constraint from a percentage

    Perhaps a setup like this for solver?

    Alf
    Attached Files Attached Files

+ 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