MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > MATLAB Programming Contest: November 310, 2004 

Subject: MATLAB Programming Contest: November 310, 2004 From: Min Poh Date: 2 Nov, 2004 13:51:36 Message: 1 of 111 
The next MATLAB Programming Contest will start tomorrow at 9 a.m. EST 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 09:40:28 Message: 2 of 111 
Min Poh wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Michael Kleder Date: 3 Nov, 2004 10:05:16 Message: 3 of 111 
Good luck everyone. Min, please post the location of the ZIP file 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 10:16:23 Message: 4 of 111 
cyclist, in Darkness you don't receive any feedback from us at all, 
Subject: MATLAB Programming Contest: November 310, 200 From: Mike Bindschadler Date: 3 Nov, 2004 10:24:43 Message: 5 of 111 
Will the final solution always be attainable? For example, if the 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 10:28:05 Message: 6 of 111 
Yes, Mike, there will always be a solution. 
Subject: MATLAB Programming Contest: November 310, 200 From: Anthony Date: 3 Nov, 2004 10:30:09 Message: 7 of 111 
Hey mathew can you post the location of the .Zip file thanks!!!! 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 10:31:32 Message: 8 of 111 
I am getting "Page not found" errors when I try to download from the 
Subject: MATLAB Programming Contest: November 310, 200 From: Scott Seidman Date: 3 Nov, 2004 15:45:21 Message: 9 of 111 
"Matthew Simoneau" <matthew@mathworks.com> wrote in news:eeefd44.4 
Subject: MATLAB Programming Contest: November 310, 2004 From: Guy S Date: 3 Nov, 2004 10:46:08 Message: 10 of 111 
In the example provided, aren't you missing a duplicate [3 3 ] move ? 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 10:48:40 Message: 11 of 111 
It took unexpectedly long for our clustered server environment to 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 10:51:06 Message: 12 of 111 
Scott Seidman wrote: 
is it legal to use embedded functions ? 
Subject: MATLAB Programming Contest: November 310, 200 From: Scott Seidman Date: 3 Nov, 2004 15:52:17 Message: 14 of 111 
"the cyclist" <thecyclist@gmail.com> wrote in news:eeefd44.10 
Subject: MATLAB Programming Contest: November 310, 2004 From: Jin Date: 3 Nov, 2004 10:54:52 Message: 15 of 111 
The MATLAB Contest Team: 
Subject: MATLAB Programming Contest: November 310, 2004 From: Laszlo Sragner Date: 3 Nov, 2004 11:12:03 Message: 16 of 111 
> 
Subject: MATLAB Programming Contest: November 310, 200 From: Ned Gulley Date: 3 Nov, 2004 11:12:07 Message: 17 of 111 
Guy S wrote: 
Subject: MATLAB Programming Contest: November 310, 2004 From: Leendert Combee Date: 3 Nov, 2004 11:13:30 Message: 18 of 111 
Min Poh wrote: 
Subject: contest: embedded functions From: Matthew Simoneau Date: 3 Nov, 2004 11:14:18 Message: 19 of 111 
GaRZoL, when you say "embedded functions", do you mean private or 
Subject: MATLAB Programming Contest: November 310, 2004 From: Stijn Helsen Date: 3 Nov, 2004 11:16:37 Message: 20 of 111 
> I am running M5.3, looks like the matworks provided scripts don't 
Subject: MATLAB Programming Contest: November 310, 2004 From: Leendert Combee Date: 3 Nov, 2004 11:32:09 Message: 21 of 111 
Stijn Helsen wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 11:35:34 Message: 22 of 111 
Will all entries begin as if from a "fresh" Matlab session? 
Subject: MATLAB Programming Contest: November 310, 2004 From: Trevis Crane Date: 3 Nov, 2004 11:43:47 Message: 23 of 111 
In the solver.m that was contained in the .zip files, the increment 
Subject: MATLAB Programming Contest: November 310, 2004 From: Leendert Combee Date: 3 Nov, 2004 11:57:09 Message: 24 of 111 
Leendert Combee wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 12:05:12 Message: 25 of 111 
cyclist, we reset the random number generator before running each 
Subject: MATLAB Programming Contest: November 310, 2004 From: vincent Date: 3 Nov, 2004 12:50:48 Message: 26 of 111 
Trevis Crane wrote: 
Subject: MATLAB Programming Contest: November 310, 2004 From: Stijn Helsen Date: 3 Nov, 2004 13:36:29 Message: 27 of 111 
> I am in fact 5.2 as well, but what about "continue"? That is not 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 13:39:37 Message: 28 of 111 
Michael Kleder reported a bug in the error checking in runcontest. 
Subject: MATLAB Programming Contest: November 310, 2004 From: Stijn Helsen Date: 3 Nov, 2004 13:44:38 Message: 29 of 111 
> % Make increment tables 
Subject: MATLAB Programming Contest: November 310, 2004 From: Michael Kleder Date: 3 Nov, 2004 15:30:38 Message: 30 of 111 
In the suite of test cases, scenarios # 7, 19 and 28 have objects 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 16:06:44 Message: 31 of 111 
Michael Kleder wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: wu zhili Date: 3 Nov, 2004 16:33:34 Message: 32 of 111 
the cyclist wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 3 Nov, 2004 16:35:02 Message: 33 of 111 
cyclist, Michael, and wu, 
Subject: MATLAB Programming Contest: November 310, 200 From: Klaas Hartmann Date: 3 Nov, 2004 16:58:21 Message: 34 of 111 
I'm just wondering if we can assume that the example solver.m 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 3 Nov, 2004 17:46:18 Message: 35 of 111 
Randy Poe wrote: 
Does it matter if my solver has an extra output? I'm using it for 
Mike Bindschadler wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 4 Nov, 2004 10:13:48 Message: 38 of 111 
Klass, the real rest suite is similar in character to the one that we 
Mike, I recommend stripping off the extra outputs before submitting 
Subject: MATLAB Programming Contest: November 310, 2004 From: Michael Kleder Date: 4 Nov, 2004 10:25:28 Message: 40 of 111 
Nice. 
Subject: MATLAB Programming Contest: November 310, 2004 From: Leendert Combee Date: 4 Nov, 2004 12:23:22 Message: 41 of 111 
He, I see from the first table of scores that's coming up now that 
Subject: MATLAB Programming Contest: November 310, 2004 From: Jin Date: 4 Nov, 2004 12:38:25 Message: 42 of 111 
!!!A Big Confused Problem for me!!! 
Subject: MATLAB Programming Contest: November 310, 2004 From: Trevis Crane Date: 4 Nov, 2004 12:55:09 Message: 43 of 111 
The solver.m file that was supplied is completely random, so there's 
Subject: MATLAB Programming Contest: November 310, 2004 From: Lucio Cetto Date: 4 Nov, 2004 13:05:22 Message: 44 of 111 
Jin: 
Subject: MATLAB Programming Contest: November 310, 2004 From: Jin Date: 4 Nov, 2004 13:17:01 Message: 45 of 111 
Lucio Cetto: 
Jin wrote: 
it shouldn't matter what standard you use. All that matters is the 
Subject: MATLAB Programming Contest: November 310, 2004 From: Ed Manlove Date: 4 Nov, 2004 15:28:54 Message: 48 of 111 
Are inline functions allowed? 
Subject: MATLAB Programming Contest: November 310, 2004 From: no one Date: 4 Nov, 2004 15:54:46 Message: 49 of 111 
Ed Manlove wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Matthew Simoneau Date: 4 Nov, 2004 15:55:36 Message: 50 of 111 
Ed, INLINE is forbidden because of its EVALlike behavior. I added 
Subject: MATLAB Programming Contest: November 310, 200 From: zboot Date: 5 Nov, 2004 00:47:42 Message: 51 of 111 
It seems like i will eat my words from my prev post. 
wu zhili wrote: 
Another small typo in runcontest, on line 20, 
I think it would be a really good idea if TMW offered some kind of 
Subject: Contest: Constants in scoring function From: Stefan Stoll Date: 5 Nov, 2004 12:11:27 Message: 55 of 111 
The constants for the scoring function 
Subject: MATLAB Programming Contest: November 310, 200 From: Tom Lemke Date: 5 Nov, 2004 08:14:20 Message: 56 of 111 
zboot wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: Ned Gulley Date: 5 Nov, 2004 10:36:33 Message: 57 of 111 
> zboot wrote: 
For those of you not following the playbyplay, here's a summary of 
Subject: MATLAB Programming Contest: November 310, 2004 From: Steve Amphlett Date: 5 Nov, 2004 15:04:17 Message: 59 of 111 
no one wrote: 
It seems that now there is some tolerance in the scores(!). It is 
Can I redraw my last comment??? 
Stijn Helsen wrote: 
I'm finding it really interesting watching this competition's 
Stijn Helsen wrote: 
Stijn Helsen wrote: 
server seems down, 
wu, the website has been down for a little bit. Our web team is in 
My script has reached a maximum recursion limit. I was wondering if 
I've just invented some new optimization algorithm which cleans 
Subject: What's the point of all this? From: Steve Amphlett Date: 7 Nov, 2004 09:25:07 Message: 70 of 111 
Has anyone else noticed that the "score" given to entries seems to be 
Subject: What's the point of all this? From: Stijn Helsen Date: 7 Nov, 2004 09:39:02 Message: 71 of 111 
Steve Amphlett wrote: 
Steve Amphlett wrote: 
Subject: What's the point of all this? From: Mike Bindschadler Date: 7 Nov, 2004 12:37:20 Message: 73 of 111 
Steve Amphlett wrote: 
Subject: What's the point of all this? From: Mike Bindschadler Date: 7 Nov, 2004 13:22:47 Message: 74 of 111 
Vassili wrote: 
Subject: What's the point of all this? From: Steve Amphlett Date: 7 Nov, 2004 16:44:29 Message: 75 of 111 
Mike Bindschadler wrote: 
Mike Bindschadler wrote: 
Subject: What's the point of all this? From: Mike Bindschadler Date: 8 Nov, 2004 08:35:41 Message: 77 of 111 
Steve Amphlett wrote: 
z wrote: 
Subject: MATLAB Programming Contest: November 310, 200 From: the cyclist Date: 8 Nov, 2004 16:01:59 Message: 79 of 111 
Min Poh wrote: 
Subject: What's the point of all this? From: Mohamed Attal Date: 8 Nov, 2004 16:06:42 Message: 80 of 111 
Mike Bindschadler wrote: 
We'll award the Tuesday Leap prize to the contestant who makes the 
Matthew Simoneau wrote: 
Subject: MATLAB Programming Contest: November 310, 2004 From: Stijn Helsen Date: 9 Nov, 2004 05:37:26 Message: 83 of 111 
Roman Akulov wrote: 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Leendert Combee Date: 9 Nov, 2004 11:21:56 Message: 84 of 111 
Chris Johnson wrote: 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Stijn Helsen Date: 9 Nov, 2004 11:49:04 Message: 85 of 111 
> I think the beauty of this problem is it simplicity of the problem 
Subject: MATLAB Programming Contest: November 310, 2004 From: Niilo Sirola Date: 9 Nov, 2004 17:00:41 Message: 86 of 111 
Ok, here's the description of the basic ideas behind My Sunday Push 
zboot wrote: 
Subject: is there a maximum code length? From: zhili wu Date: 9 Nov, 2004 21:54:59 Message: 88 of 111 
I find my code after about the 2096 line will be truncated...... 
There does appear to be a maximum code length of 65535 characters. 
k1 = 1/1000 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Stefan Stoll Date: 10 Nov, 2004 18:22:29 Message: 91 of 111 
Leendert Combee wrote 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Stefan Stoll Date: 10 Nov, 2004 18:26:39 Message: 92 of 111 
Stefan Stoll wrote 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Stijn Helsen Date: 10 Nov, 2004 14:54:59 Message: 93 of 111 
I don't think that the pathsearching is the most difficult part in 
Subject: 2 Algorithm enhancements and Theoretical Limits From: Stefan Stoll Date: 10 Nov, 2004 21:44:41 Message: 94 of 111 
Stijn Helsen wrote 
I have Matlab 6.5, too, and they work perfectly with it. 
> With 7.0.1, the latest leading entry st3 hangs 
Roman Akulov wrote: 
Subject: Competitive/cooperative strategies From: Stijn Helsen Date: 10 Nov, 2004 16:55:31 Message: 98 of 111 
The way how to participate has changed over different contests. The 
My unsubmitted program gives another solution. Both have the minimum 
Niilo Sirola wrote: 
Subject: Competitive/cooperative strategies From: wu zhili Date: 11 Nov, 2004 03:14:14 Message: 101 of 111 
Ned Gulley wrote: 
The overall winner asdf1 loops infinitely for 
Subject: Competitive/cooperative strategies From: Jin Date: 11 Nov, 2004 11:42:23 Message: 103 of 111 
Ned Gulley, Mike and everyone who participated in the contest: 
Subject: Competitive/cooperative strategies From: Christian Ylämäki Date: 11 Nov, 2004 15:14:27 Message: 104 of 111 
This contest was a little different for me since I did not have 
Subject: Competitive/cooperative strategies From: Yi Cao Date: 11 Nov, 2004 16:57:22 Message: 105 of 111 
Ned Gulley wrote: 
Stijn Helsen wrote: 
Subject: Competitive/cooperative strategies From: Paulo Uribe Date: 12 Nov, 2004 13:33:13 Message: 107 of 111 
In this contest I was not an active participant, not even an active 
> nnnn=numel(slices); 
Stijn Helsen wrote: 
I just noticed in the File Exchange the actual test suit has been 
The Furniture contest final analysis, contest evolution, and winners 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.