Hmmmm... It's actually a bit worse than I expected... The function MixedIntegerLinearProgram.solve returns a ValueError when there is no solver installed, and the traveling_salesman_problem method also returns a ValueError when there is no hamiltonian cycle, so the is_hamiltonian function has no way to make any difference between the two.
What would you think of raising a NotImplementedError when there is no solver installed instead ? Nathann On 16 June 2010 14:20, Minh Nguyen <nguyenmi...@gmail.com> wrote: > Hi Nathann, > > On Wed, Jun 16, 2010 at 10:18 PM, Nathann Cohen <nathann.co...@gmail.com> > wrote: > > <SNIP> > >> Have you created a patch for this already ? > > Not yet. I have been waiting for confirmation from an expert :-) > > >> If not, I'll do it >> immediately ! :-) > > Sure, thank you. > > -- > Regards > Minh Van Nguyen > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org