On Jan 4, 2011, at 2:22 PM, Yury V. Zaytsev wrote:
In nlopt reference [1] it is suggested to use +/-HUGE_VAL in order to
omit certain bounds, however this suggestion seems to be specific to C,
since there is no such constant in Python.

You are looking at the reference manual for C. Read the reference manual for python:

        
http://ab-initio.mit.edu/wiki/index.php/NLopt_Python_Reference#Bound_constraints

which explains that you should use (plus or minus) float('inf') for unbounded dimensions in Python.
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to