Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com
 
Latest News  

Congratulations to all our winners. Read about their contest experience on our Winners page. For more commentary on the contest, see the Mid-Contest Analysis, the Contest Evolution.

Thank you all for participating! Please share your feedback on the newsgroup.

Don't miss hearing about the next MATLAB Contest. Sign up for our MATLAB Contest mailing list. Send e-mail to lists@mathworks.com with subscribe contest-announce in the e-mail body. For a listing of all our past contests, see the Overview page.

Ants Contest

This is the tenth MATLAB Online Programming Contest.

The Problem

Imagine a sandbox in which there are ants, sugar cubes, anthills, and rocks. Ants like sugar: collectively they want to bring as many sugar cubes as possible back to their anthills before sunset.

For this contest, you will write the control program that each ant carries with it. Ants, being so small, have some limitations, of course. Each ant can carry no more than one sugar cube at a time. Further, each ant can only see her local vicinity. Your program, which is run sequentially for each ant, knows only what that ant knows. Thus you must bring about the best possible global outcome based only on local conditions. The ants don't have any memory as such, but they can leave behind a chemical trail to guide themselves and others across the sandbox landscape.

Your score is determined by how much progress you make moving food towards and into the anthills. Ideally your ants will move all the sugar cubes onto anthills. Practically this may not be possible; do the best you can. You receive credit even by moving one sugar cube one step closer to an anthill.

NOTE: This contest is divided into three segments. Most of the week will run as usual, with free sharing of code. But the first two days of the contest will hide some of the information about each entry.

Contest Announcement E-mail List

Don't miss hearing about the next MATLAB Contest. Sign up for our MATLAB Contest mailing list. Send an e-mail to lists@mathworks.com with subscribe contest-announce in the body.

More Information

The contest overview page has an introduction to the MATLAB Contest and listing of past contests.

 ants
 
Home

About the contest

Rules

Contest winners

Contest evolution

Mid-contest analysis

Newsgroup thread

Queue & Top 20

Complete rankings

Chronological listing

Search the entries

Statistics

FAQ

Hall of fame

Send us feedback
 

Related Topics