MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

EulerianCycle in graphs

  • To: mathgroup at
  • Subject: [mg54312] EulerianCycle in graphs
  • From: Steve Gray <stevebg at>
  • Date: Wed, 16 Feb 2005 14:37:11 -0500 (EST)
  • Sender: owner-wri-mathgroup at

   If I do Length[EulerianCycle[CompleteGraph[24,24]]], I get the correct answer
 (577) in about 1-2
seconds, and ShowGraph[CompleteGraph[24,24],EdgeStyle?Thin] also works, so every
thing looks ok.

   But I have a graph "comgraph" with 40 vertices and 66 edges. All vertices are
 of even order,
either 2 or 4. However the function EulerianCycle[comgraph] never terminates, ev
en after an hour.

   Are there restrictions on graphs that make EulerianCycle work properly? Or co
uld something else
be wrong? I can supply details of comgraph if it would help.

   This is seriously holding me up. Thank you for any help.

Steve Gray

  • Prev by Date: EulerianCycle in graphs
  • Next by Date: Re: Is the answer for this Integral correct???
  • Previous by thread: EulerianCycle in graphs
  • Next by thread: comparing two lists