Code covered by the BSD License  

Highlights from
MATLAB Contest - Furniture

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 14.8 KB File ID: #6177
image thumbnail

MATLAB Contest - Furniture

by

 

03 Nov 2004 (Updated )

All the files needed to develop and score an entry for the ninth MATLABĀ® Programming Contest.

| Watch this File

File Information
Description

The ninth MATLAB Programming Contest, Furniture, ran from November 3-10, 2004.

You are given the task of rearranging furniture in a room while doing as least work as possible. For more information, see the contest page:

http://www.mathworks.com/contest/furniture/rules.html

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
04 Nov 2004 Pedro L. Galindo

If you run the example shown in the rules,
with the supplied solver, you get easily a first movement equal to move = [ 4 1 ; ...
which is impossible.
There is a problem with rows and columns,
x and y, etc. in the solver, and in the
runcotest routines.
It is considering North=3, East=1, South=2, West=4.

Updates
03 Nov 2004

Fix a bug in the error checking. Since "a" and "af" are matrices, line 88 of runcontest.m should be "if any(a(:)~=af(:))".

04 Nov 2004

Remove negative weights from test suite.

06 Aug 2009

Fixed copyright line.

21 Jun 2010

Added missing test suites.

Contact us