# Define data for the problem
def simple_problem():
times = range(1,6+1)
departments = ['Department 1', 'Department 2']
requests = [('Adam',['Lab A', 'Lab B']),
('Adam',['Lab A']),
('Bella',['Lab A', 'Lab B']),
('Bella',['Lab A']),
('Adam',['Lab B']),
('Charlie',['Lab A', 'Lab C'])
]
requests_id_name = {i: name for i,(name,c) in enumerate(requests)}
return (times, departments, requests, requests_id_name)
# Define data for the problem
def bigger_problem():
times = range(1,12+1)
departments = ['Department 1', 'Department 2', 'Department 3']
requests = [('Adam',['Lab A', 'Lab B']),
('Adam',['Lab A']),
('Bella',['Lab A', 'Lab B']),
('Bella',['Lab C']),
('Bella',['Lab A', 'Lab B']),
('Adam',['Lab B', 'Lab D', 'Lab A']),
('Adam',['Lab C']),
('Adam',['Lab B', 'Lab D', 'Lab C']),
('Charlie',['Lab A', 'Lab C']),
('Charlie',['Lab A', 'Lab B', 'Lab C', 'Lab D']),
('Dave',['Lab A', 'Lab C']),
('Dave',['Lab C']),
('Charlie',['Lab A', 'Lab C']),
('Emilia',['Lab A', 'Lab B']),
('Dave',['Lab B']),
('Charlie',['Lab A', 'Lab C']),
('Dave',['Lab A', 'Lab D']),
('Dave',['Lab B', 'Lab C']),
('Emilia',['Lab D', 'Lab B']),
('Emilia',['Lab C', 'Lab A'])
]
requests_id_name = {i: name for i,(name,c) in enumerate(requests)}
return (times, departments, requests, requests_id_name)
problem_data = bigger_problem()