Create a Massive Database Script
- Status: Closed
- Prize: $350
- Entries Received: 1
Contest Brief
I have a spreadsheet of data for sports players. The data is a projection score for fantasy basketball points and salary. Please see attached spreadsheet and video. Each player has the following data points:
Name, Position, Salary, Projected Points.
There are 200 total players currently, but the script will need to be able to work with up to 300 players. We have a Roster Tool that we need to be calculated in under 30 seconds. The roster tool has a set number of positions and a maximum on the total salary allowed for all the players. We need to calculate the roster of player positions that have the highest number of projected points without going over the total salary allowed of $60,000 in this case.
Output of project:
1. Database build on open source platform. You can potentially use Google or Amazon
2. Scripts to run database
3. Web based basic GUI showing the positions, salary and output of roster tool as seen in attached excel spreadsheet and video.
4. Computed in under 30 seconds.
There are a total of 199 players. To reduce big time the processing time of generating the combinations, I have sorted the players by position. Below are the number of players per position.
ALL Players : 199
C = 31
PF = 45
PG = 40
SF = 39
SG = 43
unique combinations of 2 PG Players: 40 x 40 = 1,600
unique combinations of 2 PG Players and 1 SG Player: 40 x 39 x 43 = 67,080
unique combinations of 2 PG Players and 2 SG Player: 40 x 40 x 43 x 42 = 2,889,600
unique combinations of 2 PG Players and 2 SG Players and 1 PF Player: 40 x 40 x 43 x 42 x 45 = 130,032,000
unique combinations of 2 PG Players and 2 SG Players and 2 PF Player: 40 x 40 x 43 x 42 x 45 x 44 = 5,721,408,000
and the number goes higher and higher as we add players.
For 9 players, the total combination is an outstanding 256,281,603,177,600.
Recommended Skills
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!