• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:15
CEST 18:15
KST 01:15
  • 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
Serral wins EWC 202533Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder8EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced49BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0
StarCraft 2
General
Serral wins EWC 2025 The GOAT ranking of GOAT rankings Tournament Spotlight: FEL Cracow 2025 Classic: "It's a thick wall to break through to become world champ" Firefly given lifetime ban by ESIC following match-fixing investigation
Tourneys
LiuLi Cup Weeklies and Monthlies Info Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
Google Play ASL (Season 20) Announced Which top zerg/toss will fail in qualifiers? BGH Auto Balance -> http://bghmmr.eu/ 2025 Season 2 Ladder map pool Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Online Qualifiers Day 1 [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL] Non-Korean Championship - Final weekend
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok)
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
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Stop Killing Games - European Citizens Initiative
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 674 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
Canada8031 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
Canada8031 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
Canada8031 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
Canada8031 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
Canada8031 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
Canada8031 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
WardiTV European League
16:00
Playoffs Day 2
ShoWTimE vs Harstem
Shameless vs MaxPax
HeRoMaRinE vs SKillous
ByuN vs TBD
WardiTV396
LiquipediaDiscussion
PSISTORM Gaming Misc
15:55
FSL TeamLeague week8: IC vs RR
Freeedom37
Liquipedia
BSL20 Non-Korean Champi…
12:00
Playoff - Day 1/2
Mihu vs ZhanhunLIVE!
Fengzi vs Dewalt
ZZZero.O211
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 187
goblin 106
JuggernautJason54
ForJumy 47
MindelVK 45
ProTech14
StarCraft: Brood War
Britney 41933
Jaedong 1630
Mini 860
BeSt 736
ggaemo 548
Larva 538
ToSsGirL 352
firebathero 343
ZZZero.O 211
Rush 104
[ Show more ]
Zeus 97
Mong 72
Rock 26
ajuk12(nOOB) 25
sas.Sziky 23
HiyA 19
Terrorterran 10
Dota 2
Gorgc5953
qojqva3434
420jenkins1180
LuMiX1
League of Legends
Reynor77
Counter-Strike
fl0m3420
ScreaM1418
sgares373
Heroes of the Storm
Khaldor515
Liquid`Hasu441
Other Games
singsing2132
B2W.Neo1335
byalli367
Hui .363
Lowko302
Beastyqt279
Trikslyr49
Rex14
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• sitaska34
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• FirePhoenix10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3666
• Nemesis1901
• WagamamaTV675
League of Legends
• Jankos1708
Other Games
• Shiphtur28
Upcoming Events
Sparkling Tuna Cup
17h 45m
BSL20 Non-Korean Champi…
21h 45m
Bonyth vs TBD
WardiTV European League
23h 45m
Wardi Open
1d 18h
OSC
2 days
uThermal 2v2 Circuit
3 days
The PondCast
4 days
uThermal 2v2 Circuit
5 days
RSL Revival
6 days
RSL Revival
6 days
[ Show More ]
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

BSL 20 Non-Korean Championship
FEL Cracow 2025
Underdog Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20: Qualifier #1
HCC Europe
CC Div. A S7
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CAC 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
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.