Elkai

Latest version: v2.0.1

Safety actively analyzes 621469 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.1

* elkai.solve_int_matrix and elkai.solve_float_matrix are now deprecated.
* The solver no longer uses LKH 2, now we use LKH 3
* The cleaner API looks like this (note that we now include the last element as the departure to the first city):


python
import elkai

cities = elkai.Coordinates2D({
'city1': (0, 0),
'city2': (0, 4),
'city3': (5, 0)
})

print(cities.solve_tsp()) Output: ['city1', 'city2', 'city3', 'city1']


python
import elkai

cities = elkai.DistanceMatrix([
[0, 4, 0],
[0, 0, 5],
[0, 0, 0]
])

print(cities.solve_tsp()) Output: [0, 2, 1, 0]

1.0.27

elkai appveyor wheels

1.0.1

* Added wheels for more platforms

0.1.2

elkai appveyor wheels

0.0.9

elkai appveyor wheels

0.0.7

None

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.