diff options
| author | JonZhao <[email protected]> | 2019-05-29 11:21:19 +0800 |
|---|---|---|
| committer | JonZhao <[email protected]> | 2019-05-29 11:21:19 +0800 |
| commit | 8d459d62b4deed1212f613cad1967b36ca385d5a (patch) | |
| tree | 7e34f4374c753d637ba45c5b6ea973e84b5a79cf /example2.py | |
| parent | 7dd68707124da17bc0de801de4c690be515926ab (diff) | |
| download | VRPTW-ACO-python-8d459d62b4deed1212f613cad1967b36ca385d5a.tar.gz VRPTW-ACO-python-8d459d62b4deed1212f613cad1967b36ca385d5a.tar.bz2 VRPTW-ACO-python-8d459d62b4deed1212f613cad1967b36ca385d5a.zip | |
1. add reference
2. fix some error in macs calculate next index
3. add comment
Diffstat (limited to 'example2.py')
| -rw-r--r-- | example2.py | 10 |
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 |
