Saturday, 20 April 2013

Fun with FORTRAN

The fastball season was coming quickly.  I had to get back into my fastball administration. I found out about the player draft for my fastball league in Glen Cairn.

I had the schedule for the Greater Ottawa Fastball League.
 
I got out the FORTRAN scheduling program that I wrote last year. It tried to minimize the number of conflicts for the Glen Cairn league by working around the GOFL.

Unfortunately, my compiler in Windows didn't work anymore. So I got a FORTRAN compiler for Linux and copied my program over to it.  It was old-fashioned but worked fine.

I revised my FORTRAN program and made it even better than last year. I was able to get a schedule that had just one conflict for each team in Glen Cairn.

My team captain had  asked to play most of his games on Monday. I was able to schedule 10 of the his 17 games on Monday.

Then I ran the FORTRAN program again with my Trend Arlington league. Myself and another guy played in Glen Cairn. So I de-conflicted the Trend Arlington league with Glen Cairn.

As I expected, I had scheduled 10 Monday nights in which I would be playing a game at 6:30 in one league and a 8:30 game in the other league.

No comments:

Post a Comment