I feel very timid as I approach the Monks with my question. I am a recent convert to Perl and come with no prior religious background (computer science et. al) with which to help me. It is my hope to glean from you sages.

Almost a year ago I was asked (as part of my MFA assistantship) to figure out how to automatically create adjudication paneling for a high school drama competition. I was asked because out of my entire Graduate class, I was the only one who had any background in computers. I came up with a simple solution a year ago that does not work 100% of the time (not even 20%, probably). Now that the event is coming up again, I've been asked to see if I can "make it work."

Paneling in Brief:

Each year a set number of schools register for the competition. Each school can register participants into two types of competitions: monologues or duos/trios. There are three rounds wherein participants compete.

  1. No individual can compete against his own school.
  2. Each participant must compete each round.
  3. No participant can compete against the same competitor more than once.
  4. There should not be more than 6 competitors in each adjudicated panel.

These rules seem simple enough, but I have been banging my head trying to solve it. I even created a simple chart to help me "visualize" what I am trying to do:

Understanding Paneling Image

My simple CGI program is available here:

Panel Generation Program
The code can be taken here:
Panel Generation Code

Although I am just a graduate student working as a slave for a non-profit organization, I am more than willing to buy tickets to whomever can help me. I'm not necessarily looking for someone to rewrite a program for me (unless it is painfully obvious and simple), but I would love tips, suggestions, and pointers.

Coincidentally, I've presented this problem to the university math and computer science majors here at Southern Utah University and the only help I've received is learning about factorials.

Sincerely submitted,
~derek


In reply to Perl for Adjudication by dejoha

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.