add three-argument version of @addNLConstraint, closes #214