diff options
| author | JonZhao <[email protected]> | 2019-05-29 16:19:56 +0800 |
|---|---|---|
| committer | JonZhao <[email protected]> | 2019-05-29 16:19:56 +0800 |
| commit | ba461f7f88f623017f5b9f537800e1484d963d53 (patch) | |
| tree | 063ef6c13955209e79e2f5baf75906af84ba0861 | |
| parent | 1dcc89d6f9481368be538ae7339c1793fb546398 (diff) | |
| download | VRPTW-ACO-python-ba461f7f88f623017f5b9f537800e1484d963d53.tar.gz VRPTW-ACO-python-ba461f7f88f623017f5b9f537800e1484d963d53.tar.bz2 VRPTW-ACO-python-ba461f7f88f623017f5b9f537800e1484d963d53.zip | |
add example
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | example1.py | 2 | ||||
| -rw-r--r-- | image/c101-example.gif | bin | 0 -> 133080 bytes |
3 files changed, 9 insertions, 1 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..8784070 --- /dev/null +++ b/image/c101-example.gif |
