From: Marcus M. Edvall on
You might want to consider modeling with tomSym instead.

Then you do not need to worry about what type of constraints you have
since such things are handled automatically:

See here for example: http://tomsym.com/minlp_matlab.html

Best wishes, Marcus
http://tomopt.com/
http://tomdyn.com/