do not search NLOPT if not activated