From 8d459d62b4deed1212f613cad1967b36ca385d5a Mon Sep 17 00:00:00 2001 From: JonZhao <1044264932@qq.com> Date: Wed, 29 May 2019 11:21:19 +0800 Subject: 1. add reference 2. fix some error in macs calculate next index 3. add comment --- example2.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 example2.py (limited to 'example2.py') diff --git a/example2.py b/example2.py new file mode 100644 index 0000000..16e12b2 --- /dev/null +++ b/example2.py @@ -0,0 +1,10 @@ +from vrptw_base import VrptwGraph +from basic_aco import BasicACO + + +if __name__ == '__main__': + file_path = './solomon-100/c101.txt' + graph = VrptwGraph(file_path) + + vrptw = BasicACO(graph) + vrptw.run_basic_aco() \ No newline at end of file -- cgit v1.2.3