[SciPy-user] OpenOpt errors with ALGENCAN

Paul Smith phhs80@gmail....
Sun Jun 1 16:15:00 CDT 2008


Dear All,

I am trying to run the nlp_1.py example of OpenOpt on F9 with ALGENCAN
solver, but getting these errors:

========================
starting solver ALGENCAN (license: GPL)  with problem  unnamed
Traceback (most recent call last):
  File "nlp_1.py", line 109, in <module>
    r = p.solve('ALGENCAN')
  File "/usr/lib/python2.5/site-packages/scikits/openopt/Kernel/
BaseProblem.py", line 230, in solve
    return runProbSolver(self, solvers, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/scikits/openopt/Kernel/
runProbSolver.py", line 225, in runProbSolver
    solver(p)
  File "/usr/lib/python2.5/site-packages/scikits/openopt/solvers/
BrasilOpt/ALGENCAN_oo.py", line 586, in __solver__
 
algencan.solvers(evalf,evalg,evalh,evalc,evaljac,evalhc,evalhlp,inip,endp)
TypeError: solvers() takes exactly 12 arguments (9 given)

Any ideas?

Thanks in advance,

Paul



More information about the SciPy-user mailing list