[SciPy-dev] problems with openopt
Sun Sep 21 03:27:35 CDT 2008
unfortunately I can't reproduce the bug.
Does anyone else encounter the one?
As for the bug, it means openopt can't find
.../openopt/solvers/scipy_optim/scipy_leastsq_oo.py file. It could be
raised if you use openopt from egg file. However, you say you have
installed from svn, and with ordinary python setup.py install it
shouldn't be happened.
Nils Wagner wrote:
> 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 =
> 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)
> line 186, in solve
> line 43, in runProbSolver
> KeyError: 'scipy_leastsq'
> Scipy-dev mailing list
More information about the Scipy-dev