Skip to content

Instantly share code, notes, and snippets.

View oyarsa's full-sized avatar

Italo Silva oyarsa

  • London, United Kingdom
View GitHub Profile
@oyarsa
oyarsa / tsp.py
Last active October 16, 2016 06:29
GRASP Simples para o TSP
"""TSP."""
import math
import random
import sys
import timeit
from collections import defaultdict
from itertools import chain
from typing import List, Optional, Tuple