On Nov 9, 2010, at 5:15 PM, Lewis I wrote:
I am try to define a non-zero constraint. i.e. a!=0

Fundamentally, this doesn't make sense. Assuming your functions are continuous, excluding a single point is not a meaningful constraint because the function can still get arbitrarily close to that point. I think you need to re-think your constraint.

(e.g. if you have a function like sin(a)/a, you would simply define it at a=0 by the limit, 1, rather than trying to exclude a=0 via a constraint.)

--SGJ

_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to