complete the supervisor optimization