View Single Post
Old 07-23-2018, 09:24 PM   #218
bwburke94
Hall Of Famer
 
bwburke94's Avatar
 
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,444
Why will the schedule generator not schedule the same number of games against each subleague opponent if possible?

Check out the below settings file for an example. I have it set so that 96 subleague games are played, all in 4-game series, and there are 24 subleague teams to choose from - yet some teams play 8 times while others play 0 times.

Code:
[general]
; General options.
; n.b. interleague and balanced options here
; only control the schedule file filename
; and header. To enforce balance or interleague
; play, use the options under [schedule].

; Whether to write to the schedule file
; claiming interleague play is supported.
interleague=true
; Whether to write to the schedule file
; claiming the schedule is balanced.
balanced=false
; The league structure, in schedule file
; format. Underscores are permitted but ignored.
structure=SL1_D1_T6_D2_T6_D3_T6_D4_T6_D5_T6_SL2_D1_T6_D2_T6_D3_T6_D4_T6_D5_T6

[schedule]
; Scheduling options. The scheduling engine will
; create a schedule with exactly this many games,
; or inform you what to change to create a valid
; schedule.

; This many divisional games.
divisional_games=30
; This many subleague games.
subleague_games=96
; This many interleague/interdivisional games.
interleague_games=90
; If set to true, the scheduling engine will attempt
; to set up interdivisional pools between divisions
; of the same size.
match_divisions=false
; If set to true, the scheduling engine will attempt
; to set up interleague pools between leagues of the
; of the same size.
match_subleagues=false
; If set to true, the scheduling engine will attempt
; to set up interleague pools between divisions of
; the same size. If enabled at the same time as
; match_subleagues, match_subleagues will take
; priority.
match_subleagues_by_division=false

[divisional-series]
; Series scheduling options.

; The preferred length for series.
preferred_length=3
; In each division (or subleague, or all teams,
; for the two following sections), teams will
; be divided into this many pools.
pool_count=1

[subleague-series]
preferred_length=4
pool_count=1

[interleague-series]
preferred_length=3
pool_count=1

[break]
; Break scheduling options.

; This many days of break/padding will be added
; over the course of the series.
break_days=0

; The all-star game will be scheduled this far
; into the season. Set it to -1 to disable all-
; star scheduling.
all_star_percentage=60

; The all-star game will occur in a break of
; this length.
all_star_length=3

; The all-star game will occur on this day of
; the week.
all_star_day_of_week=Tuesday

; These options enable week-aware scheduling.
; start_day_of_week defines the first day of
; week in the schedule.
; No games will be scheduled on off_days_of_week.
; No random break days will be placed on non_off_days_of_week.
start_day_of_week=Saturday
off_days_of_week=
non_off_days_of_week=

; If true, break days may occur in the middle of
; series. If false, the scheduler will move break
; days to the end of series, except if doing so
; would cause a game to be played on a day specified
; in non_off_days_of_week.
mid_series_breaks = false

[time]
; Options for scheduling of games. The
; scheduler will distribute games evenly through
; the day per these options, starting on the hour
; or the half hour, preferring the last start times
; in the day first.

; Schedule the first game in a day no earlier
; than this.
first_start=1300
; Schedule the last game in a day no later than
; this.
last_start=2000
; Offset from the hour and half-hour by this much.
start_offset=0
; Start this many games at the same time.
simultaneous_games=2
bwburke94 is offline   Reply With Quote