Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Crash in FindShortestPath (bug)
Replies: 1   Last Post: May 17, 2012 4:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Oliver Ruebenkoenig

Posts: 237
Registered: 6/28/08
Re: Crash in FindShortestPath (bug)
Posted: May 17, 2012 4:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



On Wed, 16 May 2012, Szabolcs Horvát wrote:

>
> Dear MathGroup members,
>
> The following input will crash the kernel on 8.0.4:
>
> FindShortestPath[Graph[{1, 2, 3}, {2 <-> 3}, EdgeWeight -> {1}], 1, 3]
>
> In general, I think the crash occurs when there is no path between the
> two vertices (in this example 1 is unconnected) and some EdgeWeights are
> set.
>
> I am sharing this in case others encounter crashes when using
> FindShortestPath and have problems tracking the problem down (to avoid
> it). A kernel crash can be quite annoying (losing all the session
> data). It's good to be aware of problems like this so one can avoid the
> crash.
>
>
>
> --
> Szabolcs Horv?t
> Visit Mathematica.SE: http://mathematica.stackexchange.com/
>
>


Szabolcs,

Thanks for reporting this. I filed it as bug.

Oliver



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.