Results 1 to 1 of 1

Using solver to pick optimal basketball lineup

Threaded View

  1. #1
    Registered User
    Join Date
    12-17-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Using solver to pick optimal basketball lineup

    I am trying to use Solver to optimize a daily fantasy basketball lineup. I have (hopefully) attached the file here. Here are the basics:

    • I have 28 columns in the top table for 28 possible players (10 guards, 10 forwards, 8 centers)
    • Each column has a player ID#, name, salary and projected points (among other things)
    • In the bottom table, I have rows representing an actual lineup of 8 players (2 guards, 2 forwards, 1 center and 3 "flex" players who can be any of the three positions).
    • I created the ID# so I could use the Solver to test different players. I used HLOOKUP to pull the player name, salary and proj. pts. based on the ID from the top table into the bottom table.
    • I set the solver to max the total points with the total salary being <= 50,000. I set the constraints for the ID based on the position (ex. the guard slots must use ID of 1 to 10) and used a unique value counter to count unique ID's in the lineup, then constrained that value to equal 8 (so there are no duplicate players selected.


    Everything seems to make sense to me, but the solver only goes through 5 iterations (or runs into an error under non-evolutionary methods) and doesn't satisfy all the constraints.

    Any help would be appreciated. Thanks.
    Attached Files Attached Files
    Last edited by JesseM; 03-08-2016 at 10:46 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 09-18-2015, 01:54 PM
  2. fantasy basketball optimization using SOLVER
    By a1b2c3d4e5f6 in forum Excel General
    Replies: 9
    Last Post: 11-27-2014, 05:53 PM
  3. Optimize Basketball Lineup
    By rrmack34 in forum Excel General
    Replies: 6
    Last Post: 11-12-2014, 04:51 PM
  4. Replies: 0
    Last Post: 08-02-2014, 03:22 PM
  5. Replies: 11
    Last Post: 10-30-2013, 02:11 PM
  6. Replies: 4
    Last Post: 01-22-2013, 02:03 AM
  7. Creating Unique Values in Solver (Fantasy Basketball)
    By CWRocas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2012, 06:06 PM

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