optimize mission