+ Reply to Thread
Results 1 to 2 of 2

Excel Solver problem with true/false variables

  1. #1
    Registered User
    Join Date
    03-07-2019
    Location
    us
    MS-Off Ver
    2016
    Posts
    1

    Excel Solver problem with true/false variables

    Hi all,

    I'm pretty sure this is a problem Solver can handle somehow, but I can't quite crack the nut. I have a table of ~40 projects (each row is a unique project) with 50 variables (each column is a unique variable). Each project can have some or all of the variables. I have this currently represented as a "1" if a project has one of the variables. I want to select 30 of the 40 projects so that as many of the 50 variables have a score of 10 or higher. However, more than 10 is not helpful.


    If that's not clear, a perfect score would be if the the 30 of the 40 projects selected resulted in each variable having a score of 10 or higher (higher than 10 is meaningless though). An optimization model that gets really high scores in a couple of variables is, for my purposes, worse than a model that chooses projects that results in a score at or near 10 for lots of variables. I'd rather sacrifice a project selection outcome that results in a variable having a total of 11 (as opposed to 10) for an outcome where a different variable has a total of 3 (as opposed to say 2), all else being equal.

    I'm happy to try and clarify better based on feedback or try something else besides Solver! I've attached my data with dummy project and variable names.

    Many thanks.
    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,858

    Re: Excel Solver problem with true/false variables

    If I understand correctly, your problem is too large for the built in Solver to handle. If I follow correctly, your model has 2000 "by changing cells", but the built in Solver can only handle 100 or 200 (depending on whether I believe Excel's or Frontline's documentation) "by changing cells". If you really need 2000 by changing cells, you will either need a more robust "solver" engine or you will need to figure out your own trial and error algorithm.

    Did I understand correctly?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. [SOLVED] IF statement problem using true false
    By qiyusi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-18-2016, 10:11 AM
  2. IF statement with multiple true false variables
    By tommyt34uw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-29-2014, 01:17 PM
  3. Replies: 3
    Last Post: 04-20-2014, 05:08 AM
  4. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  5. calculating true false from group of variables
    By tammy25 in forum Excel General
    Replies: 5
    Last Post: 11-28-2010, 11:01 PM
  6. 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
  7. True / False problem
    By cdbearden in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-12-2008, 09:21 PM

Tags for this Thread

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