OSDN Git Service

removed unnecesary output info
authorLuca <luca.koczula@rwth-aachen.de>
Mon, 6 Jul 2020 12:54:34 +0000 (14:54 +0200)
committerLuca <luca.koczula@rwth-aachen.de>
Mon, 6 Jul 2020 12:54:34 +0000 (14:54 +0200)
src/inform-or/genetic_algorithm_inform/visualization.py

index 7e992d3..23f8e6c 100644 (file)
@@ -247,7 +247,6 @@ def printInstructions(best_chromosome, generations, populationSize, order, items
     print('+---------------------------------------------------------+  +----------------------------------------------------+')
     print('                                                             |' + '{:^52}'.format('Total cost of this order (DHL pricing): EUR ' + str(round(best_chromosome.cost,2))) + '|')
     print('                                                             +----------------------------------------------------+')
-    print('Total cost of order:', round(best_chromosome.cost,2))
 
 
 def writeInstructionsToFile(outputFilePath, best_chromosome, generations, populationSize, order, items, prob_c, prob_t, E, consideredBoxes, consideredEMS, length_box, width_box, height_box, length_item, width_item, height_item, weight_item, usedTime = 'N/A'):