summaryrefslogtreecommitdiffstats
path: root/example2.py
diff options
context:
space:
mode:
Diffstat (limited to 'example2.py')
-rw-r--r--example2.py10
1 files changed, 10 insertions, 0 deletions
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