Stores the final minimum weight of shortest tour .
final_res = maxsize NEW_LINE TSP ( adj ) NEW_LINE print ( " Minimum ▁ cost ▁ : " , final_res ) NEW_LINE print ( " Path ▁ Taken ▁ : ▁ " , end = ' ▁ ' ) NEW_LINE for i in range ( N + 1 ) : NEW_LINE INDENT print ( final_path [ i ] , end = ' ▁ ' ) NEW_LINE DEDENT