[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-08 Thread Rado
Minh, thanks a lot for the detailed explaination. Maybe the problem is that i have to patch it against 4.1.1 rc1 instead of 4.1 ... On Aug 6, 10:54 pm, Minh Nguyen wrote: > Hi Rado, > > On Fri, Aug 7, 2009 at 1:33 PM, Rado wrote: > > > r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ cat sage/numer

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Nathann Cohen
Well, it should not O_o I applied it on a sage-4.1.1.rc1 and all wen fine. The only patch I applied before this one was the one removing non-ascii characters from Cliquer files ! :-/ Nathann On Aug 7, 5:54 am, Minh Nguyen wrote: > Hi Rado, > > On Fri, Aug 7, 2009 at 1:33 PM, Rado wrote: > > >

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Minh Nguyen
Hi Rado, On Fri, Aug 7, 2009 at 1:33 PM, Rado wrote: > > r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ cat sage/numerical/ > all.py.rej > --- all.py > +++ all.py > @@ -1,3 +1,4 @@ > from optimize import (find_root, find_maximum_on_interval, > > find_minimum_on_interval,minimize,minimize_constrai

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ cat sage/numerical/ all.py.rej --- all.py +++ all.py @@ -1,3 +1,4 @@ from optimize import (find_root, find_maximum_on_interval, find_minimum_on_interval,minimize,minimize_constrained, linear_program, find_fit) +from sage.numer

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Minh Nguyen
Hi Rado, On Fri, Aug 7, 2009 at 1:06 PM, Rado wrote: > > I hit sage -upgrade successfully, cloned sage and tried to patch but > got this... > > r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ hg patch AllMIP.patch > applying AllMIP.patch > patching file sage/numerical/all.py > Hunk #1 FAILED at 0 >

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
I hit sage -upgrade successfully, cloned sage and tried to patch but got this... r...@rado-desktop:~/sage-4.0.2/devel/sage-lp$ hg patch AllMIP.patch applying AllMIP.patch patching file sage/numerical/all.py Hunk #1 FAILED at 0 1 out of 1 hunks FAILED -- saving rejects to file sage/numerical/ all.

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Nathann Cohen
Of course not I mean not anymore, thank you for reminding me :-) I just created a new patch containing all you need. It is on http://trac.sagemath.org/sage_trac/ticket/6502 under the name "AllMIP". You can also get it there : http://trac.sagemath.org/sage_trac/attachment/ticket/6502/AllMIP.

[sage-devel] Re: Linear Programming -- First applications in Sage

2009-08-06 Thread Rado
I want to try it, but i have a newbie question, do i need to download and install all 8 patches from http://trac.sagemath.org/sage_trac/ticket/6502 ? Can we get a master patch, (something along the way of hg diff baserv:lastrv should give a composite patch). On Aug 6, 10:53 am, Nathann Cohen wro