Add whether the optimal solution has been found to the optimization log.

Follow-up on roboptim/roboptim-core#56