summaryrefslogtreecommitdiffstats
path: root/example1.py
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2022-04-28 02:55:35 -0500
committerMitsuo Tokumori <[email protected]>2022-04-28 02:55:35 -0500
commit77fb174ac6f3cf1b8e0c78a1e68bd9dd42cf2065 (patch)
tree82b4ba211c1f93060562f9159819e37c785a6779 /example1.py
parent453a2ae1d15f3fcb197f17974c8541216c4baded (diff)
downloadVRPTW-ACO-python-77fb174ac6f3cf1b8e0c78a1e68bd9dd42cf2065.tar.gz
VRPTW-ACO-python-77fb174ac6f3cf1b8e0c78a1e68bd9dd42cf2065.tar.bz2
VRPTW-ACO-python-77fb174ac6f3cf1b8e0c78a1e68bd9dd42cf2065.zip
Add some translations and odiparpack directory
Inside odiparpack is input data related of our instance of the MDHVRPTW (Multi-Depot Heteregenous VRPTW)
Diffstat (limited to 'example1.py')
-rw-r--r--example1.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/example1.py b/example1.py
index 165e7ff..c867f44 100644
--- a/example1.py
+++ b/example1.py
@@ -2,10 +2,11 @@ from vrptw_base import VrptwGraph
from multiple_ant_colony_system import MultipleAntColonySystem
def main():
- file_path = './solomon-100/c208.txt'
+ file_path = './solomon-100/c101.txt'
+ #file_path = './odiparpack/pedidosperu78.txt'
ants_num = 10
- beta = 2
- q0 = 0.1
+ beta = 2 # 5
+ q0 = 0.1 # 0.5 ?
show_figure = True
graph = VrptwGraph(file_path)