
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
.. image:: https://img.shields.io/pypi/v/tsplib95.svg :target: https://pypi.python.org/pypi/tsplib95 :alt: Available on PyPI
.. image:: https://img.shields.io/travis/rhgrant10/tsplib95.svg :target: https://travis-ci.org/rhgrant10/tsplib95 :alt: Continuous Integration
.. image:: https://codecov.io/gh/rhgrant10/tsplib95/branch/master/graph/badge.svg :target: https://codecov.io/gh/rhgrant10/tsplib95 :alt: Code Coverage
.. image:: https://readthedocs.org/projects/tsplib95/badge/?version=latest :target: https://tsplib95.readthedocs.io/?badge=latest :alt: Documentation Status
TSPLIB 95 is a library for working with TSPLIB 95 files.
networkx.Graph
instancesIt also has a CLI program to print a tabular summary of one or more TSPLIB95 files... no idea why anyone would want that, but there you have it nonetheless.
See TSPLIB_ for original details, including file format specification, C++ code, and sample problems.
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage
_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
.. _TSPLIB: http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/
StandardProblem.get_nodes
ignoring node indices specified in demandsProblem
and Solution
classes into the new StandardProblem
class.Changes to the conversion into a networkx.Graph
:
normalized
parameter to allow nodes to be renamed as zero-index
integers when obtaining a networkx.Graph
.Depots, demands, node coordinates, and display data fields now default to
empty containers rather than None
.
Fixed twine/PyPI warning about long description mime type
ParsingError
ParsingError
ParsingError
rather than the base Exception
type.~=2.1
)Problem.is_complete
that produced a TypeError
when runProblem.is_depictable
that produced a TypeError
when runProblem.get_display
that produced an AttributeError
when runProblem
classparser
moduleProblem.is_weighted
that caused problems with defined nodes
coords to use the unit distance functionFAQs
TSPLIB95 works with TSPLIB95 files.
We found that tsplib95 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.