• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:44
CET 00:44
KST 08:44
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !2Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win2Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win ComeBackTV's documentary on Byun's Career ! Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship StarCraft2.fi 15th Anniversary Cup RSL Offline Finals Info - Dec 13 and 14! Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle [BSL21] RO8 Bracket & Prediction Contest BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals [BSL21] RO8 - Day 1 - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Current Meta Game Theory for Starcraft Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread PC Games Sales Thread Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2221 users

Finding the best possible fantasy team - Page 3

Forum Index > SC2 General
Post a Reply
Prev 1 2 3 4 5 Next All
monk
Profile Blog Joined May 2009
United States8476 Posts
January 08 2013 19:24 GMT
#41
On January 09 2013 03:51 Chr15t wrote:
Oh hi monk, I wonder if you can tell me when this weeks trade-window starts, i've been f5ing the page every 30th minut so far, to get my hands on the new data to test out optimizations for my current program.

It's whenever R1CH wakes up/updates it.
Moderator
Chr15t
Profile Joined March 2011
Denmark1103 Posts
January 08 2013 20:11 GMT
#42
On January 09 2013 04:24 monk. wrote:
Show nested quote +
On January 09 2013 03:51 Chr15t wrote:
Oh hi monk, I wonder if you can tell me when this weeks trade-window starts, i've been f5ing the page every 30th minut so far, to get my hands on the new data to test out optimizations for my current program.

It's whenever R1CH wakes up/updates it.


okay thanks for the reply
Insanity: doing the same thing over and over again and expecting different results.
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
Last Edited: 2013-01-09 04:17:03
January 09 2013 04:14 GMT
#43
Weekly point gain and trade value data for Round 1:
https://dl.dropbox.com/u/4718/Round 1 Data.xlsx

Edit:
Given a team with 4 (P), 1 (T), 1 (Z), is it possible to use the 2 weekly main-team trades to make the following trade without breaking the rule for having at least one of each race on a team?
1 (T) -> 1 (Z)
1 (Z) -> 1 (T)

I tested this, and it doesn't work. You can only trade the zerg for another zerg, the terran for another terran, etc.
Liquipedia
monk
Profile Blog Joined May 2009
United States8476 Posts
January 09 2013 04:17 GMT
#44
Just to check, the algorithm I used for best team without trades gives me:

Cure, free, Revival, soo, Terminator, P7GAB(Wooki), KT Rolster
Anti: Dear, RorO, Turn
Moderator
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
Last Edited: 2013-01-09 05:34:54
January 09 2013 05:30 GMT
#45
Edit: Hm, wait a minute.
Liquipedia
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2013-01-09 05:35:20
January 09 2013 05:34 GMT
#46
Turn Dear and RorO are horrid anti-teams.
A better one would be Turn, hyvaa and Trap which is still 0, 0, 0.


Is there are way to sort it by winning percentages over the season?
There is no one like you in the universe.
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
Last Edited: 2013-01-09 06:18:38
January 09 2013 06:17 GMT
#47
Ok, everything's fixed now. The new scoring was wreaking havoc with my code.
Name		Cost	Points
Terminator 3 6
Revival 3 7
free 3 8
Speed 4 7
soO 5 8
Wooki 6 11
KT Rolster 6 12


@Blisse: You haven't fulfilled the 13 cost anti-team requirement.

Week 1's a bit of a crapshoot anyways.
Liquipedia
figq
Profile Blog Joined May 2010
12519 Posts
January 09 2013 06:17 GMT
#48
Was just thinking about exactly the same problem the last few days and now saw this thread. Yeah, the optimization problem without trading is what I've used to pick my team for R2 too (and doing pretty well), but then the real problem would be to include trades in the optimization, which increases the complexity way too much. Glad to see others thinking on it also.
If you stand next to my head, you can hear the ocean. - Day[9]
paladin8
Profile Joined May 2012
United States44 Posts
January 09 2013 06:28 GMT
#49
I'm working on this now (best w/ trades) based on R1 data. Can anyone confirm that this is the one of the best main teams w/o trades?

Max score: 172
Best team:
KT.Rolster (3.0, 32)
Action (3.0, 23)
Fantasy (6.0, 27)
Shy (7.0, 27)
Speed (2.0, 18)
Stats (5.0, 24)
Wooki (3.0, 21)
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
January 09 2013 06:35 GMT
#50
What's the first number in the bracket signify?
Liquipedia
paladin8
Profile Joined May 2012
United States44 Posts
January 09 2013 06:37 GMT
#51
The player's initial cost.
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
Last Edited: 2013-01-09 08:18:57
January 09 2013 06:43 GMT
#52
Hm, my bad. Looks like I've screwed up the initial team costs in the excel file. The costs under "Team trade values" are accurate though.

Edit: Player costs are also fine.
Edit 2: As an aside, trade values in the excel file reflect the player's/team's trade value at the end of the week. So week 4 trade values are essentially irrelevant.
Edit 3: Excel spreadsheet values are now corrected.
Liquipedia
cjin
Profile Joined July 2011
181 Posts
Last Edited: 2013-01-09 11:07:22
January 09 2013 07:50 GMT
#53
On January 09 2013 15:28 paladin8 wrote:
I'm working on this now (best w/ trades) based on R1 data. Can anyone confirm that this is the one of the best main teams w/o trades?

Max score: 172
Best team:
KT.Rolster (3.0, 32)
Action (3.0, 23)
Fantasy (6.0, 27)
Shy (7.0, 27)
Speed (2.0, 18)
Stats (5.0, 24)
Wooki (3.0, 21)


according to http://www.teamliquid.net/forum/viewmessage.php?topic_id=391291&currentpage=1#1 172 points is best you can get, little different team there.

On January 09 2013 13:17 monk. wrote:
Just to check, the algorithm I used for best team without trades gives me:

Cure, free, Revival, soo, Terminator, P7GAB(Wooki), KT Rolster
Anti: Dear, RorO, Turn

Where did you get Cure? Hes dosen't exist on my list at all http://www.teamliquid.net/fantasy/proleague/Stats.php?r=13&s=2&d=0

I get 59 points with
Wooki, free, soO, Revival, Speed, Terminator, KT Rolster
Reality, RorO, Trap

I found total of 10 other ways to get same value anti team, but no other way to get same value main team.
Spazer
Profile Blog Joined March 2009
Canada8033 Posts
January 09 2013 08:16 GMT
#54
Cure is Speed. I have to keep a file specifically set up to catch all the alternate aliases, haha.
Liquipedia
Chr15t
Profile Joined March 2011
Denmark1103 Posts
Last Edited: 2013-01-09 13:17:28
January 09 2013 13:10 GMT
#55
+ Show Spoiler +

On January 09 2013 15:17 Spazer wrote:
Ok, everything's fixed now. The new scoring was wreaking havoc with my code.
Name		Cost	Points
Terminator 3 6
Revival 3 7
free 3 8
Speed 4 7
soO 5 8
Wooki 6 11
KT Rolster 6 12


@Blisse: You haven't fulfilled the 13 cost anti-team requirement.

Week 1's a bit of a crapshoot anyways.



Well your team seems to be in order i got a bit different lineup, but comes out at the same total:

MainTeam:

Players: Race: Points:
1. Wooki P 11
2. soO Z 8
3. Speed T 7
4. free P 8
5. Revival Z 7
6. Terminator P 6

Team: KT Rolster 12

AntiTeam

Players: Race: Points:
1. RorO Z 0
2. Dear P 0
3. hyvaa Z 0

Total points: 59


EDIT: lol nevermind , our teams are identical ;D my brain just didnt compute it
Insanity: doing the same thing over and over again and expecting different results.
paladin8
Profile Joined May 2012
United States44 Posts
January 11 2013 17:40 GMT
#56
On January 08 2013 22:25 cjin wrote:
Show nested quote +
On January 08 2013 14:28 Spazer wrote:
I tried brute forcing the main using the 30 highest scoring players per week (works out to 53 players total). It tested 583 teams over the course of 2.5 hours before I shut it down since it was obviously never going to finish in a reasonable amount of time. In comparison, with the 20 highest scoring players per week (pool of 41), I did 279 teams over 40 minutes. With the 10 highest scoring players per week (pool of 27), I did 285 in 35 minutes.

In short, brute forcing main teams is a pipe dream for large pools of players until we do some optimization.

Low trade value players can be evaluated almost instantly, but high ones take forever. For instance, testing trades with an initial team of KT Rolster, s2, hitman, barracks, alone, jangbi, and bogus took 1 minute 18 seconds by itself. I need a better way of discarding initial teams.

With anti-teams, discarding initial teams is really easy. If an initial team scores more points than your current best team right off the bat, you can safely skip it. This trims off entire branches and really cuts down on the calculation time. What we need is a smart way to do this for main teams as well.

I was thinking something along the lines of this:
  1. Take an initial team
  2. Determine the two best players that are not on your team for the current week
  3. Switch them for the two lowest scoring players on your team REGARDLESS of trade value
  4. Repeat steps 2-3 for each week
  5. If the final score is lower than the final score of your current best team, you can safely ignore this branch


My currently implemented system like this:
  1. Take X top scoring players of each week to generate a pool of players.
  2. Make an ordered list ranking the pool of players by cost.
  3. Use a bunch of nested loops to iterate through the cost ordered list. This will make an initial team. The ordered list allows us to ignore all players past a certain point for a given loop once the cost exceeds 30.
  4. Check the race requirement for the initial team
  5. Test trades for the initial team. I use an ordered list of trade values here so that I can ignore players past a certain point, just like with step 3.
  6. Only attempt trades where the new player scores more points than the current player at some point in the future.
  7. Call the trade function recursively for each week
  8. Select the highest scoring resultant team and compare it against whatever our best solution currently is. Replace the best team if we've scored higher.


Also, the formula for trade value seems to be
Trade value = cost * (total games in round - games played)/total games in round + points * 2/7


I'm still uncertain about the 2/7 part, but it works so far for round 2 week 1. Somehow in the last round, it ends up being (points / 4.5), and I have no idea when or how.


I rewrote whole mainteamsearching shit, and ended with something like that. Only shortcut I have taken is, that instead of
6. Only attempt trades where the new player scores more points than the current player at some point in the future.
I just don't allow to trade into player who will score 1 or less on next round. Or into team that will score 0 or less.

I takes long to go trough all, but I'm confident it will find best solutions early. I put my round1 data trough it, and it found team that scores 215 (212 with anti team, witch is lot better than the 163 points without any trades.) in first 30 mins of running, and haven't found any better for an hour, and I think it will not find anything better anymore.

Now it is basicly just discarding every startteam suggestion becouce of my version of
[*]Determine the two best players that are not on your team for the current week
[*]Switch them for the two lowest scoring players on your team REGARDLESS of trade value
[*]Repeat steps 2-3 for each week
check


What is the team that scores 215? I've been running some searches but nothing gets me close, so I'm wondering if I have a bug somewhere.
cjin
Profile Joined July 2011
181 Posts
January 11 2013 22:57 GMT
#57
On January 12 2013 02:40 paladin8 wrote:
Show nested quote +
On January 08 2013 22:25 cjin wrote:
On January 08 2013 14:28 Spazer wrote:
I tried brute forcing the main using the 30 highest scoring players per week (works out to 53 players total). It tested 583 teams over the course of 2.5 hours before I shut it down since it was obviously never going to finish in a reasonable amount of time. In comparison, with the 20 highest scoring players per week (pool of 41), I did 279 teams over 40 minutes. With the 10 highest scoring players per week (pool of 27), I did 285 in 35 minutes.

In short, brute forcing main teams is a pipe dream for large pools of players until we do some optimization.

Low trade value players can be evaluated almost instantly, but high ones take forever. For instance, testing trades with an initial team of KT Rolster, s2, hitman, barracks, alone, jangbi, and bogus took 1 minute 18 seconds by itself. I need a better way of discarding initial teams.

With anti-teams, discarding initial teams is really easy. If an initial team scores more points than your current best team right off the bat, you can safely skip it. This trims off entire branches and really cuts down on the calculation time. What we need is a smart way to do this for main teams as well.

I was thinking something along the lines of this:
  1. Take an initial team
  2. Determine the two best players that are not on your team for the current week
  3. Switch them for the two lowest scoring players on your team REGARDLESS of trade value
  4. Repeat steps 2-3 for each week
  5. If the final score is lower than the final score of your current best team, you can safely ignore this branch


My currently implemented system like this:
  1. Take X top scoring players of each week to generate a pool of players.
  2. Make an ordered list ranking the pool of players by cost.
  3. Use a bunch of nested loops to iterate through the cost ordered list. This will make an initial team. The ordered list allows us to ignore all players past a certain point for a given loop once the cost exceeds 30.
  4. Check the race requirement for the initial team
  5. Test trades for the initial team. I use an ordered list of trade values here so that I can ignore players past a certain point, just like with step 3.
  6. Only attempt trades where the new player scores more points than the current player at some point in the future.
  7. Call the trade function recursively for each week
  8. Select the highest scoring resultant team and compare it against whatever our best solution currently is. Replace the best team if we've scored higher.


Also, the formula for trade value seems to be
Trade value = cost * (total games in round - games played)/total games in round + points * 2/7


I'm still uncertain about the 2/7 part, but it works so far for round 2 week 1. Somehow in the last round, it ends up being (points / 4.5), and I have no idea when or how.


I rewrote whole mainteamsearching shit, and ended with something like that. Only shortcut I have taken is, that instead of
6. Only attempt trades where the new player scores more points than the current player at some point in the future.
I just don't allow to trade into player who will score 1 or less on next round. Or into team that will score 0 or less.

I takes long to go trough all, but I'm confident it will find best solutions early. I put my round1 data trough it, and it found team that scores 215 (212 with anti team, witch is lot better than the 163 points without any trades.) in first 30 mins of running, and haven't found any better for an hour, and I think it will not find anything better anymore.

Now it is basicly just discarding every startteam suggestion becouce of my version of
[*]Determine the two best players that are not on your team for the current week
[*]Switch them for the two lowest scoring players on your team REGARDLESS of trade value
[*]Repeat steps 2-3 for each week
check


What is the team that scores 215? I've been running some searches but nothing gets me close, so I'm wondering if I have a bug somewhere.


First of all, are we using same data? The one I'm using has week 2 trade values quessed to something in the lines of what I think they could be, and it might be possible I have mistake in scoring them.
paladin8
Profile Joined May 2012
United States44 Posts
January 11 2013 23:13 GMT
#58
On January 12 2013 07:57 cjin wrote:
Show nested quote +
On January 12 2013 02:40 paladin8 wrote:
On January 08 2013 22:25 cjin wrote:
On January 08 2013 14:28 Spazer wrote:
I tried brute forcing the main using the 30 highest scoring players per week (works out to 53 players total). It tested 583 teams over the course of 2.5 hours before I shut it down since it was obviously never going to finish in a reasonable amount of time. In comparison, with the 20 highest scoring players per week (pool of 41), I did 279 teams over 40 minutes. With the 10 highest scoring players per week (pool of 27), I did 285 in 35 minutes.

In short, brute forcing main teams is a pipe dream for large pools of players until we do some optimization.

Low trade value players can be evaluated almost instantly, but high ones take forever. For instance, testing trades with an initial team of KT Rolster, s2, hitman, barracks, alone, jangbi, and bogus took 1 minute 18 seconds by itself. I need a better way of discarding initial teams.

With anti-teams, discarding initial teams is really easy. If an initial team scores more points than your current best team right off the bat, you can safely skip it. This trims off entire branches and really cuts down on the calculation time. What we need is a smart way to do this for main teams as well.

I was thinking something along the lines of this:
  1. Take an initial team
  2. Determine the two best players that are not on your team for the current week
  3. Switch them for the two lowest scoring players on your team REGARDLESS of trade value
  4. Repeat steps 2-3 for each week
  5. If the final score is lower than the final score of your current best team, you can safely ignore this branch


My currently implemented system like this:
  1. Take X top scoring players of each week to generate a pool of players.
  2. Make an ordered list ranking the pool of players by cost.
  3. Use a bunch of nested loops to iterate through the cost ordered list. This will make an initial team. The ordered list allows us to ignore all players past a certain point for a given loop once the cost exceeds 30.
  4. Check the race requirement for the initial team
  5. Test trades for the initial team. I use an ordered list of trade values here so that I can ignore players past a certain point, just like with step 3.
  6. Only attempt trades where the new player scores more points than the current player at some point in the future.
  7. Call the trade function recursively for each week
  8. Select the highest scoring resultant team and compare it against whatever our best solution currently is. Replace the best team if we've scored higher.


Also, the formula for trade value seems to be
Trade value = cost * (total games in round - games played)/total games in round + points * 2/7


I'm still uncertain about the 2/7 part, but it works so far for round 2 week 1. Somehow in the last round, it ends up being (points / 4.5), and I have no idea when or how.


I rewrote whole mainteamsearching shit, and ended with something like that. Only shortcut I have taken is, that instead of
6. Only attempt trades where the new player scores more points than the current player at some point in the future.
I just don't allow to trade into player who will score 1 or less on next round. Or into team that will score 0 or less.

I takes long to go trough all, but I'm confident it will find best solutions early. I put my round1 data trough it, and it found team that scores 215 (212 with anti team, witch is lot better than the 163 points without any trades.) in first 30 mins of running, and haven't found any better for an hour, and I think it will not find anything better anymore.

Now it is basicly just discarding every startteam suggestion becouce of my version of
[*]Determine the two best players that are not on your team for the current week
[*]Switch them for the two lowest scoring players on your team REGARDLESS of trade value
[*]Repeat steps 2-3 for each week
check


What is the team that scores 215? I've been running some searches but nothing gets me close, so I'm wondering if I have a bug somewhere.


First of all, are we using same data? The one I'm using has week 2 trade values quessed to something in the lines of what I think they could be, and it might be possible I have mistake in scoring them.


Yeah, I used the data you posted, so it should be the same. The best team I found only gave 204, so if you could post the 215-point team I'd like to know why my program isn't finding it or anything close.
cjin
Profile Joined July 2011
181 Posts
January 11 2013 23:50 GMT
#59
On January 12 2013 08:13 paladin8 wrote:
Show nested quote +
On January 12 2013 07:57 cjin wrote:
On January 12 2013 02:40 paladin8 wrote:
On January 08 2013 22:25 cjin wrote:
On January 08 2013 14:28 Spazer wrote:
I tried brute forcing the main using the 30 highest scoring players per week (works out to 53 players total). It tested 583 teams over the course of 2.5 hours before I shut it down since it was obviously never going to finish in a reasonable amount of time. In comparison, with the 20 highest scoring players per week (pool of 41), I did 279 teams over 40 minutes. With the 10 highest scoring players per week (pool of 27), I did 285 in 35 minutes.

In short, brute forcing main teams is a pipe dream for large pools of players until we do some optimization.

Low trade value players can be evaluated almost instantly, but high ones take forever. For instance, testing trades with an initial team of KT Rolster, s2, hitman, barracks, alone, jangbi, and bogus took 1 minute 18 seconds by itself. I need a better way of discarding initial teams.

With anti-teams, discarding initial teams is really easy. If an initial team scores more points than your current best team right off the bat, you can safely skip it. This trims off entire branches and really cuts down on the calculation time. What we need is a smart way to do this for main teams as well.

I was thinking something along the lines of this:
  1. Take an initial team
  2. Determine the two best players that are not on your team for the current week
  3. Switch them for the two lowest scoring players on your team REGARDLESS of trade value
  4. Repeat steps 2-3 for each week
  5. If the final score is lower than the final score of your current best team, you can safely ignore this branch


My currently implemented system like this:
  1. Take X top scoring players of each week to generate a pool of players.
  2. Make an ordered list ranking the pool of players by cost.
  3. Use a bunch of nested loops to iterate through the cost ordered list. This will make an initial team. The ordered list allows us to ignore all players past a certain point for a given loop once the cost exceeds 30.
  4. Check the race requirement for the initial team
  5. Test trades for the initial team. I use an ordered list of trade values here so that I can ignore players past a certain point, just like with step 3.
  6. Only attempt trades where the new player scores more points than the current player at some point in the future.
  7. Call the trade function recursively for each week
  8. Select the highest scoring resultant team and compare it against whatever our best solution currently is. Replace the best team if we've scored higher.


Also, the formula for trade value seems to be
Trade value = cost * (total games in round - games played)/total games in round + points * 2/7


I'm still uncertain about the 2/7 part, but it works so far for round 2 week 1. Somehow in the last round, it ends up being (points / 4.5), and I have no idea when or how.


I rewrote whole mainteamsearching shit, and ended with something like that. Only shortcut I have taken is, that instead of
6. Only attempt trades where the new player scores more points than the current player at some point in the future.
I just don't allow to trade into player who will score 1 or less on next round. Or into team that will score 0 or less.

I takes long to go trough all, but I'm confident it will find best solutions early. I put my round1 data trough it, and it found team that scores 215 (212 with anti team, witch is lot better than the 163 points without any trades.) in first 30 mins of running, and haven't found any better for an hour, and I think it will not find anything better anymore.

Now it is basicly just discarding every startteam suggestion becouce of my version of
[*]Determine the two best players that are not on your team for the current week
[*]Switch them for the two lowest scoring players on your team REGARDLESS of trade value
[*]Repeat steps 2-3 for each week
check


What is the team that scores 215? I've been running some searches but nothing gets me close, so I'm wondering if I have a bug somewhere.


First of all, are we using same data? The one I'm using has week 2 trade values quessed to something in the lines of what I think they could be, and it might be possible I have mistake in scoring them.


Yeah, I used the data you posted, so it should be the same. The best team I found only gave 204, so if you could post the 215-point team I'd like to know why my program isn't finding it or anything close.


+ Show Spoiler +
WEEK 1

Main Team Pt Anti Team Pt
Fantasy +4 Trap +1
Action +4 Kop ±0
herO[jOin] +4 Shine +1
Wooki +4
Speed +4
soO +4
KT Rolster +8 Trade Tax ±0
-----------------------------------------
Score Week +34
Score Total +34

WEEK 2

Trades
Speed ->Soulkey
soO ->Shy
Trap ->Stork

Main Team Pt Anti Team Pt
Fantasy +4 Stork ±0
Action +4 Kop ±0
herO[jOin] +14 Shine ±0
Wooki +7
Shy +8
Soulkey +14
KT Rolster +4 Trade Tax -3
-----------------------------------------
Score Week +52
Score Total +86

WEEK 3

Trades
herO[jOin] ->Flash
Wooki ->TaeJa
Stork ->Reality

Main Team Pt Anti Team Pt
Fantasy +11 Reality ±0
Action +6 Kop ±0
TaeJa +15 Shine ±0
Flash +16
Shy +10
Soulkey +6
KT Rolster +8 Trade Tax -3
-----------------------------------------
Score Week +69
Score Total +155

WEEK 4

Trades
KT Rolster ->Woongjin Stars
Flash ->JangBi
Shine ->Bbyong

Main Team Pt Anti Team Pt
Fantasy +8 Reality -1
Action +9 Kop -1
TaeJa +6 Bbyong ±0
JangBi +10
Shy +9
Soulkey +6
Woongjin Stars +14 Trade Tax -3
-----------------------------------------
Score Week +57
Score Total +212


One thing that comes into mind is in my data line for TaeJa is
TaeJa T x 0 5.10 4 4.89 19 6.22 25
where x is for not available at first week (I know he could be picked for main, but my program doesn't allow it).
Is the x messing your data so that it doesn't have TaeJa available at all?
paladin8
Profile Joined May 2012
United States44 Posts
Last Edited: 2013-01-12 02:54:12
January 12 2013 02:49 GMT
#60
On January 12 2013 08:50 cjin wrote:
Show nested quote +
On January 12 2013 08:13 paladin8 wrote:
On January 12 2013 07:57 cjin wrote:
On January 12 2013 02:40 paladin8 wrote:
On January 08 2013 22:25 cjin wrote:
On January 08 2013 14:28 Spazer wrote:
I tried brute forcing the main using the 30 highest scoring players per week (works out to 53 players total). It tested 583 teams over the course of 2.5 hours before I shut it down since it was obviously never going to finish in a reasonable amount of time. In comparison, with the 20 highest scoring players per week (pool of 41), I did 279 teams over 40 minutes. With the 10 highest scoring players per week (pool of 27), I did 285 in 35 minutes.

In short, brute forcing main teams is a pipe dream for large pools of players until we do some optimization.

Low trade value players can be evaluated almost instantly, but high ones take forever. For instance, testing trades with an initial team of KT Rolster, s2, hitman, barracks, alone, jangbi, and bogus took 1 minute 18 seconds by itself. I need a better way of discarding initial teams.

With anti-teams, discarding initial teams is really easy. If an initial team scores more points than your current best team right off the bat, you can safely skip it. This trims off entire branches and really cuts down on the calculation time. What we need is a smart way to do this for main teams as well.

I was thinking something along the lines of this:
  1. Take an initial team
  2. Determine the two best players that are not on your team for the current week
  3. Switch them for the two lowest scoring players on your team REGARDLESS of trade value
  4. Repeat steps 2-3 for each week
  5. If the final score is lower than the final score of your current best team, you can safely ignore this branch


My currently implemented system like this:
  1. Take X top scoring players of each week to generate a pool of players.
  2. Make an ordered list ranking the pool of players by cost.
  3. Use a bunch of nested loops to iterate through the cost ordered list. This will make an initial team. The ordered list allows us to ignore all players past a certain point for a given loop once the cost exceeds 30.
  4. Check the race requirement for the initial team
  5. Test trades for the initial team. I use an ordered list of trade values here so that I can ignore players past a certain point, just like with step 3.
  6. Only attempt trades where the new player scores more points than the current player at some point in the future.
  7. Call the trade function recursively for each week
  8. Select the highest scoring resultant team and compare it against whatever our best solution currently is. Replace the best team if we've scored higher.


Also, the formula for trade value seems to be
Trade value = cost * (total games in round - games played)/total games in round + points * 2/7


I'm still uncertain about the 2/7 part, but it works so far for round 2 week 1. Somehow in the last round, it ends up being (points / 4.5), and I have no idea when or how.


I rewrote whole mainteamsearching shit, and ended with something like that. Only shortcut I have taken is, that instead of
6. Only attempt trades where the new player scores more points than the current player at some point in the future.
I just don't allow to trade into player who will score 1 or less on next round. Or into team that will score 0 or less.

I takes long to go trough all, but I'm confident it will find best solutions early. I put my round1 data trough it, and it found team that scores 215 (212 with anti team, witch is lot better than the 163 points without any trades.) in first 30 mins of running, and haven't found any better for an hour, and I think it will not find anything better anymore.

Now it is basicly just discarding every startteam suggestion becouce of my version of
[*]Determine the two best players that are not on your team for the current week
[*]Switch them for the two lowest scoring players on your team REGARDLESS of trade value
[*]Repeat steps 2-3 for each week
check


What is the team that scores 215? I've been running some searches but nothing gets me close, so I'm wondering if I have a bug somewhere.


First of all, are we using same data? The one I'm using has week 2 trade values quessed to something in the lines of what I think they could be, and it might be possible I have mistake in scoring them.


Yeah, I used the data you posted, so it should be the same. The best team I found only gave 204, so if you could post the 215-point team I'd like to know why my program isn't finding it or anything close.


+ Show Spoiler +
WEEK 1

Main Team Pt Anti Team Pt
Fantasy +4 Trap +1
Action +4 Kop ±0
herO[jOin] +4 Shine +1
Wooki +4
Speed +4
soO +4
KT Rolster +8 Trade Tax ±0
-----------------------------------------
Score Week +34
Score Total +34

WEEK 2

Trades
Speed ->Soulkey
soO ->Shy
Trap ->Stork

Main Team Pt Anti Team Pt
Fantasy +4 Stork ±0
Action +4 Kop ±0
herO[jOin] +14 Shine ±0
Wooki +7
Shy +8
Soulkey +14
KT Rolster +4 Trade Tax -3
-----------------------------------------
Score Week +52
Score Total +86

WEEK 3

Trades
herO[jOin] ->Flash
Wooki ->TaeJa
Stork ->Reality

Main Team Pt Anti Team Pt
Fantasy +11 Reality ±0
Action +6 Kop ±0
TaeJa +15 Shine ±0
Flash +16
Shy +10
Soulkey +6
KT Rolster +8 Trade Tax -3
-----------------------------------------
Score Week +69
Score Total +155

WEEK 4

Trades
KT Rolster ->Woongjin Stars
Flash ->JangBi
Shine ->Bbyong

Main Team Pt Anti Team Pt
Fantasy +8 Reality -1
Action +9 Kop -1
TaeJa +6 Bbyong ±0
JangBi +10
Shy +9
Soulkey +6
Woongjin Stars +14 Trade Tax -3
-----------------------------------------
Score Week +57
Score Total +212


One thing that comes into mind is in my data line for TaeJa is
TaeJa T x 0 5.10 4 4.89 19 6.22 25
where x is for not available at first week (I know he could be picked for main, but my program doesn't allow it).
Is the x messing your data so that it doesn't have TaeJa available at all?


Great, thanks. I handle the x properly, so that shouldn't be an issue. Probably just a bug

edit: It seems like your team might not be valid? These two trades seem wrong.

WEEK 2: Speed (2.40) -> Soulkey (6.30)
WEEK 3: Wooki (4.67) -> TaeJa (4.89)

Assuming I'm reading your initial data correctly.
Prev 1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
BSL: GosuLeague
21:20
SWISS Round 5 into Bracket
ZZZero.O97
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 233
CosmosSc2 34
StarCraft: Brood War
Larva 275
ZZZero.O 97
Mong 7
Dota 2
Dendi2069
syndereN779
420jenkins437
Super Smash Bros
PPMD53
Other Games
summit1g7433
Grubby5462
shahzam575
Fuzer 215
C9.Mang0148
ViBE124
Mew2King95
Trikslyr59
JimRising 39
Maynarde0
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 94
• intothetv
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• IndyKCrew
• Kozan
StarCraft: Brood War
• Azhi_Dahaki29
• blackmanpl 18
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22212
• WagamamaTV1037
League of Legends
• TFBlade1204
Other Games
• imaqtpie2326
• Shiphtur256
Upcoming Events
PiGosaur Cup
1h 16m
WardiTV 2025
12h 16m
MaNa vs Gerald
TBD vs MaxPax
ByuN vs TBD
TBD vs ShoWTimE
OSC
15h 16m
YoungYakov vs Mixu
ForJumy vs TBD
Percival vs TBD
Shameless vs TBD
The PondCast
1d 10h
WardiTV 2025
1d 13h
Cure vs Creator
TBD vs Solar
WardiTV 2025
2 days
OSC
2 days
CranKy Ducklings
3 days
SC Evo League
3 days
Ladder Legends
3 days
[ Show More ]
BSL 21
3 days
Sparkling Tuna Cup
4 days
Ladder Legends
4 days
BSL 21
4 days
Replay Cast
5 days
Monday Night Weeklies
5 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.