log message added for graph cycle in initializeSolution function