+ Reply to Thread
Results 1 to 8 of 8

Fantasy soccer solver ($ up for grab) :)

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    monaco
    MS-Off Ver
    Win 7
    Posts
    3

    Lightbulb Fantasy soccer solver ($ up for grab) :)

    Hello,

    Me and my mate have been spending all day long trying to figure this out but as of right now we on the verge to give up due to fried brain injury (note that we both are fairly xcel noob, so wee didn t even get close to get this right...)...

    Basically what we are trying to do is making an excel solver that would optimize the combination of players in a roster given their "projected points" and few contraints.

    Example for a 5 players roster:

    TEAM A: // Cost //Prjctd pts //Position
    _ Buffon // 50M // 10 // GK
    _Che guevara // 100M // 18 // DEF
    _Maradonna //125M // 22 // MID
    _Chuck Norris 200M 50 // FWD

    Team B:
    _Neuur 40M // 12 // GK
    _Walter White 90M // 17 // DEF
    _Napoleon Bonaparte 130M // 26 // MID
    _Daenerys Targaryen 250M // 60 // FWD

    Contraint:
    3 players max from same team
    Budget of 400M
    positional contraint: GK min1-max1 , DEF min1-max2, MID min1-max2, FWD min1-max2

    Ideally i m looking to have the excel give me directly the top X best combinations within those contraints. The site where i m playing has 5 players roster contest and 11 player roster contest , with the same contraints.
    For 11 players roster the number of team to make combination from could be going up to 5/6, the budget and the positional contraint would also be diferent from the 5 player contest.

    I m willing to give 50bucks for making the 5 player roster solver and 50 more if you manage to do the 11 players too.
    Add me on skype if interested and have what he takes to do that: frenchfishpoker (menton)

    If you don t have time, any comments or hint are more than apreciated.

    Thnk you verry much and sorry for the broken english
    Last edited by LeProDuJde; 10-28-2016 at 01:15 PM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,008

    Re: Fantasy soccer solver ($ up for grab) :)

    You want to minimize the cost per point, to maximize the points available for a set total salary for your team.

    So, the best strategy would be to put all the players into one table and calculate their cost per estimated points (Cost in millions divided by points) - sort of an "priciness" rating. Then sort the table so that the players with the lowest "priciness" are at the top, and go down the table filling out your team by position, choosing the player(s) for each position with the lowest priciness, given the other contraints (max players from one team, number of players per position).

    Then, after you have the cost of that team, figure out how much salary you have left (or how much you have gone over) and then trade out players to increase your estimated points (or, decrease your total cost), but always do it in order of the lowest priciness player available, which will increase your total salary the least and maximize your points for that total salary.

    Further, you would want to add the optional players (where you can choose the position) based on that index as well.

    You could automate this, but it would take a full data set to figure out the algorithm.
    Last edited by Bernie Deitrick; 10-28-2016 at 02:18 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,636

    Re: Fantasy soccer solver ($ up for grab) :)

    Quote Originally Posted by LeProDuJde View Post
    I m willing to give 50bucks for making the 5 player roster solver and 50 more if you manage to do the 11 players too.
    This is a free forum and you don't need to offer money.
    However, if you want dedicated expert you can use our Commercial Services subforum http://www.excelforum.com/commercial-services/

  4. #4
    Registered User
    Join Date
    10-28-2016
    Location
    monaco
    MS-Off Ver
    Win 7
    Posts
    3

    Re: Fantasy soccer solver ($ up for grab) :)

    Thanks for the current replies. I will also post on the commercial forum, sorry if i broke rules mod.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,482

    Re: Fantasy soccer solver ($ up for grab) :)

    Quote Originally Posted by LeProDuJde View Post
    Thanks for the current replies. I will also post on the commercial forum, sorry if i broke rules mod.
    It's either/or: you can wait for free help here or offer money for a dedicated helper in the Commercial Services section, but if you do that, this thread will be closed. Your call!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    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,760

    Re: Fantasy soccer solver ($ up for grab) :)

    Your present setup will not generate solver solution. As your min requirements is 1 player in each position the lowest cost for this is 455M
    but your budget is only 400M so either increase your budget or do without a player in one of 4 possible positions.

    I've set up a solver model for min number of players, try changing cell F18 to 1000 and do a rerun of solver.

    Alf
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-28-2016
    Location
    monaco
    MS-Off Ver
    Win 7
    Posts
    3

    Re: Fantasy soccer solver ($ up for grab) :)

    Quote Originally Posted by Alf View Post
    Your present setup will not generate solver solution. As your min requirements is 1 player in each position the lowest cost for this is 455M
    but your budget is only 400M so either increase your budget or do without a player in one of 4 possible positions.

    I've set up a solver model for min number of players, try changing cell F18 to 1000 and do a rerun of solver.

    Alf
    Yes i pu t random numbers soo that why they didn t add up corectly. Anyway i m verry gratefull for your help and i ve just downloaded your solver and we look into it this afternoon. THANKS Alf!!!

  8. #8
    Registered User
    Join Date
    10-26-2016
    Location
    Rome, NY
    MS-Off Ver
    2013
    Posts
    7

    Re: Fantasy soccer solver ($ up for grab) :)

    If you'd like to get a bit more adventurous, the Solver is completely configurable in VBA (References ... Solver). You can use VBA to create the X different lineups by looping through iterative executions of the solver where with each time you add in a constraint so that $C$27 (in Alf's workbook) is <= the value of the previous run. I actually do this to create my lineups for an 8-man roster; happy to offer more free advice if you want.

    Steve

+ 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. Replies: 2
    Last Post: 06-08-2016, 06:53 AM
  2. Replies: 1
    Last Post: 01-07-2015, 03:36 PM
  3. fantasy basketball optimization using SOLVER
    By a1b2c3d4e5f6 in forum Excel General
    Replies: 9
    Last Post: 11-27-2014, 05:53 PM
  4. Replies: 11
    Last Post: 10-30-2013, 02:11 PM
  5. Replies: 0
    Last Post: 09-20-2013, 07:29 AM
  6. Creating Unique Values in Solver (Fantasy Basketball)
    By CWRocas in forum Excel General
    Replies: 2
    Last Post: 11-10-2012, 07:00 PM
  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