[SciPy-dev] connecting tnc 1.3
Stefan van der Walt
Wed Jul 25 09:28:01 CDT 2007
On Tue, Jul 24, 2007 at 11:38:31AM +0300, dmitrey wrote:
> hi all,
> So now I'm trying to make all the tests for tnc 1.3 running ok.
> But there is a problem encountered:
> here's a code from tnc.py, lines 210-213:
> for i in range(n):
> l,u = bounds[i]
> if l is None:
> low[i] = -HUGE_VAL
> So if bounds are for example ([-inf, -1.5], None), as it is written in
> test1fg(x), it yields error "None object is not iterable".
> (because it tries to get
> lb, ub = None
You may want to replace all instances of HUGE_VAL with inf, as was
That changeset also updated the documentation and refactored the tests.
More information about the Scipy-dev