ANY advice would help. Even if you just say "It's im/possible"

I have a basketball league with 500 teams to schedule every year, and would love a program that would alleviate that 2-week headache. If you know of any programs that can do this, or if you are willing/able to construct a program that can do this, or if you have any advice on how I can do this myself, please let me know.

For a visual and interactive explanation, I've constructed the following so you can understand EXACTLY what I'm looking for:


What I want the program to look like: http://dl.dropbox.com/u/5739741/jamsched.txt (the html can be viewed at http://htmledit.squarefree.com or an html editor of your choice.

And here's the schedule I would like the program to populate: https://spreadsheets.google.com/pub?...en&output=html


If you or someone you know can do this, we are willing to pay. Thanks for your time.