General Petraeus's Guide to Scheduling a War