Advertisement
Guest User

Untitled

a guest
Feb 21st, 2012
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None
  1. Traceback (most recent call last):
  2. File "test3.py", line 8, in <module>
  3. r = S.minimize(f, startPoint, solver='interalg', fTol = 0.000000001, constraints = cons, iprint = -1)
  4. File "/usr/local/lib/python2.6/dist-packages/FuncDesigner-0.37-py2.6.egg/FuncDesigner/ooSystem.py", line 91, in minimize
  5. return self._solve(*args, **kwargs)
  6. File "/usr/local/lib/python2.6/dist-packages/FuncDesigner-0.37-py2.6.egg/FuncDesigner/ooSystem.py", line 192, in _solve
  7. return p.solve() if kwargs.get('manage', False) in (False, 0) else p.manage()
  8. File "/usr/local/lib/python2.6/dist-packages/openopt-0.37-py2.6.egg/openopt/kernel/baseProblem.py", line 235, in solve
  9. return runProbSolver(self, *args, **kwargs)
  10. File "/usr/local/lib/python2.6/dist-packages/openopt-0.37-py2.6.egg/openopt/kernel/runProbSolver.py", line 122, in runProbSolver
  11. p._Prepare()
  12. File "/usr/local/lib/python2.6/dist-packages/openopt-0.37-py2.6.egg/openopt/kernel/baseProblem.py", line 707, in _Prepare
  13. baseProblem._prepare(self)
  14. File "/usr/local/lib/python2.6/dist-packages/openopt-0.37-py2.6.egg/openopt/kernel/baseProblem.py", line 408, in _prepare
  15. self.err('The type ' + str(type(c)) + ' is inappropriate for problem constraints')
  16. File "/usr/local/lib/python2.6/dist-packages/openopt-0.37-py2.6.egg/openopt/kernel/oologfcn.py", line 16, in ooerr
  17. raise OpenOptException(msg)
  18. oologfcn.OpenOptException: The type <type 'NoneType'> is inappropriate for problem constraints
Advertisement
RAW Paste Data Copied
Advertisement