![](https://secure.gravatar.com/avatar/c7ebbb870fb1ec09c6dec2f9c3d39323.jpg?s=120&d=mm&r=g)
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 ? 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 ? Thanks Eli
![](https://secure.gravatar.com/avatar/376d02997baf28c5cb67536223e5ae7d.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/80997ca2e1899890d1671a35f3a47575.jpg?s=120&d=mm&r=g)
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@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@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/376d02997baf28c5cb67536223e5ae7d.jpg?s=120&d=mm&r=g)
Hi Eli, please try to run example3.py from Linux OS terminal and inform what will output. As for numpy I remember error from 1.0.5 mentioned here http://openopt.blogspot.com/2008/06/numpy-related-bug.html but it was not triggered with ralg. Regards, D. Eli Brosh 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@scipy.org <mailto:dmitrey.kroshko@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@scipy.org <mailto:SciPy-user@scipy.org> http://projects.scipy.org/mailman/listinfo/scipy-user
------------------------------------------------------------------------
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/80997ca2e1899890d1671a35f3a47575.jpg?s=120&d=mm&r=g)
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@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@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@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/80997ca2e1899890d1671a35f3a47575.jpg?s=120&d=mm&r=g)
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@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@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@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@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/376d02997baf28c5cb67536223e5ae7d.jpg?s=120&d=mm&r=g)
Eli Brosh wrote:
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 I had committed requirements to numpy v >= 1.1.0 to INSTALL.txt and mentioned it in OO Install page. Regards, D.
On Mon, Aug 4, 2008 at 11:26 AM, Eli Brosh <ebrosh1@gmail.com <mailto:ebrosh1@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@gmail.com <mailto:ebrosh1@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@scipy.org <mailto:dmitrey.kroshko@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@scipy.org <mailto:SciPy-user@scipy.org> http://projects.scipy.org/mailman/listinfo/scipy-user
------------------------------------------------------------------------
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
participants (3)
-
dmitrey
-
Eli Brosh
-
Eli Brosh