[SciPy-dev] problems with openopt

Nils Wagner nwagner@iam.uni-stuttgart...
Sun Sep 21 02:59:25 CDT 2008


Hi Dmitrey,

I have installed the most recent openopt from svn.

Now, several examples failed with a KeyError.

python -i svn/openopt/scikits/openopt/examples/lsp_1.py
OpenOpt checks user-supplied gradient df (shape: (3, 2) )
according to:
     prob.diffInt = [  1.00000000e-07]
     |1 - info_user/info_numerical| <= prob.maxViolation = 
0.01
derivatives are equal
========================
Traceback (most recent call last):
   File "svn/openopt/scikits/openopt/examples/lsp_1.py", 
line 45, in <module>
     r = p.solve('scipy_leastsq', plot=1, iprint = -1)
   File 
"build/bdist.linux-x86_64/egg/scikits/openopt/Kernel/BaseProblem.py", 
line 186, in solve
   File 
"build/bdist.linux-x86_64/egg/scikits/openopt/Kernel/runProbSolver.py", 
line 43, in runProbSolver
KeyError: 'scipy_leastsq'
  
Nils


More information about the Scipy-dev mailing list