Ryan Krauss | 1 Jul 02:24 2005
Picon
Picon

ipython website

One of my computers in the lab doesn't have ipython on it.  The website 
appears to be down.  I can't seem to find the a place to download the 
windows installer for python 2.3.  Does anyone know when the website 
will be back up?  I guess I will also need the other couple of things to 
make colors work on windows.  I can't seem to find the files in any of 
the place I would normally save downloads.

Thanks,

Ryan
Joe Cooper | 1 Jul 02:32 2005

Re: ipython website

I probably broke it.  We're moving all of the scipy hosted sites to a 
new server.  I'll try to get it back up tonight.

Ryan Krauss wrote:
> One of my computers in the lab doesn't have ipython on it.  The website 
> appears to be down.  I can't seem to find the a place to download the 
> windows installer for python 2.3.  Does anyone know when the website 
> will be back up?  I guess I will also need the other couple of things to 
> make colors work on windows.  I can't seem to find the files in any of 
> the place I would normally save downloads.
> 
> Thanks,
> 
> Ryan
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user <at> scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
Fernando Perez | 1 Jul 02:35 2005
Picon

Re: ipython website

Joe Cooper wrote:
> I probably broke it.  We're moving all of the scipy hosted sites to a 
> new server.  I'll try to get it back up tonight.
> 
> Ryan Krauss wrote:
> 
>>One of my computers in the lab doesn't have ipython on it.  The website 
>>appears to be down.  I can't seem to find the a place to download the 
>>windows installer for python 2.3.  Does anyone know when the website 
>>will be back up?  I guess I will also need the other couple of things to 
>>make colors work on windows.  I can't seem to find the files in any of 
>>the place I would normally save downloads.

In the meantime, you can get a copy of the current CVS build from here:

http://amath.colorado.edu/faculty/fperez/python/ipython/

I'll remove this when the scipy-hosted site is back up.

The other things you need are:

    1. PyWin32 from http://starship.python.net/crew/mhammond.
    2. CTypes from http://starship.python.net/crew/theller/ctypes (you must 
use version 0.9.1 or newer).
    3. Readline for Windows from http://sourceforge.net/projects/uncpythontools.

Cheers,

f
(Continue reading)

Robert Kern | 1 Jul 02:36 2005

Re: ipython website

Ryan Krauss wrote:
> One of my computers in the lab doesn't have ipython on it.  The website 
> appears to be down.  I can't seem to find the a place to download the 
> windows installer for python 2.3.  Does anyone know when the website 
> will be back up?  I guess I will also need the other couple of things to 
> make colors work on windows.  I can't seem to find the files in any of 
> the place I would normally save downloads.

While we're waiting for Joe to restore the website, you can get a CVS 
checkout and install from source. It's pure Python. The documentation 
ought to mention the Windows dependencies.

cvs -d:pserver:anonymous <at> scipy.org:/home/cvsroot co ipython

--

-- 
Robert Kern
rkern <at> ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter
Joe Cooper | 1 Jul 02:50 2005

Re: ipython website

Ok, it's live on the new server, including downloads.

Sorry for the inconvenience.

Joe Cooper wrote:
> I probably broke it.  We're moving all of the scipy hosted sites to a 
> new server.  I'll try to get it back up tonight.
> 
> Ryan Krauss wrote:
> 
>> One of my computers in the lab doesn't have ipython on it.  The 
>> website appears to be down.  I can't seem to find the a place to 
>> download the windows installer for python 2.3.  Does anyone know when 
>> the website will be back up?  I guess I will also need the other 
>> couple of things to make colors work on windows.  I can't seem to find 
>> the files in any of the place I would normally save downloads.
>>
>> Thanks,
>>
>> Ryan
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user <at> scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-user
> 
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user <at> scipy.net
(Continue reading)

Nils Wagner | 1 Jul 08:52 2005
Picon

Generating tuples and lists connected with optimize.fmin_l_bfgs_b(func, guess, bounds=bounds, iprint=-1)

Hi all,

Sorry for this inquiry but how can I initialize the list "bounds" and 
the tuple "guess" more efficiently ?
The entries in bounds are identical for each design variable, while the 
initial guess consists of two different values.
So how can I benefit from this pattern in building "bounds" and "guess" 
for 2n design variables ?

bounds = [(0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0)]
guess = 2.0,2.0,2.0,1.0,1.0,1.0

A small example would be appreciated.

Thanks in advance
                                         Nils
Nils Wagner | 1 Jul 09:14 2005
Picon

Re: Generating tuples and lists connected with optimize.fmin_l_bfgs_b(func, guess, bounds=bounds, iprint=-1)

Nils Wagner wrote:

> Hi all,
>
> Sorry for this inquiry but how can I initialize the list "bounds" and 
> the tuple "guess" more efficiently ?
> The entries in bounds are identical for each design variable, while 
> the initial guess consists of two different values.
> So how can I benefit from this pattern in building "bounds" and 
> "guess" for 2n design variables ?
>
> bounds = [(0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), 
> (0.0,2.0)]
> guess = 2.0,2.0,2.0,1.0,1.0,1.0
>
> A small example would be appreciated.
>
> Thanks in advance
>                                         Nils
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user <at> scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

Is there a better way for building bounds ?

bounds=[]
for i in arange(0,2*n):
  bounds = bounds + [(0.0,2.0)]
(Continue reading)

Christian Kristukat | 1 Jul 10:14 2005
Picon

Re: Generating tuples and lists connected with optimize.fmin_l_bfgs_b(func, guess, bounds=bounds, iprint=-1)

Nils Wagner wrote:
> Nils Wagner wrote:
> 
>> Hi all,
>>
>> Sorry for this inquiry but how can I initialize the list "bounds" and 
>> the tuple "guess" more efficiently ?
>> The entries in bounds are identical for each design variable, while 
>> the initial guess consists of two different values.
>> So how can I benefit from this pattern in building "bounds" and 
>> "guess" for 2n design variables ?
>>
>> bounds = [(0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), 
>> (0.0,2.0)]
>> guess = 2.0,2.0,2.0,1.0,1.0,1.0
>>
>> A small example would be appreciated.
>>
>> Thanks in advance
>>                                         Nils
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user <at> scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-user
> 
> 
> Is there a better way for building bounds ?
> 
> bounds=[]
(Continue reading)

Nils Wagner | 1 Jul 11:38 2005
Picon

Re: Generating tuples and lists connected with optimize.fmin_l_bfgs_b(func, guess, bounds=bounds, iprint=-1)

Christian Kristukat wrote:

> Nils Wagner wrote:
>
>> Nils Wagner wrote:
>>
>>> Hi all,
>>>
>>> Sorry for this inquiry but how can I initialize the list "bounds" 
>>> and the tuple "guess" more efficiently ?
>>> The entries in bounds are identical for each design variable, while 
>>> the initial guess consists of two different values.
>>> So how can I benefit from this pattern in building "bounds" and 
>>> "guess" for 2n design variables ?
>>>
>>> bounds = [(0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), (0.0,2.0), 
>>> (0.0,2.0)]
>>> guess = 2.0,2.0,2.0,1.0,1.0,1.0
>>>
>>> A small example would be appreciated.
>>>
>>> Thanks in advance
>>>                                         Nils
>>>
>>> _______________________________________________
>>> SciPy-user mailing list
>>> SciPy-user <at> scipy.net
>>> http://www.scipy.net/mailman/listinfo/scipy-user
>>
>>
(Continue reading)

Christian Kristukat | 1 Jul 13:32 2005
Picon

Re: Generating tuples and lists connected with optimize.fmin_l_bfgs_b(func, guess, bounds=bounds, iprint=-1)

Nils Wagner wrote:
> Is it possible to solve constrained optimization problems of the form
> 
> min f(x)
> 
> s.t.
> 
> 0 < x_1 < =1
> 0 < x_2 < =1
> 
> n(x) = 0
> with scipy. n(x) denotes a nonlinear function  of the design variables  
> x^T=[x_1,\dots,x_n]
> So we have both equality and inequality constraints.

Might be stupid, but as we are limited to machine precision, one could take the 
machine precision as lower limit:
eps <= x_1 <= 1
That should be equal to 0 < x_1. Correct me if I'm wrong.

Regards, Christian

Gmane