|
| ws = GamsWorkspace(system_directory = sys.argv[1]) |
|
int | cuts_per_round = 10 |
|
int | curcut = 0 |
|
int | cmax = 0 |
|
| cut_data = ws.add_database() |
|
| cc = cut_data.add_set("cc", 1, "") |
|
| acut = cut_data.add_parameter("acut", 3, "") |
|
| rhscut = cut_data.add_parameter("rhscut", 1, "") |
|
list | n = [] |
|
| tsp_job = ws.add_job_from_string(get_model_text()) |
|
| cp = ws.add_checkpoint() |
|
| opt = ws.add_options() |
|
| gams_options |
|
| checkpoint |
|
| mi = cp.add_modelinstance() |
|
| mi_acut = mi.sync_db.add_parameter("acut", 3, "") |
|
| mi_rhscut = mi.sync_db.add_parameter("rhscut", 1, "") |
|
dictionary | graph = {} |
|
| not_visited = list(n) |
|
| i = not_visited[0] |
|
list | sub_tour = [i] |
|
| value |
|
| end |
|