Make sure we penalize uninitialized tasks.
Export solution when the solver is finished