Text this: Solving multi-task optimization problems using the sine cosine algorithm