summaryrefslogtreecommitdiffstats
path: root/example1.py
diff options
context:
space:
mode:
Diffstat (limited to 'example1.py')
-rw-r--r--example1.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/example1.py b/example1.py
new file mode 100644
index 0000000..c7629e8
--- /dev/null
+++ b/example1.py
@@ -0,0 +1,10 @@
+from vrptw_base import VrptwGraph
+from multiple_ant_colony_system import MultipleAntColonySystem
+
+
+if __name__ == '__main__':
+ file_path = './solomon-100/c101.txt'
+ graph = VrptwGraph(file_path)
+
+ macs = MultipleAntColonySystem(graph)
+ macs.run_multiple_ant_colony_system()