From: S. B. Gray on 3 Aug 2010 06:41 On 8/2/2010 4:06 AM, Leonid Shifrin wrote: > Jon, > > Your example runs fine for me (M7.0.0): > > In[15]:= Needs["GraphUtilities`"] > > In[16]:= MinCut[{1 -> 2}, 2] > > Out[16]= {{1}, {2}} > > Have no data on 7.0.1 though. > > Regards, > Leonid > > > On Sun, Aug 1, 2010 at 12:56 PM, Jon Harrop<usenet(a)ffconsultancy.com>wrote: > >> Whenever I call the MinCut function the Mathematica (7.0.1) kernel dies. >> Even with trivial examples like: >> >> MinCut[{1 -> 2}, 2] >> >> Does everyone else observe this? >> >> -- >> Dr Jon Harrop, Flying Frog Consultancy Ltd. >> http://www.ffconsultancy.com >> >> >> Works for me too but it takes a couple of seconds. Steve Gray
From: Barrie Stokes on 3 Aug 2010 06:41 Hi Jon This from the Mathematica 7 help runs fine: In[16]:= Needs["GraphUtilities`"] In[17]:= g = {1 -> 2, 2 -> 3, 3 -> 1, 2 -> 4, 4 -> 5, 5 -> 6, 6 -> 4} Out[17]= {1 -> 2, 2 -> 3, 3 -> 1, 2 -> 4, 4 -> 5, 5 -> 6, 6 -> 4} In[18]:= GraphPlot[g, VertexLabeling -> True]; In[19]:= MinCut[g, 2] Out[19]= {{1, 3, 4}, {2, 5, 6}} In[20]:= $Version Out[20]= "7.0 for Microsoft Windows (64-bit) (February 18, 2009)" Cheers Barrie >>> On 01/08/2010 at 6:56 pm, in message <201008010856.EAA08341(a)smc.vnet.net>, Jon Harrop <usenet(a)ffconsultancy.com> wrote: > Whenever I call the MinCut function the Mathematica (7.0.1) kernel dies. > Even with trivial examples like: > > MinCut[{1 -> 2}, 2] > > Does everyone else observe this?
From: Simon Pearce on 4 Aug 2010 05:49
I find exactly the same behaviour as you Jon. Using Windows Vista and Mathematica 7.0.1 MinCut crashes the kernel every time whether in the help files or a notebook. Simon -----Original Message----- From: Jon Harrop [mailto:usenet(a)ffconsultancy.com] Sent: 03 August 2010 11:37 Subject: Re: MinCut crashes the Mathematica kernel Thanks for the responses. This is very odd because MinCut crashes the Mathematica kernel all the time with Mathematica 7.0.1 under Windows Vista whether I run it in the help system or its own notebook... "Peter Pein" <petsie(a)dordos.net> wrote in message news:i368q4$ram$1(a)smc.vnet.net... > Am Sun, 1 Aug 2010 08:56:49 +0000 (UTC) > schrieb "Jon Harrop" <usenet(a)ffconsultancy.com>: > >> Whenever I call the MinCut function the Mathematica (7.0.1) kernel >> dies. Even with trivial examples like: >> >> MinCut[{1 -> 2}, 2] >> >> Does everyone else observe this? >> > > Only when I try to execute the examples inside the help-system. > Copying into a notebook and executing exactly the same stuff does no > harm. > > Peter > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. |