Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Relay Optimizing Algorithm

Name: Anonymous 2007-08-11 16:28 ID:TesCEk+R

A team of eight swimmers wants two enter two 4x100meter medley relays in a swim meet.  (The medley relay consists of one leg butterfly, one leg backstroke, one leg breaststroke, one leg freestyle.) Each swimmer can do all four strokes.

A) Develop an algorithm to find the fastest single relay.  (One person might have the fastest times in all four strokes).

B) Keeping in mind that one swimmer can do only one leg, and that all four legs of both relays must be filled, devise an algorithm to allocate the swimmers so that the two relays have the lowest possible cumulative time.

(Alternatively generalize the solution for 4n swimmers swimming n relays.  This isn't for homework, just wondering what ppl would do.)

Name: Anonymous 2007-08-11 18:58 ID:lZq1RwNI

TOO MUCH TEXT, WHAT'S THE MATH?

Solution:
1. Feed constraints into constraints solver.
2. Solve.

Name: Anonymous 2007-08-12 2:13 ID:eKObnjN3

Exhaustive search 4 teh win.

Name: 4tran 2007-08-12 2:28 ID:Heaven

Dynamic programming?

Name: Anonymous 2007-08-14 0:35 ID:9Pgxivuq

Ok then, giving an m x n matrix such that m >> n, how do I create a vector whose entries have the smallest sum possible, such that at most one entry is taken from each column in the matrix?

Name: Anonymous 2009-03-18 3:48

I wants lots and lots of some delectable pot!

Marijuana MUST be legalized.

Don't change these.
Name: Email:
Entire Thread Thread List