• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:52
CEST 22:52
KST 05:52
  • 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
Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12Code S RO12 Preview: Cure, sOs, Reynor, Solar15[ASL19] Ro8 Preview: Unyielding3Official Ladder Map Pool Update (April 28, 2025)17[ASL19] Ro8 Preview: Rejuvenation8
Community News
Code S Season 1 - RO12 Group A Results (2025)4$1,250 WardiTV May [May 6th-May 18th]4Clem wins PiG Sty Festival #66Weekly Cups (April 28-May 4): ByuN & Astrea break through1Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game29
StarCraft 2
General
Code S Season 1 - RO12 Group A Results (2025) How does the number of casters affect your enjoyment of esports? Code S RO12 Preview: Maru, Trigger, Rogue, NightMare Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game Code S RO12 Preview: Cure, sOs, Reynor, Solar
Tourneys
THE BEST CRYPTOCURRENCY RECOVERY COMPANY IN 2025 H [GSL 2025] Code S:Season 1 - RO12 - Group A INu's Battles#12 < ByuN vs herO > [GSL 2025] Code S:Season 1 - RO12 - Group B GSL 2025 details announced - 2 seasons pre-EWC
Strategy
[G] PvT Cheese: 13 Gate Proxy Robo Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise Mutation # 469 Frostbite
Brood War
General
OGN to release AI-upscaled StarLeague from Feb 24 Battlenet Game Lobby Simulator [G] GenAI subtitles for Korean BW content BGH auto balance -> http://bghmmr.eu/ StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[BSL20] RO32 Group F - Saturday 20:00 CET [BSL20] RO32 Group E - Sunday 20:00 CET [ASL19] Ro8 Day 4 [CSLPRO] $1000 Spring is Here!
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Nintendo Switch Thread Grand Theft Auto VI Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
US Politics Mega-thread Ask and answer stupid questions here! Elon Musk's lies, propaganda, etc. UK Politics Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey Surprisingly good films/Hidden Gems
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
BLinD-RawR 50K Post Watch Party The Automated Ban List TL.net Ten Commandments
Blogs
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
What High-Performing Teams (…
TrAiDoS
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
Test Entry for subject
xumakis
Customize Sidebar...

Website Feedback

Closed Threads



Active: 12544 users

Zerg Build Order optimizer. - Page 4

Forum Index > SC2 General
Post a Reply
Prev 1 2 3 4 5 6 56 57 58 Next
Lomilar
Profile Joined July 2010
United States130 Posts
October 13 2010 02:26 GMT
#61
Psst, its ovi*2 at 18.
Subversion
Profile Blog Joined April 2010
South Africa3627 Posts
October 13 2010 02:37 GMT
#62
7 roaches at 4:40 seems pretty damn fast to me lol
GagnarTheUnruly
Profile Joined July 2010
United States655 Posts
October 13 2010 02:42 GMT
#63
This is what high level players do already. If you sat a high level player down and said: 'get 7 roaches into your opponent's base as fast as you can,' in a few hours they'd have the optimum build. I see this as being much more useful for new players who probably don't have super-efficient builds,and is not a game breaker in any way.

This is rarely what pro gamers are after anyways. As I understand it the goal is usually to make the leanest possible build that can deal with what the opponent is doing, and to invest remaining resources in macro. That requires in-game testing to figure out and this program wouldn't be so useful for that.

So to answer your question I don't think you have to worry about breaking SC2!
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
October 13 2010 02:44 GMT
#64
Concept is cool, build is useless. They just get a forge when they see your warren and win automatically, maybe with 4 range but I doubt it...
Rybka
Profile Joined March 2010
United States836 Posts
October 13 2010 02:49 GMT
#65
What people are missing in the potential of a program like this is, well...

http://en.wikipedia.org/wiki/Rybka

What this program would seem to be best-suited to is highly detailed replay analysis. You can't plan a perfect game out from beginning to end, but what you can do is go through the game and take notes about critical decision points. In situations where you did something wrong, or simply not fast enough, you could run the program to tell you how long it would take to perfectly execute the proper decision... whatever that decision might be. If it's 7 corrupters or 8 marines or whatever, you could find the optimal time those units could be built in and whether or not your "position" was truly lost.

Groundwork for some very, very cool stuff in SC2 and definitely not amoral IMO. With enough effort and programing it could really evolve the game.
"I like winter, you can put a beer outside of the window and come back later to have it nice and cold. But in Belgium, it'd better be the 3rd floor window." -Rowa
ZodiakLucien
Profile Joined August 2010
United States14 Posts
October 13 2010 02:54 GMT
#66
On October 13 2010 11:26 Lomilar wrote:
Psst, its ovi*2 at 18.

fixed
Lobotomist
Profile Joined May 2010
United States1541 Posts
October 13 2010 02:57 GMT
#67
Wow man, that is awesome! Very impressive coding.

Could you give it a goal like, "Build 8 roaches and 8 mutas. Must have 3 roaches before spire starts building."?
Teching to hive too quickly isn't just a risk: it's an ultrarisk
DragonDefonce
Profile Blog Joined April 2008
United States790 Posts
October 13 2010 03:00 GMT
#68
Would this program be able to optimize something like 30 workers, 2 hatcheries, 10 zerglings, 2 spine crawlers? Then this could be used to optimize all sorts of build orders, allins and economical alike.
FLuE
Profile Joined September 2010
United States1012 Posts
October 13 2010 03:02 GMT
#69
Concept is cool, build is useless. They just get a forge when they see your warren and win automatically, maybe with 4 range but I doubt it...


A - I think he was just using this build as an example. If he posted the optimal build to make 6 lings nobody would have cared, if he posted the optimal build for 10 mutas it would have been 10 pages long.

B - The build isn't useless. I've already tried it and it is very fast, and effective. So for a side note, it is actually a nice opener. I've only done it in some 2v2 RT games, so not sure how it would do in 1s but in a 2v2 it is a nice little build.

C - What league are you in that the response to a roach warren on 18 is forge and cannons? And if they do that, then just expand while they turtle behind cannons? Actually cool thing with this build is it looks like a 10 pool if you get just a quick scout...and your economy isn't really horrible after the roaches come out either.
Almania
Profile Joined September 2010
145 Posts
October 13 2010 03:07 GMT
#70
On October 13 2010 09:29 FrostedMiniWeet wrote:
I was actually considering writing a similar program.


I was actually underway writing such a program a couple of weeks back before.. like most of my impromptu unpaid programming tasks I got bored and moved on =p.

Now it's piqued my interest again and I want to get back to it...

Props to the OP, nice work.
BladeRunner
Profile Blog Joined February 2010
United States407 Posts
October 13 2010 03:09 GMT
#71
I have a friend who's a genius at CS, worked on the AI they put in robots sent to the moon, and I've had many interesting conversations with him about Machine Learning (a topic he is quite interested in). I, being a meer CS bachelor's degree holder was of course familiar with genetic algorithms, but I learned by talking to him that they're widely considered suboptimal to experts in the field.. They tend to get stuck on local maxima/minima.

According to him (and unfortunately I can't really back this up as I'm not an expert), support vector regression is better in almost every case.

From my experience, genetic algorithms are cool for finding unsuspected solutions to a problem, and many various solutions... not exactly the best way to find the BEST solution reliably. I think you could take advantage of this with your tool is to look at a longer target and the result would be a handful of optimal solutions that the player could choose between in the early-game based on scouting, etc.
StimCraft
Profile Joined March 2010
United States144 Posts
Last Edited: 2010-10-13 03:22:51
October 13 2010 03:22 GMT
#72
Would be MUCH more effective for toss or terran. Otherwise, nice job.
kidcrash89
Profile Joined August 2010
198 Posts
Last Edited: 2010-10-13 03:41:13
October 13 2010 03:22 GMT
#73
As other have said, you've pretty much built it before I have. These models are theoretical at best and have errors in applicability. If anything, releasing the program will add more depth to the game because players would be thinking at much more complicated levels. Theory does not consider every possible map, nor does it scout for you or protect you from harass. If anything, releasing the program will allow more players to think of starcraft truly as a game of strategy, and could lead to great balance changes in the future. Ultimately, getting 7 roaches as fast as you can is great and all, but it doesn't help you if the other player knows how to counter that. Also, this method could easily be exploited by figuring out when the exact time you need to scout the build is. If people started doing this, then you start having people trying to find builds which won't reveal too much too soon. Seems pretty cool to me. To be honest, I'm more interested in learning from your code than anything else as I hope to go to grad school to study algorithms.

Also, will this consider the option of early expanding? In other words, suppose this were a terran/marine simulator, could it instruct you to make additional barracks? Funny how looking at this from Zerg's perspective actually seems (I could be wrong) to make things LESS complicated, while a problem I approached regarding how many workers are needed to sustain any certain build showed that Zerg's methodology was more complicated.
kevmo
Profile Joined September 2010
United States38 Posts
October 13 2010 03:36 GMT
#74
On October 13 2010 12:09 BladeRunner wrote:
I have a friend who's a genius at CS, worked on the AI they put in robots sent to the moon, and I've had many interesting conversations with him about Machine Learning (a topic he is quite interested in). I, being a meer CS bachelor's degree holder was of course familiar with genetic algorithms, but I learned by talking to him that they're widely considered suboptimal to experts in the field.. They tend to get stuck on local maxima/minima.

According to him (and unfortunately I can't really back this up as I'm not an expert), support vector regression is better in almost every case.

From my experience, genetic algorithms are cool for finding unsuspected solutions to a problem, and many various solutions... not exactly the best way to find the BEST solution reliably. I think you could take advantage of this with your tool is to look at a longer target and the result would be a handful of optimal solutions that the player could choose between in the early-game based on scouting, etc.


Support vector machines are used for classification problems (given an input and a set of data, produce a function which most reliably predicts that data). Genetic algorithms are used for search problems (given a solution space, find the "best" solution for some definition of best).

That said, genetic algorithms usually are not the best solution for a given search problem. The advantage lies in the ease of implementation, as well as general applicability. Essentially, I consider genetic algorithm the go to algorithm when you don't really know a better way to solve a search problem. Often in complicated problems (such as build order optimization) genetic algorithms are a good way to get something working.

I obviously don't know the details of the OP's implementation, but there are possibly optimizations to be done even with genetic algorithms. For instance, you can prune solutions early that don't meet certain easily calculable metrics. The easiest are required buildings/units for a given set of goals. In the 7 roach example, you know that you will need at the LEAST a spawning pool, roach warren, extractor, 1 overlord (because 6 drones - 3 for buildings + 14 supply of roaches = 17 supply), and 7 roaches in the build. Any build that does not contain these items simply is not valid, and does not need to be considered as a solution. Furthermore, you can probably speed up evaluation with some simple formulas based on required minerals. For example, you know you need a certain amount of minerals and gas to get all the required buildings and units, and there are easy heuristics for computing payoff time for building workers. Using these numbers, it should be easy to prune off say, a 6 pool as being clearly inferior to a 7 pool, etc.

In terms of implementation, the latter optimization can be thought of as keeping track of the best builds you have seen so far, and immediately rejecting anything that is slower by a certain margin using simple heuristics (e.g. I have seen 7 roaches in 5:00 so starting my spawning pool at 4:30 is clearly not going to be any better). This would involve finding any critical paths and resource requirements for a given goal, but that can be precomputed once and then used over and over again as you evaluate solutions.
voss
Profile Blog Joined September 2010
Australia146 Posts
October 13 2010 03:36 GMT
#75
Question for you Lomilar: Is it possible to input multiple requirements? Or is it just limited to X number of Y units in fastest possible?

example: I want to get out 10 roaches, 4 zerglings, 2 infestors and a hatchery in the shortest time possible. Is this a valid input to your optimizer?
Lomilar
Profile Joined July 2010
United States130 Posts
October 13 2010 03:40 GMT
#76
On October 13 2010 12:36 voss wrote:
Question for you Lomilar: Is it possible to input multiple requirements? Or is it just limited to X number of Y units in fastest possible?

example: I want to get out 10 roaches, 4 zerglings, 2 infestors and a hatchery in the shortest time possible. Is this a valid input to your optimizer?


Yes.
OwlFeet
Profile Blog Joined April 2009
75 Posts
October 13 2010 03:45 GMT
#77
I bet Blizzard already does this to check for obvious rush problems
voss
Profile Blog Joined September 2010
Australia146 Posts
October 13 2010 03:49 GMT
#78
On October 13 2010 12:40 Lomilar wrote:
Show nested quote +
On October 13 2010 12:36 voss wrote:
Question for you Lomilar: Is it possible to input multiple requirements? Or is it just limited to X number of Y units in fastest possible?

example: I want to get out 10 roaches, 4 zerglings, 2 infestors and a hatchery in the shortest time possible. Is this a valid input to your optimizer?


Yes.


Impressive.

In order to maintain a decent economy, can you specify a number of drones? - how does this incorperate with this current amount of drones? Will it factor in the increased resources that come with these drones? Does it factor in oversaturation (pretty hard to do I guess)

example: I want to get out 10 roaches, 4 zerglings, 2 infestors, a hatchery, and 30 drones.

Will these 30 drones be factored in to the income rate? Will it add 30 drones to the amount of drones in the previous example (10 roaches, 4 zerglings, 2 infestors and a hatchery)? Or will it count the amount of drones from before (if this makes sense)?

1 More question: is it possible to put a higher priority on certain units: - using the previous example; obviously getting the 30 drones out first would result in the fastest time, but it would be unrealistically unsafe. So could you put priority (or something) on the 10 roaches some how?
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
October 13 2010 03:51 GMT
#79
sure go for it. :D
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
BishopXIV
Profile Joined August 2010
United States19 Posts
October 13 2010 03:59 GMT
#80
this is cool 7 roaches in 4:40 hmmm.....
Please enter the above text in the field to prove you are not a robot. You can refresh the image if it's too hard to read. - teamliquid.net/mytlnet/register.php
Prev 1 2 3 4 5 6 56 57 58 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
18:00
Kung Fu Cup SC: EVO 10
SteadfastSC265
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 265
IndyStarCraft 152
JuggernautJason88
StarCraft: Brood War
Dewaltoss 217
BRAT_OK 123
Movie 34
soO 23
Sexy 18
yabsab 15
910 6
Stormgate
NightEnD12
Counter-Strike
Stewie2K749
flusha288
pashabiceps202
Super Smash Bros
hungrybox309
C9.Mang0102
Heroes of the Storm
Liquid`Hasu486
Khaldor225
Other Games
tarik_tv24340
summit1g8411
Grubby4760
FrodaN3254
mouzStarbuck865
ArmadaUGS135
ZombieGrub103
Trikslyr54
Organizations
Other Games
gamesdonequick2145
StarCraft 2
ESL.tv119
Other Games
BasetradeTV96
StarCraft 2
angryscii 19
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• musti20045 2
• Reevou 2
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 25
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2858
League of Legends
• TFBlade1299
Other Games
• Shiphtur342
• Scarra179
Upcoming Events
Online Event
7h 8m
ShoWTimE vs MaxPax
SHIN vs herO
Clem vs Cure
SHIN vs Clem
ShoWTimE vs SHIN
SOOP
12h 8m
DongRaeGu vs sOs
CranKy Ducklings
13h 8m
WardiTV Invitational
14h 8m
AllThingsProtoss
14h 8m
SC Evo League
15h 8m
WardiTV Invitational
17h 8m
Chat StarLeague
19h 8m
PassionCraft
20h 8m
Circuito Brasileiro de…
21h 8m
[ Show More ]
Online Event
1d 7h
MaxPax vs herO
SHIN vs Cure
Clem vs MaxPax
ShoWTimE vs herO
ShoWTimE vs Clem
Sparkling Tuna Cup
1d 13h
WardiTV Invitational
1d 14h
AllThingsProtoss
1d 14h
uThermal 2v2 Circuit
1d 17h
Chat StarLeague
1d 19h
Circuito Brasileiro de…
1d 21h
Afreeca Starleague
2 days
BeSt vs Light
Wardi Open
2 days
PiGosaur Monday
3 days
Afreeca Starleague
3 days
Snow vs Soulkey
WardiTV Invitational
3 days
Replay Cast
4 days
GSL Code S
4 days
ByuN vs Rogue
herO vs Cure
Replay Cast
5 days
GSL Code S
5 days
Classic vs Reynor
GuMiho vs Maru
The PondCast
5 days
RSL Revival
6 days
GSL Code S
6 days
Liquipedia Results

Completed

FGSL Season 1
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

BSL Nation Wars Season 2
StarCastTV Star League 4
JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
2025 GSL S1
Heroes 10 EU
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

CSLPRO Spring 2025
NPSL S3
CSLPRO Last Chance 2025
CSLAN 2025
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 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.