Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Spring 2012 MATLAB Contest, April 4 - 11

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Helen Chen

Date: 4 Apr, 2012 14:22:11

Message: 1 of 24

Hi MATLAB Central Community -

The Spring MATLAB Contest will start at noon, Boston time/16:00 UTC today, Wednesday April 4and will run through noon, Boston time Wednesday, April 11.

Please post any comments or questions about this contest as replies to this thread so that we can track the conversations.

If you have not participated in any of our past contests, you can learn more by going to the contest website at http://www.mathworks.com/matlabcentral/contest/

We look forward to seeing you online!
 
Helen Chen and the MATLAB Contest Team

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Helen Chen

Date: 4 Apr, 2012 16:32:17

Message: 2 of 24

The Tiles Contest is officially launched. Get started by reading the rules at http://www.mathworks.com/matlabcentral/contest/contests/36/rules .

Good luck everybody!
Helen

"Helen Chen" <helen.chen@mathworks.com> wrote in message <jlhlej$bkp$1@newscl01ah.mathworks.com>...
> Hi MATLAB Central Community -
>
> The Spring MATLAB Contest will start at noon, Boston time/16:00 UTC today, Wednesday April 4and will run through noon, Boston time Wednesday, April 11.
>
> Please post any comments or questions about this contest as replies to this thread so that we can track the conversations.
>
> If you have not participated in any of our past contests, you can learn more by going to the contest website at http://www.mathworks.com/matlabcentral/contest/
>
> We look forward to seeing you online!
>
> Helen Chen and the MATLAB Contest Team

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Amitabh Verma

Date: 4 Apr, 2012 16:52:16

Message: 3 of 24

http://www.mathworks.com/matlabcentral/contest/
FYI the Contest Main page does not show the Tiles contest website.

- Amitabh


"Helen Chen" <helen.chen@mathworks.com> wrote in message <jlht2h$cdc$1@newscl01ah.mathworks.com>...
> The Tiles Contest is officially launched. Get started by reading the rules at http://www.mathworks.com/matlabcentral/contest/contests/36/rules .
>
> Good luck everybody!
> Helen
>
> "Helen Chen" <helen.chen@mathworks.com> wrote in message <jlhlej$bkp$1@newscl01ah.mathworks.com>...
> > Hi MATLAB Central Community -
> >
> > The Spring MATLAB Contest will start at noon, Boston time/16:00 UTC today, Wednesday April 4and will run through noon, Boston time Wednesday, April 11.
> >
> > Please post any comments or questions about this contest as replies to this thread so that we can track the conversations.
> >
> > If you have not participated in any of our past contests, you can learn more by going to the contest website at http://www.mathworks.com/matlabcentral/contest/
> >
> > We look forward to seeing you online!
> >
> > Helen Chen and the MATLAB Contest Team

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Nuwan Ganganath

Date: 4 Apr, 2012 16:58:12

Message: 4 of 24

Hey, I'm bit confused about the contest rules. It says;
You don't have to use all tiles.
Tiles you play don't need to fill your board.
You may receive fewer tiles than your board can contain.

Is it possible to have an empty table?

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Ned Gulley

Date: 4 Apr, 2012 17:45:17

Message: 5 of 24

Nuwan Ganganath wrote
>
> Is it possible to have an empty table?

Yes. Depending on the number of tiles provided, you can use all, some, or none of them on the board. If you have too many tiles to use them all, you get to pick which ones go on the board and which ones don't.

Subject: Edge values are any numbers, right? Thanks!

From: Amitava Biswas

Date: 4 Apr, 2012 19:09:16

Message: 6 of 24

The edges values may be negative integers or floating point also? Thanks!

Subject: Edge values are any numbers, right? Thanks!

From: Doug Hull

Date: 4 Apr, 2012 19:21:12

Message: 7 of 24


> The edges values may be negative integers or floating point also? Thanks!

Only positive integers!

Thanks,
Doug

Subject: Edge values are any numbers, right? Thanks!

From: Doug Hull

Date: 4 Apr, 2012 19:22:11

Message: 8 of 24


> The edges values may be negative integers or floating point also? Thanks!

Only positive integers!

Thanks,
Doug

Subject: Score any empty squares on board as tiles [0 0 0 0] right? Thanks!

From: Amitava Biswas

Date: 4 Apr, 2012 20:26:18

Message: 9 of 24

Score any empty squares on board as if filled with tiles [0 0 0 0], right? Thanks!

Subject: Score any empty squares on board as tiles [0 0 0 0] right? Thanks!

From: Doug Hull

Date: 4 Apr, 2012 20:38:26

Message: 10 of 24


> Score any empty squares on board as if filled with tiles [0 0 0 0], right? Thanks!

That is one way to think about it, so yes.

Doug

Subject: Score any empty squares on board as tiles [0 0 0 0] right? Thanks!

From: Ned Gulley

Date: 4 Apr, 2012 20:40:26

Message: 11 of 24

Amitava Biswas wrote
> Score any empty squares on board as if filled with tiles [0 0 0 0], right?

Right.

Subject: Edge values are any numbers, right? Thanks!

From: Amitava Biswas

Date: 4 Apr, 2012 20:44:11

Message: 12 of 24

"Doug Hull" <hull@mathworks.SPAMPROOFcom> wrote in message <jli713$nma$1@newscl01ah.mathworks.com>...
>
> > The edges values may be negative integers or floating point also? Thanks!
>
> Only positive integers!
>
> Thanks,
> Doug

zero or any positive (not necessarily below 10 or 1000, but including the 0) right? Thanks!

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Andreas Bonelli

Date: 4 Apr, 2012 21:22:17

Message: 13 of 24

The newsreader link on the bottom of the contest rules page still links to the Fall 2011 Contest thread.

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Ned Gulley

Date: 4 Apr, 2012 21:41:18

Message: 14 of 24

Andreas Bonelli wrote
> The newsreader link on the bottom of the rules still links to the Fall 2011 Contest thread.

Thanks for the note! Fixed it.

Subject: Edge values are any numbers, right? Thanks!

From: Oliver Woodford

Date: 5 Apr, 2012 12:44:12

Message: 15 of 24

"Doug Hull" wrote:
> > The edges values may be negative integers or floating point also? Thanks!
>
> Only positive integers!
>
> Thanks,
> Doug

Test 3 of the test suite contains a tile with a negative edge!

Subject: Edge values are any numbers, right? Thanks!

From: Dan Seal

Date: 5 Apr, 2012 14:02:15

Message: 16 of 24

"Oliver Woodford" wrote in message <jlk42s$pjj$1@newscl01ah.mathworks.com>...
> "Doug Hull" wrote:
> > > The edges values may be negative integers or floating point also? Thanks!
> >
> > Only positive integers!
> >
> > Thanks,
> > Doug
>
> Test 3 of the test suite contains a tile with a negative edge!

Oops. We had intended to make 0 be the lowest value, but it looks like a few -1s slipped through the cracks. So all tile edges are one of the following:
   -1
   0
   A positive integer

You may notice an interesting twist that this adds: Any '-1' not played on the board will subtract 1 from your total score rather than add 1. This may help your score, but you may get a better result by playing the tile on the board and matching it to another -1.

Subject: cpu time

From: Yi Cao

Date: 9 Apr, 2012 23:16:22

Message: 17 of 24

Does anyone know why cpu time shown on the contest webpage is so different from what we can get from our own computer using the test case? It seems using bsxfun is much faster on the contest server than on our compters. Why?

Yi

Subject: cpu time

From: David Hruska

Date: 10 Apr, 2012 01:00:13

Message: 18 of 24

"Yi Cao" <y.cao@cranfield.ac.uk> wrote in message <jlvqk6$q45$1@newscl01ah.mathworks.com>...
> Does anyone know why cpu time shown on the contest webpage is so different from what we can get from our own computer using the test case? It seems using bsxfun is much faster on the contest server than on our compters. Why?
>
> Yi

Yi, the contest machine is running MATLAB R2012a on 64-bit Linux. It is not unreasonable to observe differences in performance between MATLAB versions and machine architectures. Also, keep in mind that the actual testsuite used to score the entries is different than the sample testsuite provided on the File Exchange. Thus, the exact amount of work the code has to do might be a bit different.

Hope this helps,
David

Subject: cpu time

From: Nicholas Howe

Date: 11 Apr, 2012 14:24:12

Message: 19 of 24

> Yi, the contest machine is running MATLAB R2012a on 64-bit Linux. It is not unreasonable to observe differences in performance between MATLAB versions and machine architectures. Also, keep in mind that the actual testsuite used to score the entries is different than the sample testsuite provided on the File Exchange. Thus, the exact amount of work the code has to do might be a bit different.
>
> Hope this helps,
> David

I notice that the current leader contains a parfor loop. Can you give us any information about whether the contest machine has multiple parallel threads available to it?
-Nick

Subject: cpu time

From: Dan Seal

Date: 11 Apr, 2012 15:19:18

Message: 20 of 24

"Nicholas Howe" wrote in message <jm446c$7eq$1@newscl01ah.mathworks.com>...
> > Yi, the contest machine is running MATLAB R2012a on 64-bit Linux. It is not unreasonable to observe differences in performance between MATLAB versions and machine architectures. Also, keep in mind that the actual testsuite used to score the entries is different than the sample testsuite provided on the File Exchange. Thus, the exact amount of work the code has to do might be a bit different.
> >
> > Hope this helps,
> > David
>
> I notice that the current leader contains a parfor loop. Can you give us any information about whether the contest machine has multiple parallel threads available to it?
> -Nick

Nick,

We do not open a MATLAB pool, so PARFOR will act the same as FOR wherever it's used. As always, only base MATLAB functions are available to be used in the contest. While the official time we measure won’t see any benefit from using PARFOR, it might help a user develop/test code more quickly if they have the Parallel Computing Toolbox available.

Good luck on the home stretch!

- Dan

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Helen Chen

Date: 11 Apr, 2012 21:07:17

Message: 21 of 24

Another fun contest has wrapped up. Congratulations to Sergey and his cats on the big win this afternoon - that was a job well done! Read more about it in Ned's blog posts http://blogs.mathworks.com/contest/ .

It was so much fun seeing both old friends and new playing in this season's contest!. Thank you to everyone for participating. We look forward to seeing you again next season. :-)

Helen

"Helen Chen" <helen.chen@mathworks.com> wrote in message <jlhlej$bkp$1@newscl01ah.mathworks.com>...
> Hi MATLAB Central Community -
>
> The Spring MATLAB Contest will start at noon, Boston time/16:00 UTC today, Wednesday April 4and will run through noon, Boston time Wednesday, April 11.
>
> Please post any comments or questions about this contest as replies to this thread so that we can track the conversations.
>
> If you have not participated in any of our past contests, you can learn more by going to the contest website at http://www.mathworks.com/matlabcentral/contest/
>
> We look forward to seeing you online!
>
> Helen Chen and the MATLAB Contest Team

Subject: Spring 2012 MATLAB Contest, April 4 - 11

From: Oliver Woodford

Date: 12 Apr, 2012 08:05:17

Message: 22 of 24

Congratulations, Sergey. Thank you to the contest team for coming up with yet another interesting problem for us to try to solve - I often wonder if these aren't customer optimization problems, just rephrased in a fun way!
Oliver

Subject: Test Suite of Spring 2012 MATLAB Contest, April 4 - 11

From: Amitava Biswas

Date: 16 Apr, 2012 16:24:07

Message: 23 of 24

Since the Tiles Contest is over, it would be very appreciated if the actual test suite is posted and/or a link is posted here. Thanks, Amitava Biswas.

Subject: Test Suite of Spring 2012 MATLAB Contest, April 4 - 11

From: Helen Chen

Date: 26 Apr, 2012 20:45:29

Message: 24 of 24

"Amitava Biswas" <abiswas@utep.edu> wrote in message <jmhh36$hvf$1@newscl01ah.mathworks.com>...
> Since the Tiles Contest is over, it would be very appreciated if the actual test suite is posted and/or a link is posted here. Thanks, Amitava Biswas.
Hi Amitava -

So sorry on the delay in getting this up for you! We've updated the download with the test suite as of this afternoon.

Thank you for the reminder on this.

Best,
Helen

Tags for this Thread

What are tags?

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.

Contact us