[SciPy-user] [optimization] 10X speedup example for scipy.optimize solver, via using oofun

Nils Wagner nwagner@iam.uni-stuttgart...
Sat Oct 11 02:35:33 CDT 2008


On Fri, 10 Oct 2008 20:25:56 +0300
  dmitrey <dmitrey.kroshko@scipy.org> wrote:
> Hi all,
> if anyone is interested here's 10X speedup example for 
>scipy fmin_ncg 
> using openopt oofun. Other solvers (from or beyond 
>scipy.optimize) can 
> yield similar speedup.
> 
> http://openopt.blogspot.com/2008/10/example-of-10x-speedup-for-nlp-via.html
> 
> Regards, D.
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user


python -i 
svn/openopt/scikits/openopt/examples/oofun/speedup.py
Traceback (most recent call last):
   File 
"svn/openopt/scikits/openopt/examples/oofun/speedup.py", 
line 25, in ?
     from scikits.openopt import NLP,  oofun,  oovar
   File 
"/usr/lib/python2.4/site-packages/scikits/openopt/__init__.py", 
line 6, in ?
     from oo import LP, NLP, NSP, MILP, QP, NLSP, LSP, 
GLP, LLSP,  MMP, LLAVP
   File 
"/usr/lib/python2.4/site-packages/scikits/openopt/oo.py", 
line 6, in ?
     from Kernel.BaseProblem import *
   File 
"/usr/lib/python2.4/site-packages/scikits/openopt/Kernel/BaseProblem.py", 
line 11, in ?
     from ooIterPrint import ooTextOutput
   File 
"/usr/lib/python2.4/site-packages/scikits/openopt/Kernel/ooIterPrint.py", 
line 6
     'isFeasible': lambda p: ('+' if p.rk<p.contol else 
'-')
                                   ^
SyntaxError: invalid syntax

Nils
  


More information about the SciPy-user mailing list