Added code for the generation of a report about the optimization.