Use precomputed optimal schedules (if available) in writeGaps.