task_manager now encodes objective for each iteration
merge task_manager.cpp