Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-19 Thread Thilina Rathnayake
Hi Nguyen, Sorry I took a lot of time to get back to you. Please go through this article. http://thilinaatsympy.wordpress.com/2013/06/21/solving-linear-diophantine-equation/ I am not sure whether we can do the fallowing assumption when solving* 2x + 3y + 4z = 5*. Lets set x = x and assume y =

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-18 Thread Nguyen Tung
Hi, I've seen the way you solve Linear Diophantine equations. You break a large problem into smaller ones. Then you add solutions of all the smaller problems together, yield the solution of the large problem. I think it's very good. I don't find any bug or drawback. Why do you want to re-imple

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-17 Thread Thilina Rathnayake
On Tue, Mar 18, 2014 at 1:23 AM, Nguyen Tung wrote: > Hi, > > Do we really need a complete re-implementation? If some areas (like Thue > equations) haven't been implemented, we'll work on those only. > We only need to re-implement the solutions for linear diophantine equations. Other implementat

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-17 Thread Nguyen Tung
Hi, Do we really need a complete re-implementation? If some areas (like Thue equations) haven't been implemented, we'll work on those only. On Thursday, March 13, 2014 3:41:41 PM UTC+2, Nguyen Tung wrote: > > Hi, > My name is Tung. I'm 19 and I'm from Vietnam. I have a question concerning > Di

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-17 Thread Thilina Rathnayake
On Mon, Mar 17, 2014 at 8:37 PM, Nguyen Tung wrote: > And another question, I've read the paper you gave me containing the > algorithm that we want to implement. However, I think I don't really get > the idea (notations, methods ...). Is there any chance I can still > implement the module? > > We

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-17 Thread Thilina Rathnayake
On Mon, Mar 17, 2014 at 1:09 AM, Nguyen Tung wrote: > Hi, > > I've worked on the first issue you gave me: > > diophantine(x**3-4*x*y**2+y**3-1) > > I've found a bug in your classify_diop() that yields an error. In line > 322, you put a '==' which should be '='. Bu > Yes that shoul be corrected.

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-17 Thread Nguyen Tung
And another question, I've read the paper you gave me containing the algorithm that we want to implement. However, I think I don't really get the idea (notations, methods ...). Is there any chance I can still implement the module? On Sunday, March 16, 2014 9:39:20 PM UTC+2, Nguyen Tung wrote:

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-16 Thread Nguyen Tung
Hi, I've worked on the first issue you gave me: diophantine(x**3-4*x*y**2+y**3-1) I've found a bug in your classify_diop() that yields an error. In line 322, you put a '==' which should be '='. But even I fix that, the code gave me set([]) (which I assume no solution). Then, I tried to solve t

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-16 Thread Thilina Rathnayake
ry for the '$' its actually is to show that this is the >>>>> command which you should run from the command line.. >>>>> run the command without '$' i.e >>>>> python setupegg.py install >>>>> and run only one of t

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-16 Thread Nguyen Tung
gt;>>> Also, you will find command starting from '$' or '>>>' everywhere. >>>> well, dont just type these. these are just to show that it was a teminal >>>> or >>>> python shell etc. >>>> >>>> -

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-16 Thread Thilina Rathnayake
pegg.py install >>> and run only one of the above two commands. >>> >>> Also, you will find command starting from '$' or '>>>' everywhere. well, >>> dont just type these. these are just to show that it was a teminal or >>>

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-16 Thread Nguyen Tung
run only one of the above two commands. >> >> Also, you will find command starting from '$' or '>>>' everywhere. well, >> dont just type these. these are just to show that it was a teminal or >> python shell etc. >> >> -- Forwa

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Nguyen Tung
Forwarded message ------ > From: Nguyen Tung > > Date: Sat, Mar 15, 2014 at 6:39 PM > Subject: Re: [sympy] Re: GSoC 2014 Diophantine equation > To: sy...@googlegroups.com > > > I'm using Windows, I type exactly what you said and I've cd to the folder > c

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread SAHIL SHEKHAWAT
r '>>>' everywhere. well, dont just type these. these are just to show that it was a teminal or python shell etc. -- Forwarded message -- From: Nguyen Tung Date: Sat, Mar 15, 2014 at 6:39 PM Subject: Re: [sympy] Re: GSoC 2014 Diophantine equation To: sympy@goo

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Nguyen Tung
I'm using Windows, I type exactly what you said and I've cd to the folder containing setup.py and setupegg.py. But I got this: '$' is not recognized as an internal or external command, operable program or batch file On Saturday, March 15, 2014 3:01:12 PM UTC+2, SAHIL SHEKHAWAT wrote: > > Also,

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread SAHIL SHEKHAWAT
Also, on windows you can run the same commands from the powershell. On Sat, Mar 15, 2014 at 6:29 PM, SAHIL SHEKHAWAT wrote: > I have already given you the commands that you can run from your command > line, presuming that you are on linux. > just 'cd' into the folder of sympy. there you will fi

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread SAHIL SHEKHAWAT
I have already given you the commands that you can run from your command line, presuming that you are on linux. just 'cd' into the folder of sympy. there you will find setup.py and setupegg.py files into that folder. then just run $ python setup.py install if you just want to install and $ pytho

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Nguyen Tung
Yes, I did nothing but tried to run the file diophantine.py. As you said, I haven't installed sympy, so can you show to how to install it step-by-step? I just right-click the the file setup.py, choose "edit with IDLE" then hit F5, then setupegg.py, hit F5, but i doesn't fix the problem. Thanks

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread SAHIL SHEKHAWAT
Its completely okay to download the source code as zip. If i understand correctly The problem you are facing maybe that "sympy" is not on you env path and for that you firstly must run $ python setup.py install from the sympy folder that you just have downloaded and if you want to develop on that v

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Nguyen Tung
I downloaded the whole source code by clicking "Download Zip" on this site: https://github.com/sympy/sympy When I runned diophantine.py, it turned out a ImportError: No module named sympy Can you explain why? Is it because the python version I'm using is 2.7? or do you know any other ways to

Re: [sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Thilina Rathnayake
Hi, Below is the link for `factor_list()` documentation. http://docs.sympy.org/latest/modules/polys/reference.html?highlight=factor_list#sympy.polys.polytools.Poly.factor_list You can find documentation on functions, classes and Modules in online sympy documentation. http://docs.sympy.org/lates

[sympy] Re: GSoC 2014 Diophantine equation

2014-03-15 Thread Nguyen Tung
Hello, Can you show me the link to factor_list ? I'm trying to read through diophantine.py. However, I'm new to GitHub. On Thursday, March 13, 2014 3:41:41 PM UTC+2, Nguyen Tung wrote: > > Hi, > My name is Tung. I'm 19 and I'm from Vietnam. I have a question concerning > Diophantine equation. I