Creates a Solution instance.
const Solution({ this.algorithm = Algorithm.empty, this.elapsedTime = const Duration(), });