Ml4co-kit

Latest version: v0.3.1

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

Scan your dependencies

Page 3 of 5

0.2.0

What's Changed
* [Comprehensive upgrade of overall structure](https://github.com/Thinklab-SJTU/ML4CO-Kit/commit/f63082744825d878c024a64f40214d74f5a9e167) heatingma
* After adjustment, the IO adjustment method for each solver is as follows, ``*``Representing a new read-write function.

| Solver | The original read-write function | After Adjusted | Equivalent method |
|:--------------:|:----------------------------------- |:------------------------------- | ------------------------------------ |
| ``TSPSolver`` | ``from_tsp`` | ``from_tsplib`` | ``tsp_file_path`` |
| | ``from_txt`` | ``from_txt`` | ``ref=True`` |
| | ``from_data`` | ``from_data`` | ``points`` |
| | ``read_tours`` | ``from_data`` | ``tours``, ``ref=False`` |
| | ``read_ref_tours`` | ``from_data`` | ``tours``, ``ref=True`` |
| | ``read_ref_tours_from_opt_tour`` | ``from_tsplib`` | ``tour_file_path``, ``ref=True`` |
| | ``to_tsp`` | ``to_tsplib_folder`` | ``tsp_save_dir``, ``tsp_filename`` |
| | ``to_opt_tour`` | ``to_tsplib_folder`` | ``tour_save_dir``, ``tour_filename`` |
| | ``*`` | ``from_tsplib_folder`` | ``--`` |
| ``MISSolver`` | ``from_gpickle_folder`` | ``from_gpickle_result_folder`` | ``--`` |
| | ``read_ref_sel_nodes_num_from_txt`` | ``from_txt_only_sel_nodes_num`` | ``ref=True`` |
| | ``*`` | ``from_gpickle_result`` | ``--`` |
| | ``*`` | ``from_txt`` | ``--`` |
| | ``*`` | ``from_graph_data`` | ``--`` |
| | ``*`` | ``from_adj_matrix`` | ``--`` |
| | ``*`` | ``to_gpickle_result_folder`` | ``--`` |
| | ``*`` | ``to_txt`` | ``--`` |
| ``CVRPSolver`` | ``from_data`` | ``from_data`` | ``depots ... capacities`` |
| | ``from_txt`` | ``from_txt`` | ``ref=True`` |
| | ``from_vrp`` | ``from_vrplib`` | ``vrp_file_path`` |
| | ``read_tours`` | ``from_data`` | ``tours``, ``ref=False`` |
| | ``read_ref_tours`` | ``from_data`` | ``tours``, ``ref=True`` |
| | ``read_ref_tours_from_sol`` | ``from_vrplib`` | ``sol_file_path`` |
| | ``to_vrp`` | ``to_vrplib_folder`` | ``vrp_save_dir``, ``vrp_filename`` |
| | ``to_sol`` | ``to_vrplib_folder`` | ``sol_save_dir``, ``sol_filename`` |
| | ``*`` | ``from_vrplib_folder`` | ``--`` |
| ``TSPSolver`` | ``from_atsp`` | ``from_tsplib`` | ``atsp_file_path`` |
| | ``from_atsp_folder`` | ``from_tsplib_folder`` | ``atsp_folder_path`` |
| | ``from_txt`` | ``from_txt`` | ``ref=True`` |
| | ``from_data`` | ``from_data`` | ``dists`` |
| | ``read_tours`` | ``from_data`` | ``tours``, ``ref=False`` |
| | ``read_ref_tours`` | ``from_data`` | ``tours``, ``ref=True`` |
| | ``read_ref_tours_from_opt_tour`` | ``from_tsplib`` | ``tour_file_path``, ``ref=True`` |
| | ``read_ref_tours_from_folder`` | ``from_tsplib_folder`` | ``tour_folder_path``, ``ref=True`` |
| | ``to_atsp_folder`` | ``to_tsplib_folder`` | ``atsp_save_dir``, ``atsp_filename`` |
| | ``to_opt_tour_folder`` | ``to_tsplib_folder`` | ``tour_save_dir``, ``tour_filename`` |

0.1.2

What's Changed
* [Fix bugs for ATSP](https://github.com/Thinklab-SJTU/ML4CO-Kit/commit/4f79bf362309733418845834d9f96be6d3092063) heatingma
* [Add ``show_time`` for solvers](https://github.com/Thinklab-SJTU/ML4CO-Kit/commit/2473a3da00217d9ebfc9bb75edb25767b7e275d5) heatingma
* [Add atsp_2opt_local_search ](https://github.com/Thinklab-SJTU/ML4CO-Kit/commit/12ed199ed6e31a34b27a866329bdd807dccbaf61) heatingma
* [Removed dependence on tsplib95](https://github.com/Thinklab-SJTU/ML4CO-Kit/commit/1445c253a381ab40879f1b8e6cbdceab7700b249) heatingma

0.1.1

What's Changed
* Support ATSP (ATSPEvaluator, ATSPSolver, ATSPLKHSolver, ATSPDataGenerator) heatingma wzever
* Fix bugs with LKH heatingma
* Add atsp_greedy_decoder heatingma wzever

0.1.0

What's Changed
* Add Common Algorithm for TSP heatingma
* Update TSPUniformDataset heatingma
* Add CVRPUniformDataset heatingma

0.0.9

What's Changed
* Fix bugs for TSPLKHSolver heatingma
* Update CVRPHGSSolver heatingma
* Fix bugs for PyVRP heatingma

0.0.8

What's changed
* Add TSPGAEAXSolver, TSPGAEAXLargeSolver heatingma
* Add TSPConcordeLargeSolver heatingma
* Update DataGenerators heatingma

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.