ObjectiveFunction now supports visitation alternative to iteration