[SciPy-user] OpenOpt: ralg crash

Eli Brosh ebrosh1 at gmail.com
Wed Aug 6 02:04:13 EDT 2008


I checked again in ubuntu, with numpy 1.03.
I installed the latest tarball of OpenOpt but the bug did appear.
It looks like ralg somehow depends strongly on the numpy version.

Eli

On Mon, Aug 4, 2008 at 11:26 AM, Eli Brosh <ebrosh1 at gmail.com> wrote:

> Indeed,
> The bug disappeared when I installed numpy 1.1.1
> Thanks to Dmitrey.
> Eli
>
>
>
>
>
> On Mon, Aug 4, 2008 at 8:59 AM, Eli Brosh <ebrosh1 at gmail.com> wrote:
>
>> Thank you Dmitrey,
>> I downloaded the latest tarball (uploaded 08/04/08 00:54:17) and installed
>> it.
>> Before installing, I erased the older version from the site-packages.
>> However, the ralg still crashes, at least under windows.
>> I did not find the bug you mentioned in ralg_oo.py.
>> Could it be that the bug is caused by my numpy version ?
>> (on windows I use 1.04 that came with the enthought suite)
>>
>> Thanks
>> Eli
>>
>>
>> On Mon, Aug 4, 2008 at 1:59 AM, dmitrey <dmitrey.kroshko at scipy.org>wrote:
>>
>>> Hi Eli,
>>> It seems the bug was due to svn conflict changes
>>> (check your scikits/openopt/solvers/UkrOpt/ralg_oo.py, line 156, svn has
>>> put "<<<<<<< .mine" there).
>>> Try now latest tarball (or use download from subversion, the bug was
>>> absent there)
>>>
>>> > Another small request concerning OpenOpt.
>>> > Is it possible to provide an example for use of scipy_tnc and
>>> > scipy_lbfgsb from openopt ?
>>> > Can these solvers work with linear equality constraints ?
>>> >
>>> Examples are absolutely same to nlp1, nlp2, nlp3, nlp_bench_1,
>>> nlp_bench_2 etc.
>>> But the solvers can use only lb<=x<=ub constraints.
>>> Regards, D.
>>>
>>>
>>> Eli Brosh wrote:
>>> >
>>> > Hello,
>>> >
>>> > I encountered problems with the ralg solver in OpenOpt.
>>> > the example nlp_3.py, supplied with the OpenOpt library crashed on two
>>> > computers.
>>> > On an ubuntu linux machine, the program simply stopped without further
>>> > information.
>>> > On a windows machine, with entought suite, there was a windows error
>>> > message "pythonw caused a fatal error and it will be closed".
>>> > The problem disappeared when I erased ralg from the solvers list. It
>>> > did not occur with lincher and scipy_cobyla
>>> > solvers.
>>> > On both machines, the openopt installation was from the latest tarball
>>> > (no more than week old).
>>> >
>>> > What is the problem ?
>>> > Can it be corrected ?
>>> >
>>>
>>> >
>>> > Thanks
>>> > Eli
>>> >
>>>
>>> _______________________________________________
>>> SciPy-user mailing list
>>> SciPy-user at scipy.org
>>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080806/be5bdc90/attachment.html>


More information about the SciPy-User mailing list