|
|
|
 |

August 7th, 2003, 01:34 AM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: Math problem
Quote:
Originally posted by cybersol:
I have verified the following solution by Erax for 9 players. LGM, why do you think it does not work and why does your program fail to find it?
|
I suspect his program is hitting a point where it can't find a valid remaining set and is then deciding that number n has no solution. Whil ein fact as we showed earlier sometimes you can get stuck down a "blind-alley" where there is a solution for n, but not for every possible set of 3. Like what happened to Bbgemont. To completely rule out a possible solution it would have to back track when it reaches these end points and change an earlier set and rework from that point. Sounds complicated.
Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

August 7th, 2003, 01:39 AM
|
BANNED USER
|
|
Join Date: Nov 2001
Location: Near Boston, MA, USA
Posts: 2,471
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Math problem
(I don't really know anything about the math involved)
I did another google search:
"round robin tournament"
Then I tried:
"round robin tournament" +software
Quite a few hits that might help including calcuators.
Here is one link:
http://www.devenezia.com/downloads/round-robin/
I guess what I'm driving at here is others must have wanted this and their answer must be on the web.
Good luck
[ August 07, 2003, 00:58: Message edited by: Gryphin ]
|

August 7th, 2003, 01:59 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Math problem
Geo:
You have a difficult problem. Most programs used to set up match schedules like this are based on 2 players/teams.
What you are proposing is not a very common format to schedule and will be very difficult to organize. Other than finding the total number of games required (i.e. number of all the different combinations of players as calculated by others), you'll have to manually arrange the games or find someone to make a program for you that can do this automatically. On a more positive note, I'm sure there is some sort of combinations calculator out there on the net that lists each of the combinations...
[ August 07, 2003, 01:07: Message edited by: Captain Kwok ]
|

August 7th, 2003, 02:06 AM
|
 |
Major General
|
|
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Math problem
Let's see: Floor function for the numbers:
Pp = players per game
Np = Number of players (total)
Gp = Games per player
Tg = Total games
Gp = (Np - 1) / (Pp - 1)
Tg = (Np * Gp) / Pp
= (Np*((Np - 1) / (Pp - 1)))/Pp
= (Np * (Np - 1)) / (Pp * (Pp - 1))
Gp = (Np - 1) / (Pp - 1)
Tg = (Np * (Np - 1)) / (Pp * (Pp - 1))
If Gp and Tg come out as positive integers, it should be doable - I'm not sure about the arrangement, however.
Edit: Arrangement method:
1) List players
2) Variables
Pp = players per game
Np = Number of players (total)
Gp = Games per player
Tg = Total games
Sk = Skip (counting variable; internal use only)
3) Gp = (Np - 1) / (Pp - 1)
4) Tg = (Np * (Np - 1)) / (Pp * (Pp - 1))
5) Sk = 0
6) Group, skipping Sk
7) Sk = Sk + Pp
8) If Sk < Np, Goto 6
[ August 07, 2003, 01:44: Message edited by: Jack Simth ]
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
|

August 7th, 2003, 02:18 AM
|
General
|
|
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Math problem
geo you should grab one of those wheel systems for lotteries.
you need a 3 of n wheeler with a filter
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg
Hey GUTB where did you go...???
He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
|

August 7th, 2003, 02:19 AM
|
 |
Corporal
|
|
Join Date: May 2003
Location: SF Bay Area, CA
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Math problem
Quote:
Originally posted by Jack Simth:
Let's see: Floor function for the numbers:
Pp = players per game
Np = Number of players (total)
Gp = Games per player
Tg = Total games
Gp = (Np - 1) / (Pp - 1)
Tg = (Np * Gp) / Pp
...
If Gp and Tg come out as positive integers, it should be doable - I'm not sure about the arrangement, however.
|
I think this is the same as what I had a few Posts back, or am I missing something?
Edit: Oh sure add more
Quote:
Originally posted by Jack Simth:
Edit: Arrangement method:
Edit: Arrangement method:
1) List players
2) Variables
Pp = players per game
Np = Number of players (total)
Gp = Games per player
Tg = Total games
Sk = Skip (counting variable; internal use only)
3) Gp = (Np - 1) / (Pp - 1)
4) Tg = (Np * (Np - 1)) / (Pp * (Pp - 1))
5) Sk = 0
6) Group, skipping Sk
7) Sk = Sk + Pp
8) If Sk < Np, Goto 6
|
Looks promising, but I don't understand exactly what you mean by group, skipping sk. Could you show the Np=13 and Pp=3 case I mentioned earlier as an example (since no one has shown it yet)?
[ August 07, 2003, 01:56: Message edited by: cybersol ]
|

August 7th, 2003, 02:23 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Math problem
Quote:
Originally posted by tesco samoa:
geo you should grab one of those wheel systems for lotteries.
you need a 3 of n wheeler with a filter
|
This is exactly what he needs! Some sort of calculator that will list all the possible combinations of numbers (i.e. players) for n number of players, and r number of players per game!
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|