-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
43 lines (37 loc) · 1.07 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from dataparser import Data
from optimizer import run_optimisation
from score import score
from solver import solve, solve_peter
from zip_code import zip_code
if __name__ == '__main__':
task_name = 'a_an_example'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
task_name = 'b_better_start_small'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
task_name = 'c_collaboration'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
task_name = 'd_dense_schedule'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
task_name = 'e_exceptional_skills'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
task_name = 'f_find_great_mentors'
print(task_name)
data = Data(task_name)
data.solution = solve_peter(data)
data.write_solution()
zip_code()