summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--example1.py2
-rw-r--r--image/c101-example.gifbin0 -> 133080 bytes
3 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 16d2a4a..ad2924b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,13 @@
# VRPTW-ACO-python
A **python** implementation of a **ant colony optimization** based solution to **Vehicle Routing Problem with Time Windows**.
+## Example
+
+```
+<p align="center">
+ <img src="/image/c101-example.gif"></a>
+</p>
+```
+
## Reference
1. `Gambardella L M, Taillard É, Agazzi G. Macs-vrptw: A multiple colony system for vehicle routing problems with time windows[C]//New ideas in optimization. 1999.` \ No newline at end of file
diff --git a/example1.py b/example1.py
index 370a5d7..dd1a3ec 100644
--- a/example1.py
+++ b/example1.py
@@ -3,7 +3,7 @@ from multiple_ant_colony_system import MultipleAntColonySystem
if __name__ == '__main__':
- file_path = './solomon-100/rc101.txt'
+ file_path = './solomon-100/c101.txt'
ants_num = 10
beta = 2
q0 = 0.1
diff --git a/image/c101-example.gif b/image/c101-example.gif
new file mode 100644
index 0000000..8784070
--- /dev/null
+++ b/image/c101-example.gif
Binary files differ