• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:29
CET 19:29
KST 03:29
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros2[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win42025 RSL Offline Finals Dates + Ticket Sales!9BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest4
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Intel X Team Liquid Seoul event: Showmatches and Meet the Pros DreamHack Open 2013 revealed Chinese SC2 server to reopen; live all-star event in Hangzhou Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win
Tourneys
Merivale 8 Open - LAN - Stellar Fest Crank Gathers Season 2: SC II Pro Teams 2025 RSL Offline Finals Dates + Ticket Sales! $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
SnOw's ASL S20 Finals Review [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/ Ladder Map Matchup Stats BW General Discussion
Tourneys
Small VOD Thread 2.0 [ASL20] Grand Finals The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Schizophrenia of KOR-EN…
Peanutsc
Reality "theory" prov…
perfectspheres
The Benefits Of Limited Comm…
TrAiDoS
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1770 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
Next event in 4h 32m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 237
ProTech100
Codebar 80
MindelVK 21
StarCraft: Brood War
Barracks 4557
Hyuk 2425
Dewaltoss 134
Shine 38
soO 20
HiyA 12
Dota 2
Gorgc4914
qojqva3897
Dendi1134
XcaliburYe94
capcasts61
Counter-Strike
fl0m1035
ScreaM472
allub174
Other Games
FrodaN1423
Beastyqt1156
B2W.Neo714
ceh9407
Lowko290
Hui .149
Liquid`VortiX124
KnowMe113
C9.Mang0111
Fuzer 91
ArmadaUGS85
QueenE65
Trikslyr44
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Adnapsc2 11
• Kozan
• sooper7s
• Migwel
• LaughNgamezSOOP
• AfreecaTV YouTube
• IndyKCrew
• intothetv
StarCraft: Brood War
• 80smullet 19
• FirePhoenix14
• ZZZeroYoutube
• STPLYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3103
• masondota2725
• Ler57
League of Legends
• Nemesis4079
• TFBlade726
Other Games
• imaqtpie1248
• WagamamaTV294
• Shiphtur132
Upcoming Events
Replay Cast
4h 32m
BASILISK vs Shopify Rebellion
Team Liquid vs Team Falcon
Replay Cast
14h 32m
WardiTV Invitational
17h 32m
ByuN vs Spirit
herO vs Solar
MaNa vs Gerald
Rogue vs GuMiho
Epic.LAN
17h 32m
CrankTV Team League
18h 32m
BASILISK vs Team Liquid
Epic.LAN
1d 17h
BSL Team A[vengers]
1d 19h
Dewalt vs Shine
UltrA vs ZeLoT
BSL 21
2 days
BSL Team A[vengers]
2 days
Cross vs Motive
Sziky vs HiyA
BSL 21
3 days
[ Show More ]
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
Sparkling Tuna Cup
4 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 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

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.