Hi @ all,
I finally managed to get my hands on a Raspberry Pi and try out Mathematca/Wolfram Language with examples from the Code Gallery.
Unfortunately,the “City Tour” sample (http://www.wolfram.com/language/gallery/plan-a-city-tour/) doesn’t seem to work properly on the RPI.
The first CityData[] command runs fine, albeit somewhat slow, but I’m not going to complain about that…
I found that FindShortestPath[] only works with up to four points (input:“FindShortestTour[{{1, 1}, {1, 2}, {1, 3}, {1, 4}}]”, output:“{6, {1, 2, 3, 4, 1}}”), as soon I go up to five or higher, the return is just the input (“FindShortestTour[{{1, 1}, {1, 2}, {1, 3}, {1, 4}, {1, 5}}]”).
Although I did not expect it to make a difference, I tried it both in the Mathematica notebook interface as well as in the terminal via ‘wolfram’.
Does anyone have a clue how to make the function run correctly?
And place it in this file location on your Raspberry Pi: /opt/Wolfram/WolframEngine/10.0/SystemFiles/Libraries/Linux-ARM
(Note, if you do this yourself, you will need to also remove this file manually before any later upgrades, so you may just want to wait for the next release).