task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base GAP,GAP,"We ran into a routing puzzle: several parcels must be put onto the available couriers, and for every courier there’s a known cargo allowance, plus for every parcel–courier pair we know how much space the parcel would take in that van and what the courier would charge. Every parcel has to be assigned to one and only one courier — no duplicates, no omissions — and the combined space of parcels assigned to any courier can’t exceed that courier’s allowance. The aim is to keep the total of all courier charges as low as possible (just add up each courier’s fees for the parcels they handle). The specific sizes, capacities and prices are listed below. We have 7 couriers and 17 parcels — couriers: A1, A2, A3, A4, A5, A6, A7; parcels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. | courier_id | cargo_allowance | |---|---| | A1 | 131 | | A2 | 131 | | A3 | 131 | | A4 | 131 | | A5 | 131 | | A6 | 131 | | A7 | 131 | | courier_id | parcel_id | parcel_space | |---|---|---| | A1 | 1 | 24 | | A1 | 2 | 43 | | A1 | 3 | 47 | | A1 | 4 | 32 | | A1 | 5 | 12 | | A1 | 6 | 34 | | A1 | 7 | 48 | | A1 | 8 | 35 | | A1 | 9 | 46 | | A1 | 10 | 32 | | A1 | 11 | 22 | | A1 | 12 | 50 | | A1 | 13 | 10 | | A1 | 14 | 30 | | A1 | 15 | 39 | | A1 | 16 | 24 | | A1 | 17 | 21 | | A2 | 1 | 48 | | A2 | 2 | 27 | | A2 | 3 | 23 | | A2 | 4 | 20 | | A2 | 5 | 22 | | A2 | 6 | 43 | | A2 | 7 | 48 | | A2 | 8 | 42 | | A2 | 9 | 48 | | A2 | 10 | 32 | | A2 | 11 | 36 | | A2 | 12 | 17 | | A2 | 13 | 31 | | A2 | 14 | 30 | | A2 | 15 | 50 | | A2 | 16 | 26 | | A2 | 17 | 37 | | A3 | 1 | 24 | | A3 | 2 | 39 | | A3 | 3 | 48 | | A3 | 4 | 43 | | A3 | 5 | 36 | | A3 | 6 | 13 | | A3 | 7 | 14 | | A3 | 8 | 28 | | A3 | 9 | 33 | | A3 | 10 | 44 | | A3 | 11 | 13 | | A3 | 12 | 47 | | A3 | 13 | 47 | | A3 | 14 | 26 | | A3 | 15 | 44 | | A3 | 16 | 28 | | A3 | 17 | 42 | | A4 | 1 | 36 | | A4 | 2 | 29 | | A4 | 3 | 43 | | A4 | 4 | 39 | | A4 | 5 | 44 | | A4 | 6 | 48 | | A4 | 7 | 42 | | A4 | 8 | 17 | | A4 | 9 | 14 | | A4 | 10 | 33 | | A4 | 11 | 17 | | A4 | 12 | 30 | | A4 | 13 | 41 | | A4 | 14 | 48 | | A4 | 15 | 19 | | A4 | 16 | 34 | | A4 | 17 | 21 | | A5 | 1 | 43 | | A5 | 2 | 42 | | A5 | 3 | 31 | | A5 | 4 | 28 | | A5 | 5 | 39 | | A5 | 6 | 12 | | A5 | 7 | 45 | | A5 | 8 | 26 | | A5 | 9 | 28 | | A5 | 10 | 30 | | A5 | 11 | 28 | | A5 | 12 | 15 | | A5 | 13 | 13 | | A5 | 14 | 49 | | A5 | 15 | 25 | | A5 | 16 | 32 | | A5 | 17 | 27 | | A6 | 1 | 42 | | A6 | 2 | 42 | | A6 | 3 | 45 | | A6 | 4 | 17 | | A6 | 5 | 31 | | A6 | 6 | 28 | | A6 | 7 | 24 | | A6 | 8 | 33 | | A6 | 9 | 11 | | A6 | 10 | 12 | | A6 | 11 | 26 | | A6 | 12 | 16 | | A6 | 13 | 18 | | A6 | 14 | 38 | | A6 | 15 | 27 | | A6 | 16 | 20 | | A6 | 17 | 47 | | A7 | 1 | 38 | | A7 | 2 | 12 | | A7 | 3 | 31 | | A7 | 4 | 19 | | A7 | 5 | 21 | | A7 | 6 | 21 | | A7 | 7 | 28 | | A7 | 8 | 35 | | A7 | 9 | 39 | | A7 | 10 | 45 | | A7 | 11 | 48 | | A7 | 12 | 17 | | A7 | 13 | 35 | | A7 | 14 | 35 | | A7 | 15 | 22 | | A7 | 16 | 49 | | A7 | 17 | 21 | | courier_id | parcel_id | delivery_fee | |---|---|---| | A1 | 1 | 7 | | A1 | 2 | 15 | | A1 | 3 | 7 | | A1 | 4 | 7 | | A1 | 5 | 15 | | A1 | 6 | 17 | | A1 | 7 | 25 | | A1 | 8 | 22 | | A1 | 9 | 14 | | A1 | 10 | 19 | | A1 | 11 | 20 | | A1 | 12 | 24 | | A1 | 13 | 13 | | A1 | 14 | 19 | | A1 | 15 | 6 | | A1 | 16 | 24 | | A1 | 17 | 19 | | A2 | 1 | 13 | | A2 | 2 | 14 | | A2 | 3 | 11 | | A2 | 4 | 18 | | A2 | 5 | 16 | | A2 | 6 | 21 | | A2 | 7 | 11 | | A2 | 8 | 17 | | A2 | 9 | 16 | | A2 | 10 | 11 | | A2 | 11 | 19 | | A2 | 12 | 8 | | A2 | 13 | 11 | | A2 | 14 | 13 | | A2 | 15 | 23 | | A2 | 16 | 11 | | A2 | 17 | 24 | | A3 | 1 | 18 | | A3 | 2 | 18 | | A3 | 3 | 10 | | A3 | 4 | 20 | | A3 | 5 | 14 | | A3 | 6 | 13 | | A3 | 7 | 11 | | A3 | 8 | 11 | | A3 | 9 | 16 | | A3 | 10 | 7 | | A3 | 11 | 14 | | A3 | 12 | 17 | | A3 | 13 | 14 | | A3 | 14 | 14 | | A3 | 15 | 8 | | A3 | 16 | 21 | | A3 | 17 | 19 | | A4 | 1 | 6 | | A4 | 2 | 20 | | A4 | 3 | 20 | | A4 | 4 | 25 | | A4 | 5 | 10 | | A4 | 6 | 23 | | A4 | 7 | 22 | | A4 | 8 | 15 | | A4 | 9 | 15 | | A4 | 10 | 10 | | A4 | 11 | 7 | | A4 | 12 | 22 | | A4 | 13 | 10 | | A4 | 14 | 15 | | A4 | 15 | 5 | | A4 | 16 | 17 | | A4 | 17 | 11 | | A5 | 1 | 24 | | A5 | 2 | 9 | | A5 | 3 | 8 | | A5 | 4 | 18 | | A5 | 5 | 20 | | A5 | 6 | 7 | | A5 | 7 | 20 | | A5 | 8 | 17 | | A5 | 9 | 9 | | A5 | 10 | 22 | | A5 | 11 | 6 | | A5 | 12 | 9 | | A5 | 13 | 14 | | A5 | 14 | 11 | | A5 | 15 | 16 | | A5 | 16 | 16 | | A5 | 17 | 9 | | A6 | 1 | 15 | | A6 | 2 | 21 | | A6 | 3 | 14 | | A6 | 4 | 18 | | A6 | 5 | 23 | | A6 | 6 | 16 | | A6 | 7 | 6 | | A6 | 8 | 17 | | A6 | 9 | 11 | | A6 | 10 | 11 | | A6 | 11 | 13 | | A6 | 12 | 18 | | A6 | 13 | 8 | | A6 | 14 | 14 | | A6 | 15 | 24 | | A6 | 16 | 6 | | A6 | 17 | 22 | | A7 | 1 | 12 | | A7 | 2 | 19 | | A7 | 3 | 6 | | A7 | 4 | 21 | | A7 | 5 | 25 | | A7 | 6 | 12 | | A7 | 7 | 15 | | A7 | 8 | 13 | | A7 | 9 | 13 | | A7 | 10 | 9 | | A7 | 11 | 12 | | A7 | 12 | 22 | | A7 | 13 | 24 | | A7 | 14 | 9 | | A7 | 15 | 19 | | A7 | 16 | 17 | | A7 | 17 | 9 | Let's list them so we can minimize the total delivery fees. When you're ready to give the actual allocation, just send it back in a small JSON snippet like this so it's easy to read and plug into whatever checks we're using. { ""solution"": [ , , ..., ] } Think of the ""solution"" array as a simple form: one entry per parcel (in the same order the parcels were listed), and each entry is the identifier of the courier who's taking that parcel. This JSON is only a sketch of the expected shape — not the actual assignment. Please use the exact identifiers from the instance input — do not rename or invent new labels. For example: Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[24, 43, 47, 32, 12, 34, 48, 35, 46, 32, 22, 50, 10, 30, 39, 24, 21], [48, 27, 23, 20, 22, 43, 48, 42, 48, 32, 36, 17, 31, 30, 50, 26, 37], [24, 39, 48, 43, 36, 13, 14, 28, 33, 44, 13, 47, 47, 26, 44, 28, 42], [36, 29, 43, 39, 44, 48, 42, 17, 14, 33, 17, 30, 41, 48, 19, 34, 21], [43, 42, 31, 28, 39, 12, 45, 26, 28, 30, 28, 15, 13, 49, 25, 32, 27], [42, 42, 45, 17, 31, 28, 24, 33, 11, 12, 26, 16, 18, 38, 27, 20, 47], [38, 12, 31, 19, 21, 21, 28, 35, 39, 45, 48, 17, 35, 35, 22, 49, 21]], 'assignment_costs': [[7, 15, 7, 7, 15, 17, 25, 22, 14, 19, 20, 24, 13, 19, 6, 24, 19], [13, 14, 11, 18, 16, 21, 11, 17, 16, 11, 19, 8, 11, 13, 23, 11, 24], [18, 18, 10, 20, 14, 13, 11, 11, 16, 7, 14, 17, 14, 14, 8, 21, 19], [6, 20, 20, 25, 10, 23, 22, 15, 15, 10, 7, 22, 10, 15, 5, 17, 11], [24, 9, 8, 18, 20, 7, 20, 17, 9, 22, 6, 9, 14, 11, 16, 16, 9], [15, 21, 14, 18, 23, 16, 6, 17, 11, 11, 13, 18, 8, 14, 24, 6, 22], [12, 19, 6, 21, 25, 12, 15, 13, 13, 9, 12, 22, 24, 9, 19, 17, 9]], 'capacities': [131, 131, 131, 131, 131, 131, 131], 'objective': 129.0}","[3, 4, 6, 0, 3, 4, 5, 2, 4, 2, 4, 1, 5, 6, 3, 5, 6]",129.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}, {'agent_id': 'A6', 'capacity': 131}, {'agent_id': 'A7', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 21}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 7}, {'agent_id': 'A1', 'task_id': 2, 'cost': 15}, {'agent_id': 'A1', 'task_id': 3, 'cost': 7}, {'agent_id': 'A1', 'task_id': 4, 'cost': 7}, {'agent_id': 'A1', 'task_id': 5, 'cost': 15}, {'agent_id': 'A1', 'task_id': 6, 'cost': 17}, {'agent_id': 'A1', 'task_id': 7, 'cost': 25}, {'agent_id': 'A1', 'task_id': 8, 'cost': 22}, {'agent_id': 'A1', 'task_id': 9, 'cost': 14}, {'agent_id': 'A1', 'task_id': 10, 'cost': 19}, {'agent_id': 'A1', 'task_id': 11, 'cost': 20}, {'agent_id': 'A1', 'task_id': 12, 'cost': 24}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 19}, {'agent_id': 'A1', 'task_id': 15, 'cost': 6}, {'agent_id': 'A1', 'task_id': 16, 'cost': 24}, {'agent_id': 'A1', 'task_id': 17, 'cost': 19}, {'agent_id': 'A2', 'task_id': 1, 'cost': 13}, {'agent_id': 'A2', 'task_id': 2, 'cost': 14}, {'agent_id': 'A2', 'task_id': 3, 'cost': 11}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 16}, {'agent_id': 'A2', 'task_id': 6, 'cost': 21}, {'agent_id': 'A2', 'task_id': 7, 'cost': 11}, {'agent_id': 'A2', 'task_id': 8, 'cost': 17}, {'agent_id': 'A2', 'task_id': 9, 'cost': 16}, {'agent_id': 'A2', 'task_id': 10, 'cost': 11}, {'agent_id': 'A2', 'task_id': 11, 'cost': 19}, {'agent_id': 'A2', 'task_id': 12, 'cost': 8}, {'agent_id': 'A2', 'task_id': 13, 'cost': 11}, {'agent_id': 'A2', 'task_id': 14, 'cost': 13}, {'agent_id': 'A2', 'task_id': 15, 'cost': 23}, {'agent_id': 'A2', 'task_id': 16, 'cost': 11}, {'agent_id': 'A2', 'task_id': 17, 'cost': 24}, {'agent_id': 'A3', 'task_id': 1, 'cost': 18}, {'agent_id': 'A3', 'task_id': 2, 'cost': 18}, {'agent_id': 'A3', 'task_id': 3, 'cost': 10}, {'agent_id': 'A3', 'task_id': 4, 'cost': 20}, {'agent_id': 'A3', 'task_id': 5, 'cost': 14}, {'agent_id': 'A3', 'task_id': 6, 'cost': 13}, {'agent_id': 'A3', 'task_id': 7, 'cost': 11}, {'agent_id': 'A3', 'task_id': 8, 'cost': 11}, {'agent_id': 'A3', 'task_id': 9, 'cost': 16}, {'agent_id': 'A3', 'task_id': 10, 'cost': 7}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 17}, {'agent_id': 'A3', 'task_id': 13, 'cost': 14}, {'agent_id': 'A3', 'task_id': 14, 'cost': 14}, {'agent_id': 'A3', 'task_id': 15, 'cost': 8}, {'agent_id': 'A3', 'task_id': 16, 'cost': 21}, {'agent_id': 'A3', 'task_id': 17, 'cost': 19}, {'agent_id': 'A4', 'task_id': 1, 'cost': 6}, {'agent_id': 'A4', 'task_id': 2, 'cost': 20}, {'agent_id': 'A4', 'task_id': 3, 'cost': 20}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 10}, {'agent_id': 'A4', 'task_id': 6, 'cost': 23}, {'agent_id': 'A4', 'task_id': 7, 'cost': 22}, {'agent_id': 'A4', 'task_id': 8, 'cost': 15}, {'agent_id': 'A4', 'task_id': 9, 'cost': 15}, {'agent_id': 'A4', 'task_id': 10, 'cost': 10}, {'agent_id': 'A4', 'task_id': 11, 'cost': 7}, {'agent_id': 'A4', 'task_id': 12, 'cost': 22}, {'agent_id': 'A4', 'task_id': 13, 'cost': 10}, {'agent_id': 'A4', 'task_id': 14, 'cost': 15}, {'agent_id': 'A4', 'task_id': 15, 'cost': 5}, {'agent_id': 'A4', 'task_id': 16, 'cost': 17}, {'agent_id': 'A4', 'task_id': 17, 'cost': 11}, {'agent_id': 'A5', 'task_id': 1, 'cost': 24}, {'agent_id': 'A5', 'task_id': 2, 'cost': 9}, {'agent_id': 'A5', 'task_id': 3, 'cost': 8}, {'agent_id': 'A5', 'task_id': 4, 'cost': 18}, {'agent_id': 'A5', 'task_id': 5, 'cost': 20}, {'agent_id': 'A5', 'task_id': 6, 'cost': 7}, {'agent_id': 'A5', 'task_id': 7, 'cost': 20}, {'agent_id': 'A5', 'task_id': 8, 'cost': 17}, {'agent_id': 'A5', 'task_id': 9, 'cost': 9}, {'agent_id': 'A5', 'task_id': 10, 'cost': 22}, {'agent_id': 'A5', 'task_id': 11, 'cost': 6}, {'agent_id': 'A5', 'task_id': 12, 'cost': 9}, {'agent_id': 'A5', 'task_id': 13, 'cost': 14}, {'agent_id': 'A5', 'task_id': 14, 'cost': 11}, {'agent_id': 'A5', 'task_id': 15, 'cost': 16}, {'agent_id': 'A5', 'task_id': 16, 'cost': 16}, {'agent_id': 'A5', 'task_id': 17, 'cost': 9}, {'agent_id': 'A6', 'task_id': 1, 'cost': 15}, {'agent_id': 'A6', 'task_id': 2, 'cost': 21}, {'agent_id': 'A6', 'task_id': 3, 'cost': 14}, {'agent_id': 'A6', 'task_id': 4, 'cost': 18}, {'agent_id': 'A6', 'task_id': 5, 'cost': 23}, {'agent_id': 'A6', 'task_id': 6, 'cost': 16}, {'agent_id': 'A6', 'task_id': 7, 'cost': 6}, {'agent_id': 'A6', 'task_id': 8, 'cost': 17}, {'agent_id': 'A6', 'task_id': 9, 'cost': 11}, {'agent_id': 'A6', 'task_id': 10, 'cost': 11}, {'agent_id': 'A6', 'task_id': 11, 'cost': 13}, {'agent_id': 'A6', 'task_id': 12, 'cost': 18}, {'agent_id': 'A6', 'task_id': 13, 'cost': 8}, {'agent_id': 'A6', 'task_id': 14, 'cost': 14}, {'agent_id': 'A6', 'task_id': 15, 'cost': 24}, {'agent_id': 'A6', 'task_id': 16, 'cost': 6}, {'agent_id': 'A6', 'task_id': 17, 'cost': 22}, {'agent_id': 'A7', 'task_id': 1, 'cost': 12}, {'agent_id': 'A7', 'task_id': 2, 'cost': 19}, {'agent_id': 'A7', 'task_id': 3, 'cost': 6}, {'agent_id': 'A7', 'task_id': 4, 'cost': 21}, {'agent_id': 'A7', 'task_id': 5, 'cost': 25}, {'agent_id': 'A7', 'task_id': 6, 'cost': 12}, {'agent_id': 'A7', 'task_id': 7, 'cost': 15}, {'agent_id': 'A7', 'task_id': 8, 'cost': 13}, {'agent_id': 'A7', 'task_id': 9, 'cost': 13}, {'agent_id': 'A7', 'task_id': 10, 'cost': 9}, {'agent_id': 'A7', 'task_id': 11, 'cost': 12}, {'agent_id': 'A7', 'task_id': 12, 'cost': 22}, {'agent_id': 'A7', 'task_id': 13, 'cost': 24}, {'agent_id': 'A7', 'task_id': 14, 'cost': 9}, {'agent_id': 'A7', 'task_id': 15, 'cost': 19}, {'agent_id': 'A7', 'task_id': 16, 'cost': 17}, {'agent_id': 'A7', 'task_id': 17, 'cost': 9}]}","['A4', 'A5', 'A7', 'A1', 'A4', 'A5', 'A6', 'A3', 'A5', 'A3', 'A5', 'A2', 'A6', 'A7', 'A4', 'A6', 'A7']",1,markdown_table,1 GAP,GAP,"I’m juggling a pile of compute jobs and a rack of servers, and the task is to pick one server for every job so nothing is left out or duplicated. For each job-server pair I already know how much of that server’s CPU the job would eat and what the operating cost would be if it ran there. The better choices are the ones that keep each server’s total CPU use within its limit and make the total bill as small as possible — the bill is just the sum of the operating costs for every job where it’s placed. The concrete details (CPU fractions, costs, and server budgets) are listed below. Here they are: the 7 servers (A1, A2, A3, A4, A5, A6, A7) and the 23 jobs (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22). | server_id | cpu_capacity | |---|---| | A1 | 181 | | A2 | 179 | | A3 | 178 | | A4 | 180 | | A5 | 179 | | A6 | 177 | | A7 | 177 | | server_id | job_id | cpu_fraction | |---|---|---| | A1 | 0 | 46 | | A1 | 1 | 38 | | A1 | 2 | 24 | | A1 | 3 | 45 | | A1 | 4 | 14 | | A1 | 5 | 27 | | A1 | 6 | 41 | | A1 | 7 | 41 | | A1 | 8 | 43 | | A1 | 9 | 41 | | A1 | 10 | 38 | | A1 | 11 | 19 | | A1 | 12 | 19 | | A1 | 13 | 48 | | A1 | 14 | 47 | | A1 | 15 | 35 | | A1 | 16 | 14 | | A1 | 17 | 45 | | A1 | 18 | 12 | | A1 | 19 | 12 | | A1 | 20 | 16 | | A1 | 21 | 24 | | A1 | 22 | 26 | | A2 | 0 | 34 | | A2 | 1 | 24 | | A2 | 2 | 21 | | A2 | 3 | 35 | | A2 | 4 | 30 | | A2 | 5 | 35 | | A2 | 6 | 10 | | A2 | 7 | 17 | | A2 | 8 | 22 | | A2 | 9 | 16 | | A2 | 10 | 18 | | A2 | 11 | 44 | | A2 | 12 | 17 | | A2 | 13 | 35 | | A2 | 14 | 33 | | A2 | 15 | 45 | | A2 | 16 | 40 | | A2 | 17 | 25 | | A2 | 18 | 14 | | A2 | 19 | 21 | | A2 | 20 | 27 | | A2 | 21 | 47 | | A2 | 22 | 47 | | A3 | 0 | 15 | | A3 | 1 | 40 | | A3 | 2 | 37 | | A3 | 3 | 45 | | A3 | 4 | 27 | | A3 | 5 | 28 | | A3 | 6 | 28 | | A3 | 7 | 36 | | A3 | 8 | 23 | | A3 | 9 | 33 | | A3 | 10 | 31 | | A3 | 11 | 36 | | A3 | 12 | 14 | | A3 | 13 | 34 | | A3 | 14 | 10 | | A3 | 15 | 49 | | A3 | 16 | 33 | | A3 | 17 | 35 | | A3 | 18 | 48 | | A3 | 19 | 41 | | A3 | 20 | 14 | | A3 | 21 | 22 | | A3 | 22 | 22 | | A4 | 0 | 37 | | A4 | 1 | 16 | | A4 | 2 | 46 | | A4 | 3 | 41 | | A4 | 4 | 49 | | A4 | 5 | 19 | | A4 | 6 | 33 | | A4 | 7 | 42 | | A4 | 8 | 38 | | A4 | 9 | 21 | | A4 | 10 | 26 | | A4 | 11 | 37 | | A4 | 12 | 21 | | A4 | 13 | 14 | | A4 | 14 | 48 | | A4 | 15 | 26 | | A4 | 16 | 41 | | A4 | 17 | 45 | | A4 | 18 | 21 | | A4 | 19 | 26 | | A4 | 20 | 21 | | A4 | 21 | 32 | | A4 | 22 | 29 | | A5 | 0 | 28 | | A5 | 1 | 22 | | A5 | 2 | 23 | | A5 | 3 | 33 | | A5 | 4 | 39 | | A5 | 5 | 22 | | A5 | 6 | 31 | | A5 | 7 | 31 | | A5 | 8 | 19 | | A5 | 9 | 37 | | A5 | 10 | 23 | | A5 | 11 | 50 | | A5 | 12 | 18 | | A5 | 13 | 39 | | A5 | 14 | 30 | | A5 | 15 | 48 | | A5 | 16 | 46 | | A5 | 17 | 12 | | A5 | 18 | 22 | | A5 | 19 | 50 | | A5 | 20 | 39 | | A5 | 21 | 27 | | A5 | 22 | 46 | | A6 | 0 | 30 | | A6 | 1 | 36 | | A6 | 2 | 13 | | A6 | 3 | 19 | | A6 | 4 | 15 | | A6 | 5 | 23 | | A6 | 6 | 11 | | A6 | 7 | 14 | | A6 | 8 | 11 | | A6 | 9 | 22 | | A6 | 10 | 46 | | A6 | 11 | 28 | | A6 | 12 | 45 | | A6 | 13 | 15 | | A6 | 14 | 40 | | A6 | 15 | 24 | | A6 | 16 | 19 | | A6 | 17 | 26 | | A6 | 18 | 50 | | A6 | 19 | 25 | | A6 | 20 | 34 | | A6 | 21 | 44 | | A6 | 22 | 14 | | A7 | 0 | 39 | | A7 | 1 | 47 | | A7 | 2 | 17 | | A7 | 3 | 42 | | A7 | 4 | 14 | | A7 | 5 | 35 | | A7 | 6 | 17 | | A7 | 7 | 20 | | A7 | 8 | 29 | | A7 | 9 | 37 | | A7 | 10 | 40 | | A7 | 11 | 14 | | A7 | 12 | 30 | | A7 | 13 | 11 | | A7 | 14 | 36 | | A7 | 15 | 10 | | A7 | 16 | 37 | | A7 | 17 | 14 | | A7 | 18 | 43 | | A7 | 19 | 47 | | A7 | 20 | 37 | | A7 | 21 | 29 | | A7 | 22 | 19 | | server_id | job_id | operating_cost | |---|---|---| | A1 | 0 | 13 | | A1 | 1 | 18 | | A1 | 2 | 21 | | A1 | 3 | 10 | | A1 | 4 | 18 | | A1 | 5 | 14 | | A1 | 6 | 14 | | A1 | 7 | 24 | | A1 | 8 | 5 | | A1 | 9 | 6 | | A1 | 10 | 10 | | A1 | 11 | 13 | | A1 | 12 | 11 | | A1 | 13 | 19 | | A1 | 14 | 8 | | A1 | 15 | 19 | | A1 | 16 | 20 | | A1 | 17 | 23 | | A1 | 18 | 5 | | A1 | 19 | 17 | | A1 | 20 | 22 | | A1 | 21 | 10 | | A1 | 22 | 8 | | A2 | 0 | 19 | | A2 | 1 | 22 | | A2 | 2 | 6 | | A2 | 3 | 13 | | A2 | 4 | 8 | | A2 | 5 | 6 | | A2 | 6 | 12 | | A2 | 7 | 22 | | A2 | 8 | 12 | | A2 | 9 | 20 | | A2 | 10 | 12 | | A2 | 11 | 5 | | A2 | 12 | 19 | | A2 | 13 | 24 | | A2 | 14 | 10 | | A2 | 15 | 20 | | A2 | 16 | 7 | | A2 | 17 | 8 | | A2 | 18 | 20 | | A2 | 19 | 20 | | A2 | 20 | 8 | | A2 | 21 | 22 | | A2 | 22 | 10 | | A3 | 0 | 10 | | A3 | 1 | 14 | | A3 | 2 | 21 | | A3 | 3 | 16 | | A3 | 4 | 13 | | A3 | 5 | 14 | | A3 | 6 | 19 | | A3 | 7 | 25 | | A3 | 8 | 18 | | A3 | 9 | 25 | | A3 | 10 | 25 | | A3 | 11 | 20 | | A3 | 12 | 10 | | A3 | 13 | 13 | | A3 | 14 | 18 | | A3 | 15 | 25 | | A3 | 16 | 14 | | A3 | 17 | 6 | | A3 | 18 | 10 | | A3 | 19 | 9 | | A3 | 20 | 13 | | A3 | 21 | 19 | | A3 | 22 | 5 | | A4 | 0 | 20 | | A4 | 1 | 5 | | A4 | 2 | 19 | | A4 | 3 | 5 | | A4 | 4 | 16 | | A4 | 5 | 5 | | A4 | 6 | 23 | | A4 | 7 | 25 | | A4 | 8 | 7 | | A4 | 9 | 15 | | A4 | 10 | 12 | | A4 | 11 | 24 | | A4 | 12 | 10 | | A4 | 13 | 18 | | A4 | 14 | 9 | | A4 | 15 | 7 | | A4 | 16 | 16 | | A4 | 17 | 17 | | A4 | 18 | 5 | | A4 | 19 | 9 | | A4 | 20 | 13 | | A4 | 21 | 9 | | A4 | 22 | 17 | | A5 | 0 | 23 | | A5 | 1 | 22 | | A5 | 2 | 21 | | A5 | 3 | 20 | | A5 | 4 | 11 | | A5 | 5 | 16 | | A5 | 6 | 17 | | A5 | 7 | 7 | | A5 | 8 | 15 | | A5 | 9 | 17 | | A5 | 10 | 13 | | A5 | 11 | 21 | | A5 | 12 | 6 | | A5 | 13 | 12 | | A5 | 14 | 10 | | A5 | 15 | 24 | | A5 | 16 | 23 | | A5 | 17 | 24 | | A5 | 18 | 23 | | A5 | 19 | 13 | | A5 | 20 | 14 | | A5 | 21 | 22 | | A5 | 22 | 12 | | A6 | 0 | 17 | | A6 | 1 | 7 | | A6 | 2 | 10 | | A6 | 3 | 23 | | A6 | 4 | 18 | | A6 | 5 | 21 | | A6 | 6 | 6 | | A6 | 7 | 5 | | A6 | 8 | 21 | | A6 | 9 | 5 | | A6 | 10 | 22 | | A6 | 11 | 23 | | A6 | 12 | 24 | | A6 | 13 | 17 | | A6 | 14 | 10 | | A6 | 15 | 5 | | A6 | 16 | 20 | | A6 | 17 | 9 | | A6 | 18 | 25 | | A6 | 19 | 17 | | A6 | 20 | 10 | | A6 | 21 | 22 | | A6 | 22 | 12 | | A7 | 0 | 5 | | A7 | 1 | 17 | | A7 | 2 | 17 | | A7 | 3 | 17 | | A7 | 4 | 22 | | A7 | 5 | 5 | | A7 | 6 | 21 | | A7 | 7 | 9 | | A7 | 8 | 24 | | A7 | 9 | 24 | | A7 | 10 | 15 | | A7 | 11 | 10 | | A7 | 12 | 6 | | A7 | 13 | 11 | | A7 | 14 | 14 | | A7 | 15 | 20 | | A7 | 16 | 20 | | A7 | 17 | 18 | | A7 | 18 | 7 | | A7 | 19 | 24 | | A7 | 20 | 24 | | A7 | 21 | 19 | | A7 | 22 | 24 | I'll use these 7 servers and 23 jobs to pick the cheapest feasible assignment while respecting CPU limits. Oh — and to keep things machine-friendly, please put the final assignment in a tiny JSON sketch like this: { ""solution"": [ , , ..., ] } This just says, in order, which server each job gets: the first entry is the server for the first job, the second entry for the second job, and so on. The placeholders above are just the shape I want — you'll replace each placeholder with the actual server identifier from the instance (not a description or extra text). The JSON is only a sketch of the expected shape, not the actual answer. Please use the exact identifiers provided in the instance input — do not rename them or add new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[46, 38, 24, 45, 14, 27, 41, 41, 43, 41, 38, 19, 19, 48, 47, 35, 14, 45, 12, 12, 16, 24, 26], [34, 24, 21, 35, 30, 35, 10, 17, 22, 16, 18, 44, 17, 35, 33, 45, 40, 25, 14, 21, 27, 47, 47], [15, 40, 37, 45, 27, 28, 28, 36, 23, 33, 31, 36, 14, 34, 10, 49, 33, 35, 48, 41, 14, 22, 22], [37, 16, 46, 41, 49, 19, 33, 42, 38, 21, 26, 37, 21, 14, 48, 26, 41, 45, 21, 26, 21, 32, 29], [28, 22, 23, 33, 39, 22, 31, 31, 19, 37, 23, 50, 18, 39, 30, 48, 46, 12, 22, 50, 39, 27, 46], [30, 36, 13, 19, 15, 23, 11, 14, 11, 22, 46, 28, 45, 15, 40, 24, 19, 26, 50, 25, 34, 44, 14], [39, 47, 17, 42, 14, 35, 17, 20, 29, 37, 40, 14, 30, 11, 36, 10, 37, 14, 43, 47, 37, 29, 19]], 'assignment_costs': [[13, 18, 21, 10, 18, 14, 14, 24, 5, 6, 10, 13, 11, 19, 8, 19, 20, 23, 5, 17, 22, 10, 8], [19, 22, 6, 13, 8, 6, 12, 22, 12, 20, 12, 5, 19, 24, 10, 20, 7, 8, 20, 20, 8, 22, 10], [10, 14, 21, 16, 13, 14, 19, 25, 18, 25, 25, 20, 10, 13, 18, 25, 14, 6, 10, 9, 13, 19, 5], [20, 5, 19, 5, 16, 5, 23, 25, 7, 15, 12, 24, 10, 18, 9, 7, 16, 17, 5, 9, 13, 9, 17], [23, 22, 21, 20, 11, 16, 17, 7, 15, 17, 13, 21, 6, 12, 10, 24, 23, 24, 23, 13, 14, 22, 12], [17, 7, 10, 23, 18, 21, 6, 5, 21, 5, 22, 23, 24, 17, 10, 5, 20, 9, 25, 17, 10, 22, 12], [5, 17, 17, 17, 22, 5, 21, 9, 24, 24, 15, 10, 6, 11, 14, 20, 20, 18, 7, 24, 24, 19, 24]], 'capacities': [181, 179, 178, 180, 179, 177, 177], 'objective': 149.0}","[6, 3, 1, 3, 1, 3, 5, 5, 0, 5, 0, 1, 4, 6, 0, 5, 1, 2, 0, 3, 1, 3, 2]",149.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 181}, {'agent_id': 'A2', 'capacity': 179}, {'agent_id': 'A3', 'capacity': 178}, {'agent_id': 'A4', 'capacity': 180}, {'agent_id': 'A5', 'capacity': 179}, {'agent_id': 'A6', 'capacity': 177}, {'agent_id': 'A7', 'capacity': 177}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 19}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 13}, {'agent_id': 'A1', 'task_id': 1, 'cost': 18}, {'agent_id': 'A1', 'task_id': 2, 'cost': 21}, {'agent_id': 'A1', 'task_id': 3, 'cost': 10}, {'agent_id': 'A1', 'task_id': 4, 'cost': 18}, {'agent_id': 'A1', 'task_id': 5, 'cost': 14}, {'agent_id': 'A1', 'task_id': 6, 'cost': 14}, {'agent_id': 'A1', 'task_id': 7, 'cost': 24}, {'agent_id': 'A1', 'task_id': 8, 'cost': 5}, {'agent_id': 'A1', 'task_id': 9, 'cost': 6}, {'agent_id': 'A1', 'task_id': 10, 'cost': 10}, {'agent_id': 'A1', 'task_id': 11, 'cost': 13}, {'agent_id': 'A1', 'task_id': 12, 'cost': 11}, {'agent_id': 'A1', 'task_id': 13, 'cost': 19}, {'agent_id': 'A1', 'task_id': 14, 'cost': 8}, {'agent_id': 'A1', 'task_id': 15, 'cost': 19}, {'agent_id': 'A1', 'task_id': 16, 'cost': 20}, {'agent_id': 'A1', 'task_id': 17, 'cost': 23}, {'agent_id': 'A1', 'task_id': 18, 'cost': 5}, {'agent_id': 'A1', 'task_id': 19, 'cost': 17}, {'agent_id': 'A1', 'task_id': 20, 'cost': 22}, {'agent_id': 'A1', 'task_id': 21, 'cost': 10}, {'agent_id': 'A1', 'task_id': 22, 'cost': 8}, {'agent_id': 'A2', 'task_id': 0, 'cost': 19}, {'agent_id': 'A2', 'task_id': 1, 'cost': 22}, {'agent_id': 'A2', 'task_id': 2, 'cost': 6}, {'agent_id': 'A2', 'task_id': 3, 'cost': 13}, {'agent_id': 'A2', 'task_id': 4, 'cost': 8}, {'agent_id': 'A2', 'task_id': 5, 'cost': 6}, {'agent_id': 'A2', 'task_id': 6, 'cost': 12}, {'agent_id': 'A2', 'task_id': 7, 'cost': 22}, {'agent_id': 'A2', 'task_id': 8, 'cost': 12}, {'agent_id': 'A2', 'task_id': 9, 'cost': 20}, {'agent_id': 'A2', 'task_id': 10, 'cost': 12}, {'agent_id': 'A2', 'task_id': 11, 'cost': 5}, {'agent_id': 'A2', 'task_id': 12, 'cost': 19}, {'agent_id': 'A2', 'task_id': 13, 'cost': 24}, {'agent_id': 'A2', 'task_id': 14, 'cost': 10}, {'agent_id': 'A2', 'task_id': 15, 'cost': 20}, {'agent_id': 'A2', 'task_id': 16, 'cost': 7}, {'agent_id': 'A2', 'task_id': 17, 'cost': 8}, {'agent_id': 'A2', 'task_id': 18, 'cost': 20}, {'agent_id': 'A2', 'task_id': 19, 'cost': 20}, {'agent_id': 'A2', 'task_id': 20, 'cost': 8}, {'agent_id': 'A2', 'task_id': 21, 'cost': 22}, {'agent_id': 'A2', 'task_id': 22, 'cost': 10}, {'agent_id': 'A3', 'task_id': 0, 'cost': 10}, {'agent_id': 'A3', 'task_id': 1, 'cost': 14}, {'agent_id': 'A3', 'task_id': 2, 'cost': 21}, {'agent_id': 'A3', 'task_id': 3, 'cost': 16}, {'agent_id': 'A3', 'task_id': 4, 'cost': 13}, {'agent_id': 'A3', 'task_id': 5, 'cost': 14}, {'agent_id': 'A3', 'task_id': 6, 'cost': 19}, {'agent_id': 'A3', 'task_id': 7, 'cost': 25}, {'agent_id': 'A3', 'task_id': 8, 'cost': 18}, {'agent_id': 'A3', 'task_id': 9, 'cost': 25}, {'agent_id': 'A3', 'task_id': 10, 'cost': 25}, {'agent_id': 'A3', 'task_id': 11, 'cost': 20}, {'agent_id': 'A3', 'task_id': 12, 'cost': 10}, {'agent_id': 'A3', 'task_id': 13, 'cost': 13}, {'agent_id': 'A3', 'task_id': 14, 'cost': 18}, {'agent_id': 'A3', 'task_id': 15, 'cost': 25}, {'agent_id': 'A3', 'task_id': 16, 'cost': 14}, {'agent_id': 'A3', 'task_id': 17, 'cost': 6}, {'agent_id': 'A3', 'task_id': 18, 'cost': 10}, {'agent_id': 'A3', 'task_id': 19, 'cost': 9}, {'agent_id': 'A3', 'task_id': 20, 'cost': 13}, {'agent_id': 'A3', 'task_id': 21, 'cost': 19}, {'agent_id': 'A3', 'task_id': 22, 'cost': 5}, {'agent_id': 'A4', 'task_id': 0, 'cost': 20}, {'agent_id': 'A4', 'task_id': 1, 'cost': 5}, {'agent_id': 'A4', 'task_id': 2, 'cost': 19}, {'agent_id': 'A4', 'task_id': 3, 'cost': 5}, {'agent_id': 'A4', 'task_id': 4, 'cost': 16}, {'agent_id': 'A4', 'task_id': 5, 'cost': 5}, {'agent_id': 'A4', 'task_id': 6, 'cost': 23}, {'agent_id': 'A4', 'task_id': 7, 'cost': 25}, {'agent_id': 'A4', 'task_id': 8, 'cost': 7}, {'agent_id': 'A4', 'task_id': 9, 'cost': 15}, {'agent_id': 'A4', 'task_id': 10, 'cost': 12}, {'agent_id': 'A4', 'task_id': 11, 'cost': 24}, {'agent_id': 'A4', 'task_id': 12, 'cost': 10}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 9}, {'agent_id': 'A4', 'task_id': 15, 'cost': 7}, {'agent_id': 'A4', 'task_id': 16, 'cost': 16}, {'agent_id': 'A4', 'task_id': 17, 'cost': 17}, {'agent_id': 'A4', 'task_id': 18, 'cost': 5}, {'agent_id': 'A4', 'task_id': 19, 'cost': 9}, {'agent_id': 'A4', 'task_id': 20, 'cost': 13}, {'agent_id': 'A4', 'task_id': 21, 'cost': 9}, {'agent_id': 'A4', 'task_id': 22, 'cost': 17}, {'agent_id': 'A5', 'task_id': 0, 'cost': 23}, {'agent_id': 'A5', 'task_id': 1, 'cost': 22}, {'agent_id': 'A5', 'task_id': 2, 'cost': 21}, {'agent_id': 'A5', 'task_id': 3, 'cost': 20}, {'agent_id': 'A5', 'task_id': 4, 'cost': 11}, {'agent_id': 'A5', 'task_id': 5, 'cost': 16}, {'agent_id': 'A5', 'task_id': 6, 'cost': 17}, {'agent_id': 'A5', 'task_id': 7, 'cost': 7}, {'agent_id': 'A5', 'task_id': 8, 'cost': 15}, {'agent_id': 'A5', 'task_id': 9, 'cost': 17}, {'agent_id': 'A5', 'task_id': 10, 'cost': 13}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 6}, {'agent_id': 'A5', 'task_id': 13, 'cost': 12}, {'agent_id': 'A5', 'task_id': 14, 'cost': 10}, {'agent_id': 'A5', 'task_id': 15, 'cost': 24}, {'agent_id': 'A5', 'task_id': 16, 'cost': 23}, {'agent_id': 'A5', 'task_id': 17, 'cost': 24}, {'agent_id': 'A5', 'task_id': 18, 'cost': 23}, {'agent_id': 'A5', 'task_id': 19, 'cost': 13}, {'agent_id': 'A5', 'task_id': 20, 'cost': 14}, {'agent_id': 'A5', 'task_id': 21, 'cost': 22}, {'agent_id': 'A5', 'task_id': 22, 'cost': 12}, {'agent_id': 'A6', 'task_id': 0, 'cost': 17}, {'agent_id': 'A6', 'task_id': 1, 'cost': 7}, {'agent_id': 'A6', 'task_id': 2, 'cost': 10}, {'agent_id': 'A6', 'task_id': 3, 'cost': 23}, {'agent_id': 'A6', 'task_id': 4, 'cost': 18}, {'agent_id': 'A6', 'task_id': 5, 'cost': 21}, {'agent_id': 'A6', 'task_id': 6, 'cost': 6}, {'agent_id': 'A6', 'task_id': 7, 'cost': 5}, {'agent_id': 'A6', 'task_id': 8, 'cost': 21}, {'agent_id': 'A6', 'task_id': 9, 'cost': 5}, {'agent_id': 'A6', 'task_id': 10, 'cost': 22}, {'agent_id': 'A6', 'task_id': 11, 'cost': 23}, {'agent_id': 'A6', 'task_id': 12, 'cost': 24}, {'agent_id': 'A6', 'task_id': 13, 'cost': 17}, {'agent_id': 'A6', 'task_id': 14, 'cost': 10}, {'agent_id': 'A6', 'task_id': 15, 'cost': 5}, {'agent_id': 'A6', 'task_id': 16, 'cost': 20}, {'agent_id': 'A6', 'task_id': 17, 'cost': 9}, {'agent_id': 'A6', 'task_id': 18, 'cost': 25}, {'agent_id': 'A6', 'task_id': 19, 'cost': 17}, {'agent_id': 'A6', 'task_id': 20, 'cost': 10}, {'agent_id': 'A6', 'task_id': 21, 'cost': 22}, {'agent_id': 'A6', 'task_id': 22, 'cost': 12}, {'agent_id': 'A7', 'task_id': 0, 'cost': 5}, {'agent_id': 'A7', 'task_id': 1, 'cost': 17}, {'agent_id': 'A7', 'task_id': 2, 'cost': 17}, {'agent_id': 'A7', 'task_id': 3, 'cost': 17}, {'agent_id': 'A7', 'task_id': 4, 'cost': 22}, {'agent_id': 'A7', 'task_id': 5, 'cost': 5}, {'agent_id': 'A7', 'task_id': 6, 'cost': 21}, {'agent_id': 'A7', 'task_id': 7, 'cost': 9}, {'agent_id': 'A7', 'task_id': 8, 'cost': 24}, {'agent_id': 'A7', 'task_id': 9, 'cost': 24}, {'agent_id': 'A7', 'task_id': 10, 'cost': 15}, {'agent_id': 'A7', 'task_id': 11, 'cost': 10}, {'agent_id': 'A7', 'task_id': 12, 'cost': 6}, {'agent_id': 'A7', 'task_id': 13, 'cost': 11}, {'agent_id': 'A7', 'task_id': 14, 'cost': 14}, {'agent_id': 'A7', 'task_id': 15, 'cost': 20}, {'agent_id': 'A7', 'task_id': 16, 'cost': 20}, {'agent_id': 'A7', 'task_id': 17, 'cost': 18}, {'agent_id': 'A7', 'task_id': 18, 'cost': 7}, {'agent_id': 'A7', 'task_id': 19, 'cost': 24}, {'agent_id': 'A7', 'task_id': 20, 'cost': 24}, {'agent_id': 'A7', 'task_id': 21, 'cost': 19}, {'agent_id': 'A7', 'task_id': 22, 'cost': 24}]}","['A7', 'A4', 'A2', 'A4', 'A2', 'A4', 'A6', 'A6', 'A1', 'A6', 'A1', 'A2', 'A5', 'A7', 'A1', 'A6', 'A2', 'A3', 'A1', 'A4', 'A2', 'A4', 'A3']",2,markdown_table,0 GAP,GAP,"We have a stack of production batches and a handful of machines; every batch needs to be assigned to one machine, and no batch can be left out or duplicated. For each possible pairing there’s an estimated run time and a price to pay for running that batch on that machine, and each machine only has so many hours to give. The plan that’s best is the one that makes the sum of all those running costs as low as possible — just total up the cost for each batch on its chosen machine — but while keeping each machine’s total assigned time within its available hours. The detailed times, costs, and capacities follow below. # num_machines=9 # num_batches=24 # machines=A1, A2, A3, A4, A5, A6, A7, A8, A9 # batches=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 machine_id,available_time A1,120 A2,115 A3,116 A4,118 A5,119 A6,120 A7,112 A8,123 A9,119 machine_id,batch_id,run_time A1,1,21 A1,2,29 A1,3,36 A1,4,15 A1,5,19 A1,6,48 A1,7,43 A1,8,40 A1,9,21 A1,10,49 A1,11,13 A1,12,19 A1,13,16 A1,14,38 A1,15,35 A1,16,39 A1,17,20 A1,18,20 A1,19,15 A1,20,49 A1,21,25 A1,22,24 A1,23,18 A1,24,37 A2,1,20 A2,2,22 A2,3,32 A2,4,21 A2,5,36 A2,6,19 A2,7,47 A2,8,24 A2,9,49 A2,10,46 A2,11,29 A2,12,33 A2,13,34 A2,14,30 A2,15,41 A2,16,45 A2,17,15 A2,18,43 A2,19,20 A2,20,20 A2,21,34 A2,22,45 A2,23,16 A2,24,44 A3,1,18 A3,2,38 A3,3,38 A3,4,30 A3,5,49 A3,6,23 A3,7,48 A3,8,44 A3,9,19 A3,10,34 A3,11,40 A3,12,31 A3,13,25 A3,14,17 A3,15,27 A3,16,42 A3,17,39 A3,18,23 A3,19,35 A3,20,33 A3,21,20 A3,22,30 A3,23,36 A3,24,48 A4,1,22 A4,2,25 A4,3,31 A4,4,13 A4,5,46 A4,6,48 A4,7,42 A4,8,31 A4,9,40 A4,10,18 A4,11,13 A4,12,44 A4,13,44 A4,14,16 A4,15,31 A4,16,36 A4,17,40 A4,18,36 A4,19,44 A4,20,10 A4,21,17 A4,22,21 A4,23,15 A4,24,31 A5,1,47 A5,2,44 A5,3,37 A5,4,40 A5,5,10 A5,6,32 A5,7,28 A5,8,41 A5,9,14 A5,10,29 A5,11,29 A5,12,26 A5,13,50 A5,14,16 A5,15,34 A5,16,10 A5,17,50 A5,18,18 A5,19,43 A5,20,49 A5,21,31 A5,22,30 A5,23,50 A5,24,18 A6,1,33 A6,2,14 A6,3,23 A6,4,45 A6,5,47 A6,6,40 A6,7,43 A6,8,19 A6,9,21 A6,10,31 A6,11,31 A6,12,13 A6,13,40 A6,14,44 A6,15,31 A6,16,12 A6,17,26 A6,18,12 A6,19,29 A6,20,29 A6,21,19 A6,22,21 A6,23,30 A6,24,11 A7,1,45 A7,2,32 A7,3,23 A7,4,22 A7,5,21 A7,6,23 A7,7,50 A7,8,35 A7,9,16 A7,10,44 A7,11,40 A7,12,40 A7,13,49 A7,14,12 A7,15,28 A7,16,44 A7,17,30 A7,18,45 A7,19,20 A7,20,49 A7,21,32 A7,22,33 A7,23,22 A7,24,16 A8,1,17 A8,2,29 A8,3,16 A8,4,11 A8,5,41 A8,6,31 A8,7,33 A8,8,17 A8,9,19 A8,10,30 A8,11,22 A8,12,35 A8,13,47 A8,14,17 A8,15,46 A8,16,50 A8,17,23 A8,18,21 A8,19,26 A8,20,12 A8,21,24 A8,22,36 A8,23,17 A8,24,39 A9,1,17 A9,2,18 A9,3,46 A9,4,21 A9,5,16 A9,6,17 A9,7,26 A9,8,31 A9,9,21 A9,10,50 A9,11,37 A9,12,28 A9,13,20 A9,14,10 A9,15,18 A9,16,19 A9,17,30 A9,18,16 A9,19,11 A9,20,26 A9,21,14 A9,22,50 A9,23,20 A9,24,49 machine_id,batch_id,running_cost A1,1,20 A1,2,10 A1,3,9 A1,4,17 A1,5,20 A1,6,14 A1,7,10 A1,8,10 A1,9,18 A1,10,10 A1,11,9 A1,12,13 A1,13,23 A1,14,8 A1,15,24 A1,16,6 A1,17,16 A1,18,12 A1,19,24 A1,20,11 A1,21,19 A1,22,22 A1,23,10 A1,24,13 A2,1,18 A2,2,15 A2,3,9 A2,4,13 A2,5,5 A2,6,18 A2,7,9 A2,8,5 A2,9,5 A2,10,10 A2,11,20 A2,12,24 A2,13,16 A2,14,20 A2,15,22 A2,16,12 A2,17,19 A2,18,12 A2,19,20 A2,20,17 A2,21,14 A2,22,15 A2,23,7 A2,24,8 A3,1,12 A3,2,20 A3,3,5 A3,4,14 A3,5,17 A3,6,6 A3,7,24 A3,8,22 A3,9,17 A3,10,20 A3,11,8 A3,12,13 A3,13,18 A3,14,5 A3,15,9 A3,16,6 A3,17,15 A3,18,19 A3,19,14 A3,20,5 A3,21,8 A3,22,11 A3,23,9 A3,24,20 A4,1,14 A4,2,18 A4,3,11 A4,4,16 A4,5,11 A4,6,22 A4,7,8 A4,8,6 A4,9,18 A4,10,7 A4,11,14 A4,12,14 A4,13,9 A4,14,8 A4,15,8 A4,16,25 A4,17,15 A4,18,7 A4,19,13 A4,20,8 A4,21,13 A4,22,23 A4,23,12 A4,24,24 A5,1,10 A5,2,15 A5,3,7 A5,4,10 A5,5,22 A5,6,16 A5,7,16 A5,8,9 A5,9,24 A5,10,19 A5,11,20 A5,12,6 A5,13,8 A5,14,11 A5,15,24 A5,16,22 A5,17,13 A5,18,21 A5,19,22 A5,20,14 A5,21,17 A5,22,12 A5,23,14 A5,24,6 A6,1,23 A6,2,25 A6,3,17 A6,4,21 A6,5,23 A6,6,16 A6,7,15 A6,8,14 A6,9,20 A6,10,23 A6,11,13 A6,12,13 A6,13,14 A6,14,6 A6,15,5 A6,16,20 A6,17,23 A6,18,8 A6,19,9 A6,20,14 A6,21,15 A6,22,7 A6,23,23 A6,24,13 A7,1,22 A7,2,13 A7,3,5 A7,4,13 A7,5,24 A7,6,12 A7,7,14 A7,8,10 A7,9,15 A7,10,6 A7,11,14 A7,12,8 A7,13,5 A7,14,6 A7,15,8 A7,16,5 A7,17,21 A7,18,15 A7,19,17 A7,20,22 A7,21,13 A7,22,12 A7,23,7 A7,24,21 A8,1,12 A8,2,7 A8,3,10 A8,4,14 A8,5,18 A8,6,6 A8,7,21 A8,8,20 A8,9,22 A8,10,11 A8,11,10 A8,12,23 A8,13,21 A8,14,11 A8,15,22 A8,16,17 A8,17,24 A8,18,14 A8,19,25 A8,20,13 A8,21,23 A8,22,18 A8,23,16 A8,24,6 A9,1,24 A9,2,14 A9,3,24 A9,4,12 A9,5,15 A9,6,22 A9,7,11 A9,8,12 A9,9,12 A9,10,8 A9,11,10 A9,12,9 A9,13,19 A9,14,21 A9,15,20 A9,16,14 A9,17,8 A9,18,9 A9,19,23 A9,20,22 A9,21,11 A9,22,17 A9,23,16 A9,24,24 If you want the answer back in a neat, machine-friendly shape, just send it in this simple JSON layout — nothing fancy, just a single list that says which machine each batch goes to: { ""solution"": [ , , ..., ] } Pretty straightforward: ""solution"" is a list where each entry is the ID of the machine for that batch (first entry = first batch, second = second batch, and so on). Think of it like filling out a form: one line per batch, write the machine ID next to it. This JSON is just a sketch of the shape I expect, not the actual assignment. Please be sure to use the exact identifiers from the instance input — don’t rename or invent labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[21, 29, 36, 15, 19, 48, 43, 40, 21, 49, 13, 19, 16, 38, 35, 39, 20, 20, 15, 49, 25, 24, 18, 37], [20, 22, 32, 21, 36, 19, 47, 24, 49, 46, 29, 33, 34, 30, 41, 45, 15, 43, 20, 20, 34, 45, 16, 44], [18, 38, 38, 30, 49, 23, 48, 44, 19, 34, 40, 31, 25, 17, 27, 42, 39, 23, 35, 33, 20, 30, 36, 48], [22, 25, 31, 13, 46, 48, 42, 31, 40, 18, 13, 44, 44, 16, 31, 36, 40, 36, 44, 10, 17, 21, 15, 31], [47, 44, 37, 40, 10, 32, 28, 41, 14, 29, 29, 26, 50, 16, 34, 10, 50, 18, 43, 49, 31, 30, 50, 18], [33, 14, 23, 45, 47, 40, 43, 19, 21, 31, 31, 13, 40, 44, 31, 12, 26, 12, 29, 29, 19, 21, 30, 11], [45, 32, 23, 22, 21, 23, 50, 35, 16, 44, 40, 40, 49, 12, 28, 44, 30, 45, 20, 49, 32, 33, 22, 16], [17, 29, 16, 11, 41, 31, 33, 17, 19, 30, 22, 35, 47, 17, 46, 50, 23, 21, 26, 12, 24, 36, 17, 39], [17, 18, 46, 21, 16, 17, 26, 31, 21, 50, 37, 28, 20, 10, 18, 19, 30, 16, 11, 26, 14, 50, 20, 49]], 'assignment_costs': [[20, 10, 9, 17, 20, 14, 10, 10, 18, 10, 9, 13, 23, 8, 24, 6, 16, 12, 24, 11, 19, 22, 10, 13], [18, 15, 9, 13, 5, 18, 9, 5, 5, 10, 20, 24, 16, 20, 22, 12, 19, 12, 20, 17, 14, 15, 7, 8], [12, 20, 5, 14, 17, 6, 24, 22, 17, 20, 8, 13, 18, 5, 9, 6, 15, 19, 14, 5, 8, 11, 9, 20], [14, 18, 11, 16, 11, 22, 8, 6, 18, 7, 14, 14, 9, 8, 8, 25, 15, 7, 13, 8, 13, 23, 12, 24], [10, 15, 7, 10, 22, 16, 16, 9, 24, 19, 20, 6, 8, 11, 24, 22, 13, 21, 22, 14, 17, 12, 14, 6], [23, 25, 17, 21, 23, 16, 15, 14, 20, 23, 13, 13, 14, 6, 5, 20, 23, 8, 9, 14, 15, 7, 23, 13], [22, 13, 5, 13, 24, 12, 14, 10, 15, 6, 14, 8, 5, 6, 8, 5, 21, 15, 17, 22, 13, 12, 7, 21], [12, 7, 10, 14, 18, 6, 21, 20, 22, 11, 10, 23, 21, 11, 22, 17, 24, 14, 25, 13, 23, 18, 16, 6], [24, 14, 24, 12, 15, 22, 11, 12, 12, 8, 10, 9, 19, 21, 20, 14, 8, 9, 23, 22, 11, 17, 16, 24]], 'capacities': [120, 115, 116, 118, 119, 120, 112, 123, 119], 'objective': 160.0}","[4, 7, 6, 4, 1, 7, 3, 1, 1, 3, 2, 4, 6, 2, 5, 0, 8, 3, 5, 2, 2, 5, 6, 7]",160.0,"{'problem_type': 'GAP', 'num_agents': 9, 'num_tasks': 24, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 120}, {'agent_id': 'A2', 'capacity': 115}, {'agent_id': 'A3', 'capacity': 116}, {'agent_id': 'A4', 'capacity': 118}, {'agent_id': 'A5', 'capacity': 119}, {'agent_id': 'A6', 'capacity': 120}, {'agent_id': 'A7', 'capacity': 112}, {'agent_id': 'A8', 'capacity': 123}, {'agent_id': 'A9', 'capacity': 119}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 33}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 26}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 39}, {'agent_id': 'A9', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A9', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A9', 'task_id': 3, 'consumption': 46}, {'agent_id': 'A9', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A9', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A9', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A9', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A9', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A9', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A9', 'task_id': 10, 'consumption': 50}, {'agent_id': 'A9', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A9', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A9', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A9', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A9', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A9', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A9', 'task_id': 17, 'consumption': 30}, {'agent_id': 'A9', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A9', 'task_id': 19, 'consumption': 11}, {'agent_id': 'A9', 'task_id': 20, 'consumption': 26}, {'agent_id': 'A9', 'task_id': 21, 'consumption': 14}, {'agent_id': 'A9', 'task_id': 22, 'consumption': 50}, {'agent_id': 'A9', 'task_id': 23, 'consumption': 20}, {'agent_id': 'A9', 'task_id': 24, 'consumption': 49}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 20}, {'agent_id': 'A1', 'task_id': 2, 'cost': 10}, {'agent_id': 'A1', 'task_id': 3, 'cost': 9}, {'agent_id': 'A1', 'task_id': 4, 'cost': 17}, {'agent_id': 'A1', 'task_id': 5, 'cost': 20}, {'agent_id': 'A1', 'task_id': 6, 'cost': 14}, {'agent_id': 'A1', 'task_id': 7, 'cost': 10}, {'agent_id': 'A1', 'task_id': 8, 'cost': 10}, {'agent_id': 'A1', 'task_id': 9, 'cost': 18}, {'agent_id': 'A1', 'task_id': 10, 'cost': 10}, {'agent_id': 'A1', 'task_id': 11, 'cost': 9}, {'agent_id': 'A1', 'task_id': 12, 'cost': 13}, {'agent_id': 'A1', 'task_id': 13, 'cost': 23}, {'agent_id': 'A1', 'task_id': 14, 'cost': 8}, {'agent_id': 'A1', 'task_id': 15, 'cost': 24}, {'agent_id': 'A1', 'task_id': 16, 'cost': 6}, {'agent_id': 'A1', 'task_id': 17, 'cost': 16}, {'agent_id': 'A1', 'task_id': 18, 'cost': 12}, {'agent_id': 'A1', 'task_id': 19, 'cost': 24}, {'agent_id': 'A1', 'task_id': 20, 'cost': 11}, {'agent_id': 'A1', 'task_id': 21, 'cost': 19}, {'agent_id': 'A1', 'task_id': 22, 'cost': 22}, {'agent_id': 'A1', 'task_id': 23, 'cost': 10}, {'agent_id': 'A1', 'task_id': 24, 'cost': 13}, {'agent_id': 'A2', 'task_id': 1, 'cost': 18}, {'agent_id': 'A2', 'task_id': 2, 'cost': 15}, {'agent_id': 'A2', 'task_id': 3, 'cost': 9}, {'agent_id': 'A2', 'task_id': 4, 'cost': 13}, {'agent_id': 'A2', 'task_id': 5, 'cost': 5}, {'agent_id': 'A2', 'task_id': 6, 'cost': 18}, {'agent_id': 'A2', 'task_id': 7, 'cost': 9}, {'agent_id': 'A2', 'task_id': 8, 'cost': 5}, {'agent_id': 'A2', 'task_id': 9, 'cost': 5}, {'agent_id': 'A2', 'task_id': 10, 'cost': 10}, {'agent_id': 'A2', 'task_id': 11, 'cost': 20}, {'agent_id': 'A2', 'task_id': 12, 'cost': 24}, {'agent_id': 'A2', 'task_id': 13, 'cost': 16}, {'agent_id': 'A2', 'task_id': 14, 'cost': 20}, {'agent_id': 'A2', 'task_id': 15, 'cost': 22}, {'agent_id': 'A2', 'task_id': 16, 'cost': 12}, {'agent_id': 'A2', 'task_id': 17, 'cost': 19}, {'agent_id': 'A2', 'task_id': 18, 'cost': 12}, {'agent_id': 'A2', 'task_id': 19, 'cost': 20}, {'agent_id': 'A2', 'task_id': 20, 'cost': 17}, {'agent_id': 'A2', 'task_id': 21, 'cost': 14}, {'agent_id': 'A2', 'task_id': 22, 'cost': 15}, {'agent_id': 'A2', 'task_id': 23, 'cost': 7}, {'agent_id': 'A2', 'task_id': 24, 'cost': 8}, {'agent_id': 'A3', 'task_id': 1, 'cost': 12}, {'agent_id': 'A3', 'task_id': 2, 'cost': 20}, {'agent_id': 'A3', 'task_id': 3, 'cost': 5}, {'agent_id': 'A3', 'task_id': 4, 'cost': 14}, {'agent_id': 'A3', 'task_id': 5, 'cost': 17}, {'agent_id': 'A3', 'task_id': 6, 'cost': 6}, {'agent_id': 'A3', 'task_id': 7, 'cost': 24}, {'agent_id': 'A3', 'task_id': 8, 'cost': 22}, {'agent_id': 'A3', 'task_id': 9, 'cost': 17}, {'agent_id': 'A3', 'task_id': 10, 'cost': 20}, {'agent_id': 'A3', 'task_id': 11, 'cost': 8}, {'agent_id': 'A3', 'task_id': 12, 'cost': 13}, {'agent_id': 'A3', 'task_id': 13, 'cost': 18}, {'agent_id': 'A3', 'task_id': 14, 'cost': 5}, {'agent_id': 'A3', 'task_id': 15, 'cost': 9}, {'agent_id': 'A3', 'task_id': 16, 'cost': 6}, {'agent_id': 'A3', 'task_id': 17, 'cost': 15}, {'agent_id': 'A3', 'task_id': 18, 'cost': 19}, {'agent_id': 'A3', 'task_id': 19, 'cost': 14}, {'agent_id': 'A3', 'task_id': 20, 'cost': 5}, {'agent_id': 'A3', 'task_id': 21, 'cost': 8}, {'agent_id': 'A3', 'task_id': 22, 'cost': 11}, {'agent_id': 'A3', 'task_id': 23, 'cost': 9}, {'agent_id': 'A3', 'task_id': 24, 'cost': 20}, {'agent_id': 'A4', 'task_id': 1, 'cost': 14}, {'agent_id': 'A4', 'task_id': 2, 'cost': 18}, {'agent_id': 'A4', 'task_id': 3, 'cost': 11}, {'agent_id': 'A4', 'task_id': 4, 'cost': 16}, {'agent_id': 'A4', 'task_id': 5, 'cost': 11}, {'agent_id': 'A4', 'task_id': 6, 'cost': 22}, {'agent_id': 'A4', 'task_id': 7, 'cost': 8}, {'agent_id': 'A4', 'task_id': 8, 'cost': 6}, {'agent_id': 'A4', 'task_id': 9, 'cost': 18}, {'agent_id': 'A4', 'task_id': 10, 'cost': 7}, {'agent_id': 'A4', 'task_id': 11, 'cost': 14}, {'agent_id': 'A4', 'task_id': 12, 'cost': 14}, {'agent_id': 'A4', 'task_id': 13, 'cost': 9}, {'agent_id': 'A4', 'task_id': 14, 'cost': 8}, {'agent_id': 'A4', 'task_id': 15, 'cost': 8}, {'agent_id': 'A4', 'task_id': 16, 'cost': 25}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A4', 'task_id': 18, 'cost': 7}, {'agent_id': 'A4', 'task_id': 19, 'cost': 13}, {'agent_id': 'A4', 'task_id': 20, 'cost': 8}, {'agent_id': 'A4', 'task_id': 21, 'cost': 13}, {'agent_id': 'A4', 'task_id': 22, 'cost': 23}, {'agent_id': 'A4', 'task_id': 23, 'cost': 12}, {'agent_id': 'A4', 'task_id': 24, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 10}, {'agent_id': 'A5', 'task_id': 2, 'cost': 15}, {'agent_id': 'A5', 'task_id': 3, 'cost': 7}, {'agent_id': 'A5', 'task_id': 4, 'cost': 10}, {'agent_id': 'A5', 'task_id': 5, 'cost': 22}, {'agent_id': 'A5', 'task_id': 6, 'cost': 16}, {'agent_id': 'A5', 'task_id': 7, 'cost': 16}, {'agent_id': 'A5', 'task_id': 8, 'cost': 9}, {'agent_id': 'A5', 'task_id': 9, 'cost': 24}, {'agent_id': 'A5', 'task_id': 10, 'cost': 19}, {'agent_id': 'A5', 'task_id': 11, 'cost': 20}, {'agent_id': 'A5', 'task_id': 12, 'cost': 6}, {'agent_id': 'A5', 'task_id': 13, 'cost': 8}, {'agent_id': 'A5', 'task_id': 14, 'cost': 11}, {'agent_id': 'A5', 'task_id': 15, 'cost': 24}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}, {'agent_id': 'A5', 'task_id': 17, 'cost': 13}, {'agent_id': 'A5', 'task_id': 18, 'cost': 21}, {'agent_id': 'A5', 'task_id': 19, 'cost': 22}, {'agent_id': 'A5', 'task_id': 20, 'cost': 14}, {'agent_id': 'A5', 'task_id': 21, 'cost': 17}, {'agent_id': 'A5', 'task_id': 22, 'cost': 12}, {'agent_id': 'A5', 'task_id': 23, 'cost': 14}, {'agent_id': 'A5', 'task_id': 24, 'cost': 6}, {'agent_id': 'A6', 'task_id': 1, 'cost': 23}, {'agent_id': 'A6', 'task_id': 2, 'cost': 25}, {'agent_id': 'A6', 'task_id': 3, 'cost': 17}, {'agent_id': 'A6', 'task_id': 4, 'cost': 21}, {'agent_id': 'A6', 'task_id': 5, 'cost': 23}, {'agent_id': 'A6', 'task_id': 6, 'cost': 16}, {'agent_id': 'A6', 'task_id': 7, 'cost': 15}, {'agent_id': 'A6', 'task_id': 8, 'cost': 14}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 23}, {'agent_id': 'A6', 'task_id': 11, 'cost': 13}, {'agent_id': 'A6', 'task_id': 12, 'cost': 13}, {'agent_id': 'A6', 'task_id': 13, 'cost': 14}, {'agent_id': 'A6', 'task_id': 14, 'cost': 6}, {'agent_id': 'A6', 'task_id': 15, 'cost': 5}, {'agent_id': 'A6', 'task_id': 16, 'cost': 20}, {'agent_id': 'A6', 'task_id': 17, 'cost': 23}, {'agent_id': 'A6', 'task_id': 18, 'cost': 8}, {'agent_id': 'A6', 'task_id': 19, 'cost': 9}, {'agent_id': 'A6', 'task_id': 20, 'cost': 14}, {'agent_id': 'A6', 'task_id': 21, 'cost': 15}, {'agent_id': 'A6', 'task_id': 22, 'cost': 7}, {'agent_id': 'A6', 'task_id': 23, 'cost': 23}, {'agent_id': 'A6', 'task_id': 24, 'cost': 13}, {'agent_id': 'A7', 'task_id': 1, 'cost': 22}, {'agent_id': 'A7', 'task_id': 2, 'cost': 13}, {'agent_id': 'A7', 'task_id': 3, 'cost': 5}, {'agent_id': 'A7', 'task_id': 4, 'cost': 13}, {'agent_id': 'A7', 'task_id': 5, 'cost': 24}, {'agent_id': 'A7', 'task_id': 6, 'cost': 12}, {'agent_id': 'A7', 'task_id': 7, 'cost': 14}, {'agent_id': 'A7', 'task_id': 8, 'cost': 10}, {'agent_id': 'A7', 'task_id': 9, 'cost': 15}, {'agent_id': 'A7', 'task_id': 10, 'cost': 6}, {'agent_id': 'A7', 'task_id': 11, 'cost': 14}, {'agent_id': 'A7', 'task_id': 12, 'cost': 8}, {'agent_id': 'A7', 'task_id': 13, 'cost': 5}, {'agent_id': 'A7', 'task_id': 14, 'cost': 6}, {'agent_id': 'A7', 'task_id': 15, 'cost': 8}, {'agent_id': 'A7', 'task_id': 16, 'cost': 5}, {'agent_id': 'A7', 'task_id': 17, 'cost': 21}, {'agent_id': 'A7', 'task_id': 18, 'cost': 15}, {'agent_id': 'A7', 'task_id': 19, 'cost': 17}, {'agent_id': 'A7', 'task_id': 20, 'cost': 22}, {'agent_id': 'A7', 'task_id': 21, 'cost': 13}, {'agent_id': 'A7', 'task_id': 22, 'cost': 12}, {'agent_id': 'A7', 'task_id': 23, 'cost': 7}, {'agent_id': 'A7', 'task_id': 24, 'cost': 21}, {'agent_id': 'A8', 'task_id': 1, 'cost': 12}, {'agent_id': 'A8', 'task_id': 2, 'cost': 7}, {'agent_id': 'A8', 'task_id': 3, 'cost': 10}, {'agent_id': 'A8', 'task_id': 4, 'cost': 14}, {'agent_id': 'A8', 'task_id': 5, 'cost': 18}, {'agent_id': 'A8', 'task_id': 6, 'cost': 6}, {'agent_id': 'A8', 'task_id': 7, 'cost': 21}, {'agent_id': 'A8', 'task_id': 8, 'cost': 20}, {'agent_id': 'A8', 'task_id': 9, 'cost': 22}, {'agent_id': 'A8', 'task_id': 10, 'cost': 11}, {'agent_id': 'A8', 'task_id': 11, 'cost': 10}, {'agent_id': 'A8', 'task_id': 12, 'cost': 23}, {'agent_id': 'A8', 'task_id': 13, 'cost': 21}, {'agent_id': 'A8', 'task_id': 14, 'cost': 11}, {'agent_id': 'A8', 'task_id': 15, 'cost': 22}, {'agent_id': 'A8', 'task_id': 16, 'cost': 17}, {'agent_id': 'A8', 'task_id': 17, 'cost': 24}, {'agent_id': 'A8', 'task_id': 18, 'cost': 14}, {'agent_id': 'A8', 'task_id': 19, 'cost': 25}, {'agent_id': 'A8', 'task_id': 20, 'cost': 13}, {'agent_id': 'A8', 'task_id': 21, 'cost': 23}, {'agent_id': 'A8', 'task_id': 22, 'cost': 18}, {'agent_id': 'A8', 'task_id': 23, 'cost': 16}, {'agent_id': 'A8', 'task_id': 24, 'cost': 6}, {'agent_id': 'A9', 'task_id': 1, 'cost': 24}, {'agent_id': 'A9', 'task_id': 2, 'cost': 14}, {'agent_id': 'A9', 'task_id': 3, 'cost': 24}, {'agent_id': 'A9', 'task_id': 4, 'cost': 12}, {'agent_id': 'A9', 'task_id': 5, 'cost': 15}, {'agent_id': 'A9', 'task_id': 6, 'cost': 22}, {'agent_id': 'A9', 'task_id': 7, 'cost': 11}, {'agent_id': 'A9', 'task_id': 8, 'cost': 12}, {'agent_id': 'A9', 'task_id': 9, 'cost': 12}, {'agent_id': 'A9', 'task_id': 10, 'cost': 8}, {'agent_id': 'A9', 'task_id': 11, 'cost': 10}, {'agent_id': 'A9', 'task_id': 12, 'cost': 9}, {'agent_id': 'A9', 'task_id': 13, 'cost': 19}, {'agent_id': 'A9', 'task_id': 14, 'cost': 21}, {'agent_id': 'A9', 'task_id': 15, 'cost': 20}, {'agent_id': 'A9', 'task_id': 16, 'cost': 14}, {'agent_id': 'A9', 'task_id': 17, 'cost': 8}, {'agent_id': 'A9', 'task_id': 18, 'cost': 9}, {'agent_id': 'A9', 'task_id': 19, 'cost': 23}, {'agent_id': 'A9', 'task_id': 20, 'cost': 22}, {'agent_id': 'A9', 'task_id': 21, 'cost': 11}, {'agent_id': 'A9', 'task_id': 22, 'cost': 17}, {'agent_id': 'A9', 'task_id': 23, 'cost': 16}, {'agent_id': 'A9', 'task_id': 24, 'cost': 24}]}","['A5', 'A8', 'A7', 'A5', 'A2', 'A8', 'A4', 'A2', 'A2', 'A4', 'A3', 'A5', 'A7', 'A3', 'A6', 'A1', 'A9', 'A4', 'A6', 'A3', 'A3', 'A6', 'A7', 'A8']",3,csv,1 GAP,GAP,"Recently the team realized that all sessions must be matched to tutors and, for each session-tutor match, there’s an estimate of required tutor hours and the fee that match would incur. Each tutor only has a certain number of hours to give, and each session must be assigned to one tutor only (no overlap or omissions). The task is to assign sessions so tutors aren’t overbooked and the total cost — add up the fee for every assigned session — ends up as low as possible. See the specific session durations and tutor rates below. { ""num_tutors"": 8, ""num_sessions"": 23, ""tutors"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"", ""A8"" ], ""sessions"": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 ], ""capacities"": [ { ""tutor_id"": ""A1"", ""available_hours"": 118 }, { ""tutor_id"": ""A2"", ""available_hours"": 120 }, { ""tutor_id"": ""A3"", ""available_hours"": 123 }, { ""tutor_id"": ""A4"", ""available_hours"": 120 }, { ""tutor_id"": ""A5"", ""available_hours"": 123 }, { ""tutor_id"": ""A6"", ""available_hours"": 122 }, { ""tutor_id"": ""A7"", ""available_hours"": 124 }, { ""tutor_id"": ""A8"", ""available_hours"": 114 } ], ""resource"": [ { ""tutor_id"": ""A1"", ""session_id"": 1, ""session_hours"": 35 }, { ""tutor_id"": ""A1"", ""session_id"": 2, ""session_hours"": 42 }, { ""tutor_id"": ""A1"", ""session_id"": 3, ""session_hours"": 24 }, { ""tutor_id"": ""A1"", ""session_id"": 4, ""session_hours"": 13 }, { ""tutor_id"": ""A1"", ""session_id"": 5, ""session_hours"": 43 }, { ""tutor_id"": ""A1"", ""session_id"": 6, ""session_hours"": 31 }, { ""tutor_id"": ""A1"", ""session_id"": 7, ""session_hours"": 28 }, { ""tutor_id"": ""A1"", ""session_id"": 8, ""session_hours"": 26 }, { ""tutor_id"": ""A1"", ""session_id"": 9, ""session_hours"": 18 }, { ""tutor_id"": ""A1"", ""session_id"": 10, ""session_hours"": 44 }, { ""tutor_id"": ""A1"", ""session_id"": 11, ""session_hours"": 22 }, { ""tutor_id"": ""A1"", ""session_id"": 12, ""session_hours"": 45 }, { ""tutor_id"": ""A1"", ""session_id"": 13, ""session_hours"": 27 }, { ""tutor_id"": ""A1"", ""session_id"": 14, ""session_hours"": 37 }, { ""tutor_id"": ""A1"", ""session_id"": 15, ""session_hours"": 19 }, { ""tutor_id"": ""A1"", ""session_id"": 16, ""session_hours"": 22 }, { ""tutor_id"": ""A1"", ""session_id"": 17, ""session_hours"": 47 }, { ""tutor_id"": ""A1"", ""session_id"": 18, ""session_hours"": 32 }, { ""tutor_id"": ""A1"", ""session_id"": 19, ""session_hours"": 48 }, { ""tutor_id"": ""A1"", ""session_id"": 20, ""session_hours"": 31 }, { ""tutor_id"": ""A1"", ""session_id"": 21, ""session_hours"": 45 }, { ""tutor_id"": ""A1"", ""session_id"": 22, ""session_hours"": 12 }, { ""tutor_id"": ""A1"", ""session_id"": 23, ""session_hours"": 20 }, { ""tutor_id"": ""A2"", ""session_id"": 1, ""session_hours"": 30 }, { ""tutor_id"": ""A2"", ""session_id"": 2, ""session_hours"": 45 }, { ""tutor_id"": ""A2"", ""session_id"": 3, ""session_hours"": 21 }, { ""tutor_id"": ""A2"", ""session_id"": 4, ""session_hours"": 22 }, { ""tutor_id"": ""A2"", ""session_id"": 5, ""session_hours"": 48 }, { ""tutor_id"": ""A2"", ""session_id"": 6, ""session_hours"": 39 }, { ""tutor_id"": ""A2"", ""session_id"": 7, ""session_hours"": 21 }, { ""tutor_id"": ""A2"", ""session_id"": 8, ""session_hours"": 24 }, { ""tutor_id"": ""A2"", ""session_id"": 9, ""session_hours"": 21 }, { ""tutor_id"": ""A2"", ""session_id"": 10, ""session_hours"": 18 }, { ""tutor_id"": ""A2"", ""session_id"": 11, ""session_hours"": 21 }, { ""tutor_id"": ""A2"", ""session_id"": 12, ""session_hours"": 36 }, { ""tutor_id"": ""A2"", ""session_id"": 13, ""session_hours"": 38 }, { ""tutor_id"": ""A2"", ""session_id"": 14, ""session_hours"": 12 }, { ""tutor_id"": ""A2"", ""session_id"": 15, ""session_hours"": 48 }, { ""tutor_id"": ""A2"", ""session_id"": 16, ""session_hours"": 50 }, { ""tutor_id"": ""A2"", ""session_id"": 17, ""session_hours"": 10 }, { ""tutor_id"": ""A2"", ""session_id"": 18, ""session_hours"": 50 }, { ""tutor_id"": ""A2"", ""session_id"": 19, ""session_hours"": 31 }, { ""tutor_id"": ""A2"", ""session_id"": 20, ""session_hours"": 34 }, { ""tutor_id"": ""A2"", ""session_id"": 21, ""session_hours"": 31 }, { ""tutor_id"": ""A2"", ""session_id"": 22, ""session_hours"": 13 }, { ""tutor_id"": ""A2"", ""session_id"": 23, ""session_hours"": 44 }, { ""tutor_id"": ""A3"", ""session_id"": 1, ""session_hours"": 19 }, { ""tutor_id"": ""A3"", ""session_id"": 2, ""session_hours"": 44 }, { ""tutor_id"": ""A3"", ""session_id"": 3, ""session_hours"": 50 }, { ""tutor_id"": ""A3"", ""session_id"": 4, ""session_hours"": 38 }, { ""tutor_id"": ""A3"", ""session_id"": 5, ""session_hours"": 29 }, { ""tutor_id"": ""A3"", ""session_id"": 6, ""session_hours"": 20 }, { ""tutor_id"": ""A3"", ""session_id"": 7, ""session_hours"": 14 }, { ""tutor_id"": ""A3"", ""session_id"": 8, ""session_hours"": 41 }, { ""tutor_id"": ""A3"", ""session_id"": 9, ""session_hours"": 41 }, { ""tutor_id"": ""A3"", ""session_id"": 10, ""session_hours"": 47 }, { ""tutor_id"": ""A3"", ""session_id"": 11, ""session_hours"": 35 }, { ""tutor_id"": ""A3"", ""session_id"": 12, ""session_hours"": 13 }, { ""tutor_id"": ""A3"", ""session_id"": 13, ""session_hours"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 14, ""session_hours"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 15, ""session_hours"": 28 }, { ""tutor_id"": ""A3"", ""session_id"": 16, ""session_hours"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 17, ""session_hours"": 40 }, { ""tutor_id"": ""A3"", ""session_id"": 18, ""session_hours"": 34 }, { ""tutor_id"": ""A3"", ""session_id"": 19, ""session_hours"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 20, ""session_hours"": 50 }, { ""tutor_id"": ""A3"", ""session_id"": 21, ""session_hours"": 10 }, { ""tutor_id"": ""A3"", ""session_id"": 22, ""session_hours"": 10 }, { ""tutor_id"": ""A3"", ""session_id"": 23, ""session_hours"": 14 }, { ""tutor_id"": ""A4"", ""session_id"": 1, ""session_hours"": 23 }, { ""tutor_id"": ""A4"", ""session_id"": 2, ""session_hours"": 43 }, { ""tutor_id"": ""A4"", ""session_id"": 3, ""session_hours"": 24 }, { ""tutor_id"": ""A4"", ""session_id"": 4, ""session_hours"": 44 }, { ""tutor_id"": ""A4"", ""session_id"": 5, ""session_hours"": 20 }, { ""tutor_id"": ""A4"", ""session_id"": 6, ""session_hours"": 38 }, { ""tutor_id"": ""A4"", ""session_id"": 7, ""session_hours"": 21 }, { ""tutor_id"": ""A4"", ""session_id"": 8, ""session_hours"": 23 }, { ""tutor_id"": ""A4"", ""session_id"": 9, ""session_hours"": 15 }, { ""tutor_id"": ""A4"", ""session_id"": 10, ""session_hours"": 18 }, { ""tutor_id"": ""A4"", ""session_id"": 11, ""session_hours"": 43 }, { ""tutor_id"": ""A4"", ""session_id"": 12, ""session_hours"": 23 }, { ""tutor_id"": ""A4"", ""session_id"": 13, ""session_hours"": 15 }, { ""tutor_id"": ""A4"", ""session_id"": 14, ""session_hours"": 44 }, { ""tutor_id"": ""A4"", ""session_id"": 15, ""session_hours"": 38 }, { ""tutor_id"": ""A4"", ""session_id"": 16, ""session_hours"": 47 }, { ""tutor_id"": ""A4"", ""session_id"": 17, ""session_hours"": 40 }, { ""tutor_id"": ""A4"", ""session_id"": 18, ""session_hours"": 39 }, { ""tutor_id"": ""A4"", ""session_id"": 19, ""session_hours"": 34 }, { ""tutor_id"": ""A4"", ""session_id"": 20, ""session_hours"": 18 }, { ""tutor_id"": ""A4"", ""session_id"": 21, ""session_hours"": 18 }, { ""tutor_id"": ""A4"", ""session_id"": 22, ""session_hours"": 50 }, { ""tutor_id"": ""A4"", ""session_id"": 23, ""session_hours"": 49 }, { ""tutor_id"": ""A5"", ""session_id"": 1, ""session_hours"": 40 }, { ""tutor_id"": ""A5"", ""session_id"": 2, ""session_hours"": 33 }, { ""tutor_id"": ""A5"", ""session_id"": 3, ""session_hours"": 35 }, { ""tutor_id"": ""A5"", ""session_id"": 4, ""session_hours"": 49 }, { ""tutor_id"": ""A5"", ""session_id"": 5, ""session_hours"": 12 }, { ""tutor_id"": ""A5"", ""session_id"": 6, ""session_hours"": 37 }, { ""tutor_id"": ""A5"", ""session_id"": 7, ""session_hours"": 19 }, { ""tutor_id"": ""A5"", ""session_id"": 8, ""session_hours"": 23 }, { ""tutor_id"": ""A5"", ""session_id"": 9, ""session_hours"": 30 }, { ""tutor_id"": ""A5"", ""session_id"": 10, ""session_hours"": 32 }, { ""tutor_id"": ""A5"", ""session_id"": 11, ""session_hours"": 27 }, { ""tutor_id"": ""A5"", ""session_id"": 12, ""session_hours"": 40 }, { ""tutor_id"": ""A5"", ""session_id"": 13, ""session_hours"": 19 }, { ""tutor_id"": ""A5"", ""session_id"": 14, ""session_hours"": 43 }, { ""tutor_id"": ""A5"", ""session_id"": 15, ""session_hours"": 25 }, { ""tutor_id"": ""A5"", ""session_id"": 16, ""session_hours"": 47 }, { ""tutor_id"": ""A5"", ""session_id"": 17, ""session_hours"": 50 }, { ""tutor_id"": ""A5"", ""session_id"": 18, ""session_hours"": 21 }, { ""tutor_id"": ""A5"", ""session_id"": 19, ""session_hours"": 25 }, { ""tutor_id"": ""A5"", ""session_id"": 20, ""session_hours"": 48 }, { ""tutor_id"": ""A5"", ""session_id"": 21, ""session_hours"": 18 }, { ""tutor_id"": ""A5"", ""session_id"": 22, ""session_hours"": 13 }, { ""tutor_id"": ""A5"", ""session_id"": 23, ""session_hours"": 47 }, { ""tutor_id"": ""A6"", ""session_id"": 1, ""session_hours"": 20 }, { ""tutor_id"": ""A6"", ""session_id"": 2, ""session_hours"": 49 }, { ""tutor_id"": ""A6"", ""session_id"": 3, ""session_hours"": 14 }, { ""tutor_id"": ""A6"", ""session_id"": 4, ""session_hours"": 40 }, { ""tutor_id"": ""A6"", ""session_id"": 5, ""session_hours"": 46 }, { ""tutor_id"": ""A6"", ""session_id"": 6, ""session_hours"": 42 }, { ""tutor_id"": ""A6"", ""session_id"": 7, ""session_hours"": 31 }, { ""tutor_id"": ""A6"", ""session_id"": 8, ""session_hours"": 28 }, { ""tutor_id"": ""A6"", ""session_id"": 9, ""session_hours"": 36 }, { ""tutor_id"": ""A6"", ""session_id"": 10, ""session_hours"": 14 }, { ""tutor_id"": ""A6"", ""session_id"": 11, ""session_hours"": 29 }, { ""tutor_id"": ""A6"", ""session_id"": 12, ""session_hours"": 10 }, { ""tutor_id"": ""A6"", ""session_id"": 13, ""session_hours"": 28 }, { ""tutor_id"": ""A6"", ""session_id"": 14, ""session_hours"": 46 }, { ""tutor_id"": ""A6"", ""session_id"": 15, ""session_hours"": 27 }, { ""tutor_id"": ""A6"", ""session_id"": 16, ""session_hours"": 33 }, { ""tutor_id"": ""A6"", ""session_id"": 17, ""session_hours"": 38 }, { ""tutor_id"": ""A6"", ""session_id"": 18, ""session_hours"": 21 }, { ""tutor_id"": ""A6"", ""session_id"": 19, ""session_hours"": 16 }, { ""tutor_id"": ""A6"", ""session_id"": 20, ""session_hours"": 23 }, { ""tutor_id"": ""A6"", ""session_id"": 21, ""session_hours"": 24 }, { ""tutor_id"": ""A6"", ""session_id"": 22, ""session_hours"": 14 }, { ""tutor_id"": ""A6"", ""session_id"": 23, ""session_hours"": 48 }, { ""tutor_id"": ""A7"", ""session_id"": 1, ""session_hours"": 43 }, { ""tutor_id"": ""A7"", ""session_id"": 2, ""session_hours"": 18 }, { ""tutor_id"": ""A7"", ""session_id"": 3, ""session_hours"": 20 }, { ""tutor_id"": ""A7"", ""session_id"": 4, ""session_hours"": 35 }, { ""tutor_id"": ""A7"", ""session_id"": 5, ""session_hours"": 27 }, { ""tutor_id"": ""A7"", ""session_id"": 6, ""session_hours"": 34 }, { ""tutor_id"": ""A7"", ""session_id"": 7, ""session_hours"": 26 }, { ""tutor_id"": ""A7"", ""session_id"": 8, ""session_hours"": 37 }, { ""tutor_id"": ""A7"", ""session_id"": 9, ""session_hours"": 37 }, { ""tutor_id"": ""A7"", ""session_id"": 10, ""session_hours"": 46 }, { ""tutor_id"": ""A7"", ""session_id"": 11, ""session_hours"": 25 }, { ""tutor_id"": ""A7"", ""session_id"": 12, ""session_hours"": 35 }, { ""tutor_id"": ""A7"", ""session_id"": 13, ""session_hours"": 39 }, { ""tutor_id"": ""A7"", ""session_id"": 14, ""session_hours"": 25 }, { ""tutor_id"": ""A7"", ""session_id"": 15, ""session_hours"": 33 }, { ""tutor_id"": ""A7"", ""session_id"": 16, ""session_hours"": 26 }, { ""tutor_id"": ""A7"", ""session_id"": 17, ""session_hours"": 22 }, { ""tutor_id"": ""A7"", ""session_id"": 18, ""session_hours"": 42 }, { ""tutor_id"": ""A7"", ""session_id"": 19, ""session_hours"": 18 }, { ""tutor_id"": ""A7"", ""session_id"": 20, ""session_hours"": 22 }, { ""tutor_id"": ""A7"", ""session_id"": 21, ""session_hours"": 29 }, { ""tutor_id"": ""A7"", ""session_id"": 22, ""session_hours"": 43 }, { ""tutor_id"": ""A7"", ""session_id"": 23, ""session_hours"": 44 }, { ""tutor_id"": ""A8"", ""session_id"": 1, ""session_hours"": 50 }, { ""tutor_id"": ""A8"", ""session_id"": 2, ""session_hours"": 39 }, { ""tutor_id"": ""A8"", ""session_id"": 3, ""session_hours"": 37 }, { ""tutor_id"": ""A8"", ""session_id"": 4, ""session_hours"": 28 }, { ""tutor_id"": ""A8"", ""session_id"": 5, ""session_hours"": 17 }, { ""tutor_id"": ""A8"", ""session_id"": 6, ""session_hours"": 23 }, { ""tutor_id"": ""A8"", ""session_id"": 7, ""session_hours"": 10 }, { ""tutor_id"": ""A8"", ""session_id"": 8, ""session_hours"": 25 }, { ""tutor_id"": ""A8"", ""session_id"": 9, ""session_hours"": 36 }, { ""tutor_id"": ""A8"", ""session_id"": 10, ""session_hours"": 45 }, { ""tutor_id"": ""A8"", ""session_id"": 11, ""session_hours"": 38 }, { ""tutor_id"": ""A8"", ""session_id"": 12, ""session_hours"": 42 }, { ""tutor_id"": ""A8"", ""session_id"": 13, ""session_hours"": 50 }, { ""tutor_id"": ""A8"", ""session_id"": 14, ""session_hours"": 48 }, { ""tutor_id"": ""A8"", ""session_id"": 15, ""session_hours"": 43 }, { ""tutor_id"": ""A8"", ""session_id"": 16, ""session_hours"": 37 }, { ""tutor_id"": ""A8"", ""session_id"": 17, ""session_hours"": 12 }, { ""tutor_id"": ""A8"", ""session_id"": 18, ""session_hours"": 10 }, { ""tutor_id"": ""A8"", ""session_id"": 19, ""session_hours"": 24 }, { ""tutor_id"": ""A8"", ""session_id"": 20, ""session_hours"": 36 }, { ""tutor_id"": ""A8"", ""session_id"": 21, ""session_hours"": 42 }, { ""tutor_id"": ""A8"", ""session_id"": 22, ""session_hours"": 43 }, { ""tutor_id"": ""A8"", ""session_id"": 23, ""session_hours"": 48 } ], ""cost"": [ { ""tutor_id"": ""A1"", ""session_id"": 1, ""fee"": 22 }, { ""tutor_id"": ""A1"", ""session_id"": 2, ""fee"": 17 }, { ""tutor_id"": ""A1"", ""session_id"": 3, ""fee"": 8 }, { ""tutor_id"": ""A1"", ""session_id"": 4, ""fee"": 11 }, { ""tutor_id"": ""A1"", ""session_id"": 5, ""fee"": 21 }, { ""tutor_id"": ""A1"", ""session_id"": 6, ""fee"": 14 }, { ""tutor_id"": ""A1"", ""session_id"": 7, ""fee"": 6 }, { ""tutor_id"": ""A1"", ""session_id"": 8, ""fee"": 18 }, { ""tutor_id"": ""A1"", ""session_id"": 9, ""fee"": 21 }, { ""tutor_id"": ""A1"", ""session_id"": 10, ""fee"": 12 }, { ""tutor_id"": ""A1"", ""session_id"": 11, ""fee"": 11 }, { ""tutor_id"": ""A1"", ""session_id"": 12, ""fee"": 21 }, { ""tutor_id"": ""A1"", ""session_id"": 13, ""fee"": 17 }, { ""tutor_id"": ""A1"", ""session_id"": 14, ""fee"": 18 }, { ""tutor_id"": ""A1"", ""session_id"": 15, ""fee"": 12 }, { ""tutor_id"": ""A1"", ""session_id"": 16, ""fee"": 8 }, { ""tutor_id"": ""A1"", ""session_id"": 17, ""fee"": 9 }, { ""tutor_id"": ""A1"", ""session_id"": 18, ""fee"": 14 }, { ""tutor_id"": ""A1"", ""session_id"": 19, ""fee"": 9 }, { ""tutor_id"": ""A1"", ""session_id"": 20, ""fee"": 23 }, { ""tutor_id"": ""A1"", ""session_id"": 21, ""fee"": 8 }, { ""tutor_id"": ""A1"", ""session_id"": 22, ""fee"": 12 }, { ""tutor_id"": ""A1"", ""session_id"": 23, ""fee"": 17 }, { ""tutor_id"": ""A2"", ""session_id"": 1, ""fee"": 20 }, { ""tutor_id"": ""A2"", ""session_id"": 2, ""fee"": 13 }, { ""tutor_id"": ""A2"", ""session_id"": 3, ""fee"": 24 }, { ""tutor_id"": ""A2"", ""session_id"": 4, ""fee"": 10 }, { ""tutor_id"": ""A2"", ""session_id"": 5, ""fee"": 7 }, { ""tutor_id"": ""A2"", ""session_id"": 6, ""fee"": 20 }, { ""tutor_id"": ""A2"", ""session_id"": 7, ""fee"": 18 }, { ""tutor_id"": ""A2"", ""session_id"": 8, ""fee"": 19 }, { ""tutor_id"": ""A2"", ""session_id"": 9, ""fee"": 17 }, { ""tutor_id"": ""A2"", ""session_id"": 10, ""fee"": 18 }, { ""tutor_id"": ""A2"", ""session_id"": 11, ""fee"": 9 }, { ""tutor_id"": ""A2"", ""session_id"": 12, ""fee"": 11 }, { ""tutor_id"": ""A2"", ""session_id"": 13, ""fee"": 19 }, { ""tutor_id"": ""A2"", ""session_id"": 14, ""fee"": 20 }, { ""tutor_id"": ""A2"", ""session_id"": 15, ""fee"": 5 }, { ""tutor_id"": ""A2"", ""session_id"": 16, ""fee"": 16 }, { ""tutor_id"": ""A2"", ""session_id"": 17, ""fee"": 25 }, { ""tutor_id"": ""A2"", ""session_id"": 18, ""fee"": 17 }, { ""tutor_id"": ""A2"", ""session_id"": 19, ""fee"": 18 }, { ""tutor_id"": ""A2"", ""session_id"": 20, ""fee"": 7 }, { ""tutor_id"": ""A2"", ""session_id"": 21, ""fee"": 9 }, { ""tutor_id"": ""A2"", ""session_id"": 22, ""fee"": 5 }, { ""tutor_id"": ""A2"", ""session_id"": 23, ""fee"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 1, ""fee"": 20 }, { ""tutor_id"": ""A3"", ""session_id"": 2, ""fee"": 19 }, { ""tutor_id"": ""A3"", ""session_id"": 3, ""fee"": 23 }, { ""tutor_id"": ""A3"", ""session_id"": 4, ""fee"": 18 }, { ""tutor_id"": ""A3"", ""session_id"": 5, ""fee"": 22 }, { ""tutor_id"": ""A3"", ""session_id"": 6, ""fee"": 7 }, { ""tutor_id"": ""A3"", ""session_id"": 7, ""fee"": 16 }, { ""tutor_id"": ""A3"", ""session_id"": 8, ""fee"": 24 }, { ""tutor_id"": ""A3"", ""session_id"": 9, ""fee"": 12 }, { ""tutor_id"": ""A3"", ""session_id"": 10, ""fee"": 16 }, { ""tutor_id"": ""A3"", ""session_id"": 11, ""fee"": 11 }, { ""tutor_id"": ""A3"", ""session_id"": 12, ""fee"": 17 }, { ""tutor_id"": ""A3"", ""session_id"": 13, ""fee"": 15 }, { ""tutor_id"": ""A3"", ""session_id"": 14, ""fee"": 20 }, { ""tutor_id"": ""A3"", ""session_id"": 15, ""fee"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 16, ""fee"": 20 }, { ""tutor_id"": ""A3"", ""session_id"": 17, ""fee"": 11 }, { ""tutor_id"": ""A3"", ""session_id"": 18, ""fee"": 6 }, { ""tutor_id"": ""A3"", ""session_id"": 19, ""fee"": 17 }, { ""tutor_id"": ""A3"", ""session_id"": 20, ""fee"": 21 }, { ""tutor_id"": ""A3"", ""session_id"": 21, ""fee"": 18 }, { ""tutor_id"": ""A3"", ""session_id"": 22, ""fee"": 10 }, { ""tutor_id"": ""A3"", ""session_id"": 23, ""fee"": 6 }, { ""tutor_id"": ""A4"", ""session_id"": 1, ""fee"": 7 }, { ""tutor_id"": ""A4"", ""session_id"": 2, ""fee"": 11 }, { ""tutor_id"": ""A4"", ""session_id"": 3, ""fee"": 8 }, { ""tutor_id"": ""A4"", ""session_id"": 4, ""fee"": 20 }, { ""tutor_id"": ""A4"", ""session_id"": 5, ""fee"": 7 }, { ""tutor_id"": ""A4"", ""session_id"": 6, ""fee"": 16 }, { ""tutor_id"": ""A4"", ""session_id"": 7, ""fee"": 20 }, { ""tutor_id"": ""A4"", ""session_id"": 8, ""fee"": 8 }, { ""tutor_id"": ""A4"", ""session_id"": 9, ""fee"": 24 }, { ""tutor_id"": ""A4"", ""session_id"": 10, ""fee"": 21 }, { ""tutor_id"": ""A4"", ""session_id"": 11, ""fee"": 13 }, { ""tutor_id"": ""A4"", ""session_id"": 12, ""fee"": 24 }, { ""tutor_id"": ""A4"", ""session_id"": 13, ""fee"": 22 }, { ""tutor_id"": ""A4"", ""session_id"": 14, ""fee"": 8 }, { ""tutor_id"": ""A4"", ""session_id"": 15, ""fee"": 21 }, { ""tutor_id"": ""A4"", ""session_id"": 16, ""fee"": 19 }, { ""tutor_id"": ""A4"", ""session_id"": 17, ""fee"": 9 }, { ""tutor_id"": ""A4"", ""session_id"": 18, ""fee"": 9 }, { ""tutor_id"": ""A4"", ""session_id"": 19, ""fee"": 18 }, { ""tutor_id"": ""A4"", ""session_id"": 20, ""fee"": 15 }, { ""tutor_id"": ""A4"", ""session_id"": 21, ""fee"": 22 }, { ""tutor_id"": ""A4"", ""session_id"": 22, ""fee"": 8 }, { ""tutor_id"": ""A4"", ""session_id"": 23, ""fee"": 24 }, { ""tutor_id"": ""A5"", ""session_id"": 1, ""fee"": 9 }, { ""tutor_id"": ""A5"", ""session_id"": 2, ""fee"": 11 }, { ""tutor_id"": ""A5"", ""session_id"": 3, ""fee"": 14 }, { ""tutor_id"": ""A5"", ""session_id"": 4, ""fee"": 24 }, { ""tutor_id"": ""A5"", ""session_id"": 5, ""fee"": 20 }, { ""tutor_id"": ""A5"", ""session_id"": 6, ""fee"": 11 }, { ""tutor_id"": ""A5"", ""session_id"": 7, ""fee"": 22 }, { ""tutor_id"": ""A5"", ""session_id"": 8, ""fee"": 10 }, { ""tutor_id"": ""A5"", ""session_id"": 9, ""fee"": 13 }, { ""tutor_id"": ""A5"", ""session_id"": 10, ""fee"": 23 }, { ""tutor_id"": ""A5"", ""session_id"": 11, ""fee"": 9 }, { ""tutor_id"": ""A5"", ""session_id"": 12, ""fee"": 22 }, { ""tutor_id"": ""A5"", ""session_id"": 13, ""fee"": 23 }, { ""tutor_id"": ""A5"", ""session_id"": 14, ""fee"": 13 }, { ""tutor_id"": ""A5"", ""session_id"": 15, ""fee"": 11 }, { ""tutor_id"": ""A5"", ""session_id"": 16, ""fee"": 16 }, { ""tutor_id"": ""A5"", ""session_id"": 17, ""fee"": 5 }, { ""tutor_id"": ""A5"", ""session_id"": 18, ""fee"": 8 }, { ""tutor_id"": ""A5"", ""session_id"": 19, ""fee"": 17 }, { ""tutor_id"": ""A5"", ""session_id"": 20, ""fee"": 13 }, { ""tutor_id"": ""A5"", ""session_id"": 21, ""fee"": 10 }, { ""tutor_id"": ""A5"", ""session_id"": 22, ""fee"": 12 }, { ""tutor_id"": ""A5"", ""session_id"": 23, ""fee"": 9 }, { ""tutor_id"": ""A6"", ""session_id"": 1, ""fee"": 20 }, { ""tutor_id"": ""A6"", ""session_id"": 2, ""fee"": 7 }, { ""tutor_id"": ""A6"", ""session_id"": 3, ""fee"": 18 }, { ""tutor_id"": ""A6"", ""session_id"": 4, ""fee"": 21 }, { ""tutor_id"": ""A6"", ""session_id"": 5, ""fee"": 9 }, { ""tutor_id"": ""A6"", ""session_id"": 6, ""fee"": 9 }, { ""tutor_id"": ""A6"", ""session_id"": 7, ""fee"": 24 }, { ""tutor_id"": ""A6"", ""session_id"": 8, ""fee"": 25 }, { ""tutor_id"": ""A6"", ""session_id"": 9, ""fee"": 25 }, { ""tutor_id"": ""A6"", ""session_id"": 10, ""fee"": 16 }, { ""tutor_id"": ""A6"", ""session_id"": 11, ""fee"": 14 }, { ""tutor_id"": ""A6"", ""session_id"": 12, ""fee"": 20 }, { ""tutor_id"": ""A6"", ""session_id"": 13, ""fee"": 19 }, { ""tutor_id"": ""A6"", ""session_id"": 14, ""fee"": 5 }, { ""tutor_id"": ""A6"", ""session_id"": 15, ""fee"": 8 }, { ""tutor_id"": ""A6"", ""session_id"": 16, ""fee"": 23 }, { ""tutor_id"": ""A6"", ""session_id"": 17, ""fee"": 24 }, { ""tutor_id"": ""A6"", ""session_id"": 18, ""fee"": 12 }, { ""tutor_id"": ""A6"", ""session_id"": 19, ""fee"": 7 }, { ""tutor_id"": ""A6"", ""session_id"": 20, ""fee"": 13 }, { ""tutor_id"": ""A6"", ""session_id"": 21, ""fee"": 24 }, { ""tutor_id"": ""A6"", ""session_id"": 22, ""fee"": 19 }, { ""tutor_id"": ""A6"", ""session_id"": 23, ""fee"": 18 }, { ""tutor_id"": ""A7"", ""session_id"": 1, ""fee"": 10 }, { ""tutor_id"": ""A7"", ""session_id"": 2, ""fee"": 11 }, { ""tutor_id"": ""A7"", ""session_id"": 3, ""fee"": 6 }, { ""tutor_id"": ""A7"", ""session_id"": 4, ""fee"": 12 }, { ""tutor_id"": ""A7"", ""session_id"": 5, ""fee"": 12 }, { ""tutor_id"": ""A7"", ""session_id"": 6, ""fee"": 22 }, { ""tutor_id"": ""A7"", ""session_id"": 7, ""fee"": 16 }, { ""tutor_id"": ""A7"", ""session_id"": 8, ""fee"": 11 }, { ""tutor_id"": ""A7"", ""session_id"": 9, ""fee"": 18 }, { ""tutor_id"": ""A7"", ""session_id"": 10, ""fee"": 14 }, { ""tutor_id"": ""A7"", ""session_id"": 11, ""fee"": 25 }, { ""tutor_id"": ""A7"", ""session_id"": 12, ""fee"": 20 }, { ""tutor_id"": ""A7"", ""session_id"": 13, ""fee"": 15 }, { ""tutor_id"": ""A7"", ""session_id"": 14, ""fee"": 6 }, { ""tutor_id"": ""A7"", ""session_id"": 15, ""fee"": 19 }, { ""tutor_id"": ""A7"", ""session_id"": 16, ""fee"": 17 }, { ""tutor_id"": ""A7"", ""session_id"": 17, ""fee"": 8 }, { ""tutor_id"": ""A7"", ""session_id"": 18, ""fee"": 17 }, { ""tutor_id"": ""A7"", ""session_id"": 19, ""fee"": 23 }, { ""tutor_id"": ""A7"", ""session_id"": 20, ""fee"": 18 }, { ""tutor_id"": ""A7"", ""session_id"": 21, ""fee"": 24 }, { ""tutor_id"": ""A7"", ""session_id"": 22, ""fee"": 23 }, { ""tutor_id"": ""A7"", ""session_id"": 23, ""fee"": 22 }, { ""tutor_id"": ""A8"", ""session_id"": 1, ""fee"": 10 }, { ""tutor_id"": ""A8"", ""session_id"": 2, ""fee"": 11 }, { ""tutor_id"": ""A8"", ""session_id"": 3, ""fee"": 9 }, { ""tutor_id"": ""A8"", ""session_id"": 4, ""fee"": 19 }, { ""tutor_id"": ""A8"", ""session_id"": 5, ""fee"": 23 }, { ""tutor_id"": ""A8"", ""session_id"": 6, ""fee"": 20 }, { ""tutor_id"": ""A8"", ""session_id"": 7, ""fee"": 11 }, { ""tutor_id"": ""A8"", ""session_id"": 8, ""fee"": 24 }, { ""tutor_id"": ""A8"", ""session_id"": 9, ""fee"": 5 }, { ""tutor_id"": ""A8"", ""session_id"": 10, ""fee"": 14 }, { ""tutor_id"": ""A8"", ""session_id"": 11, ""fee"": 18 }, { ""tutor_id"": ""A8"", ""session_id"": 12, ""fee"": 14 }, { ""tutor_id"": ""A8"", ""session_id"": 13, ""fee"": 11 }, { ""tutor_id"": ""A8"", ""session_id"": 14, ""fee"": 21 }, { ""tutor_id"": ""A8"", ""session_id"": 15, ""fee"": 23 }, { ""tutor_id"": ""A8"", ""session_id"": 16, ""fee"": 5 }, { ""tutor_id"": ""A8"", ""session_id"": 17, ""fee"": 17 }, { ""tutor_id"": ""A8"", ""session_id"": 18, ""fee"": 5 }, { ""tutor_id"": ""A8"", ""session_id"": 19, ""fee"": 12 }, { ""tutor_id"": ""A8"", ""session_id"": 20, ""fee"": 15 }, { ""tutor_id"": ""A8"", ""session_id"": 21, ""fee"": 8 }, { ""tutor_id"": ""A8"", ""session_id"": 22, ""fee"": 17 }, { ""tutor_id"": ""A8"", ""session_id"": 23, ""fee"": 14 } ] } Also, when you hand the assignment back, a simple JSON layout like this makes it easy to parse — nothing fancy, just a list of who handles each session in order. { ""solution"": [ , , ..., ] } ""solution"" is a list where each entry is the tutor assigned to the corresponding session (first entry = first session, second = second session, etc.). Think of it like filling out a sign-up sheet: each slot gets one tutor ID. This JSON is just the shape I expect, not the actual filled-in answer. Please use the exact tutor identifiers from the instance input — do not rename or invent labels. - For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[35, 42, 24, 13, 43, 31, 28, 26, 18, 44, 22, 45, 27, 37, 19, 22, 47, 32, 48, 31, 45, 12, 20], [30, 45, 21, 22, 48, 39, 21, 24, 21, 18, 21, 36, 38, 12, 48, 50, 10, 50, 31, 34, 31, 13, 44], [19, 44, 50, 38, 29, 20, 14, 41, 41, 47, 35, 13, 21, 21, 28, 21, 40, 34, 21, 50, 10, 10, 14], [23, 43, 24, 44, 20, 38, 21, 23, 15, 18, 43, 23, 15, 44, 38, 47, 40, 39, 34, 18, 18, 50, 49], [40, 33, 35, 49, 12, 37, 19, 23, 30, 32, 27, 40, 19, 43, 25, 47, 50, 21, 25, 48, 18, 13, 47], [20, 49, 14, 40, 46, 42, 31, 28, 36, 14, 29, 10, 28, 46, 27, 33, 38, 21, 16, 23, 24, 14, 48], [43, 18, 20, 35, 27, 34, 26, 37, 37, 46, 25, 35, 39, 25, 33, 26, 22, 42, 18, 22, 29, 43, 44], [50, 39, 37, 28, 17, 23, 10, 25, 36, 45, 38, 42, 50, 48, 43, 37, 12, 10, 24, 36, 42, 43, 48]], 'assignment_costs': [[22, 17, 8, 11, 21, 14, 6, 18, 21, 12, 11, 21, 17, 18, 12, 8, 9, 14, 9, 23, 8, 12, 17], [20, 13, 24, 10, 7, 20, 18, 19, 17, 18, 9, 11, 19, 20, 5, 16, 25, 17, 18, 7, 9, 5, 21], [20, 19, 23, 18, 22, 7, 16, 24, 12, 16, 11, 17, 15, 20, 21, 20, 11, 6, 17, 21, 18, 10, 6], [7, 11, 8, 20, 7, 16, 20, 8, 24, 21, 13, 24, 22, 8, 21, 19, 9, 9, 18, 15, 22, 8, 24], [9, 11, 14, 24, 20, 11, 22, 10, 13, 23, 9, 22, 23, 13, 11, 16, 5, 8, 17, 13, 10, 12, 9], [20, 7, 18, 21, 9, 9, 24, 25, 25, 16, 14, 20, 19, 5, 8, 23, 24, 12, 7, 13, 24, 19, 18], [10, 11, 6, 12, 12, 22, 16, 11, 18, 14, 25, 20, 15, 6, 19, 17, 8, 17, 23, 18, 24, 23, 22], [10, 11, 9, 19, 23, 20, 11, 24, 5, 14, 18, 14, 11, 21, 23, 5, 17, 5, 12, 15, 8, 17, 14]], 'capacities': [118, 120, 123, 120, 123, 122, 124, 114], 'objective': 172.0}","[3, 5, 6, 1, 3, 2, 0, 3, 7, 0, 4, 1, 2, 6, 5, 7, 4, 7, 5, 1, 0, 1, 2]",172.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 118}, {'agent_id': 'A2', 'capacity': 120}, {'agent_id': 'A3', 'capacity': 123}, {'agent_id': 'A4', 'capacity': 120}, {'agent_id': 'A5', 'capacity': 123}, {'agent_id': 'A6', 'capacity': 122}, {'agent_id': 'A7', 'capacity': 124}, {'agent_id': 'A8', 'capacity': 114}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 28}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 48}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 22}, {'agent_id': 'A1', 'task_id': 2, 'cost': 17}, {'agent_id': 'A1', 'task_id': 3, 'cost': 8}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 21}, {'agent_id': 'A1', 'task_id': 6, 'cost': 14}, {'agent_id': 'A1', 'task_id': 7, 'cost': 6}, {'agent_id': 'A1', 'task_id': 8, 'cost': 18}, {'agent_id': 'A1', 'task_id': 9, 'cost': 21}, {'agent_id': 'A1', 'task_id': 10, 'cost': 12}, {'agent_id': 'A1', 'task_id': 11, 'cost': 11}, {'agent_id': 'A1', 'task_id': 12, 'cost': 21}, {'agent_id': 'A1', 'task_id': 13, 'cost': 17}, {'agent_id': 'A1', 'task_id': 14, 'cost': 18}, {'agent_id': 'A1', 'task_id': 15, 'cost': 12}, {'agent_id': 'A1', 'task_id': 16, 'cost': 8}, {'agent_id': 'A1', 'task_id': 17, 'cost': 9}, {'agent_id': 'A1', 'task_id': 18, 'cost': 14}, {'agent_id': 'A1', 'task_id': 19, 'cost': 9}, {'agent_id': 'A1', 'task_id': 20, 'cost': 23}, {'agent_id': 'A1', 'task_id': 21, 'cost': 8}, {'agent_id': 'A1', 'task_id': 22, 'cost': 12}, {'agent_id': 'A1', 'task_id': 23, 'cost': 17}, {'agent_id': 'A2', 'task_id': 1, 'cost': 20}, {'agent_id': 'A2', 'task_id': 2, 'cost': 13}, {'agent_id': 'A2', 'task_id': 3, 'cost': 24}, {'agent_id': 'A2', 'task_id': 4, 'cost': 10}, {'agent_id': 'A2', 'task_id': 5, 'cost': 7}, {'agent_id': 'A2', 'task_id': 6, 'cost': 20}, {'agent_id': 'A2', 'task_id': 7, 'cost': 18}, {'agent_id': 'A2', 'task_id': 8, 'cost': 19}, {'agent_id': 'A2', 'task_id': 9, 'cost': 17}, {'agent_id': 'A2', 'task_id': 10, 'cost': 18}, {'agent_id': 'A2', 'task_id': 11, 'cost': 9}, {'agent_id': 'A2', 'task_id': 12, 'cost': 11}, {'agent_id': 'A2', 'task_id': 13, 'cost': 19}, {'agent_id': 'A2', 'task_id': 14, 'cost': 20}, {'agent_id': 'A2', 'task_id': 15, 'cost': 5}, {'agent_id': 'A2', 'task_id': 16, 'cost': 16}, {'agent_id': 'A2', 'task_id': 17, 'cost': 25}, {'agent_id': 'A2', 'task_id': 18, 'cost': 17}, {'agent_id': 'A2', 'task_id': 19, 'cost': 18}, {'agent_id': 'A2', 'task_id': 20, 'cost': 7}, {'agent_id': 'A2', 'task_id': 21, 'cost': 9}, {'agent_id': 'A2', 'task_id': 22, 'cost': 5}, {'agent_id': 'A2', 'task_id': 23, 'cost': 21}, {'agent_id': 'A3', 'task_id': 1, 'cost': 20}, {'agent_id': 'A3', 'task_id': 2, 'cost': 19}, {'agent_id': 'A3', 'task_id': 3, 'cost': 23}, {'agent_id': 'A3', 'task_id': 4, 'cost': 18}, {'agent_id': 'A3', 'task_id': 5, 'cost': 22}, {'agent_id': 'A3', 'task_id': 6, 'cost': 7}, {'agent_id': 'A3', 'task_id': 7, 'cost': 16}, {'agent_id': 'A3', 'task_id': 8, 'cost': 24}, {'agent_id': 'A3', 'task_id': 9, 'cost': 12}, {'agent_id': 'A3', 'task_id': 10, 'cost': 16}, {'agent_id': 'A3', 'task_id': 11, 'cost': 11}, {'agent_id': 'A3', 'task_id': 12, 'cost': 17}, {'agent_id': 'A3', 'task_id': 13, 'cost': 15}, {'agent_id': 'A3', 'task_id': 14, 'cost': 20}, {'agent_id': 'A3', 'task_id': 15, 'cost': 21}, {'agent_id': 'A3', 'task_id': 16, 'cost': 20}, {'agent_id': 'A3', 'task_id': 17, 'cost': 11}, {'agent_id': 'A3', 'task_id': 18, 'cost': 6}, {'agent_id': 'A3', 'task_id': 19, 'cost': 17}, {'agent_id': 'A3', 'task_id': 20, 'cost': 21}, {'agent_id': 'A3', 'task_id': 21, 'cost': 18}, {'agent_id': 'A3', 'task_id': 22, 'cost': 10}, {'agent_id': 'A3', 'task_id': 23, 'cost': 6}, {'agent_id': 'A4', 'task_id': 1, 'cost': 7}, {'agent_id': 'A4', 'task_id': 2, 'cost': 11}, {'agent_id': 'A4', 'task_id': 3, 'cost': 8}, {'agent_id': 'A4', 'task_id': 4, 'cost': 20}, {'agent_id': 'A4', 'task_id': 5, 'cost': 7}, {'agent_id': 'A4', 'task_id': 6, 'cost': 16}, {'agent_id': 'A4', 'task_id': 7, 'cost': 20}, {'agent_id': 'A4', 'task_id': 8, 'cost': 8}, {'agent_id': 'A4', 'task_id': 9, 'cost': 24}, {'agent_id': 'A4', 'task_id': 10, 'cost': 21}, {'agent_id': 'A4', 'task_id': 11, 'cost': 13}, {'agent_id': 'A4', 'task_id': 12, 'cost': 24}, {'agent_id': 'A4', 'task_id': 13, 'cost': 22}, {'agent_id': 'A4', 'task_id': 14, 'cost': 8}, {'agent_id': 'A4', 'task_id': 15, 'cost': 21}, {'agent_id': 'A4', 'task_id': 16, 'cost': 19}, {'agent_id': 'A4', 'task_id': 17, 'cost': 9}, {'agent_id': 'A4', 'task_id': 18, 'cost': 9}, {'agent_id': 'A4', 'task_id': 19, 'cost': 18}, {'agent_id': 'A4', 'task_id': 20, 'cost': 15}, {'agent_id': 'A4', 'task_id': 21, 'cost': 22}, {'agent_id': 'A4', 'task_id': 22, 'cost': 8}, {'agent_id': 'A4', 'task_id': 23, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 9}, {'agent_id': 'A5', 'task_id': 2, 'cost': 11}, {'agent_id': 'A5', 'task_id': 3, 'cost': 14}, {'agent_id': 'A5', 'task_id': 4, 'cost': 24}, {'agent_id': 'A5', 'task_id': 5, 'cost': 20}, {'agent_id': 'A5', 'task_id': 6, 'cost': 11}, {'agent_id': 'A5', 'task_id': 7, 'cost': 22}, {'agent_id': 'A5', 'task_id': 8, 'cost': 10}, {'agent_id': 'A5', 'task_id': 9, 'cost': 13}, {'agent_id': 'A5', 'task_id': 10, 'cost': 23}, {'agent_id': 'A5', 'task_id': 11, 'cost': 9}, {'agent_id': 'A5', 'task_id': 12, 'cost': 22}, {'agent_id': 'A5', 'task_id': 13, 'cost': 23}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 11}, {'agent_id': 'A5', 'task_id': 16, 'cost': 16}, {'agent_id': 'A5', 'task_id': 17, 'cost': 5}, {'agent_id': 'A5', 'task_id': 18, 'cost': 8}, {'agent_id': 'A5', 'task_id': 19, 'cost': 17}, {'agent_id': 'A5', 'task_id': 20, 'cost': 13}, {'agent_id': 'A5', 'task_id': 21, 'cost': 10}, {'agent_id': 'A5', 'task_id': 22, 'cost': 12}, {'agent_id': 'A5', 'task_id': 23, 'cost': 9}, {'agent_id': 'A6', 'task_id': 1, 'cost': 20}, {'agent_id': 'A6', 'task_id': 2, 'cost': 7}, {'agent_id': 'A6', 'task_id': 3, 'cost': 18}, {'agent_id': 'A6', 'task_id': 4, 'cost': 21}, {'agent_id': 'A6', 'task_id': 5, 'cost': 9}, {'agent_id': 'A6', 'task_id': 6, 'cost': 9}, {'agent_id': 'A6', 'task_id': 7, 'cost': 24}, {'agent_id': 'A6', 'task_id': 8, 'cost': 25}, {'agent_id': 'A6', 'task_id': 9, 'cost': 25}, {'agent_id': 'A6', 'task_id': 10, 'cost': 16}, {'agent_id': 'A6', 'task_id': 11, 'cost': 14}, {'agent_id': 'A6', 'task_id': 12, 'cost': 20}, {'agent_id': 'A6', 'task_id': 13, 'cost': 19}, {'agent_id': 'A6', 'task_id': 14, 'cost': 5}, {'agent_id': 'A6', 'task_id': 15, 'cost': 8}, {'agent_id': 'A6', 'task_id': 16, 'cost': 23}, {'agent_id': 'A6', 'task_id': 17, 'cost': 24}, {'agent_id': 'A6', 'task_id': 18, 'cost': 12}, {'agent_id': 'A6', 'task_id': 19, 'cost': 7}, {'agent_id': 'A6', 'task_id': 20, 'cost': 13}, {'agent_id': 'A6', 'task_id': 21, 'cost': 24}, {'agent_id': 'A6', 'task_id': 22, 'cost': 19}, {'agent_id': 'A6', 'task_id': 23, 'cost': 18}, {'agent_id': 'A7', 'task_id': 1, 'cost': 10}, {'agent_id': 'A7', 'task_id': 2, 'cost': 11}, {'agent_id': 'A7', 'task_id': 3, 'cost': 6}, {'agent_id': 'A7', 'task_id': 4, 'cost': 12}, {'agent_id': 'A7', 'task_id': 5, 'cost': 12}, {'agent_id': 'A7', 'task_id': 6, 'cost': 22}, {'agent_id': 'A7', 'task_id': 7, 'cost': 16}, {'agent_id': 'A7', 'task_id': 8, 'cost': 11}, {'agent_id': 'A7', 'task_id': 9, 'cost': 18}, {'agent_id': 'A7', 'task_id': 10, 'cost': 14}, {'agent_id': 'A7', 'task_id': 11, 'cost': 25}, {'agent_id': 'A7', 'task_id': 12, 'cost': 20}, {'agent_id': 'A7', 'task_id': 13, 'cost': 15}, {'agent_id': 'A7', 'task_id': 14, 'cost': 6}, {'agent_id': 'A7', 'task_id': 15, 'cost': 19}, {'agent_id': 'A7', 'task_id': 16, 'cost': 17}, {'agent_id': 'A7', 'task_id': 17, 'cost': 8}, {'agent_id': 'A7', 'task_id': 18, 'cost': 17}, {'agent_id': 'A7', 'task_id': 19, 'cost': 23}, {'agent_id': 'A7', 'task_id': 20, 'cost': 18}, {'agent_id': 'A7', 'task_id': 21, 'cost': 24}, {'agent_id': 'A7', 'task_id': 22, 'cost': 23}, {'agent_id': 'A7', 'task_id': 23, 'cost': 22}, {'agent_id': 'A8', 'task_id': 1, 'cost': 10}, {'agent_id': 'A8', 'task_id': 2, 'cost': 11}, {'agent_id': 'A8', 'task_id': 3, 'cost': 9}, {'agent_id': 'A8', 'task_id': 4, 'cost': 19}, {'agent_id': 'A8', 'task_id': 5, 'cost': 23}, {'agent_id': 'A8', 'task_id': 6, 'cost': 20}, {'agent_id': 'A8', 'task_id': 7, 'cost': 11}, {'agent_id': 'A8', 'task_id': 8, 'cost': 24}, {'agent_id': 'A8', 'task_id': 9, 'cost': 5}, {'agent_id': 'A8', 'task_id': 10, 'cost': 14}, {'agent_id': 'A8', 'task_id': 11, 'cost': 18}, {'agent_id': 'A8', 'task_id': 12, 'cost': 14}, {'agent_id': 'A8', 'task_id': 13, 'cost': 11}, {'agent_id': 'A8', 'task_id': 14, 'cost': 21}, {'agent_id': 'A8', 'task_id': 15, 'cost': 23}, {'agent_id': 'A8', 'task_id': 16, 'cost': 5}, {'agent_id': 'A8', 'task_id': 17, 'cost': 17}, {'agent_id': 'A8', 'task_id': 18, 'cost': 5}, {'agent_id': 'A8', 'task_id': 19, 'cost': 12}, {'agent_id': 'A8', 'task_id': 20, 'cost': 15}, {'agent_id': 'A8', 'task_id': 21, 'cost': 8}, {'agent_id': 'A8', 'task_id': 22, 'cost': 17}, {'agent_id': 'A8', 'task_id': 23, 'cost': 14}]}","['A4', 'A6', 'A7', 'A2', 'A4', 'A3', 'A1', 'A4', 'A8', 'A1', 'A5', 'A2', 'A3', 'A7', 'A6', 'A8', 'A5', 'A8', 'A6', 'A2', 'A1', 'A2', 'A3']",4,json,1 GAP,GAP,"Someone at the agency lined up all the translators and listed, for every document, how long each translator would need and what they’d charge. Each translator only has a certain number of hours they can work, and every document must be handled exactly once. The job is to choose who does what so that no one is overbooked and the total payout — the sum of the charges for every document — is as small as possible. The exact figures are shown below. # num_translators=6 # num_documents=18 # translator_ids=A1, A2, A3, A4, A5, A6 # document_ids=0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 translator_id,available_hours A1,192 A2,192 A3,192 A4,192 A5,192 A6,192 translator_id,document_id,hours_required A1,0,12 A1,1,50 A1,2,31 A1,3,18 A1,4,47 A1,5,21 A1,6,31 A1,7,42 A1,8,42 A1,9,33 A1,10,38 A1,11,14 A1,12,10 A1,13,49 A1,14,12 A1,15,20 A1,16,21 A1,17,20 A2,0,40 A2,1,16 A2,2,15 A2,3,37 A2,4,25 A2,5,15 A2,6,26 A2,7,27 A2,8,12 A2,9,46 A2,10,32 A2,11,15 A2,12,33 A2,13,15 A2,14,44 A2,15,33 A2,16,25 A2,17,30 A3,0,33 A3,1,11 A3,2,41 A3,3,40 A3,4,12 A3,5,27 A3,6,10 A3,7,42 A3,8,10 A3,9,13 A3,10,44 A3,11,23 A3,12,34 A3,13,28 A3,14,48 A3,15,35 A3,16,31 A3,17,15 A4,0,34 A4,1,29 A4,2,31 A4,3,38 A4,4,42 A4,5,11 A4,6,18 A4,7,22 A4,8,47 A4,9,39 A4,10,43 A4,11,33 A4,12,42 A4,13,22 A4,14,31 A4,15,36 A4,16,50 A4,17,19 A5,0,28 A5,1,47 A5,2,12 A5,3,42 A5,4,48 A5,5,43 A5,6,11 A5,7,37 A5,8,39 A5,9,13 A5,10,25 A5,11,38 A5,12,43 A5,13,25 A5,14,50 A5,15,28 A5,16,38 A5,17,45 A6,0,42 A6,1,29 A6,2,23 A6,3,32 A6,4,34 A6,5,35 A6,6,22 A6,7,47 A6,8,29 A6,9,40 A6,10,39 A6,11,43 A6,12,47 A6,13,41 A6,14,10 A6,15,21 A6,16,22 A6,17,14 translator_id,document_id,charge A1,0,18 A1,1,9 A1,2,11 A1,3,16 A1,4,9 A1,5,24 A1,6,8 A1,7,23 A1,8,6 A1,9,22 A1,10,8 A1,11,25 A1,12,5 A1,13,13 A1,14,12 A1,15,19 A1,16,20 A1,17,7 A2,0,12 A2,1,9 A2,2,24 A2,3,21 A2,4,11 A2,5,14 A2,6,6 A2,7,18 A2,8,6 A2,9,5 A2,10,14 A2,11,23 A2,12,7 A2,13,25 A2,14,21 A2,15,9 A2,16,24 A2,17,17 A3,0,7 A3,1,23 A3,2,11 A3,3,20 A3,4,17 A3,5,17 A3,6,8 A3,7,22 A3,8,5 A3,9,19 A3,10,8 A3,11,14 A3,12,13 A3,13,13 A3,14,8 A3,15,15 A3,16,21 A3,17,6 A4,0,20 A4,1,10 A4,2,25 A4,3,18 A4,4,7 A4,5,16 A4,6,20 A4,7,21 A4,8,7 A4,9,14 A4,10,14 A4,11,10 A4,12,21 A4,13,13 A4,14,15 A4,15,15 A4,16,7 A4,17,13 A5,0,7 A5,1,18 A5,2,13 A5,3,25 A5,4,24 A5,5,14 A5,6,18 A5,7,10 A5,8,7 A5,9,13 A5,10,9 A5,11,17 A5,12,5 A5,13,23 A5,14,25 A5,15,20 A5,16,24 A5,17,24 A6,0,12 A6,1,25 A6,2,15 A6,3,10 A6,4,16 A6,5,9 A6,6,22 A6,7,10 A6,8,17 A6,9,9 A6,10,13 A6,11,13 A6,12,10 A6,13,8 A6,14,16 A6,15,25 A6,16,17 A6,17,18 When you give the final assignment, just drop it in that simple JSON shape so it's easy to read and parse — nothing fancy needed. { ""solution"": [ , , ..., ] } Think of that ""solution"" array as a checklist that goes document-by-document in the same order the documents were listed above: each entry is the ID of the translator who will handle that document. It's just a sketch of the expected shape — not the actual answer. Please use the exact IDs from the instance input (do not rename them or invent new ones). Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[12, 50, 31, 18, 47, 21, 31, 42, 42, 33, 38, 14, 10, 49, 12, 20, 21, 20], [40, 16, 15, 37, 25, 15, 26, 27, 12, 46, 32, 15, 33, 15, 44, 33, 25, 30], [33, 11, 41, 40, 12, 27, 10, 42, 10, 13, 44, 23, 34, 28, 48, 35, 31, 15], [34, 29, 31, 38, 42, 11, 18, 22, 47, 39, 43, 33, 42, 22, 31, 36, 50, 19], [28, 47, 12, 42, 48, 43, 11, 37, 39, 13, 25, 38, 43, 25, 50, 28, 38, 45], [42, 29, 23, 32, 34, 35, 22, 47, 29, 40, 39, 43, 47, 41, 10, 21, 22, 14]], 'assignment_costs': [[18, 9, 11, 16, 9, 24, 8, 23, 6, 22, 8, 25, 5, 13, 12, 19, 20, 7], [12, 9, 24, 21, 11, 14, 6, 18, 6, 5, 14, 23, 7, 25, 21, 9, 24, 17], [7, 23, 11, 20, 17, 17, 8, 22, 5, 19, 8, 14, 13, 13, 8, 15, 21, 6], [20, 10, 25, 18, 7, 16, 20, 21, 7, 14, 14, 10, 21, 13, 15, 15, 7, 13], [7, 18, 13, 25, 24, 14, 18, 10, 7, 13, 9, 17, 5, 23, 25, 20, 24, 24], [12, 25, 15, 10, 16, 9, 22, 10, 17, 9, 13, 13, 10, 8, 16, 25, 17, 18]], 'capacities': [192, 192, 192, 192, 192, 192], 'objective': 140.0}","[4, 1, 0, 5, 3, 5, 1, 4, 2, 1, 0, 3, 0, 5, 2, 1, 3, 2]",140.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 192}, {'agent_id': 'A2', 'capacity': 192}, {'agent_id': 'A3', 'capacity': 192}, {'agent_id': 'A4', 'capacity': 192}, {'agent_id': 'A5', 'capacity': 192}, {'agent_id': 'A6', 'capacity': 192}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 14}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 18}, {'agent_id': 'A1', 'task_id': 1, 'cost': 9}, {'agent_id': 'A1', 'task_id': 2, 'cost': 11}, {'agent_id': 'A1', 'task_id': 3, 'cost': 16}, {'agent_id': 'A1', 'task_id': 4, 'cost': 9}, {'agent_id': 'A1', 'task_id': 5, 'cost': 24}, {'agent_id': 'A1', 'task_id': 6, 'cost': 8}, {'agent_id': 'A1', 'task_id': 7, 'cost': 23}, {'agent_id': 'A1', 'task_id': 8, 'cost': 6}, {'agent_id': 'A1', 'task_id': 9, 'cost': 22}, {'agent_id': 'A1', 'task_id': 10, 'cost': 8}, {'agent_id': 'A1', 'task_id': 11, 'cost': 25}, {'agent_id': 'A1', 'task_id': 12, 'cost': 5}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 19}, {'agent_id': 'A1', 'task_id': 16, 'cost': 20}, {'agent_id': 'A1', 'task_id': 17, 'cost': 7}, {'agent_id': 'A2', 'task_id': 0, 'cost': 12}, {'agent_id': 'A2', 'task_id': 1, 'cost': 9}, {'agent_id': 'A2', 'task_id': 2, 'cost': 24}, {'agent_id': 'A2', 'task_id': 3, 'cost': 21}, {'agent_id': 'A2', 'task_id': 4, 'cost': 11}, {'agent_id': 'A2', 'task_id': 5, 'cost': 14}, {'agent_id': 'A2', 'task_id': 6, 'cost': 6}, {'agent_id': 'A2', 'task_id': 7, 'cost': 18}, {'agent_id': 'A2', 'task_id': 8, 'cost': 6}, {'agent_id': 'A2', 'task_id': 9, 'cost': 5}, {'agent_id': 'A2', 'task_id': 10, 'cost': 14}, {'agent_id': 'A2', 'task_id': 11, 'cost': 23}, {'agent_id': 'A2', 'task_id': 12, 'cost': 7}, {'agent_id': 'A2', 'task_id': 13, 'cost': 25}, {'agent_id': 'A2', 'task_id': 14, 'cost': 21}, {'agent_id': 'A2', 'task_id': 15, 'cost': 9}, {'agent_id': 'A2', 'task_id': 16, 'cost': 24}, {'agent_id': 'A2', 'task_id': 17, 'cost': 17}, {'agent_id': 'A3', 'task_id': 0, 'cost': 7}, {'agent_id': 'A3', 'task_id': 1, 'cost': 23}, {'agent_id': 'A3', 'task_id': 2, 'cost': 11}, {'agent_id': 'A3', 'task_id': 3, 'cost': 20}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 17}, {'agent_id': 'A3', 'task_id': 6, 'cost': 8}, {'agent_id': 'A3', 'task_id': 7, 'cost': 22}, {'agent_id': 'A3', 'task_id': 8, 'cost': 5}, {'agent_id': 'A3', 'task_id': 9, 'cost': 19}, {'agent_id': 'A3', 'task_id': 10, 'cost': 8}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 13}, {'agent_id': 'A3', 'task_id': 13, 'cost': 13}, {'agent_id': 'A3', 'task_id': 14, 'cost': 8}, {'agent_id': 'A3', 'task_id': 15, 'cost': 15}, {'agent_id': 'A3', 'task_id': 16, 'cost': 21}, {'agent_id': 'A3', 'task_id': 17, 'cost': 6}, {'agent_id': 'A4', 'task_id': 0, 'cost': 20}, {'agent_id': 'A4', 'task_id': 1, 'cost': 10}, {'agent_id': 'A4', 'task_id': 2, 'cost': 25}, {'agent_id': 'A4', 'task_id': 3, 'cost': 18}, {'agent_id': 'A4', 'task_id': 4, 'cost': 7}, {'agent_id': 'A4', 'task_id': 5, 'cost': 16}, {'agent_id': 'A4', 'task_id': 6, 'cost': 20}, {'agent_id': 'A4', 'task_id': 7, 'cost': 21}, {'agent_id': 'A4', 'task_id': 8, 'cost': 7}, {'agent_id': 'A4', 'task_id': 9, 'cost': 14}, {'agent_id': 'A4', 'task_id': 10, 'cost': 14}, {'agent_id': 'A4', 'task_id': 11, 'cost': 10}, {'agent_id': 'A4', 'task_id': 12, 'cost': 21}, {'agent_id': 'A4', 'task_id': 13, 'cost': 13}, {'agent_id': 'A4', 'task_id': 14, 'cost': 15}, {'agent_id': 'A4', 'task_id': 15, 'cost': 15}, {'agent_id': 'A4', 'task_id': 16, 'cost': 7}, {'agent_id': 'A4', 'task_id': 17, 'cost': 13}, {'agent_id': 'A5', 'task_id': 0, 'cost': 7}, {'agent_id': 'A5', 'task_id': 1, 'cost': 18}, {'agent_id': 'A5', 'task_id': 2, 'cost': 13}, {'agent_id': 'A5', 'task_id': 3, 'cost': 25}, {'agent_id': 'A5', 'task_id': 4, 'cost': 24}, {'agent_id': 'A5', 'task_id': 5, 'cost': 14}, {'agent_id': 'A5', 'task_id': 6, 'cost': 18}, {'agent_id': 'A5', 'task_id': 7, 'cost': 10}, {'agent_id': 'A5', 'task_id': 8, 'cost': 7}, {'agent_id': 'A5', 'task_id': 9, 'cost': 13}, {'agent_id': 'A5', 'task_id': 10, 'cost': 9}, {'agent_id': 'A5', 'task_id': 11, 'cost': 17}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 23}, {'agent_id': 'A5', 'task_id': 14, 'cost': 25}, {'agent_id': 'A5', 'task_id': 15, 'cost': 20}, {'agent_id': 'A5', 'task_id': 16, 'cost': 24}, {'agent_id': 'A5', 'task_id': 17, 'cost': 24}, {'agent_id': 'A6', 'task_id': 0, 'cost': 12}, {'agent_id': 'A6', 'task_id': 1, 'cost': 25}, {'agent_id': 'A6', 'task_id': 2, 'cost': 15}, {'agent_id': 'A6', 'task_id': 3, 'cost': 10}, {'agent_id': 'A6', 'task_id': 4, 'cost': 16}, {'agent_id': 'A6', 'task_id': 5, 'cost': 9}, {'agent_id': 'A6', 'task_id': 6, 'cost': 22}, {'agent_id': 'A6', 'task_id': 7, 'cost': 10}, {'agent_id': 'A6', 'task_id': 8, 'cost': 17}, {'agent_id': 'A6', 'task_id': 9, 'cost': 9}, {'agent_id': 'A6', 'task_id': 10, 'cost': 13}, {'agent_id': 'A6', 'task_id': 11, 'cost': 13}, {'agent_id': 'A6', 'task_id': 12, 'cost': 10}, {'agent_id': 'A6', 'task_id': 13, 'cost': 8}, {'agent_id': 'A6', 'task_id': 14, 'cost': 16}, {'agent_id': 'A6', 'task_id': 15, 'cost': 25}, {'agent_id': 'A6', 'task_id': 16, 'cost': 17}, {'agent_id': 'A6', 'task_id': 17, 'cost': 18}]}","['A5', 'A2', 'A1', 'A6', 'A4', 'A6', 'A2', 'A5', 'A3', 'A2', 'A1', 'A4', 'A1', 'A6', 'A3', 'A2', 'A4', 'A3']",5,csv,0 GAP,GAP,"Many people think scheduling is simple until there are more jobs than hours. Here, each repair has to be given to one technician—no splitting jobs, no leaving jobs undone. For every tech-job pair there’s a time requirement and a billing amount, and each tech only has so many hours to work. The winning plan is the one with the lowest total bill (just add up each assigned job’s charge) that also keeps every technician’s total assigned hours at or under their limit. The detailed numbers are provided below. { ""num_technicians"": 6, ""num_requests"": 17, ""technicians"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"" ], ""requests"": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ], ""capacities"": [ { ""technician_id"": ""A1"", ""available_hours"": 199 }, { ""technician_id"": ""A2"", ""available_hours"": 199 }, { ""technician_id"": ""A3"", ""available_hours"": 199 }, { ""technician_id"": ""A4"", ""available_hours"": 199 }, { ""technician_id"": ""A5"", ""available_hours"": 199 }, { ""technician_id"": ""A6"", ""available_hours"": 199 } ], ""resource"": [ { ""technician_id"": ""A1"", ""request_id"": 1, ""time_hours"": 41 }, { ""technician_id"": ""A1"", ""request_id"": 2, ""time_hours"": 31 }, { ""technician_id"": ""A1"", ""request_id"": 3, ""time_hours"": 26 }, { ""technician_id"": ""A1"", ""request_id"": 4, ""time_hours"": 45 }, { ""technician_id"": ""A1"", ""request_id"": 5, ""time_hours"": 26 }, { ""technician_id"": ""A1"", ""request_id"": 6, ""time_hours"": 35 }, { ""technician_id"": ""A1"", ""request_id"": 7, ""time_hours"": 31 }, { ""technician_id"": ""A1"", ""request_id"": 8, ""time_hours"": 50 }, { ""technician_id"": ""A1"", ""request_id"": 9, ""time_hours"": 25 }, { ""technician_id"": ""A1"", ""request_id"": 10, ""time_hours"": 26 }, { ""technician_id"": ""A1"", ""request_id"": 11, ""time_hours"": 19 }, { ""technician_id"": ""A1"", ""request_id"": 12, ""time_hours"": 32 }, { ""technician_id"": ""A1"", ""request_id"": 13, ""time_hours"": 12 }, { ""technician_id"": ""A1"", ""request_id"": 14, ""time_hours"": 27 }, { ""technician_id"": ""A1"", ""request_id"": 15, ""time_hours"": 40 }, { ""technician_id"": ""A1"", ""request_id"": 16, ""time_hours"": 49 }, { ""technician_id"": ""A1"", ""request_id"": 17, ""time_hours"": 28 }, { ""technician_id"": ""A2"", ""request_id"": 1, ""time_hours"": 23 }, { ""technician_id"": ""A2"", ""request_id"": 2, ""time_hours"": 26 }, { ""technician_id"": ""A2"", ""request_id"": 3, ""time_hours"": 14 }, { ""technician_id"": ""A2"", ""request_id"": 4, ""time_hours"": 17 }, { ""technician_id"": ""A2"", ""request_id"": 5, ""time_hours"": 32 }, { ""technician_id"": ""A2"", ""request_id"": 6, ""time_hours"": 49 }, { ""technician_id"": ""A2"", ""request_id"": 7, ""time_hours"": 20 }, { ""technician_id"": ""A2"", ""request_id"": 8, ""time_hours"": 35 }, { ""technician_id"": ""A2"", ""request_id"": 9, ""time_hours"": 38 }, { ""technician_id"": ""A2"", ""request_id"": 10, ""time_hours"": 33 }, { ""technician_id"": ""A2"", ""request_id"": 11, ""time_hours"": 36 }, { ""technician_id"": ""A2"", ""request_id"": 12, ""time_hours"": 12 }, { ""technician_id"": ""A2"", ""request_id"": 13, ""time_hours"": 17 }, { ""technician_id"": ""A2"", ""request_id"": 14, ""time_hours"": 27 }, { ""technician_id"": ""A2"", ""request_id"": 15, ""time_hours"": 46 }, { ""technician_id"": ""A2"", ""request_id"": 16, ""time_hours"": 37 }, { ""technician_id"": ""A2"", ""request_id"": 17, ""time_hours"": 18 }, { ""technician_id"": ""A3"", ""request_id"": 1, ""time_hours"": 36 }, { ""technician_id"": ""A3"", ""request_id"": 2, ""time_hours"": 48 }, { ""technician_id"": ""A3"", ""request_id"": 3, ""time_hours"": 32 }, { ""technician_id"": ""A3"", ""request_id"": 4, ""time_hours"": 11 }, { ""technician_id"": ""A3"", ""request_id"": 5, ""time_hours"": 49 }, { ""technician_id"": ""A3"", ""request_id"": 6, ""time_hours"": 24 }, { ""technician_id"": ""A3"", ""request_id"": 7, ""time_hours"": 27 }, { ""technician_id"": ""A3"", ""request_id"": 8, ""time_hours"": 43 }, { ""technician_id"": ""A3"", ""request_id"": 9, ""time_hours"": 39 }, { ""technician_id"": ""A3"", ""request_id"": 10, ""time_hours"": 13 }, { ""technician_id"": ""A3"", ""request_id"": 11, ""time_hours"": 38 }, { ""technician_id"": ""A3"", ""request_id"": 12, ""time_hours"": 27 }, { ""technician_id"": ""A3"", ""request_id"": 13, ""time_hours"": 32 }, { ""technician_id"": ""A3"", ""request_id"": 14, ""time_hours"": 14 }, { ""technician_id"": ""A3"", ""request_id"": 15, ""time_hours"": 22 }, { ""technician_id"": ""A3"", ""request_id"": 16, ""time_hours"": 23 }, { ""technician_id"": ""A3"", ""request_id"": 17, ""time_hours"": 33 }, { ""technician_id"": ""A4"", ""request_id"": 1, ""time_hours"": 17 }, { ""technician_id"": ""A4"", ""request_id"": 2, ""time_hours"": 21 }, { ""technician_id"": ""A4"", ""request_id"": 3, ""time_hours"": 14 }, { ""technician_id"": ""A4"", ""request_id"": 4, ""time_hours"": 15 }, { ""technician_id"": ""A4"", ""request_id"": 5, ""time_hours"": 21 }, { ""technician_id"": ""A4"", ""request_id"": 6, ""time_hours"": 19 }, { ""technician_id"": ""A4"", ""request_id"": 7, ""time_hours"": 31 }, { ""technician_id"": ""A4"", ""request_id"": 8, ""time_hours"": 33 }, { ""technician_id"": ""A4"", ""request_id"": 9, ""time_hours"": 27 }, { ""technician_id"": ""A4"", ""request_id"": 10, ""time_hours"": 26 }, { ""technician_id"": ""A4"", ""request_id"": 11, ""time_hours"": 18 }, { ""technician_id"": ""A4"", ""request_id"": 12, ""time_hours"": 11 }, { ""technician_id"": ""A4"", ""request_id"": 13, ""time_hours"": 34 }, { ""technician_id"": ""A4"", ""request_id"": 14, ""time_hours"": 24 }, { ""technician_id"": ""A4"", ""request_id"": 15, ""time_hours"": 31 }, { ""technician_id"": ""A4"", ""request_id"": 16, ""time_hours"": 43 }, { ""technician_id"": ""A4"", ""request_id"": 17, ""time_hours"": 15 }, { ""technician_id"": ""A5"", ""request_id"": 1, ""time_hours"": 26 }, { ""technician_id"": ""A5"", ""request_id"": 2, ""time_hours"": 24 }, { ""technician_id"": ""A5"", ""request_id"": 3, ""time_hours"": 26 }, { ""technician_id"": ""A5"", ""request_id"": 4, ""time_hours"": 16 }, { ""technician_id"": ""A5"", ""request_id"": 5, ""time_hours"": 13 }, { ""technician_id"": ""A5"", ""request_id"": 6, ""time_hours"": 41 }, { ""technician_id"": ""A5"", ""request_id"": 7, ""time_hours"": 32 }, { ""technician_id"": ""A5"", ""request_id"": 8, ""time_hours"": 12 }, { ""technician_id"": ""A5"", ""request_id"": 9, ""time_hours"": 50 }, { ""technician_id"": ""A5"", ""request_id"": 10, ""time_hours"": 17 }, { ""technician_id"": ""A5"", ""request_id"": 11, ""time_hours"": 12 }, { ""technician_id"": ""A5"", ""request_id"": 12, ""time_hours"": 27 }, { ""technician_id"": ""A5"", ""request_id"": 13, ""time_hours"": 28 }, { ""technician_id"": ""A5"", ""request_id"": 14, ""time_hours"": 38 }, { ""technician_id"": ""A5"", ""request_id"": 15, ""time_hours"": 16 }, { ""technician_id"": ""A5"", ""request_id"": 16, ""time_hours"": 29 }, { ""technician_id"": ""A5"", ""request_id"": 17, ""time_hours"": 50 }, { ""technician_id"": ""A6"", ""request_id"": 1, ""time_hours"": 25 }, { ""technician_id"": ""A6"", ""request_id"": 2, ""time_hours"": 11 }, { ""technician_id"": ""A6"", ""request_id"": 3, ""time_hours"": 33 }, { ""technician_id"": ""A6"", ""request_id"": 4, ""time_hours"": 50 }, { ""technician_id"": ""A6"", ""request_id"": 5, ""time_hours"": 41 }, { ""technician_id"": ""A6"", ""request_id"": 6, ""time_hours"": 42 }, { ""technician_id"": ""A6"", ""request_id"": 7, ""time_hours"": 40 }, { ""technician_id"": ""A6"", ""request_id"": 8, ""time_hours"": 17 }, { ""technician_id"": ""A6"", ""request_id"": 9, ""time_hours"": 47 }, { ""technician_id"": ""A6"", ""request_id"": 10, ""time_hours"": 13 }, { ""technician_id"": ""A6"", ""request_id"": 11, ""time_hours"": 47 }, { ""technician_id"": ""A6"", ""request_id"": 12, ""time_hours"": 25 }, { ""technician_id"": ""A6"", ""request_id"": 13, ""time_hours"": 42 }, { ""technician_id"": ""A6"", ""request_id"": 14, ""time_hours"": 22 }, { ""technician_id"": ""A6"", ""request_id"": 15, ""time_hours"": 16 }, { ""technician_id"": ""A6"", ""request_id"": 16, ""time_hours"": 24 }, { ""technician_id"": ""A6"", ""request_id"": 17, ""time_hours"": 37 } ], ""cost"": [ { ""technician_id"": ""A1"", ""request_id"": 1, ""bill_amount"": 19 }, { ""technician_id"": ""A1"", ""request_id"": 2, ""bill_amount"": 20 }, { ""technician_id"": ""A1"", ""request_id"": 3, ""bill_amount"": 18 }, { ""technician_id"": ""A1"", ""request_id"": 4, ""bill_amount"": 11 }, { ""technician_id"": ""A1"", ""request_id"": 5, ""bill_amount"": 12 }, { ""technician_id"": ""A1"", ""request_id"": 6, ""bill_amount"": 21 }, { ""technician_id"": ""A1"", ""request_id"": 7, ""bill_amount"": 15 }, { ""technician_id"": ""A1"", ""request_id"": 8, ""bill_amount"": 18 }, { ""technician_id"": ""A1"", ""request_id"": 9, ""bill_amount"": 21 }, { ""technician_id"": ""A1"", ""request_id"": 10, ""bill_amount"": 15 }, { ""technician_id"": ""A1"", ""request_id"": 11, ""bill_amount"": 9 }, { ""technician_id"": ""A1"", ""request_id"": 12, ""bill_amount"": 21 }, { ""technician_id"": ""A1"", ""request_id"": 13, ""bill_amount"": 10 }, { ""technician_id"": ""A1"", ""request_id"": 14, ""bill_amount"": 9 }, { ""technician_id"": ""A1"", ""request_id"": 15, ""bill_amount"": 18 }, { ""technician_id"": ""A1"", ""request_id"": 16, ""bill_amount"": 25 }, { ""technician_id"": ""A1"", ""request_id"": 17, ""bill_amount"": 7 }, { ""technician_id"": ""A2"", ""request_id"": 1, ""bill_amount"": 20 }, { ""technician_id"": ""A2"", ""request_id"": 2, ""bill_amount"": 19 }, { ""technician_id"": ""A2"", ""request_id"": 3, ""bill_amount"": 18 }, { ""technician_id"": ""A2"", ""request_id"": 4, ""bill_amount"": 6 }, { ""technician_id"": ""A2"", ""request_id"": 5, ""bill_amount"": 19 }, { ""technician_id"": ""A2"", ""request_id"": 6, ""bill_amount"": 5 }, { ""technician_id"": ""A2"", ""request_id"": 7, ""bill_amount"": 9 }, { ""technician_id"": ""A2"", ""request_id"": 8, ""bill_amount"": 14 }, { ""technician_id"": ""A2"", ""request_id"": 9, ""bill_amount"": 6 }, { ""technician_id"": ""A2"", ""request_id"": 10, ""bill_amount"": 19 }, { ""technician_id"": ""A2"", ""request_id"": 11, ""bill_amount"": 7 }, { ""technician_id"": ""A2"", ""request_id"": 12, ""bill_amount"": 14 }, { ""technician_id"": ""A2"", ""request_id"": 13, ""bill_amount"": 14 }, { ""technician_id"": ""A2"", ""request_id"": 14, ""bill_amount"": 16 }, { ""technician_id"": ""A2"", ""request_id"": 15, ""bill_amount"": 21 }, { ""technician_id"": ""A2"", ""request_id"": 16, ""bill_amount"": 7 }, { ""technician_id"": ""A2"", ""request_id"": 17, ""bill_amount"": 18 }, { ""technician_id"": ""A3"", ""request_id"": 1, ""bill_amount"": 10 }, { ""technician_id"": ""A3"", ""request_id"": 2, ""bill_amount"": 9 }, { ""technician_id"": ""A3"", ""request_id"": 3, ""bill_amount"": 21 }, { ""technician_id"": ""A3"", ""request_id"": 4, ""bill_amount"": 7 }, { ""technician_id"": ""A3"", ""request_id"": 5, ""bill_amount"": 23 }, { ""technician_id"": ""A3"", ""request_id"": 6, ""bill_amount"": 18 }, { ""technician_id"": ""A3"", ""request_id"": 7, ""bill_amount"": 16 }, { ""technician_id"": ""A3"", ""request_id"": 8, ""bill_amount"": 25 }, { ""technician_id"": ""A3"", ""request_id"": 9, ""bill_amount"": 6 }, { ""technician_id"": ""A3"", ""request_id"": 10, ""bill_amount"": 22 }, { ""technician_id"": ""A3"", ""request_id"": 11, ""bill_amount"": 13 }, { ""technician_id"": ""A3"", ""request_id"": 12, ""bill_amount"": 21 }, { ""technician_id"": ""A3"", ""request_id"": 13, ""bill_amount"": 24 }, { ""technician_id"": ""A3"", ""request_id"": 14, ""bill_amount"": 22 }, { ""technician_id"": ""A3"", ""request_id"": 15, ""bill_amount"": 14 }, { ""technician_id"": ""A3"", ""request_id"": 16, ""bill_amount"": 14 }, { ""technician_id"": ""A3"", ""request_id"": 17, ""bill_amount"": 16 }, { ""technician_id"": ""A4"", ""request_id"": 1, ""bill_amount"": 25 }, { ""technician_id"": ""A4"", ""request_id"": 2, ""bill_amount"": 13 }, { ""technician_id"": ""A4"", ""request_id"": 3, ""bill_amount"": 8 }, { ""technician_id"": ""A4"", ""request_id"": 4, ""bill_amount"": 24 }, { ""technician_id"": ""A4"", ""request_id"": 5, ""bill_amount"": 13 }, { ""technician_id"": ""A4"", ""request_id"": 6, ""bill_amount"": 15 }, { ""technician_id"": ""A4"", ""request_id"": 7, ""bill_amount"": 6 }, { ""technician_id"": ""A4"", ""request_id"": 8, ""bill_amount"": 6 }, { ""technician_id"": ""A4"", ""request_id"": 9, ""bill_amount"": 20 }, { ""technician_id"": ""A4"", ""request_id"": 10, ""bill_amount"": 6 }, { ""technician_id"": ""A4"", ""request_id"": 11, ""bill_amount"": 13 }, { ""technician_id"": ""A4"", ""request_id"": 12, ""bill_amount"": 18 }, { ""technician_id"": ""A4"", ""request_id"": 13, ""bill_amount"": 9 }, { ""technician_id"": ""A4"", ""request_id"": 14, ""bill_amount"": 16 }, { ""technician_id"": ""A4"", ""request_id"": 15, ""bill_amount"": 24 }, { ""technician_id"": ""A4"", ""request_id"": 16, ""bill_amount"": 15 }, { ""technician_id"": ""A4"", ""request_id"": 17, ""bill_amount"": 19 }, { ""technician_id"": ""A5"", ""request_id"": 1, ""bill_amount"": 22 }, { ""technician_id"": ""A5"", ""request_id"": 2, ""bill_amount"": 6 }, { ""technician_id"": ""A5"", ""request_id"": 3, ""bill_amount"": 14 }, { ""technician_id"": ""A5"", ""request_id"": 4, ""bill_amount"": 14 }, { ""technician_id"": ""A5"", ""request_id"": 5, ""bill_amount"": 16 }, { ""technician_id"": ""A5"", ""request_id"": 6, ""bill_amount"": 6 }, { ""technician_id"": ""A5"", ""request_id"": 7, ""bill_amount"": 17 }, { ""technician_id"": ""A5"", ""request_id"": 8, ""bill_amount"": 24 }, { ""technician_id"": ""A5"", ""request_id"": 9, ""bill_amount"": 17 }, { ""technician_id"": ""A5"", ""request_id"": 10, ""bill_amount"": 11 }, { ""technician_id"": ""A5"", ""request_id"": 11, ""bill_amount"": 15 }, { ""technician_id"": ""A5"", ""request_id"": 12, ""bill_amount"": 20 }, { ""technician_id"": ""A5"", ""request_id"": 13, ""bill_amount"": 23 }, { ""technician_id"": ""A5"", ""request_id"": 14, ""bill_amount"": 5 }, { ""technician_id"": ""A5"", ""request_id"": 15, ""bill_amount"": 22 }, { ""technician_id"": ""A5"", ""request_id"": 16, ""bill_amount"": 18 }, { ""technician_id"": ""A5"", ""request_id"": 17, ""bill_amount"": 10 }, { ""technician_id"": ""A6"", ""request_id"": 1, ""bill_amount"": 10 }, { ""technician_id"": ""A6"", ""request_id"": 2, ""bill_amount"": 12 }, { ""technician_id"": ""A6"", ""request_id"": 3, ""bill_amount"": 19 }, { ""technician_id"": ""A6"", ""request_id"": 4, ""bill_amount"": 12 }, { ""technician_id"": ""A6"", ""request_id"": 5, ""bill_amount"": 21 }, { ""technician_id"": ""A6"", ""request_id"": 6, ""bill_amount"": 5 }, { ""technician_id"": ""A6"", ""request_id"": 7, ""bill_amount"": 12 }, { ""technician_id"": ""A6"", ""request_id"": 8, ""bill_amount"": 23 }, { ""technician_id"": ""A6"", ""request_id"": 9, ""bill_amount"": 20 }, { ""technician_id"": ""A6"", ""request_id"": 10, ""bill_amount"": 16 }, { ""technician_id"": ""A6"", ""request_id"": 11, ""bill_amount"": 7 }, { ""technician_id"": ""A6"", ""request_id"": 12, ""bill_amount"": 14 }, { ""technician_id"": ""A6"", ""request_id"": 13, ""bill_amount"": 10 }, { ""technician_id"": ""A6"", ""request_id"": 14, ""bill_amount"": 13 }, { ""technician_id"": ""A6"", ""request_id"": 15, ""bill_amount"": 12 }, { ""technician_id"": ""A6"", ""request_id"": 16, ""bill_amount"": 16 }, { ""technician_id"": ""A6"", ""request_id"": 17, ""bill_amount"": 14 } ] } You can just give the final assignment as a little JSON snippet so it's easy to read and machine-friendly. Something simple like this works well: { ""solution"": [ , , ..., ] } Here ""solution"" is an ordered list that says which technician handles each repair in the same order the repairs were listed. Each placeholder like stands in for the actual technician identifier for that repair (first, second, and so on). This is just a sketch of the shape I need — not the real answer. Please use the exact identifiers from the instance input — do not rename them or invent new labels. - For example: ""1"", ""23"", ""A"", ""B"", ""A1"", ""X7"" are valid identifier formats you might see and should be used exactly as given.","{'resource_consumption': [[41, 31, 26, 45, 26, 35, 31, 50, 25, 26, 19, 32, 12, 27, 40, 49, 28], [23, 26, 14, 17, 32, 49, 20, 35, 38, 33, 36, 12, 17, 27, 46, 37, 18], [36, 48, 32, 11, 49, 24, 27, 43, 39, 13, 38, 27, 32, 14, 22, 23, 33], [17, 21, 14, 15, 21, 19, 31, 33, 27, 26, 18, 11, 34, 24, 31, 43, 15], [26, 24, 26, 16, 13, 41, 32, 12, 50, 17, 12, 27, 28, 38, 16, 29, 50], [25, 11, 33, 50, 41, 42, 40, 17, 47, 13, 47, 25, 42, 22, 16, 24, 37]], 'assignment_costs': [[19, 20, 18, 11, 12, 21, 15, 18, 21, 15, 9, 21, 10, 9, 18, 25, 7], [20, 19, 18, 6, 19, 5, 9, 14, 6, 19, 7, 14, 14, 16, 21, 7, 18], [10, 9, 21, 7, 23, 18, 16, 25, 6, 22, 13, 21, 24, 22, 14, 14, 16], [25, 13, 8, 24, 13, 15, 6, 6, 20, 6, 13, 18, 9, 16, 24, 15, 19], [22, 6, 14, 14, 16, 6, 17, 24, 17, 11, 15, 20, 23, 5, 22, 18, 10], [10, 12, 19, 12, 21, 5, 12, 23, 20, 16, 7, 14, 10, 13, 12, 16, 14]], 'capacities': [199, 199, 199, 199, 199, 199], 'objective': 132.0}","[5, 4, 3, 1, 0, 1, 3, 3, 1, 3, 1, 1, 3, 4, 5, 1, 0]",132.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 199}, {'agent_id': 'A2', 'capacity': 199}, {'agent_id': 'A3', 'capacity': 199}, {'agent_id': 'A4', 'capacity': 199}, {'agent_id': 'A5', 'capacity': 199}, {'agent_id': 'A6', 'capacity': 199}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 37}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 19}, {'agent_id': 'A1', 'task_id': 2, 'cost': 20}, {'agent_id': 'A1', 'task_id': 3, 'cost': 18}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 12}, {'agent_id': 'A1', 'task_id': 6, 'cost': 21}, {'agent_id': 'A1', 'task_id': 7, 'cost': 15}, {'agent_id': 'A1', 'task_id': 8, 'cost': 18}, {'agent_id': 'A1', 'task_id': 9, 'cost': 21}, {'agent_id': 'A1', 'task_id': 10, 'cost': 15}, {'agent_id': 'A1', 'task_id': 11, 'cost': 9}, {'agent_id': 'A1', 'task_id': 12, 'cost': 21}, {'agent_id': 'A1', 'task_id': 13, 'cost': 10}, {'agent_id': 'A1', 'task_id': 14, 'cost': 9}, {'agent_id': 'A1', 'task_id': 15, 'cost': 18}, {'agent_id': 'A1', 'task_id': 16, 'cost': 25}, {'agent_id': 'A1', 'task_id': 17, 'cost': 7}, {'agent_id': 'A2', 'task_id': 1, 'cost': 20}, {'agent_id': 'A2', 'task_id': 2, 'cost': 19}, {'agent_id': 'A2', 'task_id': 3, 'cost': 18}, {'agent_id': 'A2', 'task_id': 4, 'cost': 6}, {'agent_id': 'A2', 'task_id': 5, 'cost': 19}, {'agent_id': 'A2', 'task_id': 6, 'cost': 5}, {'agent_id': 'A2', 'task_id': 7, 'cost': 9}, {'agent_id': 'A2', 'task_id': 8, 'cost': 14}, {'agent_id': 'A2', 'task_id': 9, 'cost': 6}, {'agent_id': 'A2', 'task_id': 10, 'cost': 19}, {'agent_id': 'A2', 'task_id': 11, 'cost': 7}, {'agent_id': 'A2', 'task_id': 12, 'cost': 14}, {'agent_id': 'A2', 'task_id': 13, 'cost': 14}, {'agent_id': 'A2', 'task_id': 14, 'cost': 16}, {'agent_id': 'A2', 'task_id': 15, 'cost': 21}, {'agent_id': 'A2', 'task_id': 16, 'cost': 7}, {'agent_id': 'A2', 'task_id': 17, 'cost': 18}, {'agent_id': 'A3', 'task_id': 1, 'cost': 10}, {'agent_id': 'A3', 'task_id': 2, 'cost': 9}, {'agent_id': 'A3', 'task_id': 3, 'cost': 21}, {'agent_id': 'A3', 'task_id': 4, 'cost': 7}, {'agent_id': 'A3', 'task_id': 5, 'cost': 23}, {'agent_id': 'A3', 'task_id': 6, 'cost': 18}, {'agent_id': 'A3', 'task_id': 7, 'cost': 16}, {'agent_id': 'A3', 'task_id': 8, 'cost': 25}, {'agent_id': 'A3', 'task_id': 9, 'cost': 6}, {'agent_id': 'A3', 'task_id': 10, 'cost': 22}, {'agent_id': 'A3', 'task_id': 11, 'cost': 13}, {'agent_id': 'A3', 'task_id': 12, 'cost': 21}, {'agent_id': 'A3', 'task_id': 13, 'cost': 24}, {'agent_id': 'A3', 'task_id': 14, 'cost': 22}, {'agent_id': 'A3', 'task_id': 15, 'cost': 14}, {'agent_id': 'A3', 'task_id': 16, 'cost': 14}, {'agent_id': 'A3', 'task_id': 17, 'cost': 16}, {'agent_id': 'A4', 'task_id': 1, 'cost': 25}, {'agent_id': 'A4', 'task_id': 2, 'cost': 13}, {'agent_id': 'A4', 'task_id': 3, 'cost': 8}, {'agent_id': 'A4', 'task_id': 4, 'cost': 24}, {'agent_id': 'A4', 'task_id': 5, 'cost': 13}, {'agent_id': 'A4', 'task_id': 6, 'cost': 15}, {'agent_id': 'A4', 'task_id': 7, 'cost': 6}, {'agent_id': 'A4', 'task_id': 8, 'cost': 6}, {'agent_id': 'A4', 'task_id': 9, 'cost': 20}, {'agent_id': 'A4', 'task_id': 10, 'cost': 6}, {'agent_id': 'A4', 'task_id': 11, 'cost': 13}, {'agent_id': 'A4', 'task_id': 12, 'cost': 18}, {'agent_id': 'A4', 'task_id': 13, 'cost': 9}, {'agent_id': 'A4', 'task_id': 14, 'cost': 16}, {'agent_id': 'A4', 'task_id': 15, 'cost': 24}, {'agent_id': 'A4', 'task_id': 16, 'cost': 15}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A5', 'task_id': 1, 'cost': 22}, {'agent_id': 'A5', 'task_id': 2, 'cost': 6}, {'agent_id': 'A5', 'task_id': 3, 'cost': 14}, {'agent_id': 'A5', 'task_id': 4, 'cost': 14}, {'agent_id': 'A5', 'task_id': 5, 'cost': 16}, {'agent_id': 'A5', 'task_id': 6, 'cost': 6}, {'agent_id': 'A5', 'task_id': 7, 'cost': 17}, {'agent_id': 'A5', 'task_id': 8, 'cost': 24}, {'agent_id': 'A5', 'task_id': 9, 'cost': 17}, {'agent_id': 'A5', 'task_id': 10, 'cost': 11}, {'agent_id': 'A5', 'task_id': 11, 'cost': 15}, {'agent_id': 'A5', 'task_id': 12, 'cost': 20}, {'agent_id': 'A5', 'task_id': 13, 'cost': 23}, {'agent_id': 'A5', 'task_id': 14, 'cost': 5}, {'agent_id': 'A5', 'task_id': 15, 'cost': 22}, {'agent_id': 'A5', 'task_id': 16, 'cost': 18}, {'agent_id': 'A5', 'task_id': 17, 'cost': 10}, {'agent_id': 'A6', 'task_id': 1, 'cost': 10}, {'agent_id': 'A6', 'task_id': 2, 'cost': 12}, {'agent_id': 'A6', 'task_id': 3, 'cost': 19}, {'agent_id': 'A6', 'task_id': 4, 'cost': 12}, {'agent_id': 'A6', 'task_id': 5, 'cost': 21}, {'agent_id': 'A6', 'task_id': 6, 'cost': 5}, {'agent_id': 'A6', 'task_id': 7, 'cost': 12}, {'agent_id': 'A6', 'task_id': 8, 'cost': 23}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 16}, {'agent_id': 'A6', 'task_id': 11, 'cost': 7}, {'agent_id': 'A6', 'task_id': 12, 'cost': 14}, {'agent_id': 'A6', 'task_id': 13, 'cost': 10}, {'agent_id': 'A6', 'task_id': 14, 'cost': 13}, {'agent_id': 'A6', 'task_id': 15, 'cost': 12}, {'agent_id': 'A6', 'task_id': 16, 'cost': 16}, {'agent_id': 'A6', 'task_id': 17, 'cost': 14}]}","['A6', 'A5', 'A4', 'A2', 'A1', 'A2', 'A4', 'A4', 'A2', 'A4', 'A2', 'A2', 'A4', 'A5', 'A6', 'A2', 'A1']",6,json,1 GAP,GAP,"Recently the kitchen had to be scheduled down to the minute: every dish must be given to one chef and only one. For every chef-dish option there’s a known cooking time and a price, so the total expense is computed by summing the prices for whichever chef prepares each dish. The job is to hand out the dishes so each is covered once, no chef’s sum of cooking times exceeds their available slot, and the overall summed cost ends up as low as possible. The exact items, times and costs follow below. There are 9 chefs and 23 dishes, with chef identifiers A1, A2, A3, A4, A5, A6, A7, A8, A9 and dish identifiers A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W. | chef_id | available_kitchen_time | |---|---| | A1 | 131 | | A2 | 131 | | A3 | 131 | | A4 | 131 | | A5 | 131 | | A6 | 131 | | A7 | 131 | | A8 | 131 | | A9 | 131 | | chef_id | dish_id | cooking_time | |---|---|---| | A1 | A | 31 | | A1 | B | 16 | | A1 | C | 28 | | A1 | D | 11 | | A1 | E | 36 | | A1 | F | 14 | | A1 | G | 28 | | A1 | H | 17 | | A1 | I | 45 | | A1 | J | 22 | | A1 | K | 19 | | A1 | L | 33 | | A1 | M | 37 | | A1 | N | 23 | | A1 | O | 14 | | A1 | P | 41 | | A1 | Q | 20 | | A1 | R | 11 | | A1 | S | 27 | | A1 | T | 26 | | A1 | U | 14 | | A1 | V | 29 | | A1 | W | 30 | | A2 | A | 14 | | A2 | B | 44 | | A2 | C | 49 | | A2 | D | 10 | | A2 | E | 21 | | A2 | F | 10 | | A2 | G | 45 | | A2 | H | 46 | | A2 | I | 40 | | A2 | J | 24 | | A2 | K | 13 | | A2 | L | 20 | | A2 | M | 20 | | A2 | N | 22 | | A2 | O | 48 | | A2 | P | 37 | | A2 | Q | 43 | | A2 | R | 13 | | A2 | S | 41 | | A2 | T | 20 | | A2 | U | 16 | | A2 | V | 21 | | A2 | W | 16 | | A3 | A | 31 | | A3 | B | 37 | | A3 | C | 26 | | A3 | D | 18 | | A3 | E | 39 | | A3 | F | 25 | | A3 | G | 27 | | A3 | H | 33 | | A3 | I | 25 | | A3 | J | 18 | | A3 | K | 45 | | A3 | L | 49 | | A3 | M | 34 | | A3 | N | 21 | | A3 | O | 50 | | A3 | P | 49 | | A3 | Q | 24 | | A3 | R | 37 | | A3 | S | 18 | | A3 | T | 25 | | A3 | U | 37 | | A3 | V | 38 | | A3 | W | 31 | | A4 | A | 35 | | A4 | B | 15 | | A4 | C | 50 | | A4 | D | 44 | | A4 | E | 40 | | A4 | F | 31 | | A4 | G | 41 | | A4 | H | 22 | | A4 | I | 24 | | A4 | J | 22 | | A4 | K | 19 | | A4 | L | 50 | | A4 | M | 44 | | A4 | N | 48 | | A4 | O | 44 | | A4 | P | 39 | | A4 | Q | 24 | | A4 | R | 33 | | A4 | S | 32 | | A4 | T | 14 | | A4 | U | 25 | | A4 | V | 38 | | A4 | W | 32 | | A5 | A | 20 | | A5 | B | 32 | | A5 | C | 27 | | A5 | D | 21 | | A5 | E | 13 | | A5 | F | 38 | | A5 | G | 40 | | A5 | H | 31 | | A5 | I | 33 | | A5 | J | 26 | | A5 | K | 15 | | A5 | L | 41 | | A5 | M | 30 | | A5 | N | 41 | | A5 | O | 43 | | A5 | P | 19 | | A5 | Q | 16 | | A5 | R | 41 | | A5 | S | 27 | | A5 | T | 31 | | A5 | U | 48 | | A5 | V | 35 | | A5 | W | 42 | | A6 | A | 27 | | A6 | B | 16 | | A6 | C | 29 | | A6 | D | 34 | | A6 | E | 36 | | A6 | F | 43 | | A6 | G | 49 | | A6 | H | 11 | | A6 | I | 23 | | A6 | J | 48 | | A6 | K | 11 | | A6 | L | 50 | | A6 | M | 14 | | A6 | N | 11 | | A6 | O | 45 | | A6 | P | 46 | | A6 | Q | 22 | | A6 | R | 43 | | A6 | S | 33 | | A6 | T | 16 | | A6 | U | 31 | | A6 | V | 43 | | A6 | W | 27 | | A7 | A | 14 | | A7 | B | 42 | | A7 | C | 39 | | A7 | D | 11 | | A7 | E | 29 | | A7 | F | 31 | | A7 | G | 36 | | A7 | H | 41 | | A7 | I | 31 | | A7 | J | 14 | | A7 | K | 31 | | A7 | L | 44 | | A7 | M | 13 | | A7 | N | 16 | | A7 | O | 29 | | A7 | P | 10 | | A7 | Q | 28 | | A7 | R | 44 | | A7 | S | 41 | | A7 | T | 47 | | A7 | U | 46 | | A7 | V | 38 | | A7 | W | 29 | | A8 | A | 37 | | A8 | B | 36 | | A8 | C | 32 | | A8 | D | 28 | | A8 | E | 45 | | A8 | F | 23 | | A8 | G | 13 | | A8 | H | 35 | | A8 | I | 15 | | A8 | J | 48 | | A8 | K | 19 | | A8 | L | 35 | | A8 | M | 50 | | A8 | N | 25 | | A8 | O | 38 | | A8 | P | 30 | | A8 | Q | 15 | | A8 | R | 21 | | A8 | S | 46 | | A8 | T | 17 | | A8 | U | 11 | | A8 | V | 31 | | A8 | W | 19 | | A9 | A | 20 | | A9 | B | 13 | | A9 | C | 17 | | A9 | D | 37 | | A9 | E | 22 | | A9 | F | 16 | | A9 | G | 24 | | A9 | H | 11 | | A9 | I | 17 | | A9 | J | 13 | | A9 | K | 14 | | A9 | L | 22 | | A9 | M | 24 | | A9 | N | 21 | | A9 | O | 24 | | A9 | P | 16 | | A9 | Q | 40 | | A9 | R | 43 | | A9 | S | 16 | | A9 | T | 38 | | A9 | U | 37 | | A9 | V | 37 | | A9 | W | 28 | | chef_id | dish_id | chef_cost | |---|---|---| | A1 | A | 9 | | A1 | B | 6 | | A1 | C | 16 | | A1 | D | 19 | | A1 | E | 10 | | A1 | F | 10 | | A1 | G | 7 | | A1 | H | 12 | | A1 | I | 16 | | A1 | J | 12 | | A1 | K | 24 | | A1 | L | 18 | | A1 | M | 21 | | A1 | N | 12 | | A1 | O | 12 | | A1 | P | 9 | | A1 | Q | 18 | | A1 | R | 20 | | A1 | S | 20 | | A1 | T | 24 | | A1 | U | 10 | | A1 | V | 10 | | A1 | W | 25 | | A2 | A | 14 | | A2 | B | 14 | | A2 | C | 24 | | A2 | D | 10 | | A2 | E | 24 | | A2 | F | 8 | | A2 | G | 14 | | A2 | H | 16 | | A2 | I | 19 | | A2 | J | 9 | | A2 | K | 20 | | A2 | L | 21 | | A2 | M | 13 | | A2 | N | 15 | | A2 | O | 9 | | A2 | P | 6 | | A2 | Q | 9 | | A2 | R | 11 | | A2 | S | 22 | | A2 | T | 13 | | A2 | U | 19 | | A2 | V | 15 | | A2 | W | 8 | | A3 | A | 15 | | A3 | B | 23 | | A3 | C | 6 | | A3 | D | 14 | | A3 | E | 19 | | A3 | F | 13 | | A3 | G | 13 | | A3 | H | 17 | | A3 | I | 21 | | A3 | J | 5 | | A3 | K | 23 | | A3 | L | 8 | | A3 | M | 6 | | A3 | N | 17 | | A3 | O | 9 | | A3 | P | 18 | | A3 | Q | 16 | | A3 | R | 18 | | A3 | S | 17 | | A3 | T | 13 | | A3 | U | 10 | | A3 | V | 21 | | A3 | W | 5 | | A4 | A | 8 | | A4 | B | 19 | | A4 | C | 16 | | A4 | D | 8 | | A4 | E | 7 | | A4 | F | 20 | | A4 | G | 25 | | A4 | H | 12 | | A4 | I | 13 | | A4 | J | 5 | | A4 | K | 10 | | A4 | L | 21 | | A4 | M | 11 | | A4 | N | 9 | | A4 | O | 6 | | A4 | P | 24 | | A4 | Q | 23 | | A4 | R | 14 | | A4 | S | 20 | | A4 | T | 25 | | A4 | U | 17 | | A4 | V | 8 | | A4 | W | 17 | | A5 | A | 22 | | A5 | B | 23 | | A5 | C | 20 | | A5 | D | 6 | | A5 | E | 5 | | A5 | F | 15 | | A5 | G | 20 | | A5 | H | 25 | | A5 | I | 21 | | A5 | J | 9 | | A5 | K | 11 | | A5 | L | 9 | | A5 | M | 16 | | A5 | N | 17 | | A5 | O | 17 | | A5 | P | 24 | | A5 | Q | 6 | | A5 | R | 17 | | A5 | S | 25 | | A5 | T | 18 | | A5 | U | 24 | | A5 | V | 17 | | A5 | W | 25 | | A6 | A | 15 | | A6 | B | 17 | | A6 | C | 9 | | A6 | D | 12 | | A6 | E | 15 | | A6 | F | 15 | | A6 | G | 25 | | A6 | H | 14 | | A6 | I | 16 | | A6 | J | 5 | | A6 | K | 12 | | A6 | L | 21 | | A6 | M | 8 | | A6 | N | 12 | | A6 | O | 17 | | A6 | P | 21 | | A6 | Q | 17 | | A6 | R | 11 | | A6 | S | 25 | | A6 | T | 18 | | A6 | U | 9 | | A6 | V | 17 | | A6 | W | 12 | | A7 | A | 6 | | A7 | B | 5 | | A7 | C | 11 | | A7 | D | 6 | | A7 | E | 18 | | A7 | F | 6 | | A7 | G | 15 | | A7 | H | 19 | | A7 | I | 10 | | A7 | J | 24 | | A7 | K | 21 | | A7 | L | 10 | | A7 | M | 8 | | A7 | N | 6 | | A7 | O | 5 | | A7 | P | 18 | | A7 | Q | 15 | | A7 | R | 16 | | A7 | S | 17 | | A7 | T | 20 | | A7 | U | 6 | | A7 | V | 20 | | A7 | W | 7 | | A8 | A | 25 | | A8 | B | 23 | | A8 | C | 9 | | A8 | D | 24 | | A8 | E | 15 | | A8 | F | 16 | | A8 | G | 18 | | A8 | H | 9 | | A8 | I | 23 | | A8 | J | 22 | | A8 | K | 24 | | A8 | L | 9 | | A8 | M | 9 | | A8 | N | 9 | | A8 | O | 23 | | A8 | P | 13 | | A8 | Q | 25 | | A8 | R | 7 | | A8 | S | 25 | | A8 | T | 12 | | A8 | U | 25 | | A8 | V | 5 | | A8 | W | 9 | | A9 | A | 11 | | A9 | B | 13 | | A9 | C | 19 | | A9 | D | 18 | | A9 | E | 19 | | A9 | F | 25 | | A9 | G | 21 | | A9 | H | 22 | | A9 | I | 11 | | A9 | J | 17 | | A9 | K | 9 | | A9 | L | 12 | | A9 | M | 8 | | A9 | N | 18 | | A9 | O | 15 | | A9 | P | 22 | | A9 | Q | 13 | | A9 | R | 11 | | A9 | S | 18 | | A9 | T | 17 | | A9 | U | 19 | | A9 | V | 23 | | A9 | W | 18 | Assign every one of the A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W to the A1, A2, A3, A4, A5, A6, A7, A8, A9 so no chef exceeds their available time and the total cost is minimized. Also, when you deliver the assignment, a neat little JSON snippet like the one below is what I expect — just to keep things tidy. It maps each dish (in the order given in the instance) to the chef who will cook it. { ""solution"": [ , , ..., ] } This JSON is just a simple sketch of the shape I need: ""solution"" holds a list, where each entry is the identifier of the chef assigned to that dish (first list entry → first dish, second → second dish, and so on). Think of it like filling out a form: one chef name per dish, in order. A quick note — this is only the expected format, not the actual assignment. Please make sure to use the exact identifiers from the instance input, with no renaming and no invented labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[31, 16, 28, 11, 36, 14, 28, 17, 45, 22, 19, 33, 37, 23, 14, 41, 20, 11, 27, 26, 14, 29, 30], [14, 44, 49, 10, 21, 10, 45, 46, 40, 24, 13, 20, 20, 22, 48, 37, 43, 13, 41, 20, 16, 21, 16], [31, 37, 26, 18, 39, 25, 27, 33, 25, 18, 45, 49, 34, 21, 50, 49, 24, 37, 18, 25, 37, 38, 31], [35, 15, 50, 44, 40, 31, 41, 22, 24, 22, 19, 50, 44, 48, 44, 39, 24, 33, 32, 14, 25, 38, 32], [20, 32, 27, 21, 13, 38, 40, 31, 33, 26, 15, 41, 30, 41, 43, 19, 16, 41, 27, 31, 48, 35, 42], [27, 16, 29, 34, 36, 43, 49, 11, 23, 48, 11, 50, 14, 11, 45, 46, 22, 43, 33, 16, 31, 43, 27], [14, 42, 39, 11, 29, 31, 36, 41, 31, 14, 31, 44, 13, 16, 29, 10, 28, 44, 41, 47, 46, 38, 29], [37, 36, 32, 28, 45, 23, 13, 35, 15, 48, 19, 35, 50, 25, 38, 30, 15, 21, 46, 17, 11, 31, 19], [20, 13, 17, 37, 22, 16, 24, 11, 17, 13, 14, 22, 24, 21, 24, 16, 40, 43, 16, 38, 37, 37, 28]], 'assignment_costs': [[9, 6, 16, 19, 10, 10, 7, 12, 16, 12, 24, 18, 21, 12, 12, 9, 18, 20, 20, 24, 10, 10, 25], [14, 14, 24, 10, 24, 8, 14, 16, 19, 9, 20, 21, 13, 15, 9, 6, 9, 11, 22, 13, 19, 15, 8], [15, 23, 6, 14, 19, 13, 13, 17, 21, 5, 23, 8, 6, 17, 9, 18, 16, 18, 17, 13, 10, 21, 5], [8, 19, 16, 8, 7, 20, 25, 12, 13, 5, 10, 21, 11, 9, 6, 24, 23, 14, 20, 25, 17, 8, 17], [22, 23, 20, 6, 5, 15, 20, 25, 21, 9, 11, 9, 16, 17, 17, 24, 6, 17, 25, 18, 24, 17, 25], [15, 17, 9, 12, 15, 15, 25, 14, 16, 5, 12, 21, 8, 12, 17, 21, 17, 11, 25, 18, 9, 17, 12], [6, 5, 11, 6, 18, 6, 15, 19, 10, 24, 21, 10, 8, 6, 5, 18, 15, 16, 17, 20, 6, 20, 7], [25, 23, 9, 24, 15, 16, 18, 9, 23, 22, 24, 9, 9, 9, 23, 13, 25, 7, 25, 12, 25, 5, 9], [11, 13, 19, 18, 19, 25, 21, 22, 11, 17, 9, 12, 8, 18, 15, 22, 13, 11, 18, 17, 19, 23, 18]], 'capacities': [131, 131, 131, 131, 131, 131, 131, 131, 131], 'objective': 167.0}","[6, 0, 2, 4, 4, 6, 0, 7, 8, 5, 8, 4, 2, 6, 3, 1, 4, 7, 2, 7, 6, 7, 2]",167.0,"{'problem_type': 'GAP', 'num_agents': 9, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}, {'agent_id': 'A6', 'capacity': 131}, {'agent_id': 'A7', 'capacity': 131}, {'agent_id': 'A8', 'capacity': 131}, {'agent_id': 'A9', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 16}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 11}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 17}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 19}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 41}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 20}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 11}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 26}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'V', 'consumption': 29}, {'agent_id': 'A1', 'task_id': 'W', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 14}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 49}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 45}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 46}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 13}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 22}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 37}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 13}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 16}, {'agent_id': 'A2', 'task_id': 'V', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'W', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 26}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 27}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 33}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 21}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 50}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'V', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'W', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 35}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 50}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 40}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 41}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 24}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 19}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 50}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 24}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 33}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'V', 'consumption': 38}, {'agent_id': 'A4', 'task_id': 'W', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 40}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 30}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 19}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'V', 'consumption': 35}, {'agent_id': 'A5', 'task_id': 'W', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 16}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 36}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 49}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 48}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 14}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 45}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 33}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 16}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'V', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'W', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 42}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 11}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 16}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 10}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 28}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 47}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 46}, {'agent_id': 'A7', 'task_id': 'V', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'W', 'consumption': 29}, {'agent_id': 'A8', 'task_id': 'A', 'consumption': 37}, {'agent_id': 'A8', 'task_id': 'B', 'consumption': 36}, {'agent_id': 'A8', 'task_id': 'C', 'consumption': 32}, {'agent_id': 'A8', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A8', 'task_id': 'E', 'consumption': 45}, {'agent_id': 'A8', 'task_id': 'F', 'consumption': 23}, {'agent_id': 'A8', 'task_id': 'G', 'consumption': 13}, {'agent_id': 'A8', 'task_id': 'H', 'consumption': 35}, {'agent_id': 'A8', 'task_id': 'I', 'consumption': 15}, {'agent_id': 'A8', 'task_id': 'J', 'consumption': 48}, {'agent_id': 'A8', 'task_id': 'K', 'consumption': 19}, {'agent_id': 'A8', 'task_id': 'L', 'consumption': 35}, {'agent_id': 'A8', 'task_id': 'M', 'consumption': 50}, {'agent_id': 'A8', 'task_id': 'N', 'consumption': 25}, {'agent_id': 'A8', 'task_id': 'O', 'consumption': 38}, {'agent_id': 'A8', 'task_id': 'P', 'consumption': 30}, {'agent_id': 'A8', 'task_id': 'Q', 'consumption': 15}, {'agent_id': 'A8', 'task_id': 'R', 'consumption': 21}, {'agent_id': 'A8', 'task_id': 'S', 'consumption': 46}, {'agent_id': 'A8', 'task_id': 'T', 'consumption': 17}, {'agent_id': 'A8', 'task_id': 'U', 'consumption': 11}, {'agent_id': 'A8', 'task_id': 'V', 'consumption': 31}, {'agent_id': 'A8', 'task_id': 'W', 'consumption': 19}, {'agent_id': 'A9', 'task_id': 'A', 'consumption': 20}, {'agent_id': 'A9', 'task_id': 'B', 'consumption': 13}, {'agent_id': 'A9', 'task_id': 'C', 'consumption': 17}, {'agent_id': 'A9', 'task_id': 'D', 'consumption': 37}, {'agent_id': 'A9', 'task_id': 'E', 'consumption': 22}, {'agent_id': 'A9', 'task_id': 'F', 'consumption': 16}, {'agent_id': 'A9', 'task_id': 'G', 'consumption': 24}, {'agent_id': 'A9', 'task_id': 'H', 'consumption': 11}, {'agent_id': 'A9', 'task_id': 'I', 'consumption': 17}, {'agent_id': 'A9', 'task_id': 'J', 'consumption': 13}, {'agent_id': 'A9', 'task_id': 'K', 'consumption': 14}, {'agent_id': 'A9', 'task_id': 'L', 'consumption': 22}, {'agent_id': 'A9', 'task_id': 'M', 'consumption': 24}, {'agent_id': 'A9', 'task_id': 'N', 'consumption': 21}, {'agent_id': 'A9', 'task_id': 'O', 'consumption': 24}, {'agent_id': 'A9', 'task_id': 'P', 'consumption': 16}, {'agent_id': 'A9', 'task_id': 'Q', 'consumption': 40}, {'agent_id': 'A9', 'task_id': 'R', 'consumption': 43}, {'agent_id': 'A9', 'task_id': 'S', 'consumption': 16}, {'agent_id': 'A9', 'task_id': 'T', 'consumption': 38}, {'agent_id': 'A9', 'task_id': 'U', 'consumption': 37}, {'agent_id': 'A9', 'task_id': 'V', 'consumption': 37}, {'agent_id': 'A9', 'task_id': 'W', 'consumption': 28}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'V', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'W', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'V', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'W', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'V', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'W', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'V', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'W', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 25}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 25}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'V', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'W', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'V', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'W', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'V', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'W', 'cost': 7}, {'agent_id': 'A8', 'task_id': 'A', 'cost': 25}, {'agent_id': 'A8', 'task_id': 'B', 'cost': 23}, {'agent_id': 'A8', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'D', 'cost': 24}, {'agent_id': 'A8', 'task_id': 'E', 'cost': 15}, {'agent_id': 'A8', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A8', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A8', 'task_id': 'H', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'I', 'cost': 23}, {'agent_id': 'A8', 'task_id': 'J', 'cost': 22}, {'agent_id': 'A8', 'task_id': 'K', 'cost': 24}, {'agent_id': 'A8', 'task_id': 'L', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'N', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'O', 'cost': 23}, {'agent_id': 'A8', 'task_id': 'P', 'cost': 13}, {'agent_id': 'A8', 'task_id': 'Q', 'cost': 25}, {'agent_id': 'A8', 'task_id': 'R', 'cost': 7}, {'agent_id': 'A8', 'task_id': 'S', 'cost': 25}, {'agent_id': 'A8', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A8', 'task_id': 'U', 'cost': 25}, {'agent_id': 'A8', 'task_id': 'V', 'cost': 5}, {'agent_id': 'A8', 'task_id': 'W', 'cost': 9}, {'agent_id': 'A9', 'task_id': 'A', 'cost': 11}, {'agent_id': 'A9', 'task_id': 'B', 'cost': 13}, {'agent_id': 'A9', 'task_id': 'C', 'cost': 19}, {'agent_id': 'A9', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A9', 'task_id': 'E', 'cost': 19}, {'agent_id': 'A9', 'task_id': 'F', 'cost': 25}, {'agent_id': 'A9', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A9', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A9', 'task_id': 'I', 'cost': 11}, {'agent_id': 'A9', 'task_id': 'J', 'cost': 17}, {'agent_id': 'A9', 'task_id': 'K', 'cost': 9}, {'agent_id': 'A9', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A9', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A9', 'task_id': 'N', 'cost': 18}, {'agent_id': 'A9', 'task_id': 'O', 'cost': 15}, {'agent_id': 'A9', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A9', 'task_id': 'Q', 'cost': 13}, {'agent_id': 'A9', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A9', 'task_id': 'S', 'cost': 18}, {'agent_id': 'A9', 'task_id': 'T', 'cost': 17}, {'agent_id': 'A9', 'task_id': 'U', 'cost': 19}, {'agent_id': 'A9', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A9', 'task_id': 'W', 'cost': 18}]}","['A7', 'A1', 'A3', 'A5', 'A5', 'A7', 'A1', 'A8', 'A9', 'A6', 'A9', 'A5', 'A3', 'A7', 'A4', 'A2', 'A5', 'A8', 'A3', 'A8', 'A7', 'A8', 'A3']",7,markdown_table,names GAP,GAP,"I run the little ad-buying corner at the company, and right now the job is to place a pile of ads into channel slots. Each ad has to go on one channel only — it can’t be split up or left out — and every channel only has so many seconds of airtime to give. For every ad you try on a channel there’s two things to note: how many seconds it eats up of that channel’s budget, and how much that channel will charge for running it. The total bill is just the sum of the charges for whatever channel each ad ends up on, so the aim is to pick channels so that sum is as low as possible without any channel’s seconds running out. The exact ad lengths, channel limits, and prices are shown below. Below I list the 7 channels (A1, A2, A3, A4, A5, A6, A7) and the 23 ads (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23). Channel A1 gives me 115 seconds of airtime. Channel A2 gives me 111 seconds of airtime. Channel A3 gives me 121 seconds of airtime. Channel A4 gives me 121 seconds of airtime. Channel A5 gives me 112 seconds of airtime. Channel A6 gives me 126 seconds of airtime. Channel A7 gives me 118 seconds of airtime. Putting ad 1 on channel A1 would use 19 seconds and cost 12. Putting ad 2 on channel A1 would use 36 seconds and cost 7. Putting ad 3 on channel A1 would use 50 seconds and cost 24. Putting ad 4 on channel A1 would use 39 seconds and cost 6. Putting ad 5 on channel A1 would use 12 seconds and cost 14. Putting ad 6 on channel A1 would use 28 seconds and cost 6. Putting ad 7 on channel A1 would use 47 seconds and cost 21. Putting ad 8 on channel A1 would use 15 seconds and cost 20. Putting ad 9 on channel A1 would use 36 seconds and cost 8. Putting ad 10 on channel A1 would use 24 seconds and cost 24. Putting ad 11 on channel A1 would use 43 seconds and cost 5. Putting ad 12 on channel A1 would use 14 seconds and cost 25. Putting ad 13 on channel A1 would use 45 seconds and cost 18. Putting ad 14 on channel A1 would use 28 seconds and cost 12. Putting ad 15 on channel A1 would use 27 seconds and cost 7. Putting ad 16 on channel A1 would use 22 seconds and cost 20. Putting ad 17 on channel A1 would use 48 seconds and cost 8. Putting ad 18 on channel A1 would use 45 seconds and cost 7. Putting ad 19 on channel A1 would use 49 seconds and cost 5. Putting ad 20 on channel A1 would use 49 seconds and cost 12. Putting ad 21 on channel A1 would use 19 seconds and cost 7. Putting ad 22 on channel A1 would use 21 seconds and cost 19. Putting ad 23 on channel A1 would use 34 seconds and cost 17. Putting ad 1 on channel A2 would use 18 seconds and cost 15. Putting ad 2 on channel A2 would use 48 seconds and cost 22. Putting ad 3 on channel A2 would use 14 seconds and cost 13. Putting ad 4 on channel A2 would use 24 seconds and cost 7. Putting ad 5 on channel A2 would use 29 seconds and cost 23. Putting ad 6 on channel A2 would use 15 seconds and cost 12. Putting ad 7 on channel A2 would use 21 seconds and cost 14. Putting ad 8 on channel A2 would use 38 seconds and cost 17. Putting ad 9 on channel A2 would use 40 seconds and cost 11. Putting ad 10 on channel A2 would use 48 seconds and cost 14. Putting ad 11 on channel A2 would use 34 seconds and cost 16. Putting ad 12 on channel A2 would use 35 seconds and cost 17. Putting ad 13 on channel A2 would use 32 seconds and cost 11. Putting ad 14 on channel A2 would use 20 seconds and cost 10. Putting ad 15 on channel A2 would use 29 seconds and cost 7. Putting ad 16 on channel A2 would use 29 seconds and cost 11. Putting ad 17 on channel A2 would use 21 seconds and cost 20. Putting ad 18 on channel A2 would use 28 seconds and cost 10. Putting ad 19 on channel A2 would use 16 seconds and cost 22. Putting ad 20 on channel A2 would use 14 seconds and cost 24. Putting ad 21 on channel A2 would use 13 seconds and cost 12. Putting ad 22 on channel A2 would use 41 seconds and cost 23. Putting ad 23 on channel A2 would use 46 seconds and cost 11. Putting ad 1 on channel A3 would use 26 seconds and cost 16. Putting ad 2 on channel A3 would use 38 seconds and cost 25. Putting ad 3 on channel A3 would use 38 seconds and cost 14. Putting ad 4 on channel A3 would use 35 seconds and cost 5. Putting ad 5 on channel A3 would use 23 seconds and cost 20. Putting ad 6 on channel A3 would use 44 seconds and cost 9. Putting ad 7 on channel A3 would use 11 seconds and cost 17. Putting ad 8 on channel A3 would use 38 seconds and cost 13. Putting ad 9 on channel A3 would use 26 seconds and cost 22. Putting ad 10 on channel A3 would use 28 seconds and cost 25. Putting ad 11 on channel A3 would use 18 seconds and cost 5. Putting ad 12 on channel A3 would use 37 seconds and cost 15. Putting ad 13 on channel A3 would use 13 seconds and cost 22. Putting ad 14 on channel A3 would use 33 seconds and cost 19. Putting ad 15 on channel A3 would use 28 seconds and cost 11. Putting ad 16 on channel A3 would use 30 seconds and cost 10. Putting ad 17 on channel A3 would use 11 seconds and cost 15. Putting ad 18 on channel A3 would use 33 seconds and cost 5. Putting ad 19 on channel A3 would use 17 seconds and cost 22. Putting ad 20 on channel A3 would use 50 seconds and cost 17. Putting ad 21 on channel A3 would use 13 seconds and cost 19. Putting ad 22 on channel A3 would use 29 seconds and cost 24. Putting ad 23 on channel A3 would use 36 seconds and cost 17. Putting ad 1 on channel A4 would use 33 seconds and cost 9. Putting ad 2 on channel A4 would use 22 seconds and cost 20. Putting ad 3 on channel A4 would use 26 seconds and cost 20. Putting ad 4 on channel A4 would use 50 seconds and cost 19. Putting ad 5 on channel A4 would use 45 seconds and cost 16. Putting ad 6 on channel A4 would use 14 seconds and cost 17. Putting ad 7 on channel A4 would use 40 seconds and cost 15. Putting ad 8 on channel A4 would use 11 seconds and cost 17. Putting ad 9 on channel A4 would use 33 seconds and cost 16. Putting ad 10 on channel A4 would use 15 seconds and cost 16. Putting ad 11 on channel A4 would use 21 seconds and cost 14. Putting ad 12 on channel A4 would use 44 seconds and cost 21. Putting ad 13 on channel A4 would use 18 seconds and cost 23. Putting ad 14 on channel A4 would use 20 seconds and cost 9. Putting ad 15 on channel A4 would use 16 seconds and cost 13. Putting ad 16 on channel A4 would use 47 seconds and cost 10. Putting ad 17 on channel A4 would use 44 seconds and cost 13. Putting ad 18 on channel A4 would use 23 seconds and cost 25. Putting ad 19 on channel A4 would use 30 seconds and cost 16. Putting ad 20 on channel A4 would use 10 seconds and cost 16. Putting ad 21 on channel A4 would use 22 seconds and cost 17. Putting ad 22 on channel A4 would use 50 seconds and cost 21. Putting ad 23 on channel A4 would use 19 seconds and cost 10. Putting ad 1 on channel A5 would use 21 seconds and cost 8. Putting ad 2 on channel A5 would use 45 seconds and cost 5. Putting ad 3 on channel A5 would use 45 seconds and cost 21. Putting ad 4 on channel A5 would use 31 seconds and cost 19. Putting ad 5 on channel A5 would use 18 seconds and cost 25. Putting ad 6 on channel A5 would use 16 seconds and cost 20. Putting ad 7 on channel A5 would use 43 seconds and cost 19. Putting ad 8 on channel A5 would use 12 seconds and cost 8. Putting ad 9 on channel A5 would use 44 seconds and cost 6. Putting ad 10 on channel A5 would use 25 seconds and cost 20. Putting ad 11 on channel A5 would use 40 seconds and cost 7. Putting ad 12 on channel A5 would use 31 seconds and cost 12. Putting ad 13 on channel A5 would use 46 seconds and cost 10. Putting ad 14 on channel A5 would use 45 seconds and cost 12. Putting ad 15 on channel A5 would use 28 seconds and cost 7. Putting ad 16 on channel A5 would use 16 seconds and cost 24. Putting ad 17 on channel A5 would use 13 seconds and cost 13. Putting ad 18 on channel A5 would use 23 seconds and cost 21. Putting ad 19 on channel A5 would use 31 seconds and cost 17. Putting ad 20 on channel A5 would use 46 seconds and cost 5. Putting ad 21 on channel A5 would use 27 seconds and cost 19. Putting ad 22 on channel A5 would use 17 seconds and cost 23. Putting ad 23 on channel A5 would use 38 seconds and cost 9. Putting ad 1 on channel A6 would use 15 seconds and cost 12. Putting ad 2 on channel A6 would use 41 seconds and cost 22. Putting ad 3 on channel A6 would use 29 seconds and cost 17. Putting ad 4 on channel A6 would use 24 seconds and cost 5. Putting ad 5 on channel A6 would use 31 seconds and cost 25. Putting ad 6 on channel A6 would use 33 seconds and cost 20. Putting ad 7 on channel A6 would use 16 seconds and cost 19. Putting ad 8 on channel A6 would use 14 seconds and cost 23. Putting ad 9 on channel A6 would use 31 seconds and cost 21. Putting ad 10 on channel A6 would use 11 seconds and cost 12. Putting ad 11 on channel A6 would use 21 seconds and cost 7. Putting ad 12 on channel A6 would use 12 seconds and cost 21. Putting ad 13 on channel A6 would use 34 seconds and cost 7. Putting ad 14 on channel A6 would use 15 seconds and cost 21. Putting ad 15 on channel A6 would use 22 seconds and cost 15. Putting ad 16 on channel A6 would use 33 seconds and cost 21. Putting ad 17 on channel A6 would use 22 seconds and cost 7. Putting ad 18 on channel A6 would use 22 seconds and cost 22. Putting ad 19 on channel A6 would use 28 seconds and cost 21. Putting ad 20 on channel A6 would use 13 seconds and cost 20. Putting ad 21 on channel A6 would use 10 seconds and cost 18. Putting ad 22 on channel A6 would use 48 seconds and cost 17. Putting ad 23 on channel A6 would use 34 seconds and cost 14. Putting ad 1 on channel A7 would use 41 seconds and cost 8. Putting ad 2 on channel A7 would use 16 seconds and cost 8. Putting ad 3 on channel A7 would use 49 seconds and cost 7. Putting ad 4 on channel A7 would use 47 seconds and cost 9. Putting ad 5 on channel A7 would use 14 seconds and cost 23. Putting ad 6 on channel A7 would use 38 seconds and cost 5. Putting ad 7 on channel A7 would use 42 seconds and cost 20. Putting ad 8 on channel A7 would use 26 seconds and cost 5. Putting ad 9 on channel A7 would use 42 seconds and cost 14. Putting ad 10 on channel A7 would use 21 seconds and cost 21. Putting ad 11 on channel A7 would use 39 seconds and cost 14. Putting ad 12 on channel A7 would use 23 seconds and cost 22. Putting ad 13 on channel A7 would use 45 seconds and cost 11. Putting ad 14 on channel A7 would use 24 seconds and cost 21. Putting ad 15 on channel A7 would use 17 seconds and cost 16. Putting ad 16 on channel A7 would use 24 seconds and cost 14. Putting ad 17 on channel A7 would use 38 seconds and cost 19. Putting ad 18 on channel A7 would use 14 seconds and cost 7. Putting ad 19 on channel A7 would use 45 seconds and cost 19. Putting ad 20 on channel A7 would use 30 seconds and cost 18. Putting ad 21 on channel A7 would use 13 seconds and cost 24. Putting ad 22 on channel A7 would use 39 seconds and cost 10. Putting ad 23 on channel A7 would use 21 seconds and cost 22. Remember: every ad must go on exactly one channel and I want the total bill as low as possible without any channel running out of seconds. Also, when you’re ready to hand the results back, just use this little JSON shape so whatever reads it knows which channel each ad goes on: { ""solution"": [ , , ..., ] } Pretty simple: ""solution"" is the list of channel IDs in the same order as the ads were listed above — the first entry is where the first ad goes, the second entry is where the second ad goes, and so on. Think of it like filling in a form: one channel name per ad. This JSON is just a sketch of the shape I need, not the actual assignment — don’t put real answers in here yet. Please also make sure to use the exact identifiers from the instance input with no renaming and no invented labels. Valid identifiers look like: - ""1"" or ""23"" - ""A"" or ""B"" - ""A1"" or ""X7""","{'resource_consumption': [[19, 36, 50, 39, 12, 28, 47, 15, 36, 24, 43, 14, 45, 28, 27, 22, 48, 45, 49, 49, 19, 21, 34], [18, 48, 14, 24, 29, 15, 21, 38, 40, 48, 34, 35, 32, 20, 29, 29, 21, 28, 16, 14, 13, 41, 46], [26, 38, 38, 35, 23, 44, 11, 38, 26, 28, 18, 37, 13, 33, 28, 30, 11, 33, 17, 50, 13, 29, 36], [33, 22, 26, 50, 45, 14, 40, 11, 33, 15, 21, 44, 18, 20, 16, 47, 44, 23, 30, 10, 22, 50, 19], [21, 45, 45, 31, 18, 16, 43, 12, 44, 25, 40, 31, 46, 45, 28, 16, 13, 23, 31, 46, 27, 17, 38], [15, 41, 29, 24, 31, 33, 16, 14, 31, 11, 21, 12, 34, 15, 22, 33, 22, 22, 28, 13, 10, 48, 34], [41, 16, 49, 47, 14, 38, 42, 26, 42, 21, 39, 23, 45, 24, 17, 24, 38, 14, 45, 30, 13, 39, 21]], 'assignment_costs': [[12, 7, 24, 6, 14, 6, 21, 20, 8, 24, 5, 25, 18, 12, 7, 20, 8, 7, 5, 12, 7, 19, 17], [15, 22, 13, 7, 23, 12, 14, 17, 11, 14, 16, 17, 11, 10, 7, 11, 20, 10, 22, 24, 12, 23, 11], [16, 25, 14, 5, 20, 9, 17, 13, 22, 25, 5, 15, 22, 19, 11, 10, 15, 5, 22, 17, 19, 24, 17], [9, 20, 20, 19, 16, 17, 15, 17, 16, 16, 14, 21, 23, 9, 13, 10, 13, 25, 16, 16, 17, 21, 10], [8, 5, 21, 19, 25, 20, 19, 8, 6, 20, 7, 12, 10, 12, 7, 24, 13, 21, 17, 5, 19, 23, 9], [12, 22, 17, 5, 25, 20, 19, 23, 21, 12, 7, 21, 7, 21, 15, 21, 7, 22, 21, 20, 18, 17, 14], [8, 8, 7, 9, 23, 5, 20, 5, 14, 21, 14, 22, 11, 21, 16, 14, 19, 7, 19, 18, 24, 10, 22]], 'capacities': [115, 111, 121, 121, 112, 126, 118], 'objective': 189.0}","[4, 4, 6, 5, 0, 0, 1, 6, 1, 5, 2, 2, 5, 3, 1, 2, 5, 2, 0, 4, 0, 6, 3]",189.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 115}, {'agent_id': 'A2', 'capacity': 111}, {'agent_id': 'A3', 'capacity': 121}, {'agent_id': 'A4', 'capacity': 121}, {'agent_id': 'A5', 'capacity': 112}, {'agent_id': 'A6', 'capacity': 126}, {'agent_id': 'A7', 'capacity': 118}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 21}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 12}, {'agent_id': 'A1', 'task_id': 2, 'cost': 7}, {'agent_id': 'A1', 'task_id': 3, 'cost': 24}, {'agent_id': 'A1', 'task_id': 4, 'cost': 6}, {'agent_id': 'A1', 'task_id': 5, 'cost': 14}, {'agent_id': 'A1', 'task_id': 6, 'cost': 6}, {'agent_id': 'A1', 'task_id': 7, 'cost': 21}, {'agent_id': 'A1', 'task_id': 8, 'cost': 20}, {'agent_id': 'A1', 'task_id': 9, 'cost': 8}, {'agent_id': 'A1', 'task_id': 10, 'cost': 24}, {'agent_id': 'A1', 'task_id': 11, 'cost': 5}, {'agent_id': 'A1', 'task_id': 12, 'cost': 25}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 7}, {'agent_id': 'A1', 'task_id': 16, 'cost': 20}, {'agent_id': 'A1', 'task_id': 17, 'cost': 8}, {'agent_id': 'A1', 'task_id': 18, 'cost': 7}, {'agent_id': 'A1', 'task_id': 19, 'cost': 5}, {'agent_id': 'A1', 'task_id': 20, 'cost': 12}, {'agent_id': 'A1', 'task_id': 21, 'cost': 7}, {'agent_id': 'A1', 'task_id': 22, 'cost': 19}, {'agent_id': 'A1', 'task_id': 23, 'cost': 17}, {'agent_id': 'A2', 'task_id': 1, 'cost': 15}, {'agent_id': 'A2', 'task_id': 2, 'cost': 22}, {'agent_id': 'A2', 'task_id': 3, 'cost': 13}, {'agent_id': 'A2', 'task_id': 4, 'cost': 7}, {'agent_id': 'A2', 'task_id': 5, 'cost': 23}, {'agent_id': 'A2', 'task_id': 6, 'cost': 12}, {'agent_id': 'A2', 'task_id': 7, 'cost': 14}, {'agent_id': 'A2', 'task_id': 8, 'cost': 17}, {'agent_id': 'A2', 'task_id': 9, 'cost': 11}, {'agent_id': 'A2', 'task_id': 10, 'cost': 14}, {'agent_id': 'A2', 'task_id': 11, 'cost': 16}, {'agent_id': 'A2', 'task_id': 12, 'cost': 17}, {'agent_id': 'A2', 'task_id': 13, 'cost': 11}, {'agent_id': 'A2', 'task_id': 14, 'cost': 10}, {'agent_id': 'A2', 'task_id': 15, 'cost': 7}, {'agent_id': 'A2', 'task_id': 16, 'cost': 11}, {'agent_id': 'A2', 'task_id': 17, 'cost': 20}, {'agent_id': 'A2', 'task_id': 18, 'cost': 10}, {'agent_id': 'A2', 'task_id': 19, 'cost': 22}, {'agent_id': 'A2', 'task_id': 20, 'cost': 24}, {'agent_id': 'A2', 'task_id': 21, 'cost': 12}, {'agent_id': 'A2', 'task_id': 22, 'cost': 23}, {'agent_id': 'A2', 'task_id': 23, 'cost': 11}, {'agent_id': 'A3', 'task_id': 1, 'cost': 16}, {'agent_id': 'A3', 'task_id': 2, 'cost': 25}, {'agent_id': 'A3', 'task_id': 3, 'cost': 14}, {'agent_id': 'A3', 'task_id': 4, 'cost': 5}, {'agent_id': 'A3', 'task_id': 5, 'cost': 20}, {'agent_id': 'A3', 'task_id': 6, 'cost': 9}, {'agent_id': 'A3', 'task_id': 7, 'cost': 17}, {'agent_id': 'A3', 'task_id': 8, 'cost': 13}, {'agent_id': 'A3', 'task_id': 9, 'cost': 22}, {'agent_id': 'A3', 'task_id': 10, 'cost': 25}, {'agent_id': 'A3', 'task_id': 11, 'cost': 5}, {'agent_id': 'A3', 'task_id': 12, 'cost': 15}, {'agent_id': 'A3', 'task_id': 13, 'cost': 22}, {'agent_id': 'A3', 'task_id': 14, 'cost': 19}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 10}, {'agent_id': 'A3', 'task_id': 17, 'cost': 15}, {'agent_id': 'A3', 'task_id': 18, 'cost': 5}, {'agent_id': 'A3', 'task_id': 19, 'cost': 22}, {'agent_id': 'A3', 'task_id': 20, 'cost': 17}, {'agent_id': 'A3', 'task_id': 21, 'cost': 19}, {'agent_id': 'A3', 'task_id': 22, 'cost': 24}, {'agent_id': 'A3', 'task_id': 23, 'cost': 17}, {'agent_id': 'A4', 'task_id': 1, 'cost': 9}, {'agent_id': 'A4', 'task_id': 2, 'cost': 20}, {'agent_id': 'A4', 'task_id': 3, 'cost': 20}, {'agent_id': 'A4', 'task_id': 4, 'cost': 19}, {'agent_id': 'A4', 'task_id': 5, 'cost': 16}, {'agent_id': 'A4', 'task_id': 6, 'cost': 17}, {'agent_id': 'A4', 'task_id': 7, 'cost': 15}, {'agent_id': 'A4', 'task_id': 8, 'cost': 17}, {'agent_id': 'A4', 'task_id': 9, 'cost': 16}, {'agent_id': 'A4', 'task_id': 10, 'cost': 16}, {'agent_id': 'A4', 'task_id': 11, 'cost': 14}, {'agent_id': 'A4', 'task_id': 12, 'cost': 21}, {'agent_id': 'A4', 'task_id': 13, 'cost': 23}, {'agent_id': 'A4', 'task_id': 14, 'cost': 9}, {'agent_id': 'A4', 'task_id': 15, 'cost': 13}, {'agent_id': 'A4', 'task_id': 16, 'cost': 10}, {'agent_id': 'A4', 'task_id': 17, 'cost': 13}, {'agent_id': 'A4', 'task_id': 18, 'cost': 25}, {'agent_id': 'A4', 'task_id': 19, 'cost': 16}, {'agent_id': 'A4', 'task_id': 20, 'cost': 16}, {'agent_id': 'A4', 'task_id': 21, 'cost': 17}, {'agent_id': 'A4', 'task_id': 22, 'cost': 21}, {'agent_id': 'A4', 'task_id': 23, 'cost': 10}, {'agent_id': 'A5', 'task_id': 1, 'cost': 8}, {'agent_id': 'A5', 'task_id': 2, 'cost': 5}, {'agent_id': 'A5', 'task_id': 3, 'cost': 21}, {'agent_id': 'A5', 'task_id': 4, 'cost': 19}, {'agent_id': 'A5', 'task_id': 5, 'cost': 25}, {'agent_id': 'A5', 'task_id': 6, 'cost': 20}, {'agent_id': 'A5', 'task_id': 7, 'cost': 19}, {'agent_id': 'A5', 'task_id': 8, 'cost': 8}, {'agent_id': 'A5', 'task_id': 9, 'cost': 6}, {'agent_id': 'A5', 'task_id': 10, 'cost': 20}, {'agent_id': 'A5', 'task_id': 11, 'cost': 7}, {'agent_id': 'A5', 'task_id': 12, 'cost': 12}, {'agent_id': 'A5', 'task_id': 13, 'cost': 10}, {'agent_id': 'A5', 'task_id': 14, 'cost': 12}, {'agent_id': 'A5', 'task_id': 15, 'cost': 7}, {'agent_id': 'A5', 'task_id': 16, 'cost': 24}, {'agent_id': 'A5', 'task_id': 17, 'cost': 13}, {'agent_id': 'A5', 'task_id': 18, 'cost': 21}, {'agent_id': 'A5', 'task_id': 19, 'cost': 17}, {'agent_id': 'A5', 'task_id': 20, 'cost': 5}, {'agent_id': 'A5', 'task_id': 21, 'cost': 19}, {'agent_id': 'A5', 'task_id': 22, 'cost': 23}, {'agent_id': 'A5', 'task_id': 23, 'cost': 9}, {'agent_id': 'A6', 'task_id': 1, 'cost': 12}, {'agent_id': 'A6', 'task_id': 2, 'cost': 22}, {'agent_id': 'A6', 'task_id': 3, 'cost': 17}, {'agent_id': 'A6', 'task_id': 4, 'cost': 5}, {'agent_id': 'A6', 'task_id': 5, 'cost': 25}, {'agent_id': 'A6', 'task_id': 6, 'cost': 20}, {'agent_id': 'A6', 'task_id': 7, 'cost': 19}, {'agent_id': 'A6', 'task_id': 8, 'cost': 23}, {'agent_id': 'A6', 'task_id': 9, 'cost': 21}, {'agent_id': 'A6', 'task_id': 10, 'cost': 12}, {'agent_id': 'A6', 'task_id': 11, 'cost': 7}, {'agent_id': 'A6', 'task_id': 12, 'cost': 21}, {'agent_id': 'A6', 'task_id': 13, 'cost': 7}, {'agent_id': 'A6', 'task_id': 14, 'cost': 21}, {'agent_id': 'A6', 'task_id': 15, 'cost': 15}, {'agent_id': 'A6', 'task_id': 16, 'cost': 21}, {'agent_id': 'A6', 'task_id': 17, 'cost': 7}, {'agent_id': 'A6', 'task_id': 18, 'cost': 22}, {'agent_id': 'A6', 'task_id': 19, 'cost': 21}, {'agent_id': 'A6', 'task_id': 20, 'cost': 20}, {'agent_id': 'A6', 'task_id': 21, 'cost': 18}, {'agent_id': 'A6', 'task_id': 22, 'cost': 17}, {'agent_id': 'A6', 'task_id': 23, 'cost': 14}, {'agent_id': 'A7', 'task_id': 1, 'cost': 8}, {'agent_id': 'A7', 'task_id': 2, 'cost': 8}, {'agent_id': 'A7', 'task_id': 3, 'cost': 7}, {'agent_id': 'A7', 'task_id': 4, 'cost': 9}, {'agent_id': 'A7', 'task_id': 5, 'cost': 23}, {'agent_id': 'A7', 'task_id': 6, 'cost': 5}, {'agent_id': 'A7', 'task_id': 7, 'cost': 20}, {'agent_id': 'A7', 'task_id': 8, 'cost': 5}, {'agent_id': 'A7', 'task_id': 9, 'cost': 14}, {'agent_id': 'A7', 'task_id': 10, 'cost': 21}, {'agent_id': 'A7', 'task_id': 11, 'cost': 14}, {'agent_id': 'A7', 'task_id': 12, 'cost': 22}, {'agent_id': 'A7', 'task_id': 13, 'cost': 11}, {'agent_id': 'A7', 'task_id': 14, 'cost': 21}, {'agent_id': 'A7', 'task_id': 15, 'cost': 16}, {'agent_id': 'A7', 'task_id': 16, 'cost': 14}, {'agent_id': 'A7', 'task_id': 17, 'cost': 19}, {'agent_id': 'A7', 'task_id': 18, 'cost': 7}, {'agent_id': 'A7', 'task_id': 19, 'cost': 19}, {'agent_id': 'A7', 'task_id': 20, 'cost': 18}, {'agent_id': 'A7', 'task_id': 21, 'cost': 24}, {'agent_id': 'A7', 'task_id': 22, 'cost': 10}, {'agent_id': 'A7', 'task_id': 23, 'cost': 22}]}","['A5', 'A5', 'A7', 'A6', 'A1', 'A1', 'A2', 'A7', 'A2', 'A6', 'A3', 'A3', 'A6', 'A4', 'A2', 'A3', 'A6', 'A3', 'A1', 'A5', 'A1', 'A7', 'A4']",8,nl,1 GAP,GAP,"Around the office the task is clear: match every gig to a single freelancer, don’t give a gig to more than one person or leave it unassigned, and make sure nobody’s assigned more hours than they actually have. The practical metric is money — compute each assigned gig’s cost by hours times that freelancer’s price, total all those costs, and pick the arrangement with the lowest overall payment. The full list of gigs, availability and rates is provided below. There are 7 freelancers and 21 gigs, listed as A1, A2, A3, A4, A5, A6, A7 and A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U. | freelancer_id | available_hours | |---|---| | A1 | 115 | | A2 | 111 | | A3 | 121 | | A4 | 121 | | A5 | 114 | | A6 | 112 | | A7 | 118 | | freelancer_id | gig_id | estimated_hours | |---|---|---| | A1 | A | 28 | | A1 | B | 35 | | A1 | C | 12 | | A1 | D | 37 | | A1 | E | 36 | | A1 | F | 15 | | A1 | G | 39 | | A1 | H | 30 | | A1 | I | 19 | | A1 | J | 24 | | A1 | K | 43 | | A1 | L | 14 | | A1 | M | 48 | | A1 | N | 50 | | A1 | O | 43 | | A1 | P | 49 | | A1 | Q | 12 | | A1 | R | 48 | | A1 | S | 35 | | A1 | T | 23 | | A1 | U | 34 | | A2 | A | 45 | | A2 | B | 37 | | A2 | C | 29 | | A2 | D | 30 | | A2 | E | 40 | | A2 | F | 31 | | A2 | G | 38 | | A2 | H | 32 | | A2 | I | 16 | | A2 | J | 48 | | A2 | K | 34 | | A2 | L | 35 | | A2 | M | 12 | | A2 | N | 39 | | A2 | O | 31 | | A2 | P | 46 | | A2 | Q | 49 | | A2 | R | 21 | | A2 | S | 33 | | A2 | T | 24 | | A2 | U | 46 | | A3 | A | 34 | | A3 | B | 39 | | A3 | C | 23 | | A3 | D | 12 | | A3 | E | 28 | | A3 | F | 29 | | A3 | G | 24 | | A3 | H | 23 | | A3 | I | 24 | | A3 | J | 28 | | A3 | K | 18 | | A3 | L | 37 | | A3 | M | 46 | | A3 | N | 30 | | A3 | O | 12 | | A3 | P | 40 | | A3 | Q | 23 | | A3 | R | 11 | | A3 | S | 29 | | A3 | T | 34 | | A3 | U | 36 | | A4 | A | 18 | | A4 | B | 37 | | A4 | C | 45 | | A4 | D | 11 | | A4 | E | 45 | | A4 | F | 20 | | A4 | G | 11 | | A4 | H | 33 | | A4 | I | 28 | | A4 | J | 15 | | A4 | K | 21 | | A4 | L | 44 | | A4 | M | 18 | | A4 | N | 46 | | A4 | O | 42 | | A4 | P | 36 | | A4 | Q | 16 | | A4 | R | 44 | | A4 | S | 40 | | A4 | T | 48 | | A4 | U | 19 | | A5 | A | 22 | | A5 | B | 40 | | A5 | C | 17 | | A5 | D | 16 | | A5 | E | 18 | | A5 | F | 41 | | A5 | G | 32 | | A5 | H | 38 | | A5 | I | 46 | | A5 | J | 41 | | A5 | K | 38 | | A5 | L | 44 | | A5 | M | 34 | | A5 | N | 11 | | A5 | O | 14 | | A5 | P | 44 | | A5 | Q | 27 | | A5 | R | 49 | | A5 | S | 10 | | A5 | T | 43 | | A5 | U | 19 | | A6 | A | 14 | | A6 | B | 33 | | A6 | C | 12 | | A6 | D | 11 | | A6 | E | 23 | | A6 | F | 22 | | A6 | G | 12 | | A6 | H | 23 | | A6 | I | 27 | | A6 | J | 12 | | A6 | K | 32 | | A6 | L | 37 | | A6 | M | 49 | | A6 | N | 39 | | A6 | O | 10 | | A6 | P | 22 | | A6 | Q | 41 | | A6 | R | 43 | | A6 | S | 16 | | A6 | T | 44 | | A6 | U | 19 | | A7 | A | 21 | | A7 | B | 12 | | A7 | C | 14 | | A7 | D | 18 | | A7 | E | 49 | | A7 | F | 15 | | A7 | G | 33 | | A7 | H | 25 | | A7 | I | 12 | | A7 | J | 21 | | A7 | K | 39 | | A7 | L | 23 | | A7 | M | 21 | | A7 | N | 24 | | A7 | O | 16 | | A7 | P | 15 | | A7 | Q | 17 | | A7 | R | 38 | | A7 | S | 50 | | A7 | T | 37 | | A7 | U | 21 | | freelancer_id | gig_id | assignment_cost | |---|---|---| | A1 | A | 20 | | A1 | B | 22 | | A1 | C | 14 | | A1 | D | 11 | | A1 | E | 17 | | A1 | F | 22 | | A1 | G | 11 | | A1 | H | 15 | | A1 | I | 25 | | A1 | J | 24 | | A1 | K | 5 | | A1 | L | 25 | | A1 | M | 18 | | A1 | N | 5 | | A1 | O | 24 | | A1 | P | 20 | | A1 | Q | 20 | | A1 | R | 8 | | A1 | S | 10 | | A1 | T | 12 | | A1 | U | 17 | | A2 | A | 11 | | A2 | B | 8 | | A2 | C | 23 | | A2 | D | 18 | | A2 | E | 7 | | A2 | F | 23 | | A2 | G | 11 | | A2 | H | 9 | | A2 | I | 17 | | A2 | J | 14 | | A2 | K | 16 | | A2 | L | 17 | | A2 | M | 11 | | A2 | N | 14 | | A2 | O | 9 | | A2 | P | 12 | | A2 | Q | 24 | | A2 | R | 20 | | A2 | S | 12 | | A2 | T | 9 | | A2 | U | 11 | | A3 | A | 20 | | A3 | B | 22 | | A3 | C | 20 | | A3 | D | 17 | | A3 | E | 13 | | A3 | F | 18 | | A3 | G | 19 | | A3 | H | 21 | | A3 | I | 20 | | A3 | J | 25 | | A3 | K | 5 | | A3 | L | 15 | | A3 | M | 23 | | A3 | N | 13 | | A3 | O | 9 | | A3 | P | 24 | | A3 | Q | 9 | | A3 | R | 15 | | A3 | S | 16 | | A3 | T | 12 | | A3 | U | 17 | | A4 | A | 8 | | A4 | B | 14 | | A4 | C | 16 | | A4 | D | 17 | | A4 | E | 25 | | A4 | F | 17 | | A4 | G | 10 | | A4 | H | 23 | | A4 | I | 15 | | A4 | J | 16 | | A4 | K | 14 | | A4 | L | 21 | | A4 | M | 12 | | A4 | N | 5 | | A4 | O | 25 | | A4 | P | 14 | | A4 | Q | 24 | | A4 | R | 13 | | A4 | S | 9 | | A4 | T | 24 | | A4 | U | 10 | | A5 | A | 14 | | A5 | B | 7 | | A5 | C | 5 | | A5 | D | 23 | | A5 | E | 21 | | A5 | F | 23 | | A5 | G | 15 | | A5 | H | 5 | | A5 | I | 10 | | A5 | J | 19 | | A5 | K | 5 | | A5 | L | 12 | | A5 | M | 10 | | A5 | N | 22 | | A5 | O | 17 | | A5 | P | 19 | | A5 | Q | 12 | | A5 | R | 6 | | A5 | S | 19 | | A5 | T | 17 | | A5 | U | 23 | | A6 | A | 16 | | A6 | B | 17 | | A6 | C | 5 | | A6 | D | 16 | | A6 | E | 7 | | A6 | F | 13 | | A6 | G | 11 | | A6 | H | 13 | | A6 | I | 14 | | A6 | J | 11 | | A6 | K | 9 | | A6 | L | 18 | | A6 | M | 17 | | A6 | N | 14 | | A6 | O | 13 | | A6 | P | 25 | | A6 | Q | 25 | | A6 | R | 14 | | A6 | S | 10 | | A6 | T | 20 | | A6 | U | 21 | | A7 | A | 14 | | A7 | B | 6 | | A7 | C | 23 | | A7 | D | 6 | | A7 | E | 24 | | A7 | F | 10 | | A7 | G | 17 | | A7 | H | 17 | | A7 | I | 16 | | A7 | J | 21 | | A7 | K | 14 | | A7 | L | 22 | | A7 | M | 14 | | A7 | N | 21 | | A7 | O | 25 | | A7 | P | 15 | | A7 | Q | 22 | | A7 | R | 19 | | A7 | S | 17 | | A7 | T | 15 | | A7 | U | 22 | Find the assignment that respects those availabilities and minimizes the total payment. If you want to give the assignment back in a tidy, machine-friendly way, just follow this simple JSON shape — nothing fancy, just a single list that says who does which gig: { ""solution"": [ , , ..., ] } That ""solution"" list is just the lineup: the first entry is the freelancer for the first gig, the second entry for the second gig, and so on down the list. The angle-bracket placeholders show the kind of identifier you'll drop in there — think of them like blanks on a form, not the final answers. This JSON is only a sketch of the shape I expect, not the actual assignment — fill it in with the exact IDs from the instance. Please use the identifiers exactly as they appear in the input — do not rename them and do not invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[28, 35, 12, 37, 36, 15, 39, 30, 19, 24, 43, 14, 48, 50, 43, 49, 12, 48, 35, 23, 34], [45, 37, 29, 30, 40, 31, 38, 32, 16, 48, 34, 35, 12, 39, 31, 46, 49, 21, 33, 24, 46], [34, 39, 23, 12, 28, 29, 24, 23, 24, 28, 18, 37, 46, 30, 12, 40, 23, 11, 29, 34, 36], [18, 37, 45, 11, 45, 20, 11, 33, 28, 15, 21, 44, 18, 46, 42, 36, 16, 44, 40, 48, 19], [22, 40, 17, 16, 18, 41, 32, 38, 46, 41, 38, 44, 34, 11, 14, 44, 27, 49, 10, 43, 19], [14, 33, 12, 11, 23, 22, 12, 23, 27, 12, 32, 37, 49, 39, 10, 22, 41, 43, 16, 44, 19], [21, 12, 14, 18, 49, 15, 33, 25, 12, 21, 39, 23, 21, 24, 16, 15, 17, 38, 50, 37, 21]], 'assignment_costs': [[20, 22, 14, 11, 17, 22, 11, 15, 25, 24, 5, 25, 18, 5, 24, 20, 20, 8, 10, 12, 17], [11, 8, 23, 18, 7, 23, 11, 9, 17, 14, 16, 17, 11, 14, 9, 12, 24, 20, 12, 9, 11], [20, 22, 20, 17, 13, 18, 19, 21, 20, 25, 5, 15, 23, 13, 9, 24, 9, 15, 16, 12, 17], [8, 14, 16, 17, 25, 17, 10, 23, 15, 16, 14, 21, 12, 5, 25, 14, 24, 13, 9, 24, 10], [14, 7, 5, 23, 21, 23, 15, 5, 10, 19, 5, 12, 10, 22, 17, 19, 12, 6, 19, 17, 23], [16, 17, 5, 16, 7, 13, 11, 13, 14, 11, 9, 18, 17, 14, 13, 25, 25, 14, 10, 20, 21], [14, 6, 23, 6, 24, 10, 17, 17, 16, 21, 14, 22, 14, 21, 25, 15, 22, 19, 17, 15, 22]], 'capacities': [115, 111, 121, 121, 114, 112, 118], 'objective': 180.0}","[3, 6, 5, 6, 5, 6, 3, 4, 4, 5, 2, 2, 1, 0, 2, 1, 2, 0, 3, 1, 3]",180.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 115}, {'agent_id': 'A2', 'capacity': 111}, {'agent_id': 'A3', 'capacity': 121}, {'agent_id': 'A4', 'capacity': 121}, {'agent_id': 'A5', 'capacity': 114}, {'agent_id': 'A6', 'capacity': 112}, {'agent_id': 'A7', 'capacity': 118}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 35}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 12}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 15}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 39}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 19}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 24}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 43}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 43}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 49}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 12}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 35}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 34}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 45}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 37}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 29}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 31}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 38}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 32}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 16}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 34}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 12}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 39}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 31}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 49}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 40}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 36}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 18}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 37}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 11}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 11}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 33}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 18}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 46}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 36}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 40}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 19}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 40}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 46}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 34}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 11}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 49}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 19}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 14}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 33}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 32}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 49}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 39}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 10}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 41}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 16}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 19}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 21}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 49}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 25}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 21}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 21}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 24}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 16}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 17}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 50}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 37}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 21}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 25}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 5}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 25}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 5}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 20}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 22}]}","['A4', 'A7', 'A6', 'A7', 'A6', 'A7', 'A4', 'A5', 'A5', 'A6', 'A3', 'A3', 'A2', 'A1', 'A3', 'A2', 'A3', 'A1', 'A4', 'A2', 'A4']",9,markdown_table,names GAP,GAP,"I’ve been juggling a stack of upcoming shoots and a handful of photographers, and the job is to pair each photoshoot with exactly one photographer. For every shoot there’s a note of how much of a photographer’s shooting time it would take and what that photographer would charge; each photographer only has a certain number of hours available. The trick is to pick who does which shoot so that no photographer is booked for more hours than they have and so the total bill — add up the fees for all chosen photographer–shoot pairs — is as small as possible. No shoot can be left unassigned or given to more than one person. The exact list of shoots, photographers, times, and prices is below. # num_photographers=6 # num_shoots=22 # photographer_ids=A1, A2, A3, A4, A5, A6 # shoot_ids=0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 photographer_id,available_hours A1,199 A2,199 A3,199 A4,199 A5,199 A6,199 photographer_id,shoot_id,hours_required A1,0,44 A1,1,38 A1,2,13 A1,3,26 A1,4,28 A1,5,38 A1,6,40 A1,7,18 A1,8,34 A1,9,35 A1,10,30 A1,11,16 A1,12,26 A1,13,19 A1,14,11 A1,15,42 A1,16,17 A1,17,27 A1,18,34 A1,19,22 A1,20,31 A1,21,44 A2,0,32 A2,1,45 A2,2,45 A2,3,14 A2,4,24 A2,5,45 A2,6,36 A2,7,39 A2,8,20 A2,9,38 A2,10,20 A2,11,44 A2,12,34 A2,13,33 A2,14,45 A2,15,30 A2,16,35 A2,17,20 A2,18,50 A2,19,27 A2,20,28 A2,21,31 A3,0,31 A3,1,26 A3,2,38 A3,3,32 A3,4,17 A3,5,36 A3,6,32 A3,7,32 A3,8,47 A3,9,10 A3,10,46 A3,11,36 A3,12,13 A3,13,38 A3,14,28 A3,15,34 A3,16,47 A3,17,16 A3,18,11 A3,19,25 A3,20,10 A3,21,15 A4,0,12 A4,1,19 A4,2,14 A4,3,38 A4,4,22 A4,5,24 A4,6,40 A4,7,27 A4,8,27 A4,9,14 A4,10,16 A4,11,21 A4,12,47 A4,13,18 A4,14,14 A4,15,24 A4,16,39 A4,17,36 A4,18,34 A4,19,26 A4,20,22 A4,21,14 A5,0,15 A5,1,36 A5,2,30 A5,3,14 A5,4,36 A5,5,24 A5,6,26 A5,7,17 A5,8,22 A5,9,25 A5,10,30 A5,11,13 A5,12,26 A5,13,18 A5,14,18 A5,15,35 A5,16,37 A5,17,32 A5,18,33 A5,19,14 A5,20,25 A5,21,16 A6,0,32 A6,1,34 A6,2,14 A6,3,19 A6,4,31 A6,5,31 A6,6,19 A6,7,24 A6,8,20 A6,9,25 A6,10,38 A6,11,27 A6,12,36 A6,13,18 A6,14,28 A6,15,19 A6,16,13 A6,17,38 A6,18,19 A6,19,23 A6,20,26 A6,21,48 photographer_id,shoot_id,fee A1,0,9 A1,1,10 A1,2,6 A1,3,18 A1,4,10 A1,5,10 A1,6,14 A1,7,7 A1,8,12 A1,9,6 A1,10,24 A1,11,15 A1,12,15 A1,13,9 A1,14,5 A1,15,16 A1,16,5 A1,17,8 A1,18,19 A1,19,7 A1,20,8 A1,21,10 A2,0,23 A2,1,10 A2,2,19 A2,3,25 A2,4,24 A2,5,25 A2,6,11 A2,7,16 A2,8,12 A2,9,5 A2,10,13 A2,11,12 A2,12,5 A2,13,11 A2,14,12 A2,15,25 A2,16,13 A2,17,17 A2,18,8 A2,19,20 A2,20,10 A2,21,20 A3,0,19 A3,1,16 A3,2,9 A3,3,21 A3,4,20 A3,5,12 A3,6,13 A3,7,20 A3,8,16 A3,9,18 A3,10,12 A3,11,20 A3,12,22 A3,13,13 A3,14,15 A3,15,22 A3,16,18 A3,17,15 A3,18,11 A3,19,22 A3,20,13 A3,21,11 A4,0,15 A4,1,23 A4,2,12 A4,3,10 A4,4,25 A4,5,22 A4,6,21 A4,7,13 A4,8,12 A4,9,21 A4,10,6 A4,11,11 A4,12,8 A4,13,13 A4,14,16 A4,15,5 A4,16,11 A4,17,20 A4,18,9 A4,19,21 A4,20,14 A4,21,24 A5,0,14 A5,1,9 A5,2,21 A5,3,8 A5,4,15 A5,5,15 A5,6,10 A5,7,21 A5,8,13 A5,9,22 A5,10,9 A5,11,21 A5,12,6 A5,13,13 A5,14,17 A5,15,5 A5,16,7 A5,17,20 A5,18,21 A5,19,11 A5,20,13 A5,21,9 A6,0,17 A6,1,7 A6,2,6 A6,3,21 A6,4,23 A6,5,6 A6,6,10 A6,7,9 A6,8,14 A6,9,16 A6,10,24 A6,11,19 A6,12,13 A6,13,17 A6,14,14 A6,15,18 A6,16,12 A6,17,19 A6,18,6 A6,19,20 A6,20,7 A6,21,23 Oh, and to keep things machine-friendly, please give the final assignment in a tiny JSON shape like this: { ""solution"": [ , , ..., ] } Think of ""solution"" as a list with one entry per shoot (in the same order as the shoot list above); each entry should be the identifier of the photographer you're assigning to that shoot. This is just the expected shape — a sketch, not the actual filled-in answer. Important: use the identifiers exactly as they appear in the instance input — no renaming and no new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[44, 38, 13, 26, 28, 38, 40, 18, 34, 35, 30, 16, 26, 19, 11, 42, 17, 27, 34, 22, 31, 44], [32, 45, 45, 14, 24, 45, 36, 39, 20, 38, 20, 44, 34, 33, 45, 30, 35, 20, 50, 27, 28, 31], [31, 26, 38, 32, 17, 36, 32, 32, 47, 10, 46, 36, 13, 38, 28, 34, 47, 16, 11, 25, 10, 15], [12, 19, 14, 38, 22, 24, 40, 27, 27, 14, 16, 21, 47, 18, 14, 24, 39, 36, 34, 26, 22, 14], [15, 36, 30, 14, 36, 24, 26, 17, 22, 25, 30, 13, 26, 18, 18, 35, 37, 32, 33, 14, 25, 16], [32, 34, 14, 19, 31, 31, 19, 24, 20, 25, 38, 27, 36, 18, 28, 19, 13, 38, 19, 23, 26, 48]], 'assignment_costs': [[9, 10, 6, 18, 10, 10, 14, 7, 12, 6, 24, 15, 15, 9, 5, 16, 5, 8, 19, 7, 8, 10], [23, 10, 19, 25, 24, 25, 11, 16, 12, 5, 13, 12, 5, 11, 12, 25, 13, 17, 8, 20, 10, 20], [19, 16, 9, 21, 20, 12, 13, 20, 16, 18, 12, 20, 22, 13, 15, 22, 18, 15, 11, 22, 13, 11], [15, 23, 12, 10, 25, 22, 21, 13, 12, 21, 6, 11, 8, 13, 16, 5, 11, 20, 9, 21, 14, 24], [14, 9, 21, 8, 15, 15, 10, 21, 13, 22, 9, 21, 6, 13, 17, 5, 7, 20, 21, 11, 13, 9], [17, 7, 6, 21, 23, 6, 10, 9, 14, 16, 24, 19, 13, 17, 14, 18, 12, 19, 6, 20, 7, 23]], 'capacities': [199, 199, 199, 199, 199, 199], 'objective': 163.0}","[0, 5, 0, 4, 0, 5, 4, 0, 1, 1, 3, 3, 1, 0, 0, 3, 0, 0, 5, 0, 5, 4]",163.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 199}, {'agent_id': 'A2', 'capacity': 199}, {'agent_id': 'A3', 'capacity': 199}, {'agent_id': 'A4', 'capacity': 199}, {'agent_id': 'A5', 'capacity': 199}, {'agent_id': 'A6', 'capacity': 199}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 48}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 9}, {'agent_id': 'A1', 'task_id': 1, 'cost': 10}, {'agent_id': 'A1', 'task_id': 2, 'cost': 6}, {'agent_id': 'A1', 'task_id': 3, 'cost': 18}, {'agent_id': 'A1', 'task_id': 4, 'cost': 10}, {'agent_id': 'A1', 'task_id': 5, 'cost': 10}, {'agent_id': 'A1', 'task_id': 6, 'cost': 14}, {'agent_id': 'A1', 'task_id': 7, 'cost': 7}, {'agent_id': 'A1', 'task_id': 8, 'cost': 12}, {'agent_id': 'A1', 'task_id': 9, 'cost': 6}, {'agent_id': 'A1', 'task_id': 10, 'cost': 24}, {'agent_id': 'A1', 'task_id': 11, 'cost': 15}, {'agent_id': 'A1', 'task_id': 12, 'cost': 15}, {'agent_id': 'A1', 'task_id': 13, 'cost': 9}, {'agent_id': 'A1', 'task_id': 14, 'cost': 5}, {'agent_id': 'A1', 'task_id': 15, 'cost': 16}, {'agent_id': 'A1', 'task_id': 16, 'cost': 5}, {'agent_id': 'A1', 'task_id': 17, 'cost': 8}, {'agent_id': 'A1', 'task_id': 18, 'cost': 19}, {'agent_id': 'A1', 'task_id': 19, 'cost': 7}, {'agent_id': 'A1', 'task_id': 20, 'cost': 8}, {'agent_id': 'A1', 'task_id': 21, 'cost': 10}, {'agent_id': 'A2', 'task_id': 0, 'cost': 23}, {'agent_id': 'A2', 'task_id': 1, 'cost': 10}, {'agent_id': 'A2', 'task_id': 2, 'cost': 19}, {'agent_id': 'A2', 'task_id': 3, 'cost': 25}, {'agent_id': 'A2', 'task_id': 4, 'cost': 24}, {'agent_id': 'A2', 'task_id': 5, 'cost': 25}, {'agent_id': 'A2', 'task_id': 6, 'cost': 11}, {'agent_id': 'A2', 'task_id': 7, 'cost': 16}, {'agent_id': 'A2', 'task_id': 8, 'cost': 12}, {'agent_id': 'A2', 'task_id': 9, 'cost': 5}, {'agent_id': 'A2', 'task_id': 10, 'cost': 13}, {'agent_id': 'A2', 'task_id': 11, 'cost': 12}, {'agent_id': 'A2', 'task_id': 12, 'cost': 5}, {'agent_id': 'A2', 'task_id': 13, 'cost': 11}, {'agent_id': 'A2', 'task_id': 14, 'cost': 12}, {'agent_id': 'A2', 'task_id': 15, 'cost': 25}, {'agent_id': 'A2', 'task_id': 16, 'cost': 13}, {'agent_id': 'A2', 'task_id': 17, 'cost': 17}, {'agent_id': 'A2', 'task_id': 18, 'cost': 8}, {'agent_id': 'A2', 'task_id': 19, 'cost': 20}, {'agent_id': 'A2', 'task_id': 20, 'cost': 10}, {'agent_id': 'A2', 'task_id': 21, 'cost': 20}, {'agent_id': 'A3', 'task_id': 0, 'cost': 19}, {'agent_id': 'A3', 'task_id': 1, 'cost': 16}, {'agent_id': 'A3', 'task_id': 2, 'cost': 9}, {'agent_id': 'A3', 'task_id': 3, 'cost': 21}, {'agent_id': 'A3', 'task_id': 4, 'cost': 20}, {'agent_id': 'A3', 'task_id': 5, 'cost': 12}, {'agent_id': 'A3', 'task_id': 6, 'cost': 13}, {'agent_id': 'A3', 'task_id': 7, 'cost': 20}, {'agent_id': 'A3', 'task_id': 8, 'cost': 16}, {'agent_id': 'A3', 'task_id': 9, 'cost': 18}, {'agent_id': 'A3', 'task_id': 10, 'cost': 12}, {'agent_id': 'A3', 'task_id': 11, 'cost': 20}, {'agent_id': 'A3', 'task_id': 12, 'cost': 22}, {'agent_id': 'A3', 'task_id': 13, 'cost': 13}, {'agent_id': 'A3', 'task_id': 14, 'cost': 15}, {'agent_id': 'A3', 'task_id': 15, 'cost': 22}, {'agent_id': 'A3', 'task_id': 16, 'cost': 18}, {'agent_id': 'A3', 'task_id': 17, 'cost': 15}, {'agent_id': 'A3', 'task_id': 18, 'cost': 11}, {'agent_id': 'A3', 'task_id': 19, 'cost': 22}, {'agent_id': 'A3', 'task_id': 20, 'cost': 13}, {'agent_id': 'A3', 'task_id': 21, 'cost': 11}, {'agent_id': 'A4', 'task_id': 0, 'cost': 15}, {'agent_id': 'A4', 'task_id': 1, 'cost': 23}, {'agent_id': 'A4', 'task_id': 2, 'cost': 12}, {'agent_id': 'A4', 'task_id': 3, 'cost': 10}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 22}, {'agent_id': 'A4', 'task_id': 6, 'cost': 21}, {'agent_id': 'A4', 'task_id': 7, 'cost': 13}, {'agent_id': 'A4', 'task_id': 8, 'cost': 12}, {'agent_id': 'A4', 'task_id': 9, 'cost': 21}, {'agent_id': 'A4', 'task_id': 10, 'cost': 6}, {'agent_id': 'A4', 'task_id': 11, 'cost': 11}, {'agent_id': 'A4', 'task_id': 12, 'cost': 8}, {'agent_id': 'A4', 'task_id': 13, 'cost': 13}, {'agent_id': 'A4', 'task_id': 14, 'cost': 16}, {'agent_id': 'A4', 'task_id': 15, 'cost': 5}, {'agent_id': 'A4', 'task_id': 16, 'cost': 11}, {'agent_id': 'A4', 'task_id': 17, 'cost': 20}, {'agent_id': 'A4', 'task_id': 18, 'cost': 9}, {'agent_id': 'A4', 'task_id': 19, 'cost': 21}, {'agent_id': 'A4', 'task_id': 20, 'cost': 14}, {'agent_id': 'A4', 'task_id': 21, 'cost': 24}, {'agent_id': 'A5', 'task_id': 0, 'cost': 14}, {'agent_id': 'A5', 'task_id': 1, 'cost': 9}, {'agent_id': 'A5', 'task_id': 2, 'cost': 21}, {'agent_id': 'A5', 'task_id': 3, 'cost': 8}, {'agent_id': 'A5', 'task_id': 4, 'cost': 15}, {'agent_id': 'A5', 'task_id': 5, 'cost': 15}, {'agent_id': 'A5', 'task_id': 6, 'cost': 10}, {'agent_id': 'A5', 'task_id': 7, 'cost': 21}, {'agent_id': 'A5', 'task_id': 8, 'cost': 13}, {'agent_id': 'A5', 'task_id': 9, 'cost': 22}, {'agent_id': 'A5', 'task_id': 10, 'cost': 9}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 6}, {'agent_id': 'A5', 'task_id': 13, 'cost': 13}, {'agent_id': 'A5', 'task_id': 14, 'cost': 17}, {'agent_id': 'A5', 'task_id': 15, 'cost': 5}, {'agent_id': 'A5', 'task_id': 16, 'cost': 7}, {'agent_id': 'A5', 'task_id': 17, 'cost': 20}, {'agent_id': 'A5', 'task_id': 18, 'cost': 21}, {'agent_id': 'A5', 'task_id': 19, 'cost': 11}, {'agent_id': 'A5', 'task_id': 20, 'cost': 13}, {'agent_id': 'A5', 'task_id': 21, 'cost': 9}, {'agent_id': 'A6', 'task_id': 0, 'cost': 17}, {'agent_id': 'A6', 'task_id': 1, 'cost': 7}, {'agent_id': 'A6', 'task_id': 2, 'cost': 6}, {'agent_id': 'A6', 'task_id': 3, 'cost': 21}, {'agent_id': 'A6', 'task_id': 4, 'cost': 23}, {'agent_id': 'A6', 'task_id': 5, 'cost': 6}, {'agent_id': 'A6', 'task_id': 6, 'cost': 10}, {'agent_id': 'A6', 'task_id': 7, 'cost': 9}, {'agent_id': 'A6', 'task_id': 8, 'cost': 14}, {'agent_id': 'A6', 'task_id': 9, 'cost': 16}, {'agent_id': 'A6', 'task_id': 10, 'cost': 24}, {'agent_id': 'A6', 'task_id': 11, 'cost': 19}, {'agent_id': 'A6', 'task_id': 12, 'cost': 13}, {'agent_id': 'A6', 'task_id': 13, 'cost': 17}, {'agent_id': 'A6', 'task_id': 14, 'cost': 14}, {'agent_id': 'A6', 'task_id': 15, 'cost': 18}, {'agent_id': 'A6', 'task_id': 16, 'cost': 12}, {'agent_id': 'A6', 'task_id': 17, 'cost': 19}, {'agent_id': 'A6', 'task_id': 18, 'cost': 6}, {'agent_id': 'A6', 'task_id': 19, 'cost': 20}, {'agent_id': 'A6', 'task_id': 20, 'cost': 7}, {'agent_id': 'A6', 'task_id': 21, 'cost': 23}]}","['A1', 'A6', 'A1', 'A5', 'A1', 'A6', 'A5', 'A1', 'A2', 'A2', 'A4', 'A4', 'A2', 'A1', 'A1', 'A4', 'A1', 'A1', 'A6', 'A1', 'A6', 'A5']",10,csv,0 GAP,GAP,"I’ve got a stack of home visits that need a nurse each, and for every possible nurse–visit pairing there’s a known time it would eat out of that nurse’s shift and a known fee for doing the job. Every visit has to go to one, and only one, nurse — no visit gets skipped or doubled up. Each nurse only has a fixed number of work hours, so the total minutes of the visits a nurse takes can’t be more than their shift allows. The idea is to put the visits together so the total service cost (just add up the cost for each visit as assigned) comes out as small as possible while keeping everyone within their shift. The concrete details are shown below. Here they are: I have 7 nurses, 18 visits, nurse IDs A1, A2, A3, A4, A5, A6, A7, and visit IDs A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R. I list nurse A1 with 480 available minutes in their shift. I list nurse A2 with 490 available minutes in their shift. I list nurse A3 with 461 available minutes in their shift. I list nurse A4 with 491 available minutes in their shift. I list nurse A5 with 484 available minutes in their shift. I list nurse A6 with 469 available minutes in their shift. I list nurse A7 with 484 available minutes in their shift. If I assign nurse A1 to visit A, it will consume 49 minutes and cost 14. If I assign nurse A1 to visit B, it will consume 24 minutes and cost 22. If I assign nurse A1 to visit C, it will consume 44 minutes and cost 17. If I assign nurse A1 to visit D, it will consume 31 minutes and cost 18. If I assign nurse A1 to visit E, it will consume 11 minutes and cost 7. If I assign nurse A1 to visit F, it will consume 34 minutes and cost 14. If I assign nurse A1 to visit G, it will consume 30 minutes and cost 11. If I assign nurse A1 to visit H, it will consume 24 minutes and cost 22. If I assign nurse A1 to visit I, it will consume 22 minutes and cost 24. If I assign nurse A1 to visit J, it will consume 27 minutes and cost 24. If I assign nurse A1 to visit K, it will consume 14 minutes and cost 6. If I assign nurse A1 to visit L, it will consume 21 minutes and cost 19. If I assign nurse A1 to visit M, it will consume 36 minutes and cost 13. If I assign nurse A1 to visit N, it will consume 48 minutes and cost 14. If I assign nurse A1 to visit O, it will consume 14 minutes and cost 6. If I assign nurse A1 to visit P, it will consume 34 minutes and cost 23. If I assign nurse A1 to visit Q, it will consume 30 minutes and cost 19. If I assign nurse A1 to visit R, it will consume 47 minutes and cost 18. If I assign nurse A2 to visit A, it will consume 30 minutes and cost 9. If I assign nurse A2 to visit B, it will consume 11 minutes and cost 25. If I assign nurse A2 to visit C, it will consume 25 minutes and cost 12. If I assign nurse A2 to visit D, it will consume 10 minutes and cost 13. If I assign nurse A2 to visit E, it will consume 18 minutes and cost 13. If I assign nurse A2 to visit F, it will consume 11 minutes and cost 21. If I assign nurse A2 to visit G, it will consume 48 minutes and cost 7. If I assign nurse A2 to visit H, it will consume 20 minutes and cost 13. If I assign nurse A2 to visit I, it will consume 20 minutes and cost 12. If I assign nurse A2 to visit J, it will consume 33 minutes and cost 18. If I assign nurse A2 to visit K, it will consume 43 minutes and cost 21. If I assign nurse A2 to visit L, it will consume 33 minutes and cost 24. If I assign nurse A2 to visit M, it will consume 39 minutes and cost 19. If I assign nurse A2 to visit N, it will consume 25 minutes and cost 10. If I assign nurse A2 to visit O, it will consume 19 minutes and cost 8. If I assign nurse A2 to visit P, it will consume 18 minutes and cost 6. If I assign nurse A2 to visit Q, it will consume 32 minutes and cost 11. If I assign nurse A2 to visit R, it will consume 49 minutes and cost 14. If I assign nurse A3 to visit A, it will consume 30 minutes and cost 5. If I assign nurse A3 to visit B, it will consume 39 minutes and cost 22. If I assign nurse A3 to visit C, it will consume 15 minutes and cost 17. If I assign nurse A3 to visit D, it will consume 25 minutes and cost 5. If I assign nurse A3 to visit E, it will consume 39 minutes and cost 18. If I assign nurse A3 to visit F, it will consume 38 minutes and cost 5. If I assign nurse A3 to visit G, it will consume 17 minutes and cost 18. If I assign nurse A3 to visit H, it will consume 46 minutes and cost 5. If I assign nurse A3 to visit I, it will consume 22 minutes and cost 15. If I assign nurse A3 to visit J, it will consume 45 minutes and cost 12. If I assign nurse A3 to visit K, it will consume 47 minutes and cost 13. If I assign nurse A3 to visit L, it will consume 28 minutes and cost 19. If I assign nurse A3 to visit M, it will consume 33 minutes and cost 22. If I assign nurse A3 to visit N, it will consume 18 minutes and cost 13. If I assign nurse A3 to visit O, it will consume 24 minutes and cost 12. If I assign nurse A3 to visit P, it will consume 40 minutes and cost 9. If I assign nurse A3 to visit Q, it will consume 43 minutes and cost 17. If I assign nurse A3 to visit R, it will consume 15 minutes and cost 19. If I assign nurse A4 to visit A, it will consume 20 minutes and cost 14. If I assign nurse A4 to visit B, it will consume 42 minutes and cost 6. If I assign nurse A4 to visit C, it will consume 32 minutes and cost 24. If I assign nurse A4 to visit D, it will consume 33 minutes and cost 8. If I assign nurse A4 to visit E, it will consume 34 minutes and cost 16. If I assign nurse A4 to visit F, it will consume 14 minutes and cost 16. If I assign nurse A4 to visit G, it will consume 26 minutes and cost 19. If I assign nurse A4 to visit H, it will consume 35 minutes and cost 23. If I assign nurse A4 to visit I, it will consume 22 minutes and cost 13. If I assign nurse A4 to visit J, it will consume 42 minutes and cost 9. If I assign nurse A4 to visit K, it will consume 21 minutes and cost 12. If I assign nurse A4 to visit L, it will consume 15 minutes and cost 25. If I assign nurse A4 to visit M, it will consume 37 minutes and cost 15. If I assign nurse A4 to visit N, it will consume 27 minutes and cost 8. If I assign nurse A4 to visit O, it will consume 42 minutes and cost 7. If I assign nurse A4 to visit P, it will consume 21 minutes and cost 22. If I assign nurse A4 to visit Q, it will consume 47 minutes and cost 7. If I assign nurse A4 to visit R, it will consume 33 minutes and cost 20. If I assign nurse A5 to visit A, it will consume 49 minutes and cost 15. If I assign nurse A5 to visit B, it will consume 20 minutes and cost 16. If I assign nurse A5 to visit C, it will consume 12 minutes and cost 12. If I assign nurse A5 to visit D, it will consume 50 minutes and cost 11. If I assign nurse A5 to visit E, it will consume 22 minutes and cost 22. If I assign nurse A5 to visit F, it will consume 44 minutes and cost 13. If I assign nurse A5 to visit G, it will consume 18 minutes and cost 24. If I assign nurse A5 to visit H, it will consume 18 minutes and cost 11. If I assign nurse A5 to visit I, it will consume 22 minutes and cost 23. If I assign nurse A5 to visit J, it will consume 30 minutes and cost 12. If I assign nurse A5 to visit K, it will consume 20 minutes and cost 24. If I assign nurse A5 to visit L, it will consume 21 minutes and cost 15. If I assign nurse A5 to visit M, it will consume 44 minutes and cost 14. If I assign nurse A5 to visit N, it will consume 12 minutes and cost 17. If I assign nurse A5 to visit O, it will consume 39 minutes and cost 11. If I assign nurse A5 to visit P, it will consume 32 minutes and cost 16. If I assign nurse A5 to visit Q, it will consume 46 minutes and cost 12. If I assign nurse A5 to visit R, it will consume 38 minutes and cost 20. If I assign nurse A6 to visit A, it will consume 11 minutes and cost 18. If I assign nurse A6 to visit B, it will consume 11 minutes and cost 25. If I assign nurse A6 to visit C, it will consume 38 minutes and cost 12. If I assign nurse A6 to visit D, it will consume 29 minutes and cost 19. If I assign nurse A6 to visit E, it will consume 32 minutes and cost 19. If I assign nurse A6 to visit F, it will consume 48 minutes and cost 24. If I assign nurse A6 to visit G, it will consume 23 minutes and cost 22. If I assign nurse A6 to visit H, it will consume 24 minutes and cost 5. If I assign nurse A6 to visit I, it will consume 38 minutes and cost 8. If I assign nurse A6 to visit J, it will consume 11 minutes and cost 13. If I assign nurse A6 to visit K, it will consume 25 minutes and cost 16. If I assign nurse A6 to visit L, it will consume 32 minutes and cost 5. If I assign nurse A6 to visit M, it will consume 26 minutes and cost 9. If I assign nurse A6 to visit N, it will consume 41 minutes and cost 8. If I assign nurse A6 to visit O, it will consume 21 minutes and cost 15. If I assign nurse A6 to visit P, it will consume 35 minutes and cost 16. If I assign nurse A6 to visit Q, it will consume 15 minutes and cost 17. If I assign nurse A6 to visit R, it will consume 26 minutes and cost 11. If I assign nurse A7 to visit A, it will consume 24 minutes and cost 9. If I assign nurse A7 to visit B, it will consume 34 minutes and cost 19. If I assign nurse A7 to visit C, it will consume 23 minutes and cost 22. If I assign nurse A7 to visit D, it will consume 13 minutes and cost 7. If I assign nurse A7 to visit E, it will consume 30 minutes and cost 13. If I assign nurse A7 to visit F, it will consume 10 minutes and cost 20. If I assign nurse A7 to visit G, it will consume 28 minutes and cost 24. If I assign nurse A7 to visit H, it will consume 37 minutes and cost 25. If I assign nurse A7 to visit I, it will consume 35 minutes and cost 11. If I assign nurse A7 to visit J, it will consume 18 minutes and cost 6. If I assign nurse A7 to visit K, it will consume 12 minutes and cost 6. If I assign nurse A7 to visit L, it will consume 28 minutes and cost 13. If I assign nurse A7 to visit M, it will consume 40 minutes and cost 7. If I assign nurse A7 to visit N, it will consume 15 minutes and cost 18. If I assign nurse A7 to visit O, it will consume 45 minutes and cost 14. If I assign nurse A7 to visit P, it will consume 12 minutes and cost 5. If I assign nurse A7 to visit Q, it will consume 29 minutes and cost 8. If I assign nurse A7 to visit R, it will consume 29 minutes and cost 21. That's everything — the goal is to assign each of the 18 visits to one of the 7 nurses within their shifts to minimize total service cost. Also, when you send the assignment back, please use this simple JSON shape so it's clear which nurse goes to which visit: { ""solution"": [ , , ..., ] } This just sketches the format: the solution array lists the nurse id for each visit in order (first entry → first visit, second → second visit, and so on). It's just the shape I need, not the final assignment itself. Please use the exact identifiers from the instance input — don’t rename them or add new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[49, 24, 44, 31, 11, 34, 30, 24, 22, 27, 14, 21, 36, 48, 14, 34, 30, 47], [30, 11, 25, 10, 18, 11, 48, 20, 20, 33, 43, 33, 39, 25, 19, 18, 32, 49], [30, 39, 15, 25, 39, 38, 17, 46, 22, 45, 47, 28, 33, 18, 24, 40, 43, 15], [20, 42, 32, 33, 34, 14, 26, 35, 22, 42, 21, 15, 37, 27, 42, 21, 47, 33], [49, 20, 12, 50, 22, 44, 18, 18, 22, 30, 20, 21, 44, 12, 39, 32, 46, 38], [11, 11, 38, 29, 32, 48, 23, 24, 38, 11, 25, 32, 26, 41, 21, 35, 15, 26], [24, 34, 23, 13, 30, 10, 28, 37, 35, 18, 12, 28, 40, 15, 45, 12, 29, 29]], 'assignment_costs': [[14, 22, 17, 18, 7, 14, 11, 22, 24, 24, 6, 19, 13, 14, 6, 23, 19, 18], [9, 25, 12, 13, 13, 21, 7, 13, 12, 18, 21, 24, 19, 10, 8, 6, 11, 14], [5, 22, 17, 5, 18, 5, 18, 5, 15, 12, 13, 19, 22, 13, 12, 9, 17, 19], [14, 6, 24, 8, 16, 16, 19, 23, 13, 9, 12, 25, 15, 8, 7, 22, 7, 20], [15, 16, 12, 11, 22, 13, 24, 11, 23, 12, 24, 15, 14, 17, 11, 16, 12, 20], [18, 25, 12, 19, 19, 24, 22, 5, 8, 13, 16, 5, 9, 8, 15, 16, 17, 11], [9, 19, 22, 7, 13, 20, 24, 25, 11, 6, 6, 13, 7, 18, 14, 5, 8, 21]], 'capacities': [480, 490, 461, 491, 484, 469, 484], 'objective': 121.0}","[2, 3, 1, 2, 0, 2, 1, 5, 5, 6, 0, 5, 6, 5, 0, 6, 3, 5]",121.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 480}, {'agent_id': 'A2', 'capacity': 490}, {'agent_id': 'A3', 'capacity': 461}, {'agent_id': 'A4', 'capacity': 491}, {'agent_id': 'A5', 'capacity': 484}, {'agent_id': 'A6', 'capacity': 469}, {'agent_id': 'A7', 'capacity': 484}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 49}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 24}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 44}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 11}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 24}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 47}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 25}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 18}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 39}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 25}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 19}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 18}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 32}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 15}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 17}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 47}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 33}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 40}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 43}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 33}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 34}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 35}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 37}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 47}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 49}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 50}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 30}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 39}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 46}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 32}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 48}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 32}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 26}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 41}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 15}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 26}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 24}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 30}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 10}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 28}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 37}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 28}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 40}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 45}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 29}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 21}]}","['A3', 'A4', 'A2', 'A3', 'A1', 'A3', 'A2', 'A6', 'A6', 'A7', 'A1', 'A6', 'A7', 'A6', 'A1', 'A7', 'A4', 'A6']",11,nl,names GAP,GAP,"I was juggling a stack of pickups and a handful of trucks the other day — each pickup has to go on exactly one truck (no leaving anything behind and no double-ups). Every pickup takes up a certain amount of room in whatever truck it rides in, and each pickup–truck pairing comes with its own hauling fee. Each truck can only hold a fixed amount of cargo, so the combined space of the pickups loaded onto a truck can’t be more than that. The sensible plan is the one that ends up costing the least overall, which you figure by adding up the hauling fee for each pickup’s chosen truck. The concrete details will be shown below. # num_trucks=6 # num_pickups=18 # truck_ids=A1, A2, A3, A4, A5, A6 # pickup_ids=A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R truck_id,truck_volume_capacity A1,243 A2,243 A3,243 A4,243 A5,243 A6,243 truck_id,pickup_id,pickup_volume_in_truck A1,A,44 A1,B,42 A1,C,45 A1,D,14 A1,E,22 A1,F,16 A1,G,25 A1,H,22 A1,I,13 A1,J,26 A1,K,13 A1,L,33 A1,M,48 A1,N,16 A1,O,25 A1,P,33 A1,Q,50 A1,R,45 A2,A,41 A2,B,32 A2,C,48 A2,D,48 A2,E,14 A2,F,23 A2,G,14 A2,H,22 A2,I,11 A2,J,27 A2,K,25 A2,L,35 A2,M,48 A2,N,50 A2,O,24 A2,P,39 A2,Q,44 A2,R,11 A3,A,37 A3,B,23 A3,C,14 A3,D,22 A3,E,19 A3,F,50 A3,G,16 A3,H,37 A3,I,29 A3,J,38 A3,K,30 A3,L,45 A3,M,10 A3,N,11 A3,O,43 A3,P,48 A3,Q,42 A3,R,32 A4,A,46 A4,B,20 A4,C,21 A4,D,50 A4,E,28 A4,F,28 A4,G,43 A4,H,37 A4,I,45 A4,J,25 A4,K,48 A4,L,19 A4,M,20 A4,N,38 A4,O,14 A4,P,31 A4,Q,24 A4,R,35 A5,A,50 A5,B,32 A5,C,48 A5,D,16 A5,E,42 A5,F,14 A5,G,32 A5,H,22 A5,I,37 A5,J,10 A5,K,31 A5,L,33 A5,M,41 A5,N,19 A5,O,25 A5,P,11 A5,Q,14 A5,R,17 A6,A,42 A6,B,30 A6,C,31 A6,D,42 A6,E,31 A6,F,21 A6,G,21 A6,H,46 A6,I,13 A6,J,21 A6,K,15 A6,L,43 A6,M,43 A6,N,15 A6,O,35 A6,P,46 A6,Q,31 A6,R,46 truck_id,pickup_id,hauling_fee A1,A,19 A1,B,11 A1,C,13 A1,D,18 A1,E,18 A1,F,18 A1,G,8 A1,H,13 A1,I,11 A1,J,21 A1,K,25 A1,L,17 A1,M,11 A1,N,6 A1,O,6 A1,P,14 A1,Q,15 A1,R,10 A2,A,18 A2,B,24 A2,C,5 A2,D,6 A2,E,25 A2,F,22 A2,G,17 A2,H,23 A2,I,12 A2,J,24 A2,K,19 A2,L,21 A2,M,14 A2,N,9 A2,O,9 A2,P,14 A2,Q,24 A2,R,14 A3,A,8 A3,B,16 A3,C,9 A3,D,8 A3,E,5 A3,F,15 A3,G,22 A3,H,7 A3,I,22 A3,J,21 A3,K,13 A3,L,15 A3,M,18 A3,N,17 A3,O,23 A3,P,10 A3,Q,21 A3,R,23 A4,A,15 A4,B,16 A4,C,16 A4,D,9 A4,E,16 A4,F,21 A4,G,17 A4,H,16 A4,I,18 A4,J,17 A4,K,10 A4,L,24 A4,M,11 A4,N,12 A4,O,14 A4,P,14 A4,Q,18 A4,R,11 A5,A,8 A5,B,14 A5,C,13 A5,D,10 A5,E,12 A5,F,25 A5,G,16 A5,H,22 A5,I,22 A5,J,19 A5,K,21 A5,L,19 A5,M,22 A5,N,21 A5,O,11 A5,P,5 A5,Q,12 A5,R,6 A6,A,9 A6,B,19 A6,C,12 A6,D,16 A6,E,25 A6,F,19 A6,G,18 A6,H,7 A6,I,11 A6,J,24 A6,K,19 A6,L,16 A6,M,6 A6,N,8 A6,O,6 A6,P,13 A6,Q,5 A6,R,12 Oh, and to keep things machine-friendly, please return your assignment in this little JSON layout when you reply: { ""solution"": [ , , ..., ] } Think of ""solution"" as a checklist that goes through the pickups in order: each placeholder in the array is where you drop the identifier of the truck that will carry that pickup. It's just the shape I need — a sketch of which truck goes with which pickup, not the actual filled-in answer. Please make sure you use the exact identifiers shown in the instance input — no renaming and no new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[44, 42, 45, 14, 22, 16, 25, 22, 13, 26, 13, 33, 48, 16, 25, 33, 50, 45], [41, 32, 48, 48, 14, 23, 14, 22, 11, 27, 25, 35, 48, 50, 24, 39, 44, 11], [37, 23, 14, 22, 19, 50, 16, 37, 29, 38, 30, 45, 10, 11, 43, 48, 42, 32], [46, 20, 21, 50, 28, 28, 43, 37, 45, 25, 48, 19, 20, 38, 14, 31, 24, 35], [50, 32, 48, 16, 42, 14, 32, 22, 37, 10, 31, 33, 41, 19, 25, 11, 14, 17], [42, 30, 31, 42, 31, 21, 21, 46, 13, 21, 15, 43, 43, 15, 35, 46, 31, 46]], 'assignment_costs': [[19, 11, 13, 18, 18, 18, 8, 13, 11, 21, 25, 17, 11, 6, 6, 14, 15, 10], [18, 24, 5, 6, 25, 22, 17, 23, 12, 24, 19, 21, 14, 9, 9, 14, 24, 14], [8, 16, 9, 8, 5, 15, 22, 7, 22, 21, 13, 15, 18, 17, 23, 10, 21, 23], [15, 16, 16, 9, 16, 21, 17, 16, 18, 17, 10, 24, 11, 12, 14, 14, 18, 11], [8, 14, 13, 10, 12, 25, 16, 22, 22, 19, 21, 19, 22, 21, 11, 5, 12, 6], [9, 19, 12, 16, 25, 19, 18, 7, 11, 24, 19, 16, 6, 8, 6, 13, 5, 12]], 'capacities': [243, 243, 243, 243, 243, 243], 'objective': 152.0}","[2, 0, 1, 1, 2, 2, 0, 2, 0, 3, 3, 2, 5, 0, 0, 4, 5, 4]",152.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 243}, {'agent_id': 'A2', 'capacity': 243}, {'agent_id': 'A3', 'capacity': 243}, {'agent_id': 'A4', 'capacity': 243}, {'agent_id': 'A5', 'capacity': 243}, {'agent_id': 'A6', 'capacity': 243}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 44}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 42}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 16}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 13}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 13}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 16}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 45}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 32}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 14}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 14}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 27}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 25}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 39}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 19}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 50}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 43}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 48}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 42}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 46}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 50}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 37}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 19}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 38}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 24}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 35}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 50}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 42}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 37}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 19}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 11}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 17}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 30}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 13}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 15}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 15}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 46}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 25}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 25}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 12}]}","['A3', 'A1', 'A2', 'A2', 'A3', 'A3', 'A1', 'A3', 'A1', 'A4', 'A4', 'A3', 'A6', 'A1', 'A1', 'A5', 'A6', 'A5']",12,csv,names GAP,GAP,"Many people signed up to help at the picnic, and there’s a list of duties that all need someone assigned. For each duty and volunteer pair there’s an estimated time hit on that volunteer and a cost for that pairing. The aim is to pick who does which duty so that the grand total spent (the sum of the costs for all chosen assignments) is as low as possible, while ensuring no volunteer’s total assigned time goes over their agreed hours and every duty gets exactly one person. The full matrix of times, costs, and each volunteer’s available hours is provided below. { ""num_volunteers"": 7, ""num_duties"": 25, ""volunteer_ids"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"" ], ""duty_ids"": [ 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 ], ""capacities"": [ { ""volunteer_id"": ""A1"", ""available_hours"": 181 }, { ""volunteer_id"": ""A2"", ""available_hours"": 181 }, { ""volunteer_id"": ""A3"", ""available_hours"": 182 }, { ""volunteer_id"": ""A4"", ""available_hours"": 179 }, { ""volunteer_id"": ""A5"", ""available_hours"": 183 }, { ""volunteer_id"": ""A6"", ""available_hours"": 175 }, { ""volunteer_id"": ""A7"", ""available_hours"": 179 } ], ""resource"": [ { ""volunteer_id"": ""A1"", ""duty_id"": 1, ""time_required"": 30 }, { ""volunteer_id"": ""A1"", ""duty_id"": 2, ""time_required"": 26 }, { ""volunteer_id"": ""A1"", ""duty_id"": 3, ""time_required"": 29 }, { ""volunteer_id"": ""A1"", ""duty_id"": 4, ""time_required"": 20 }, { ""volunteer_id"": ""A1"", ""duty_id"": 5, ""time_required"": 39 }, { ""volunteer_id"": ""A1"", ""duty_id"": 6, ""time_required"": 41 }, { ""volunteer_id"": ""A1"", ""duty_id"": 7, ""time_required"": 26 }, { ""volunteer_id"": ""A1"", ""duty_id"": 8, ""time_required"": 30 }, { ""volunteer_id"": ""A1"", ""duty_id"": 9, ""time_required"": 45 }, { ""volunteer_id"": ""A1"", ""duty_id"": 10, ""time_required"": 43 }, { ""volunteer_id"": ""A1"", ""duty_id"": 11, ""time_required"": 12 }, { ""volunteer_id"": ""A1"", ""duty_id"": 12, ""time_required"": 21 }, { ""volunteer_id"": ""A1"", ""duty_id"": 13, ""time_required"": 47 }, { ""volunteer_id"": ""A1"", ""duty_id"": 14, ""time_required"": 22 }, { ""volunteer_id"": ""A1"", ""duty_id"": 15, ""time_required"": 12 }, { ""volunteer_id"": ""A1"", ""duty_id"": 16, ""time_required"": 14 }, { ""volunteer_id"": ""A1"", ""duty_id"": 17, ""time_required"": 44 }, { ""volunteer_id"": ""A1"", ""duty_id"": 18, ""time_required"": 38 }, { ""volunteer_id"": ""A1"", ""duty_id"": 19, ""time_required"": 35 }, { ""volunteer_id"": ""A1"", ""duty_id"": 20, ""time_required"": 28 }, { ""volunteer_id"": ""A1"", ""duty_id"": 21, ""time_required"": 20 }, { ""volunteer_id"": ""A1"", ""duty_id"": 22, ""time_required"": 49 }, { ""volunteer_id"": ""A1"", ""duty_id"": 23, ""time_required"": 15 }, { ""volunteer_id"": ""A1"", ""duty_id"": 24, ""time_required"": 28 }, { ""volunteer_id"": ""A1"", ""duty_id"": 25, ""time_required"": 16 }, { ""volunteer_id"": ""A2"", ""duty_id"": 1, ""time_required"": 26 }, { ""volunteer_id"": ""A2"", ""duty_id"": 2, ""time_required"": 17 }, { ""volunteer_id"": ""A2"", ""duty_id"": 3, ""time_required"": 15 }, { ""volunteer_id"": ""A2"", ""duty_id"": 4, ""time_required"": 34 }, { ""volunteer_id"": ""A2"", ""duty_id"": 5, ""time_required"": 11 }, { ""volunteer_id"": ""A2"", ""duty_id"": 6, ""time_required"": 48 }, { ""volunteer_id"": ""A2"", ""duty_id"": 7, ""time_required"": 45 }, { ""volunteer_id"": ""A2"", ""duty_id"": 8, ""time_required"": 37 }, { ""volunteer_id"": ""A2"", ""duty_id"": 9, ""time_required"": 38 }, { ""volunteer_id"": ""A2"", ""duty_id"": 10, ""time_required"": 48 }, { ""volunteer_id"": ""A2"", ""duty_id"": 11, ""time_required"": 36 }, { ""volunteer_id"": ""A2"", ""duty_id"": 12, ""time_required"": 49 }, { ""volunteer_id"": ""A2"", ""duty_id"": 13, ""time_required"": 40 }, { ""volunteer_id"": ""A2"", ""duty_id"": 14, ""time_required"": 17 }, { ""volunteer_id"": ""A2"", ""duty_id"": 15, ""time_required"": 19 }, { ""volunteer_id"": ""A2"", ""duty_id"": 16, ""time_required"": 39 }, { ""volunteer_id"": ""A2"", ""duty_id"": 17, ""time_required"": 15 }, { ""volunteer_id"": ""A2"", ""duty_id"": 18, ""time_required"": 13 }, { ""volunteer_id"": ""A2"", ""duty_id"": 19, ""time_required"": 18 }, { ""volunteer_id"": ""A2"", ""duty_id"": 20, ""time_required"": 22 }, { ""volunteer_id"": ""A2"", ""duty_id"": 21, ""time_required"": 49 }, { ""volunteer_id"": ""A2"", ""duty_id"": 22, ""time_required"": 50 }, { ""volunteer_id"": ""A2"", ""duty_id"": 23, ""time_required"": 46 }, { ""volunteer_id"": ""A2"", ""duty_id"": 24, ""time_required"": 45 }, { ""volunteer_id"": ""A2"", ""duty_id"": 25, ""time_required"": 13 }, { ""volunteer_id"": ""A3"", ""duty_id"": 1, ""time_required"": 49 }, { ""volunteer_id"": ""A3"", ""duty_id"": 2, ""time_required"": 14 }, { ""volunteer_id"": ""A3"", ""duty_id"": 3, ""time_required"": 21 }, { ""volunteer_id"": ""A3"", ""duty_id"": 4, ""time_required"": 24 }, { ""volunteer_id"": ""A3"", ""duty_id"": 5, ""time_required"": 28 }, { ""volunteer_id"": ""A3"", ""duty_id"": 6, ""time_required"": 14 }, { ""volunteer_id"": ""A3"", ""duty_id"": 7, ""time_required"": 20 }, { ""volunteer_id"": ""A3"", ""duty_id"": 8, ""time_required"": 34 }, { ""volunteer_id"": ""A3"", ""duty_id"": 9, ""time_required"": 18 }, { ""volunteer_id"": ""A3"", ""duty_id"": 10, ""time_required"": 15 }, { ""volunteer_id"": ""A3"", ""duty_id"": 11, ""time_required"": 41 }, { ""volunteer_id"": ""A3"", ""duty_id"": 12, ""time_required"": 31 }, { ""volunteer_id"": ""A3"", ""duty_id"": 13, ""time_required"": 20 }, { ""volunteer_id"": ""A3"", ""duty_id"": 14, ""time_required"": 38 }, { ""volunteer_id"": ""A3"", ""duty_id"": 15, ""time_required"": 29 }, { ""volunteer_id"": ""A3"", ""duty_id"": 16, ""time_required"": 15 }, { ""volunteer_id"": ""A3"", ""duty_id"": 17, ""time_required"": 11 }, { ""volunteer_id"": ""A3"", ""duty_id"": 18, ""time_required"": 15 }, { ""volunteer_id"": ""A3"", ""duty_id"": 19, ""time_required"": 14 }, { ""volunteer_id"": ""A3"", ""duty_id"": 20, ""time_required"": 19 }, { ""volunteer_id"": ""A3"", ""duty_id"": 21, ""time_required"": 38 }, { ""volunteer_id"": ""A3"", ""duty_id"": 22, ""time_required"": 24 }, { ""volunteer_id"": ""A3"", ""duty_id"": 23, ""time_required"": 41 }, { ""volunteer_id"": ""A3"", ""duty_id"": 24, ""time_required"": 37 }, { ""volunteer_id"": ""A3"", ""duty_id"": 25, ""time_required"": 49 }, { ""volunteer_id"": ""A4"", ""duty_id"": 1, ""time_required"": 22 }, { ""volunteer_id"": ""A4"", ""duty_id"": 2, ""time_required"": 37 }, { ""volunteer_id"": ""A4"", ""duty_id"": 3, ""time_required"": 20 }, { ""volunteer_id"": ""A4"", ""duty_id"": 4, ""time_required"": 29 }, { ""volunteer_id"": ""A4"", ""duty_id"": 5, ""time_required"": 10 }, { ""volunteer_id"": ""A4"", ""duty_id"": 6, ""time_required"": 42 }, { ""volunteer_id"": ""A4"", ""duty_id"": 7, ""time_required"": 36 }, { ""volunteer_id"": ""A4"", ""duty_id"": 8, ""time_required"": 28 }, { ""volunteer_id"": ""A4"", ""duty_id"": 9, ""time_required"": 15 }, { ""volunteer_id"": ""A4"", ""duty_id"": 10, ""time_required"": 13 }, { ""volunteer_id"": ""A4"", ""duty_id"": 11, ""time_required"": 44 }, { ""volunteer_id"": ""A4"", ""duty_id"": 12, ""time_required"": 30 }, { ""volunteer_id"": ""A4"", ""duty_id"": 13, ""time_required"": 26 }, { ""volunteer_id"": ""A4"", ""duty_id"": 14, ""time_required"": 38 }, { ""volunteer_id"": ""A4"", ""duty_id"": 15, ""time_required"": 38 }, { ""volunteer_id"": ""A4"", ""duty_id"": 16, ""time_required"": 37 }, { ""volunteer_id"": ""A4"", ""duty_id"": 17, ""time_required"": 40 }, { ""volunteer_id"": ""A4"", ""duty_id"": 18, ""time_required"": 26 }, { ""volunteer_id"": ""A4"", ""duty_id"": 19, ""time_required"": 20 }, { ""volunteer_id"": ""A4"", ""duty_id"": 20, ""time_required"": 17 }, { ""volunteer_id"": ""A4"", ""duty_id"": 21, ""time_required"": 26 }, { ""volunteer_id"": ""A4"", ""duty_id"": 22, ""time_required"": 32 }, { ""volunteer_id"": ""A4"", ""duty_id"": 23, ""time_required"": 43 }, { ""volunteer_id"": ""A4"", ""duty_id"": 24, ""time_required"": 24 }, { ""volunteer_id"": ""A4"", ""duty_id"": 25, ""time_required"": 44 }, { ""volunteer_id"": ""A5"", ""duty_id"": 1, ""time_required"": 30 }, { ""volunteer_id"": ""A5"", ""duty_id"": 2, ""time_required"": 42 }, { ""volunteer_id"": ""A5"", ""duty_id"": 3, ""time_required"": 30 }, { ""volunteer_id"": ""A5"", ""duty_id"": 4, ""time_required"": 24 }, { ""volunteer_id"": ""A5"", ""duty_id"": 5, ""time_required"": 18 }, { ""volunteer_id"": ""A5"", ""duty_id"": 6, ""time_required"": 43 }, { ""volunteer_id"": ""A5"", ""duty_id"": 7, ""time_required"": 12 }, { ""volunteer_id"": ""A5"", ""duty_id"": 8, ""time_required"": 43 }, { ""volunteer_id"": ""A5"", ""duty_id"": 9, ""time_required"": 47 }, { ""volunteer_id"": ""A5"", ""duty_id"": 10, ""time_required"": 14 }, { ""volunteer_id"": ""A5"", ""duty_id"": 11, ""time_required"": 26 }, { ""volunteer_id"": ""A5"", ""duty_id"": 12, ""time_required"": 29 }, { ""volunteer_id"": ""A5"", ""duty_id"": 13, ""time_required"": 35 }, { ""volunteer_id"": ""A5"", ""duty_id"": 14, ""time_required"": 38 }, { ""volunteer_id"": ""A5"", ""duty_id"": 15, ""time_required"": 25 }, { ""volunteer_id"": ""A5"", ""duty_id"": 16, ""time_required"": 36 }, { ""volunteer_id"": ""A5"", ""duty_id"": 17, ""time_required"": 16 }, { ""volunteer_id"": ""A5"", ""duty_id"": 18, ""time_required"": 32 }, { ""volunteer_id"": ""A5"", ""duty_id"": 19, ""time_required"": 27 }, { ""volunteer_id"": ""A5"", ""duty_id"": 20, ""time_required"": 34 }, { ""volunteer_id"": ""A5"", ""duty_id"": 21, ""time_required"": 41 }, { ""volunteer_id"": ""A5"", ""duty_id"": 22, ""time_required"": 42 }, { ""volunteer_id"": ""A5"", ""duty_id"": 23, ""time_required"": 32 }, { ""volunteer_id"": ""A5"", ""duty_id"": 24, ""time_required"": 23 }, { ""volunteer_id"": ""A5"", ""duty_id"": 25, ""time_required"": 47 }, { ""volunteer_id"": ""A6"", ""duty_id"": 1, ""time_required"": 22 }, { ""volunteer_id"": ""A6"", ""duty_id"": 2, ""time_required"": 33 }, { ""volunteer_id"": ""A6"", ""duty_id"": 3, ""time_required"": 41 }, { ""volunteer_id"": ""A6"", ""duty_id"": 4, ""time_required"": 24 }, { ""volunteer_id"": ""A6"", ""duty_id"": 5, ""time_required"": 26 }, { ""volunteer_id"": ""A6"", ""duty_id"": 6, ""time_required"": 35 }, { ""volunteer_id"": ""A6"", ""duty_id"": 7, ""time_required"": 34 }, { ""volunteer_id"": ""A6"", ""duty_id"": 8, ""time_required"": 29 }, { ""volunteer_id"": ""A6"", ""duty_id"": 9, ""time_required"": 25 }, { ""volunteer_id"": ""A6"", ""duty_id"": 10, ""time_required"": 32 }, { ""volunteer_id"": ""A6"", ""duty_id"": 11, ""time_required"": 24 }, { ""volunteer_id"": ""A6"", ""duty_id"": 12, ""time_required"": 13 }, { ""volunteer_id"": ""A6"", ""duty_id"": 13, ""time_required"": 22 }, { ""volunteer_id"": ""A6"", ""duty_id"": 14, ""time_required"": 13 }, { ""volunteer_id"": ""A6"", ""duty_id"": 15, ""time_required"": 11 }, { ""volunteer_id"": ""A6"", ""duty_id"": 16, ""time_required"": 50 }, { ""volunteer_id"": ""A6"", ""duty_id"": 17, ""time_required"": 31 }, { ""volunteer_id"": ""A6"", ""duty_id"": 18, ""time_required"": 16 }, { ""volunteer_id"": ""A6"", ""duty_id"": 19, ""time_required"": 27 }, { ""volunteer_id"": ""A6"", ""duty_id"": 20, ""time_required"": 25 }, { ""volunteer_id"": ""A6"", ""duty_id"": 21, ""time_required"": 24 }, { ""volunteer_id"": ""A6"", ""duty_id"": 22, ""time_required"": 38 }, { ""volunteer_id"": ""A6"", ""duty_id"": 23, ""time_required"": 38 }, { ""volunteer_id"": ""A6"", ""duty_id"": 24, ""time_required"": 11 }, { ""volunteer_id"": ""A6"", ""duty_id"": 25, ""time_required"": 38 }, { ""volunteer_id"": ""A7"", ""duty_id"": 1, ""time_required"": 24 }, { ""volunteer_id"": ""A7"", ""duty_id"": 2, ""time_required"": 10 }, { ""volunteer_id"": ""A7"", ""duty_id"": 3, ""time_required"": 49 }, { ""volunteer_id"": ""A7"", ""duty_id"": 4, ""time_required"": 26 }, { ""volunteer_id"": ""A7"", ""duty_id"": 5, ""time_required"": 28 }, { ""volunteer_id"": ""A7"", ""duty_id"": 6, ""time_required"": 29 }, { ""volunteer_id"": ""A7"", ""duty_id"": 7, ""time_required"": 36 }, { ""volunteer_id"": ""A7"", ""duty_id"": 8, ""time_required"": 18 }, { ""volunteer_id"": ""A7"", ""duty_id"": 9, ""time_required"": 29 }, { ""volunteer_id"": ""A7"", ""duty_id"": 10, ""time_required"": 44 }, { ""volunteer_id"": ""A7"", ""duty_id"": 11, ""time_required"": 11 }, { ""volunteer_id"": ""A7"", ""duty_id"": 12, ""time_required"": 50 }, { ""volunteer_id"": ""A7"", ""duty_id"": 13, ""time_required"": 34 }, { ""volunteer_id"": ""A7"", ""duty_id"": 14, ""time_required"": 33 }, { ""volunteer_id"": ""A7"", ""duty_id"": 15, ""time_required"": 41 }, { ""volunteer_id"": ""A7"", ""duty_id"": 16, ""time_required"": 12 }, { ""volunteer_id"": ""A7"", ""duty_id"": 17, ""time_required"": 39 }, { ""volunteer_id"": ""A7"", ""duty_id"": 18, ""time_required"": 35 }, { ""volunteer_id"": ""A7"", ""duty_id"": 19, ""time_required"": 28 }, { ""volunteer_id"": ""A7"", ""duty_id"": 20, ""time_required"": 23 }, { ""volunteer_id"": ""A7"", ""duty_id"": 21, ""time_required"": 36 }, { ""volunteer_id"": ""A7"", ""duty_id"": 22, ""time_required"": 38 }, { ""volunteer_id"": ""A7"", ""duty_id"": 23, ""time_required"": 18 }, { ""volunteer_id"": ""A7"", ""duty_id"": 24, ""time_required"": 18 }, { ""volunteer_id"": ""A7"", ""duty_id"": 25, ""time_required"": 15 } ], ""cost"": [ { ""volunteer_id"": ""A1"", ""duty_id"": 1, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A1"", ""duty_id"": 2, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A1"", ""duty_id"": 3, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A1"", ""duty_id"": 4, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A1"", ""duty_id"": 5, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A1"", ""duty_id"": 6, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A1"", ""duty_id"": 7, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A1"", ""duty_id"": 8, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A1"", ""duty_id"": 9, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A1"", ""duty_id"": 10, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A1"", ""duty_id"": 11, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A1"", ""duty_id"": 12, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A1"", ""duty_id"": 13, ""assignment_cost"": 8 }, { ""volunteer_id"": ""A1"", ""duty_id"": 14, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A1"", ""duty_id"": 15, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A1"", ""duty_id"": 16, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A1"", ""duty_id"": 17, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A1"", ""duty_id"": 18, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A1"", ""duty_id"": 19, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A1"", ""duty_id"": 20, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A1"", ""duty_id"": 21, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A1"", ""duty_id"": 22, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A1"", ""duty_id"": 23, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A1"", ""duty_id"": 24, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A1"", ""duty_id"": 25, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A2"", ""duty_id"": 1, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A2"", ""duty_id"": 2, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A2"", ""duty_id"": 3, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A2"", ""duty_id"": 4, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A2"", ""duty_id"": 5, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A2"", ""duty_id"": 6, ""assignment_cost"": 8 }, { ""volunteer_id"": ""A2"", ""duty_id"": 7, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A2"", ""duty_id"": 8, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A2"", ""duty_id"": 9, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A2"", ""duty_id"": 10, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A2"", ""duty_id"": 11, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A2"", ""duty_id"": 12, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A2"", ""duty_id"": 13, ""assignment_cost"": 15 }, { ""volunteer_id"": ""A2"", ""duty_id"": 14, ""assignment_cost"": 21 }, { ""volunteer_id"": ""A2"", ""duty_id"": 15, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A2"", ""duty_id"": 16, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A2"", ""duty_id"": 17, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A2"", ""duty_id"": 18, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A2"", ""duty_id"": 19, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A2"", ""duty_id"": 20, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A2"", ""duty_id"": 21, ""assignment_cost"": 15 }, { ""volunteer_id"": ""A2"", ""duty_id"": 22, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A2"", ""duty_id"": 23, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A2"", ""duty_id"": 24, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A2"", ""duty_id"": 25, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A3"", ""duty_id"": 1, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A3"", ""duty_id"": 2, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A3"", ""duty_id"": 3, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A3"", ""duty_id"": 4, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A3"", ""duty_id"": 5, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A3"", ""duty_id"": 6, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A3"", ""duty_id"": 7, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A3"", ""duty_id"": 8, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A3"", ""duty_id"": 9, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A3"", ""duty_id"": 10, ""assignment_cost"": 8 }, { ""volunteer_id"": ""A3"", ""duty_id"": 11, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A3"", ""duty_id"": 12, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A3"", ""duty_id"": 13, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A3"", ""duty_id"": 14, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A3"", ""duty_id"": 15, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A3"", ""duty_id"": 16, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A3"", ""duty_id"": 17, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A3"", ""duty_id"": 18, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A3"", ""duty_id"": 19, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A3"", ""duty_id"": 20, ""assignment_cost"": 15 }, { ""volunteer_id"": ""A3"", ""duty_id"": 21, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A3"", ""duty_id"": 22, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A3"", ""duty_id"": 23, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A3"", ""duty_id"": 24, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A3"", ""duty_id"": 25, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A4"", ""duty_id"": 1, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A4"", ""duty_id"": 2, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A4"", ""duty_id"": 3, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A4"", ""duty_id"": 4, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A4"", ""duty_id"": 5, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A4"", ""duty_id"": 6, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A4"", ""duty_id"": 7, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A4"", ""duty_id"": 8, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A4"", ""duty_id"": 9, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A4"", ""duty_id"": 10, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A4"", ""duty_id"": 11, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A4"", ""duty_id"": 12, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A4"", ""duty_id"": 13, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A4"", ""duty_id"": 14, ""assignment_cost"": 21 }, { ""volunteer_id"": ""A4"", ""duty_id"": 15, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A4"", ""duty_id"": 16, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A4"", ""duty_id"": 17, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A4"", ""duty_id"": 18, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A4"", ""duty_id"": 19, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A4"", ""duty_id"": 20, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A4"", ""duty_id"": 21, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A4"", ""duty_id"": 22, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A4"", ""duty_id"": 23, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A4"", ""duty_id"": 24, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A4"", ""duty_id"": 25, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A5"", ""duty_id"": 1, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A5"", ""duty_id"": 2, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A5"", ""duty_id"": 3, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A5"", ""duty_id"": 4, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A5"", ""duty_id"": 5, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A5"", ""duty_id"": 6, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A5"", ""duty_id"": 7, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A5"", ""duty_id"": 8, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A5"", ""duty_id"": 9, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A5"", ""duty_id"": 10, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A5"", ""duty_id"": 11, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A5"", ""duty_id"": 12, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A5"", ""duty_id"": 13, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A5"", ""duty_id"": 14, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A5"", ""duty_id"": 15, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A5"", ""duty_id"": 16, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A5"", ""duty_id"": 17, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A5"", ""duty_id"": 18, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A5"", ""duty_id"": 19, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A5"", ""duty_id"": 20, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A5"", ""duty_id"": 21, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A5"", ""duty_id"": 22, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A5"", ""duty_id"": 23, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A5"", ""duty_id"": 24, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A5"", ""duty_id"": 25, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A6"", ""duty_id"": 1, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A6"", ""duty_id"": 2, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A6"", ""duty_id"": 3, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A6"", ""duty_id"": 4, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A6"", ""duty_id"": 5, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A6"", ""duty_id"": 6, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A6"", ""duty_id"": 7, ""assignment_cost"": 12 }, { ""volunteer_id"": ""A6"", ""duty_id"": 8, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A6"", ""duty_id"": 9, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A6"", ""duty_id"": 10, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A6"", ""duty_id"": 11, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A6"", ""duty_id"": 12, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A6"", ""duty_id"": 13, ""assignment_cost"": 15 }, { ""volunteer_id"": ""A6"", ""duty_id"": 14, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A6"", ""duty_id"": 15, ""assignment_cost"": 19 }, { ""volunteer_id"": ""A6"", ""duty_id"": 16, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A6"", ""duty_id"": 17, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A6"", ""duty_id"": 18, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A6"", ""duty_id"": 19, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A6"", ""duty_id"": 20, ""assignment_cost"": 11 }, { ""volunteer_id"": ""A6"", ""duty_id"": 21, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A6"", ""duty_id"": 22, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A6"", ""duty_id"": 23, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A6"", ""duty_id"": 24, ""assignment_cost"": 16 }, { ""volunteer_id"": ""A6"", ""duty_id"": 25, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A7"", ""duty_id"": 1, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A7"", ""duty_id"": 2, ""assignment_cost"": 8 }, { ""volunteer_id"": ""A7"", ""duty_id"": 3, ""assignment_cost"": 18 }, { ""volunteer_id"": ""A7"", ""duty_id"": 4, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A7"", ""duty_id"": 5, ""assignment_cost"": 14 }, { ""volunteer_id"": ""A7"", ""duty_id"": 6, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A7"", ""duty_id"": 7, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A7"", ""duty_id"": 8, ""assignment_cost"": 15 }, { ""volunteer_id"": ""A7"", ""duty_id"": 9, ""assignment_cost"": 9 }, { ""volunteer_id"": ""A7"", ""duty_id"": 10, ""assignment_cost"": 10 }, { ""volunteer_id"": ""A7"", ""duty_id"": 11, ""assignment_cost"": 24 }, { ""volunteer_id"": ""A7"", ""duty_id"": 12, ""assignment_cost"": 21 }, { ""volunteer_id"": ""A7"", ""duty_id"": 13, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A7"", ""duty_id"": 14, ""assignment_cost"": 25 }, { ""volunteer_id"": ""A7"", ""duty_id"": 15, ""assignment_cost"": 22 }, { ""volunteer_id"": ""A7"", ""duty_id"": 16, ""assignment_cost"": 6 }, { ""volunteer_id"": ""A7"", ""duty_id"": 17, ""assignment_cost"": 7 }, { ""volunteer_id"": ""A7"", ""duty_id"": 18, ""assignment_cost"": 23 }, { ""volunteer_id"": ""A7"", ""duty_id"": 19, ""assignment_cost"": 17 }, { ""volunteer_id"": ""A7"", ""duty_id"": 20, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A7"", ""duty_id"": 21, ""assignment_cost"": 21 }, { ""volunteer_id"": ""A7"", ""duty_id"": 22, ""assignment_cost"": 5 }, { ""volunteer_id"": ""A7"", ""duty_id"": 23, ""assignment_cost"": 13 }, { ""volunteer_id"": ""A7"", ""duty_id"": 24, ""assignment_cost"": 20 }, { ""volunteer_id"": ""A7"", ""duty_id"": 25, ""assignment_cost"": 16 } ] } Just to keep things tidy, when you send the final assignment back, please use this little JSON shape so it's easy to read and plug into whatever sheet or tool you're using: { ""solution"": [ , , ..., ] } Think of that as a simple list: the solution array gives, in order, the volunteer chosen for each duty (first item → first duty, second → second duty, and so on). The angle-bracket placeholders are just showing the shape — replace each one with the actual volunteer identifier from the instance when you reply. This JSON is just a sketch of the expected shape, not the real answer. All identifiers must be used exactly as they appear in the instance input — no renaming and no new labels. - Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[30, 26, 29, 20, 39, 41, 26, 30, 45, 43, 12, 21, 47, 22, 12, 14, 44, 38, 35, 28, 20, 49, 15, 28, 16], [26, 17, 15, 34, 11, 48, 45, 37, 38, 48, 36, 49, 40, 17, 19, 39, 15, 13, 18, 22, 49, 50, 46, 45, 13], [49, 14, 21, 24, 28, 14, 20, 34, 18, 15, 41, 31, 20, 38, 29, 15, 11, 15, 14, 19, 38, 24, 41, 37, 49], [22, 37, 20, 29, 10, 42, 36, 28, 15, 13, 44, 30, 26, 38, 38, 37, 40, 26, 20, 17, 26, 32, 43, 24, 44], [30, 42, 30, 24, 18, 43, 12, 43, 47, 14, 26, 29, 35, 38, 25, 36, 16, 32, 27, 34, 41, 42, 32, 23, 47], [22, 33, 41, 24, 26, 35, 34, 29, 25, 32, 24, 13, 22, 13, 11, 50, 31, 16, 27, 25, 24, 38, 38, 11, 38], [24, 10, 49, 26, 28, 29, 36, 18, 29, 44, 11, 50, 34, 33, 41, 12, 39, 35, 28, 23, 36, 38, 18, 18, 15]], 'assignment_costs': [[10, 6, 25, 6, 17, 14, 5, 18, 19, 5, 25, 5, 8, 24, 17, 7, 11, 20, 17, 14, 25, 16, 6, 9, 5], [22, 5, 13, 20, 7, 8, 22, 20, 12, 11, 16, 23, 15, 21, 5, 12, 20, 17, 20, 17, 15, 16, 23, 13, 16], [12, 9, 9, 7, 7, 12, 16, 17, 16, 8, 7, 19, 12, 25, 19, 23, 5, 14, 6, 15, 9, 10, 23, 11, 17], [14, 23, 10, 11, 17, 20, 6, 25, 18, 24, 16, 9, 24, 21, 22, 18, 19, 11, 7, 5, 13, 9, 5, 11, 16], [7, 22, 11, 17, 6, 23, 12, 12, 6, 7, 23, 18, 17, 14, 10, 25, 14, 18, 6, 25, 16, 11, 13, 20, 12], [14, 11, 17, 20, 5, 24, 12, 13, 20, 19, 18, 10, 15, 11, 19, 17, 5, 22, 25, 11, 16, 20, 25, 16, 22], [24, 8, 18, 20, 14, 20, 10, 15, 9, 10, 24, 21, 7, 25, 22, 6, 7, 23, 17, 13, 21, 5, 13, 20, 16]], 'capacities': [181, 181, 182, 179, 183, 175, 179], 'objective': 169.0}","[4, 1, 2, 0, 5, 1, 0, 4, 4, 0, 2, 0, 6, 5, 1, 6, 2, 3, 2, 3, 2, 6, 3, 0, 0]",169.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 25, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [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], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 181}, {'agent_id': 'A2', 'capacity': 181}, {'agent_id': 'A3', 'capacity': 182}, {'agent_id': 'A4', 'capacity': 179}, {'agent_id': 'A5', 'capacity': 183}, {'agent_id': 'A6', 'capacity': 175}, {'agent_id': 'A7', 'capacity': 179}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 25, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 25, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 25, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 25, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 25, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 25, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 25, 'consumption': 15}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 10}, {'agent_id': 'A1', 'task_id': 2, 'cost': 6}, {'agent_id': 'A1', 'task_id': 3, 'cost': 25}, {'agent_id': 'A1', 'task_id': 4, 'cost': 6}, {'agent_id': 'A1', 'task_id': 5, 'cost': 17}, {'agent_id': 'A1', 'task_id': 6, 'cost': 14}, {'agent_id': 'A1', 'task_id': 7, 'cost': 5}, {'agent_id': 'A1', 'task_id': 8, 'cost': 18}, {'agent_id': 'A1', 'task_id': 9, 'cost': 19}, {'agent_id': 'A1', 'task_id': 10, 'cost': 5}, {'agent_id': 'A1', 'task_id': 11, 'cost': 25}, {'agent_id': 'A1', 'task_id': 12, 'cost': 5}, {'agent_id': 'A1', 'task_id': 13, 'cost': 8}, {'agent_id': 'A1', 'task_id': 14, 'cost': 24}, {'agent_id': 'A1', 'task_id': 15, 'cost': 17}, {'agent_id': 'A1', 'task_id': 16, 'cost': 7}, {'agent_id': 'A1', 'task_id': 17, 'cost': 11}, {'agent_id': 'A1', 'task_id': 18, 'cost': 20}, {'agent_id': 'A1', 'task_id': 19, 'cost': 17}, {'agent_id': 'A1', 'task_id': 20, 'cost': 14}, {'agent_id': 'A1', 'task_id': 21, 'cost': 25}, {'agent_id': 'A1', 'task_id': 22, 'cost': 16}, {'agent_id': 'A1', 'task_id': 23, 'cost': 6}, {'agent_id': 'A1', 'task_id': 24, 'cost': 9}, {'agent_id': 'A1', 'task_id': 25, 'cost': 5}, {'agent_id': 'A2', 'task_id': 1, 'cost': 22}, {'agent_id': 'A2', 'task_id': 2, 'cost': 5}, {'agent_id': 'A2', 'task_id': 3, 'cost': 13}, {'agent_id': 'A2', 'task_id': 4, 'cost': 20}, {'agent_id': 'A2', 'task_id': 5, 'cost': 7}, {'agent_id': 'A2', 'task_id': 6, 'cost': 8}, {'agent_id': 'A2', 'task_id': 7, 'cost': 22}, {'agent_id': 'A2', 'task_id': 8, 'cost': 20}, {'agent_id': 'A2', 'task_id': 9, 'cost': 12}, {'agent_id': 'A2', 'task_id': 10, 'cost': 11}, {'agent_id': 'A2', 'task_id': 11, 'cost': 16}, {'agent_id': 'A2', 'task_id': 12, 'cost': 23}, {'agent_id': 'A2', 'task_id': 13, 'cost': 15}, {'agent_id': 'A2', 'task_id': 14, 'cost': 21}, {'agent_id': 'A2', 'task_id': 15, 'cost': 5}, {'agent_id': 'A2', 'task_id': 16, 'cost': 12}, {'agent_id': 'A2', 'task_id': 17, 'cost': 20}, {'agent_id': 'A2', 'task_id': 18, 'cost': 17}, {'agent_id': 'A2', 'task_id': 19, 'cost': 20}, {'agent_id': 'A2', 'task_id': 20, 'cost': 17}, {'agent_id': 'A2', 'task_id': 21, 'cost': 15}, {'agent_id': 'A2', 'task_id': 22, 'cost': 16}, {'agent_id': 'A2', 'task_id': 23, 'cost': 23}, {'agent_id': 'A2', 'task_id': 24, 'cost': 13}, {'agent_id': 'A2', 'task_id': 25, 'cost': 16}, {'agent_id': 'A3', 'task_id': 1, 'cost': 12}, {'agent_id': 'A3', 'task_id': 2, 'cost': 9}, {'agent_id': 'A3', 'task_id': 3, 'cost': 9}, {'agent_id': 'A3', 'task_id': 4, 'cost': 7}, {'agent_id': 'A3', 'task_id': 5, 'cost': 7}, {'agent_id': 'A3', 'task_id': 6, 'cost': 12}, {'agent_id': 'A3', 'task_id': 7, 'cost': 16}, {'agent_id': 'A3', 'task_id': 8, 'cost': 17}, {'agent_id': 'A3', 'task_id': 9, 'cost': 16}, {'agent_id': 'A3', 'task_id': 10, 'cost': 8}, {'agent_id': 'A3', 'task_id': 11, 'cost': 7}, {'agent_id': 'A3', 'task_id': 12, 'cost': 19}, {'agent_id': 'A3', 'task_id': 13, 'cost': 12}, {'agent_id': 'A3', 'task_id': 14, 'cost': 25}, {'agent_id': 'A3', 'task_id': 15, 'cost': 19}, {'agent_id': 'A3', 'task_id': 16, 'cost': 23}, {'agent_id': 'A3', 'task_id': 17, 'cost': 5}, {'agent_id': 'A3', 'task_id': 18, 'cost': 14}, {'agent_id': 'A3', 'task_id': 19, 'cost': 6}, {'agent_id': 'A3', 'task_id': 20, 'cost': 15}, {'agent_id': 'A3', 'task_id': 21, 'cost': 9}, {'agent_id': 'A3', 'task_id': 22, 'cost': 10}, {'agent_id': 'A3', 'task_id': 23, 'cost': 23}, {'agent_id': 'A3', 'task_id': 24, 'cost': 11}, {'agent_id': 'A3', 'task_id': 25, 'cost': 17}, {'agent_id': 'A4', 'task_id': 1, 'cost': 14}, {'agent_id': 'A4', 'task_id': 2, 'cost': 23}, {'agent_id': 'A4', 'task_id': 3, 'cost': 10}, {'agent_id': 'A4', 'task_id': 4, 'cost': 11}, {'agent_id': 'A4', 'task_id': 5, 'cost': 17}, {'agent_id': 'A4', 'task_id': 6, 'cost': 20}, {'agent_id': 'A4', 'task_id': 7, 'cost': 6}, {'agent_id': 'A4', 'task_id': 8, 'cost': 25}, {'agent_id': 'A4', 'task_id': 9, 'cost': 18}, {'agent_id': 'A4', 'task_id': 10, 'cost': 24}, {'agent_id': 'A4', 'task_id': 11, 'cost': 16}, {'agent_id': 'A4', 'task_id': 12, 'cost': 9}, {'agent_id': 'A4', 'task_id': 13, 'cost': 24}, {'agent_id': 'A4', 'task_id': 14, 'cost': 21}, {'agent_id': 'A4', 'task_id': 15, 'cost': 22}, {'agent_id': 'A4', 'task_id': 16, 'cost': 18}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A4', 'task_id': 18, 'cost': 11}, {'agent_id': 'A4', 'task_id': 19, 'cost': 7}, {'agent_id': 'A4', 'task_id': 20, 'cost': 5}, {'agent_id': 'A4', 'task_id': 21, 'cost': 13}, {'agent_id': 'A4', 'task_id': 22, 'cost': 9}, {'agent_id': 'A4', 'task_id': 23, 'cost': 5}, {'agent_id': 'A4', 'task_id': 24, 'cost': 11}, {'agent_id': 'A4', 'task_id': 25, 'cost': 16}, {'agent_id': 'A5', 'task_id': 1, 'cost': 7}, {'agent_id': 'A5', 'task_id': 2, 'cost': 22}, {'agent_id': 'A5', 'task_id': 3, 'cost': 11}, {'agent_id': 'A5', 'task_id': 4, 'cost': 17}, {'agent_id': 'A5', 'task_id': 5, 'cost': 6}, {'agent_id': 'A5', 'task_id': 6, 'cost': 23}, {'agent_id': 'A5', 'task_id': 7, 'cost': 12}, {'agent_id': 'A5', 'task_id': 8, 'cost': 12}, {'agent_id': 'A5', 'task_id': 9, 'cost': 6}, {'agent_id': 'A5', 'task_id': 10, 'cost': 7}, {'agent_id': 'A5', 'task_id': 11, 'cost': 23}, {'agent_id': 'A5', 'task_id': 12, 'cost': 18}, {'agent_id': 'A5', 'task_id': 13, 'cost': 17}, {'agent_id': 'A5', 'task_id': 14, 'cost': 14}, {'agent_id': 'A5', 'task_id': 15, 'cost': 10}, {'agent_id': 'A5', 'task_id': 16, 'cost': 25}, {'agent_id': 'A5', 'task_id': 17, 'cost': 14}, {'agent_id': 'A5', 'task_id': 18, 'cost': 18}, {'agent_id': 'A5', 'task_id': 19, 'cost': 6}, {'agent_id': 'A5', 'task_id': 20, 'cost': 25}, {'agent_id': 'A5', 'task_id': 21, 'cost': 16}, {'agent_id': 'A5', 'task_id': 22, 'cost': 11}, {'agent_id': 'A5', 'task_id': 23, 'cost': 13}, {'agent_id': 'A5', 'task_id': 24, 'cost': 20}, {'agent_id': 'A5', 'task_id': 25, 'cost': 12}, {'agent_id': 'A6', 'task_id': 1, 'cost': 14}, {'agent_id': 'A6', 'task_id': 2, 'cost': 11}, {'agent_id': 'A6', 'task_id': 3, 'cost': 17}, {'agent_id': 'A6', 'task_id': 4, 'cost': 20}, {'agent_id': 'A6', 'task_id': 5, 'cost': 5}, {'agent_id': 'A6', 'task_id': 6, 'cost': 24}, {'agent_id': 'A6', 'task_id': 7, 'cost': 12}, {'agent_id': 'A6', 'task_id': 8, 'cost': 13}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 19}, {'agent_id': 'A6', 'task_id': 11, 'cost': 18}, {'agent_id': 'A6', 'task_id': 12, 'cost': 10}, {'agent_id': 'A6', 'task_id': 13, 'cost': 15}, {'agent_id': 'A6', 'task_id': 14, 'cost': 11}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 17}, {'agent_id': 'A6', 'task_id': 17, 'cost': 5}, {'agent_id': 'A6', 'task_id': 18, 'cost': 22}, {'agent_id': 'A6', 'task_id': 19, 'cost': 25}, {'agent_id': 'A6', 'task_id': 20, 'cost': 11}, {'agent_id': 'A6', 'task_id': 21, 'cost': 16}, {'agent_id': 'A6', 'task_id': 22, 'cost': 20}, {'agent_id': 'A6', 'task_id': 23, 'cost': 25}, {'agent_id': 'A6', 'task_id': 24, 'cost': 16}, {'agent_id': 'A6', 'task_id': 25, 'cost': 22}, {'agent_id': 'A7', 'task_id': 1, 'cost': 24}, {'agent_id': 'A7', 'task_id': 2, 'cost': 8}, {'agent_id': 'A7', 'task_id': 3, 'cost': 18}, {'agent_id': 'A7', 'task_id': 4, 'cost': 20}, {'agent_id': 'A7', 'task_id': 5, 'cost': 14}, {'agent_id': 'A7', 'task_id': 6, 'cost': 20}, {'agent_id': 'A7', 'task_id': 7, 'cost': 10}, {'agent_id': 'A7', 'task_id': 8, 'cost': 15}, {'agent_id': 'A7', 'task_id': 9, 'cost': 9}, {'agent_id': 'A7', 'task_id': 10, 'cost': 10}, {'agent_id': 'A7', 'task_id': 11, 'cost': 24}, {'agent_id': 'A7', 'task_id': 12, 'cost': 21}, {'agent_id': 'A7', 'task_id': 13, 'cost': 7}, {'agent_id': 'A7', 'task_id': 14, 'cost': 25}, {'agent_id': 'A7', 'task_id': 15, 'cost': 22}, {'agent_id': 'A7', 'task_id': 16, 'cost': 6}, {'agent_id': 'A7', 'task_id': 17, 'cost': 7}, {'agent_id': 'A7', 'task_id': 18, 'cost': 23}, {'agent_id': 'A7', 'task_id': 19, 'cost': 17}, {'agent_id': 'A7', 'task_id': 20, 'cost': 13}, {'agent_id': 'A7', 'task_id': 21, 'cost': 21}, {'agent_id': 'A7', 'task_id': 22, 'cost': 5}, {'agent_id': 'A7', 'task_id': 23, 'cost': 13}, {'agent_id': 'A7', 'task_id': 24, 'cost': 20}, {'agent_id': 'A7', 'task_id': 25, 'cost': 16}]}","['A5', 'A2', 'A3', 'A1', 'A6', 'A2', 'A1', 'A5', 'A5', 'A1', 'A3', 'A1', 'A7', 'A6', 'A2', 'A7', 'A3', 'A4', 'A3', 'A4', 'A3', 'A7', 'A4', 'A1', 'A1']",13,json,1 GAP,GAP,"We’re putting together the schedule for restocking: there’s a list of jobs and a crew of associates. Every job must be handed to a single associate (no doubling up and nothing left undone), each job eats up a known portion of an associate’s shift and costs a certain amount in wages if that person does it, and each associate only has a fixed shift length. The goal is to assign jobs so the total wages paid — the sum of the wage cost for each assigned job — is as low as possible without anyone’s assigned job times exceeding their shift. Exact numbers and pairings are shown below. We're listing 5 associates (A1, A2, A3, A4, A5) and 17 jobs (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16) below. | associate_id | shift_length | |---|---| | A1 | 240 | | A2 | 242 | | A3 | 244 | | A4 | 240 | | A5 | 234 | | associate_id | job_id | job_time | |---|---|---| | A1 | 0 | 49 | | A1 | 1 | 37 | | A1 | 2 | 15 | | A1 | 3 | 39 | | A1 | 4 | 22 | | A1 | 5 | 29 | | A1 | 6 | 48 | | A1 | 7 | 29 | | A1 | 8 | 48 | | A1 | 9 | 36 | | A1 | 10 | 17 | | A1 | 11 | 27 | | A1 | 12 | 45 | | A1 | 13 | 26 | | A1 | 14 | 43 | | A1 | 15 | 45 | | A1 | 16 | 10 | | A2 | 0 | 47 | | A2 | 1 | 44 | | A2 | 2 | 17 | | A2 | 3 | 28 | | A2 | 4 | 20 | | A2 | 5 | 21 | | A2 | 6 | 35 | | A2 | 7 | 23 | | A2 | 8 | 16 | | A2 | 9 | 22 | | A2 | 10 | 30 | | A2 | 11 | 31 | | A2 | 12 | 46 | | A2 | 13 | 37 | | A2 | 14 | 30 | | A2 | 15 | 16 | | A2 | 16 | 23 | | A3 | 0 | 38 | | A3 | 1 | 25 | | A3 | 2 | 15 | | A3 | 3 | 48 | | A3 | 4 | 33 | | A3 | 5 | 16 | | A3 | 6 | 35 | | A3 | 7 | 24 | | A3 | 8 | 24 | | A3 | 9 | 39 | | A3 | 10 | 39 | | A3 | 11 | 28 | | A3 | 12 | 21 | | A3 | 13 | 32 | | A3 | 14 | 50 | | A3 | 15 | 39 | | A3 | 16 | 49 | | A4 | 0 | 40 | | A4 | 1 | 18 | | A4 | 2 | 23 | | A4 | 3 | 24 | | A4 | 4 | 24 | | A4 | 5 | 29 | | A4 | 6 | 49 | | A4 | 7 | 13 | | A4 | 8 | 23 | | A4 | 9 | 45 | | A4 | 10 | 15 | | A4 | 11 | 13 | | A4 | 12 | 16 | | A4 | 13 | 21 | | A4 | 14 | 26 | | A4 | 15 | 44 | | A4 | 16 | 10 | | A5 | 0 | 16 | | A5 | 1 | 15 | | A5 | 2 | 50 | | A5 | 3 | 36 | | A5 | 4 | 32 | | A5 | 5 | 48 | | A5 | 6 | 36 | | A5 | 7 | 33 | | A5 | 8 | 11 | | A5 | 9 | 26 | | A5 | 10 | 19 | | A5 | 11 | 17 | | A5 | 12 | 39 | | A5 | 13 | 45 | | A5 | 14 | 31 | | A5 | 15 | 29 | | A5 | 16 | 42 | | associate_id | job_id | wage_cost | |---|---|---| | A1 | 0 | 18 | | A1 | 1 | 23 | | A1 | 2 | 13 | | A1 | 3 | 13 | | A1 | 4 | 5 | | A1 | 5 | 18 | | A1 | 6 | 9 | | A1 | 7 | 25 | | A1 | 8 | 24 | | A1 | 9 | 5 | | A1 | 10 | 12 | | A1 | 11 | 14 | | A1 | 12 | 6 | | A1 | 13 | 8 | | A1 | 14 | 16 | | A1 | 15 | 13 | | A1 | 16 | 24 | | A2 | 0 | 12 | | A2 | 1 | 5 | | A2 | 2 | 13 | | A2 | 3 | 10 | | A2 | 4 | 24 | | A2 | 5 | 21 | | A2 | 6 | 8 | | A2 | 7 | 11 | | A2 | 8 | 19 | | A2 | 9 | 22 | | A2 | 10 | 19 | | A2 | 11 | 21 | | A2 | 12 | 17 | | A2 | 13 | 25 | | A2 | 14 | 7 | | A2 | 15 | 7 | | A2 | 16 | 6 | | A3 | 0 | 24 | | A3 | 1 | 25 | | A3 | 2 | 25 | | A3 | 3 | 12 | | A3 | 4 | 17 | | A3 | 5 | 7 | | A3 | 6 | 12 | | A3 | 7 | 23 | | A3 | 8 | 25 | | A3 | 9 | 23 | | A3 | 10 | 11 | | A3 | 11 | 14 | | A3 | 12 | 13 | | A3 | 13 | 21 | | A3 | 14 | 9 | | A3 | 15 | 25 | | A3 | 16 | 18 | | A4 | 0 | 19 | | A4 | 1 | 19 | | A4 | 2 | 5 | | A4 | 3 | 14 | | A4 | 4 | 6 | | A4 | 5 | 21 | | A4 | 6 | 16 | | A4 | 7 | 8 | | A4 | 8 | 6 | | A4 | 9 | 13 | | A4 | 10 | 15 | | A4 | 11 | 25 | | A4 | 12 | 6 | | A4 | 13 | 8 | | A4 | 14 | 7 | | A4 | 15 | 25 | | A4 | 16 | 14 | | A5 | 0 | 18 | | A5 | 1 | 22 | | A5 | 2 | 10 | | A5 | 3 | 21 | | A5 | 4 | 14 | | A5 | 5 | 13 | | A5 | 6 | 23 | | A5 | 7 | 17 | | A5 | 8 | 17 | | A5 | 9 | 25 | | A5 | 10 | 21 | | A5 | 11 | 9 | | A5 | 12 | 9 | | A5 | 13 | 7 | | A5 | 14 | 7 | | A5 | 15 | 6 | | A5 | 16 | 22 | We'll use these 17 jobs and 5 associates to assign every job while minimizing total wages and keeping assigned times within each associate's shift. Also, when you send back the assignment, please stick to this simple JSON shape — just a straight list saying which staff does each job: { ""solution"": [ , , ..., ] } This ""solution"" list is just the jobs in order: the first entry is the staff id for the first job in the instance, the second entry is the staff id for the second job, and so on. Think of it like filling out a short form — which staff handles each job. This is only a sketch of the shape I need, not the actual assignment. Please use the exact identifiers given in the instance input — don't rename them or invent new labels. To be clear, valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[49, 37, 15, 39, 22, 29, 48, 29, 48, 36, 17, 27, 45, 26, 43, 45, 10], [47, 44, 17, 28, 20, 21, 35, 23, 16, 22, 30, 31, 46, 37, 30, 16, 23], [38, 25, 15, 48, 33, 16, 35, 24, 24, 39, 39, 28, 21, 32, 50, 39, 49], [40, 18, 23, 24, 24, 29, 49, 13, 23, 45, 15, 13, 16, 21, 26, 44, 10], [16, 15, 50, 36, 32, 48, 36, 33, 11, 26, 19, 17, 39, 45, 31, 29, 42]], 'assignment_costs': [[18, 23, 13, 13, 5, 18, 9, 25, 24, 5, 12, 14, 6, 8, 16, 13, 24], [12, 5, 13, 10, 24, 21, 8, 11, 19, 22, 19, 21, 17, 25, 7, 7, 6], [24, 25, 25, 12, 17, 7, 12, 23, 25, 23, 11, 14, 13, 21, 9, 25, 18], [19, 19, 5, 14, 6, 21, 16, 8, 6, 13, 15, 25, 6, 8, 7, 25, 14], [18, 22, 10, 21, 14, 13, 23, 17, 17, 25, 21, 9, 9, 7, 7, 6, 22]], 'capacities': [240, 242, 244, 240, 234], 'objective': 123.0}","[1, 1, 3, 1, 0, 2, 1, 3, 3, 0, 2, 4, 3, 4, 1, 4, 1]",123.0,"{'problem_type': 'GAP', 'num_agents': 5, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 240}, {'agent_id': 'A2', 'capacity': 242}, {'agent_id': 'A3', 'capacity': 244}, {'agent_id': 'A4', 'capacity': 240}, {'agent_id': 'A5', 'capacity': 234}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 42}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 18}, {'agent_id': 'A1', 'task_id': 1, 'cost': 23}, {'agent_id': 'A1', 'task_id': 2, 'cost': 13}, {'agent_id': 'A1', 'task_id': 3, 'cost': 13}, {'agent_id': 'A1', 'task_id': 4, 'cost': 5}, {'agent_id': 'A1', 'task_id': 5, 'cost': 18}, {'agent_id': 'A1', 'task_id': 6, 'cost': 9}, {'agent_id': 'A1', 'task_id': 7, 'cost': 25}, {'agent_id': 'A1', 'task_id': 8, 'cost': 24}, {'agent_id': 'A1', 'task_id': 9, 'cost': 5}, {'agent_id': 'A1', 'task_id': 10, 'cost': 12}, {'agent_id': 'A1', 'task_id': 11, 'cost': 14}, {'agent_id': 'A1', 'task_id': 12, 'cost': 6}, {'agent_id': 'A1', 'task_id': 13, 'cost': 8}, {'agent_id': 'A1', 'task_id': 14, 'cost': 16}, {'agent_id': 'A1', 'task_id': 15, 'cost': 13}, {'agent_id': 'A1', 'task_id': 16, 'cost': 24}, {'agent_id': 'A2', 'task_id': 0, 'cost': 12}, {'agent_id': 'A2', 'task_id': 1, 'cost': 5}, {'agent_id': 'A2', 'task_id': 2, 'cost': 13}, {'agent_id': 'A2', 'task_id': 3, 'cost': 10}, {'agent_id': 'A2', 'task_id': 4, 'cost': 24}, {'agent_id': 'A2', 'task_id': 5, 'cost': 21}, {'agent_id': 'A2', 'task_id': 6, 'cost': 8}, {'agent_id': 'A2', 'task_id': 7, 'cost': 11}, {'agent_id': 'A2', 'task_id': 8, 'cost': 19}, {'agent_id': 'A2', 'task_id': 9, 'cost': 22}, {'agent_id': 'A2', 'task_id': 10, 'cost': 19}, {'agent_id': 'A2', 'task_id': 11, 'cost': 21}, {'agent_id': 'A2', 'task_id': 12, 'cost': 17}, {'agent_id': 'A2', 'task_id': 13, 'cost': 25}, {'agent_id': 'A2', 'task_id': 14, 'cost': 7}, {'agent_id': 'A2', 'task_id': 15, 'cost': 7}, {'agent_id': 'A2', 'task_id': 16, 'cost': 6}, {'agent_id': 'A3', 'task_id': 0, 'cost': 24}, {'agent_id': 'A3', 'task_id': 1, 'cost': 25}, {'agent_id': 'A3', 'task_id': 2, 'cost': 25}, {'agent_id': 'A3', 'task_id': 3, 'cost': 12}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 7}, {'agent_id': 'A3', 'task_id': 6, 'cost': 12}, {'agent_id': 'A3', 'task_id': 7, 'cost': 23}, {'agent_id': 'A3', 'task_id': 8, 'cost': 25}, {'agent_id': 'A3', 'task_id': 9, 'cost': 23}, {'agent_id': 'A3', 'task_id': 10, 'cost': 11}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 13}, {'agent_id': 'A3', 'task_id': 13, 'cost': 21}, {'agent_id': 'A3', 'task_id': 14, 'cost': 9}, {'agent_id': 'A3', 'task_id': 15, 'cost': 25}, {'agent_id': 'A3', 'task_id': 16, 'cost': 18}, {'agent_id': 'A4', 'task_id': 0, 'cost': 19}, {'agent_id': 'A4', 'task_id': 1, 'cost': 19}, {'agent_id': 'A4', 'task_id': 2, 'cost': 5}, {'agent_id': 'A4', 'task_id': 3, 'cost': 14}, {'agent_id': 'A4', 'task_id': 4, 'cost': 6}, {'agent_id': 'A4', 'task_id': 5, 'cost': 21}, {'agent_id': 'A4', 'task_id': 6, 'cost': 16}, {'agent_id': 'A4', 'task_id': 7, 'cost': 8}, {'agent_id': 'A4', 'task_id': 8, 'cost': 6}, {'agent_id': 'A4', 'task_id': 9, 'cost': 13}, {'agent_id': 'A4', 'task_id': 10, 'cost': 15}, {'agent_id': 'A4', 'task_id': 11, 'cost': 25}, {'agent_id': 'A4', 'task_id': 12, 'cost': 6}, {'agent_id': 'A4', 'task_id': 13, 'cost': 8}, {'agent_id': 'A4', 'task_id': 14, 'cost': 7}, {'agent_id': 'A4', 'task_id': 15, 'cost': 25}, {'agent_id': 'A4', 'task_id': 16, 'cost': 14}, {'agent_id': 'A5', 'task_id': 0, 'cost': 18}, {'agent_id': 'A5', 'task_id': 1, 'cost': 22}, {'agent_id': 'A5', 'task_id': 2, 'cost': 10}, {'agent_id': 'A5', 'task_id': 3, 'cost': 21}, {'agent_id': 'A5', 'task_id': 4, 'cost': 14}, {'agent_id': 'A5', 'task_id': 5, 'cost': 13}, {'agent_id': 'A5', 'task_id': 6, 'cost': 23}, {'agent_id': 'A5', 'task_id': 7, 'cost': 17}, {'agent_id': 'A5', 'task_id': 8, 'cost': 17}, {'agent_id': 'A5', 'task_id': 9, 'cost': 25}, {'agent_id': 'A5', 'task_id': 10, 'cost': 21}, {'agent_id': 'A5', 'task_id': 11, 'cost': 9}, {'agent_id': 'A5', 'task_id': 12, 'cost': 9}, {'agent_id': 'A5', 'task_id': 13, 'cost': 7}, {'agent_id': 'A5', 'task_id': 14, 'cost': 7}, {'agent_id': 'A5', 'task_id': 15, 'cost': 6}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}]}","['A2', 'A2', 'A4', 'A2', 'A1', 'A3', 'A2', 'A4', 'A4', 'A1', 'A3', 'A5', 'A4', 'A5', 'A2', 'A5', 'A2']",14,markdown_table,0 GAP,GAP,"Many people think printing is simple, but here there’s a list of jobs and several different printers, and every job must go to exactly one machine — no job gets left out or duplicated. For each job on each printer the required run time and the cost are already known, and each printer can only run for a fixed number of minutes. The smart move is the one that lowers the total cost for everything (just add each job’s chosen run cost), provided the total minutes sent to any printer stay within that printer’s available time. The full set of job-by-printer runtimes, prices, and printer capacities is shown below. Here are the 7 printers (A1, A2, A3, A4, A5, A6, A7) and the 18 jobs (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17) involved. Printer A1 has 131 minutes available. Printer A2 has 131 minutes available. Printer A3 has 131 minutes available. Printer A4 has 131 minutes available. Printer A5 has 131 minutes available. Printer A6 has 131 minutes available. Printer A7 has 131 minutes available. Job 0 on printer A1 uses 14 minutes and costs 6. Job 1 on printer A1 uses 18 minutes and costs 8. Job 2 on printer A1 uses 38 minutes and costs 24. Job 3 on printer A1 uses 13 minutes and costs 18. Job 4 on printer A1 uses 47 minutes and costs 13. Job 5 on printer A1 uses 35 minutes and costs 10. Job 6 on printer A1 uses 22 minutes and costs 15. Job 7 on printer A1 uses 39 minutes and costs 15. Job 8 on printer A1 uses 50 minutes and costs 15. Job 9 on printer A1 uses 28 minutes and costs 12. Job 10 on printer A1 uses 34 minutes and costs 7. Job 11 on printer A1 uses 23 minutes and costs 5. Job 12 on printer A1 uses 28 minutes and costs 24. Job 13 on printer A1 uses 32 minutes and costs 7. Job 14 on printer A1 uses 11 minutes and costs 20. Job 15 on printer A1 uses 17 minutes and costs 13. Job 16 on printer A1 uses 13 minutes and costs 25. Job 17 on printer A1 uses 29 minutes and costs 21. Job 0 on printer A2 uses 24 minutes and costs 16. Job 1 on printer A2 uses 42 minutes and costs 25. Job 2 on printer A2 uses 29 minutes and costs 23. Job 3 on printer A2 uses 43 minutes and costs 23. Job 4 on printer A2 uses 43 minutes and costs 23. Job 5 on printer A2 uses 14 minutes and costs 18. Job 6 on printer A2 uses 46 minutes and costs 16. Job 7 on printer A2 uses 20 minutes and costs 19. Job 8 on printer A2 uses 45 minutes and costs 16. Job 9 on printer A2 uses 23 minutes and costs 10. Job 10 on printer A2 uses 23 minutes and costs 5. Job 11 on printer A2 uses 41 minutes and costs 16. Job 12 on printer A2 uses 41 minutes and costs 24. Job 13 on printer A2 uses 21 minutes and costs 21. Job 14 on printer A2 uses 13 minutes and costs 21. Job 15 on printer A2 uses 35 minutes and costs 15. Job 16 on printer A2 uses 11 minutes and costs 5. Job 17 on printer A2 uses 10 minutes and costs 25. Job 0 on printer A3 uses 12 minutes and costs 12. Job 1 on printer A3 uses 12 minutes and costs 5. Job 2 on printer A3 uses 45 minutes and costs 11. Job 3 on printer A3 uses 12 minutes and costs 19. Job 4 on printer A3 uses 19 minutes and costs 14. Job 5 on printer A3 uses 15 minutes and costs 17. Job 6 on printer A3 uses 18 minutes and costs 7. Job 7 on printer A3 uses 14 minutes and costs 11. Job 8 on printer A3 uses 39 minutes and costs 23. Job 9 on printer A3 uses 41 minutes and costs 20. Job 10 on printer A3 uses 29 minutes and costs 17. Job 11 on printer A3 uses 12 minutes and costs 22. Job 12 on printer A3 uses 10 minutes and costs 19. Job 13 on printer A3 uses 49 minutes and costs 16. Job 14 on printer A3 uses 18 minutes and costs 6. Job 15 on printer A3 uses 11 minutes and costs 16. Job 16 on printer A3 uses 32 minutes and costs 9. Job 17 on printer A3 uses 28 minutes and costs 16. Job 0 on printer A4 uses 18 minutes and costs 8. Job 1 on printer A4 uses 35 minutes and costs 22. Job 2 on printer A4 uses 29 minutes and costs 22. Job 3 on printer A4 uses 13 minutes and costs 11. Job 4 on printer A4 uses 14 minutes and costs 18. Job 5 on printer A4 uses 20 minutes and costs 5. Job 6 on printer A4 uses 15 minutes and costs 15. Job 7 on printer A4 uses 35 minutes and costs 10. Job 8 on printer A4 uses 21 minutes and costs 9. Job 9 on printer A4 uses 48 minutes and costs 23. Job 10 on printer A4 uses 49 minutes and costs 19. Job 11 on printer A4 uses 47 minutes and costs 25. Job 12 on printer A4 uses 50 minutes and costs 24. Job 13 on printer A4 uses 46 minutes and costs 18. Job 14 on printer A4 uses 45 minutes and costs 23. Job 15 on printer A4 uses 44 minutes and costs 12. Job 16 on printer A4 uses 37 minutes and costs 8. Job 17 on printer A4 uses 25 minutes and costs 16. Job 0 on printer A5 uses 21 minutes and costs 22. Job 1 on printer A5 uses 32 minutes and costs 10. Job 2 on printer A5 uses 39 minutes and costs 14. Job 3 on printer A5 uses 41 minutes and costs 7. Job 4 on printer A5 uses 21 minutes and costs 22. Job 5 on printer A5 uses 23 minutes and costs 24. Job 6 on printer A5 uses 50 minutes and costs 12. Job 7 on printer A5 uses 10 minutes and costs 10. Job 8 on printer A5 uses 28 minutes and costs 22. Job 9 on printer A5 uses 45 minutes and costs 8. Job 10 on printer A5 uses 45 minutes and costs 18. Job 11 on printer A5 uses 25 minutes and costs 17. Job 12 on printer A5 uses 37 minutes and costs 8. Job 13 on printer A5 uses 49 minutes and costs 14. Job 14 on printer A5 uses 37 minutes and costs 18. Job 15 on printer A5 uses 18 minutes and costs 20. Job 16 on printer A5 uses 45 minutes and costs 8. Job 17 on printer A5 uses 46 minutes and costs 23. Job 0 on printer A6 uses 40 minutes and costs 7. Job 1 on printer A6 uses 48 minutes and costs 9. Job 2 on printer A6 uses 41 minutes and costs 17. Job 3 on printer A6 uses 20 minutes and costs 16. Job 4 on printer A6 uses 31 minutes and costs 22. Job 5 on printer A6 uses 26 minutes and costs 6. Job 6 on printer A6 uses 20 minutes and costs 14. Job 7 on printer A6 uses 15 minutes and costs 24. Job 8 on printer A6 uses 40 minutes and costs 19. Job 9 on printer A6 uses 31 minutes and costs 10. Job 10 on printer A6 uses 45 minutes and costs 23. Job 11 on printer A6 uses 25 minutes and costs 19. Job 12 on printer A6 uses 26 minutes and costs 25. Job 13 on printer A6 uses 46 minutes and costs 21. Job 14 on printer A6 uses 41 minutes and costs 17. Job 15 on printer A6 uses 18 minutes and costs 12. Job 16 on printer A6 uses 36 minutes and costs 15. Job 17 on printer A6 uses 21 minutes and costs 19. Job 0 on printer A7 uses 29 minutes and costs 23. Job 1 on printer A7 uses 47 minutes and costs 9. Job 2 on printer A7 uses 33 minutes and costs 10. Job 3 on printer A7 uses 36 minutes and costs 12. Job 4 on printer A7 uses 48 minutes and costs 22. Job 5 on printer A7 uses 45 minutes and costs 12. Job 6 on printer A7 uses 39 minutes and costs 25. Job 7 on printer A7 uses 18 minutes and costs 17. Job 8 on printer A7 uses 37 minutes and costs 21. Job 9 on printer A7 uses 47 minutes and costs 12. Job 10 on printer A7 uses 17 minutes and costs 24. Job 11 on printer A7 uses 21 minutes and costs 21. Job 12 on printer A7 uses 24 minutes and costs 17. Job 13 on printer A7 uses 27 minutes and costs 21. Job 14 on printer A7 uses 13 minutes and costs 14. Job 15 on printer A7 uses 19 minutes and costs 19. Job 16 on printer A7 uses 16 minutes and costs 22. Job 17 on printer A7 uses 37 minutes and costs 18. Each of the 18 jobs must be assigned to one of the 7 printers so total run cost is minimized while every printer stays within its available minutes. Also, when you send the assignment back, keep it nice and simple in that little JSON shape below — it just lists which printer each job goes to in order. { ""solution"": [ , , ..., ] } The ""solution"" array is just a list: one entry per job, in the same order as the job list above, and each entry is the printer identifier you picked for that job. Think of it like filling out a short form that says, for job 1 send it to printer X, for job 2 send it to printer Y, and so on. This block is just a sketch of the shape I expect you to follow, not the actual assignment. Please use the exact identifiers from the instance input — don't rename them and don't invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[14, 18, 38, 13, 47, 35, 22, 39, 50, 28, 34, 23, 28, 32, 11, 17, 13, 29], [24, 42, 29, 43, 43, 14, 46, 20, 45, 23, 23, 41, 41, 21, 13, 35, 11, 10], [12, 12, 45, 12, 19, 15, 18, 14, 39, 41, 29, 12, 10, 49, 18, 11, 32, 28], [18, 35, 29, 13, 14, 20, 15, 35, 21, 48, 49, 47, 50, 46, 45, 44, 37, 25], [21, 32, 39, 41, 21, 23, 50, 10, 28, 45, 45, 25, 37, 49, 37, 18, 45, 46], [40, 48, 41, 20, 31, 26, 20, 15, 40, 31, 45, 25, 26, 46, 41, 18, 36, 21], [29, 47, 33, 36, 48, 45, 39, 18, 37, 47, 17, 21, 24, 27, 13, 19, 16, 37]], 'assignment_costs': [[6, 8, 24, 18, 13, 10, 15, 15, 15, 12, 7, 5, 24, 7, 20, 13, 25, 21], [16, 25, 23, 23, 23, 18, 16, 19, 16, 10, 5, 16, 24, 21, 21, 15, 5, 25], [12, 5, 11, 19, 14, 17, 7, 11, 23, 20, 17, 22, 19, 16, 6, 16, 9, 16], [8, 22, 22, 11, 18, 5, 15, 10, 9, 23, 19, 25, 24, 18, 23, 12, 8, 16], [22, 10, 14, 7, 22, 24, 12, 10, 22, 8, 18, 17, 8, 14, 18, 20, 8, 23], [7, 9, 17, 16, 22, 6, 14, 24, 19, 10, 23, 19, 25, 21, 17, 12, 15, 19], [23, 9, 10, 12, 22, 12, 25, 17, 21, 12, 24, 21, 17, 21, 14, 19, 22, 18]], 'capacities': [131, 131, 131, 131, 131, 131, 131], 'objective': 144.0}","[0, 2, 6, 4, 0, 3, 2, 3, 3, 4, 1, 0, 4, 0, 2, 5, 1, 2]",144.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}, {'agent_id': 'A6', 'capacity': 131}, {'agent_id': 'A7', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 37}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 6}, {'agent_id': 'A1', 'task_id': 1, 'cost': 8}, {'agent_id': 'A1', 'task_id': 2, 'cost': 24}, {'agent_id': 'A1', 'task_id': 3, 'cost': 18}, {'agent_id': 'A1', 'task_id': 4, 'cost': 13}, {'agent_id': 'A1', 'task_id': 5, 'cost': 10}, {'agent_id': 'A1', 'task_id': 6, 'cost': 15}, {'agent_id': 'A1', 'task_id': 7, 'cost': 15}, {'agent_id': 'A1', 'task_id': 8, 'cost': 15}, {'agent_id': 'A1', 'task_id': 9, 'cost': 12}, {'agent_id': 'A1', 'task_id': 10, 'cost': 7}, {'agent_id': 'A1', 'task_id': 11, 'cost': 5}, {'agent_id': 'A1', 'task_id': 12, 'cost': 24}, {'agent_id': 'A1', 'task_id': 13, 'cost': 7}, {'agent_id': 'A1', 'task_id': 14, 'cost': 20}, {'agent_id': 'A1', 'task_id': 15, 'cost': 13}, {'agent_id': 'A1', 'task_id': 16, 'cost': 25}, {'agent_id': 'A1', 'task_id': 17, 'cost': 21}, {'agent_id': 'A2', 'task_id': 0, 'cost': 16}, {'agent_id': 'A2', 'task_id': 1, 'cost': 25}, {'agent_id': 'A2', 'task_id': 2, 'cost': 23}, {'agent_id': 'A2', 'task_id': 3, 'cost': 23}, {'agent_id': 'A2', 'task_id': 4, 'cost': 23}, {'agent_id': 'A2', 'task_id': 5, 'cost': 18}, {'agent_id': 'A2', 'task_id': 6, 'cost': 16}, {'agent_id': 'A2', 'task_id': 7, 'cost': 19}, {'agent_id': 'A2', 'task_id': 8, 'cost': 16}, {'agent_id': 'A2', 'task_id': 9, 'cost': 10}, {'agent_id': 'A2', 'task_id': 10, 'cost': 5}, {'agent_id': 'A2', 'task_id': 11, 'cost': 16}, {'agent_id': 'A2', 'task_id': 12, 'cost': 24}, {'agent_id': 'A2', 'task_id': 13, 'cost': 21}, {'agent_id': 'A2', 'task_id': 14, 'cost': 21}, {'agent_id': 'A2', 'task_id': 15, 'cost': 15}, {'agent_id': 'A2', 'task_id': 16, 'cost': 5}, {'agent_id': 'A2', 'task_id': 17, 'cost': 25}, {'agent_id': 'A3', 'task_id': 0, 'cost': 12}, {'agent_id': 'A3', 'task_id': 1, 'cost': 5}, {'agent_id': 'A3', 'task_id': 2, 'cost': 11}, {'agent_id': 'A3', 'task_id': 3, 'cost': 19}, {'agent_id': 'A3', 'task_id': 4, 'cost': 14}, {'agent_id': 'A3', 'task_id': 5, 'cost': 17}, {'agent_id': 'A3', 'task_id': 6, 'cost': 7}, {'agent_id': 'A3', 'task_id': 7, 'cost': 11}, {'agent_id': 'A3', 'task_id': 8, 'cost': 23}, {'agent_id': 'A3', 'task_id': 9, 'cost': 20}, {'agent_id': 'A3', 'task_id': 10, 'cost': 17}, {'agent_id': 'A3', 'task_id': 11, 'cost': 22}, {'agent_id': 'A3', 'task_id': 12, 'cost': 19}, {'agent_id': 'A3', 'task_id': 13, 'cost': 16}, {'agent_id': 'A3', 'task_id': 14, 'cost': 6}, {'agent_id': 'A3', 'task_id': 15, 'cost': 16}, {'agent_id': 'A3', 'task_id': 16, 'cost': 9}, {'agent_id': 'A3', 'task_id': 17, 'cost': 16}, {'agent_id': 'A4', 'task_id': 0, 'cost': 8}, {'agent_id': 'A4', 'task_id': 1, 'cost': 22}, {'agent_id': 'A4', 'task_id': 2, 'cost': 22}, {'agent_id': 'A4', 'task_id': 3, 'cost': 11}, {'agent_id': 'A4', 'task_id': 4, 'cost': 18}, {'agent_id': 'A4', 'task_id': 5, 'cost': 5}, {'agent_id': 'A4', 'task_id': 6, 'cost': 15}, {'agent_id': 'A4', 'task_id': 7, 'cost': 10}, {'agent_id': 'A4', 'task_id': 8, 'cost': 9}, {'agent_id': 'A4', 'task_id': 9, 'cost': 23}, {'agent_id': 'A4', 'task_id': 10, 'cost': 19}, {'agent_id': 'A4', 'task_id': 11, 'cost': 25}, {'agent_id': 'A4', 'task_id': 12, 'cost': 24}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 23}, {'agent_id': 'A4', 'task_id': 15, 'cost': 12}, {'agent_id': 'A4', 'task_id': 16, 'cost': 8}, {'agent_id': 'A4', 'task_id': 17, 'cost': 16}, {'agent_id': 'A5', 'task_id': 0, 'cost': 22}, {'agent_id': 'A5', 'task_id': 1, 'cost': 10}, {'agent_id': 'A5', 'task_id': 2, 'cost': 14}, {'agent_id': 'A5', 'task_id': 3, 'cost': 7}, {'agent_id': 'A5', 'task_id': 4, 'cost': 22}, {'agent_id': 'A5', 'task_id': 5, 'cost': 24}, {'agent_id': 'A5', 'task_id': 6, 'cost': 12}, {'agent_id': 'A5', 'task_id': 7, 'cost': 10}, {'agent_id': 'A5', 'task_id': 8, 'cost': 22}, {'agent_id': 'A5', 'task_id': 9, 'cost': 8}, {'agent_id': 'A5', 'task_id': 10, 'cost': 18}, {'agent_id': 'A5', 'task_id': 11, 'cost': 17}, {'agent_id': 'A5', 'task_id': 12, 'cost': 8}, {'agent_id': 'A5', 'task_id': 13, 'cost': 14}, {'agent_id': 'A5', 'task_id': 14, 'cost': 18}, {'agent_id': 'A5', 'task_id': 15, 'cost': 20}, {'agent_id': 'A5', 'task_id': 16, 'cost': 8}, {'agent_id': 'A5', 'task_id': 17, 'cost': 23}, {'agent_id': 'A6', 'task_id': 0, 'cost': 7}, {'agent_id': 'A6', 'task_id': 1, 'cost': 9}, {'agent_id': 'A6', 'task_id': 2, 'cost': 17}, {'agent_id': 'A6', 'task_id': 3, 'cost': 16}, {'agent_id': 'A6', 'task_id': 4, 'cost': 22}, {'agent_id': 'A6', 'task_id': 5, 'cost': 6}, {'agent_id': 'A6', 'task_id': 6, 'cost': 14}, {'agent_id': 'A6', 'task_id': 7, 'cost': 24}, {'agent_id': 'A6', 'task_id': 8, 'cost': 19}, {'agent_id': 'A6', 'task_id': 9, 'cost': 10}, {'agent_id': 'A6', 'task_id': 10, 'cost': 23}, {'agent_id': 'A6', 'task_id': 11, 'cost': 19}, {'agent_id': 'A6', 'task_id': 12, 'cost': 25}, {'agent_id': 'A6', 'task_id': 13, 'cost': 21}, {'agent_id': 'A6', 'task_id': 14, 'cost': 17}, {'agent_id': 'A6', 'task_id': 15, 'cost': 12}, {'agent_id': 'A6', 'task_id': 16, 'cost': 15}, {'agent_id': 'A6', 'task_id': 17, 'cost': 19}, {'agent_id': 'A7', 'task_id': 0, 'cost': 23}, {'agent_id': 'A7', 'task_id': 1, 'cost': 9}, {'agent_id': 'A7', 'task_id': 2, 'cost': 10}, {'agent_id': 'A7', 'task_id': 3, 'cost': 12}, {'agent_id': 'A7', 'task_id': 4, 'cost': 22}, {'agent_id': 'A7', 'task_id': 5, 'cost': 12}, {'agent_id': 'A7', 'task_id': 6, 'cost': 25}, {'agent_id': 'A7', 'task_id': 7, 'cost': 17}, {'agent_id': 'A7', 'task_id': 8, 'cost': 21}, {'agent_id': 'A7', 'task_id': 9, 'cost': 12}, {'agent_id': 'A7', 'task_id': 10, 'cost': 24}, {'agent_id': 'A7', 'task_id': 11, 'cost': 21}, {'agent_id': 'A7', 'task_id': 12, 'cost': 17}, {'agent_id': 'A7', 'task_id': 13, 'cost': 21}, {'agent_id': 'A7', 'task_id': 14, 'cost': 14}, {'agent_id': 'A7', 'task_id': 15, 'cost': 19}, {'agent_id': 'A7', 'task_id': 16, 'cost': 22}, {'agent_id': 'A7', 'task_id': 17, 'cost': 18}]}","['A1', 'A3', 'A7', 'A5', 'A1', 'A4', 'A3', 'A4', 'A4', 'A5', 'A2', 'A1', 'A5', 'A1', 'A3', 'A6', 'A2', 'A3']",15,nl,0 GAP,GAP,"Back when the office was scheduling a conference, there was the familiar juggling act: dozens of documents to copy, several copy centers to choose from, and each center both charges differently and burns through a different number of pages for the same document. Each document needs to be printed in full at a single center (no halves, no duplicates), and each center only has a limited pile of paper to use. The trick is to assign every document to one center so none of the centers runs out of paper, and the total bill — the sum of all selected center charges — is kept as small as possible. The detailed options and numbers are shown below. There were 7 copy centers (A1, A2, A3, A4, A5, A6, A7) and 22 documents (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22). Copy center A1 had 248 pages of paper available. Copy center A2 had 241 pages of paper available. Copy center A3 had 240 pages of paper available. Copy center A4 had 238 pages of paper available. Copy center A5 had 238 pages of paper available. Copy center A6 had 239 pages of paper available. Copy center A7 had 233 pages of paper available. At copy center A1, printing document 1 required 46 pages and would cost 5. At copy center A1, printing document 2 required 30 pages and would cost 9. At copy center A1, printing document 3 required 43 pages and would cost 17. At copy center A1, printing document 4 required 42 pages and would cost 22. At copy center A1, printing document 5 required 27 pages and would cost 9. At copy center A1, printing document 6 required 23 pages and would cost 22. At copy center A1, printing document 7 required 24 pages and would cost 9. At copy center A1, printing document 8 required 37 pages and would cost 12. At copy center A1, printing document 9 required 39 pages and would cost 6. At copy center A1, printing document 10 required 26 pages and would cost 17. At copy center A1, printing document 11 required 29 pages and would cost 7. At copy center A1, printing document 12 required 36 pages and would cost 15. At copy center A1, printing document 13 required 47 pages and would cost 23. At copy center A1, printing document 14 required 24 pages and would cost 24. At copy center A1, printing document 15 required 48 pages and would cost 17. At copy center A1, printing document 16 required 46 pages and would cost 13. At copy center A1, printing document 17 required 11 pages and would cost 10. At copy center A1, printing document 18 required 19 pages and would cost 24. At copy center A1, printing document 19 required 19 pages and would cost 5. At copy center A1, printing document 20 required 50 pages and would cost 21. At copy center A1, printing document 21 required 36 pages and would cost 19. At copy center A1, printing document 22 required 48 pages and would cost 20. At copy center A2, printing document 1 required 44 pages and would cost 5. At copy center A2, printing document 2 required 43 pages and would cost 21. At copy center A2, printing document 3 required 12 pages and would cost 24. At copy center A2, printing document 4 required 20 pages and would cost 12. At copy center A2, printing document 5 required 49 pages and would cost 5. At copy center A2, printing document 6 required 30 pages and would cost 20. At copy center A2, printing document 7 required 47 pages and would cost 16. At copy center A2, printing document 8 required 27 pages and would cost 6. At copy center A2, printing document 9 required 34 pages and would cost 12. At copy center A2, printing document 10 required 45 pages and would cost 9. At copy center A2, printing document 11 required 42 pages and would cost 10. At copy center A2, printing document 12 required 10 pages and would cost 8. At copy center A2, printing document 13 required 30 pages and would cost 18. At copy center A2, printing document 14 required 18 pages and would cost 14. At copy center A2, printing document 15 required 35 pages and would cost 22. At copy center A2, printing document 16 required 23 pages and would cost 6. At copy center A2, printing document 17 required 34 pages and would cost 20. At copy center A2, printing document 18 required 30 pages and would cost 7. At copy center A2, printing document 19 required 22 pages and would cost 17. At copy center A2, printing document 20 required 21 pages and would cost 9. At copy center A2, printing document 21 required 50 pages and would cost 15. At copy center A2, printing document 22 required 18 pages and would cost 10. At copy center A3, printing document 1 required 13 pages and would cost 17. At copy center A3, printing document 2 required 30 pages and would cost 19. At copy center A3, printing document 3 required 39 pages and would cost 25. At copy center A3, printing document 4 required 11 pages and would cost 20. At copy center A3, printing document 5 required 29 pages and would cost 24. At copy center A3, printing document 6 required 37 pages and would cost 11. At copy center A3, printing document 7 required 39 pages and would cost 5. At copy center A3, printing document 8 required 34 pages and would cost 21. At copy center A3, printing document 9 required 28 pages and would cost 19. At copy center A3, printing document 10 required 37 pages and would cost 14. At copy center A3, printing document 11 required 34 pages and would cost 18. At copy center A3, printing document 12 required 45 pages and would cost 9. At copy center A3, printing document 13 required 42 pages and would cost 13. At copy center A3, printing document 14 required 23 pages and would cost 10. At copy center A3, printing document 15 required 13 pages and would cost 24. At copy center A3, printing document 16 required 32 pages and would cost 24. At copy center A3, printing document 17 required 42 pages and would cost 23. At copy center A3, printing document 18 required 42 pages and would cost 15. At copy center A3, printing document 19 required 48 pages and would cost 12. At copy center A3, printing document 20 required 24 pages and would cost 11. At copy center A3, printing document 21 required 49 pages and would cost 5. At copy center A3, printing document 22 required 50 pages and would cost 13. At copy center A4, printing document 1 required 21 pages and would cost 11. At copy center A4, printing document 2 required 14 pages and would cost 15. At copy center A4, printing document 3 required 25 pages and would cost 13. At copy center A4, printing document 4 required 14 pages and would cost 10. At copy center A4, printing document 5 required 24 pages and would cost 19. At copy center A4, printing document 6 required 16 pages and would cost 8. At copy center A4, printing document 7 required 50 pages and would cost 18. At copy center A4, printing document 8 required 33 pages and would cost 17. At copy center A4, printing document 9 required 16 pages and would cost 24. At copy center A4, printing document 10 required 40 pages and would cost 17. At copy center A4, printing document 11 required 17 pages and would cost 6. At copy center A4, printing document 12 required 19 pages and would cost 8. At copy center A4, printing document 13 required 11 pages and would cost 18. At copy center A4, printing document 14 required 23 pages and would cost 8. At copy center A4, printing document 15 required 35 pages and would cost 21. At copy center A4, printing document 16 required 45 pages and would cost 23. At copy center A4, printing document 17 required 21 pages and would cost 18. At copy center A4, printing document 18 required 42 pages and would cost 9. At copy center A4, printing document 19 required 15 pages and would cost 13. At copy center A4, printing document 20 required 39 pages and would cost 15. At copy center A4, printing document 21 required 28 pages and would cost 15. At copy center A4, printing document 22 required 21 pages and would cost 5. At copy center A5, printing document 1 required 24 pages and would cost 23. At copy center A5, printing document 2 required 32 pages and would cost 22. At copy center A5, printing document 3 required 50 pages and would cost 13. At copy center A5, printing document 4 required 31 pages and would cost 5. At copy center A5, printing document 5 required 41 pages and would cost 15. At copy center A5, printing document 6 required 12 pages and would cost 11. At copy center A5, printing document 7 required 26 pages and would cost 9. At copy center A5, printing document 8 required 50 pages and would cost 15. At copy center A5, printing document 9 required 29 pages and would cost 22. At copy center A5, printing document 10 required 42 pages and would cost 17. At copy center A5, printing document 11 required 26 pages and would cost 15. At copy center A5, printing document 12 required 39 pages and would cost 12. At copy center A5, printing document 13 required 15 pages and would cost 17. At copy center A5, printing document 14 required 48 pages and would cost 19. At copy center A5, printing document 15 required 25 pages and would cost 18. At copy center A5, printing document 16 required 28 pages and would cost 15. At copy center A5, printing document 17 required 48 pages and would cost 12. At copy center A5, printing document 18 required 43 pages and would cost 24. At copy center A5, printing document 19 required 19 pages and would cost 9. At copy center A5, printing document 20 required 31 pages and would cost 18. At copy center A5, printing document 21 required 44 pages and would cost 16. At copy center A5, printing document 22 required 21 pages and would cost 25. At copy center A6, printing document 1 required 32 pages and would cost 6. At copy center A6, printing document 2 required 13 pages and would cost 17. At copy center A6, printing document 3 required 18 pages and would cost 18. At copy center A6, printing document 4 required 47 pages and would cost 13. At copy center A6, printing document 5 required 17 pages and would cost 10. At copy center A6, printing document 6 required 23 pages and would cost 19. At copy center A6, printing document 7 required 36 pages and would cost 10. At copy center A6, printing document 8 required 47 pages and would cost 8. At copy center A6, printing document 9 required 12 pages and would cost 20. At copy center A6, printing document 10 required 31 pages and would cost 11. At copy center A6, printing document 11 required 38 pages and would cost 13. At copy center A6, printing document 12 required 25 pages and would cost 7. At copy center A6, printing document 13 required 33 pages and would cost 17. At copy center A6, printing document 14 required 37 pages and would cost 18. At copy center A6, printing document 15 required 31 pages and would cost 10. At copy center A6, printing document 16 required 25 pages and would cost 10. At copy center A6, printing document 17 required 35 pages and would cost 10. At copy center A6, printing document 18 required 16 pages and would cost 14. At copy center A6, printing document 19 required 33 pages and would cost 23. At copy center A6, printing document 20 required 15 pages and would cost 8. At copy center A6, printing document 21 required 24 pages and would cost 8. At copy center A6, printing document 22 required 18 pages and would cost 6. At copy center A7, printing document 1 required 41 pages and would cost 6. At copy center A7, printing document 2 required 13 pages and would cost 13. At copy center A7, printing document 3 required 38 pages and would cost 7. At copy center A7, printing document 4 required 19 pages and would cost 22. At copy center A7, printing document 5 required 39 pages and would cost 18. At copy center A7, printing document 6 required 21 pages and would cost 11. At copy center A7, printing document 7 required 29 pages and would cost 13. At copy center A7, printing document 8 required 19 pages and would cost 7. At copy center A7, printing document 9 required 13 pages and would cost 15. At copy center A7, printing document 10 required 40 pages and would cost 24. At copy center A7, printing document 11 required 42 pages and would cost 5. At copy center A7, printing document 12 required 38 pages and would cost 24. At copy center A7, printing document 13 required 28 pages and would cost 22. At copy center A7, printing document 14 required 45 pages and would cost 17. At copy center A7, printing document 15 required 48 pages and would cost 19. At copy center A7, printing document 16 required 28 pages and would cost 8. At copy center A7, printing document 17 required 28 pages and would cost 9. At copy center A7, printing document 18 required 30 pages and would cost 11. At copy center A7, printing document 19 required 45 pages and would cost 15. At copy center A7, printing document 20 required 23 pages and would cost 11. At copy center A7, printing document 21 required 31 pages and would cost 13. At copy center A7, printing document 22 required 49 pages and would cost 18. The goal was to assign every document so no center ran out of paper and the total bill was minimized. If you'd like the result in a neat, machine-friendly form, I usually put the assignment into a tiny JSON that just lists which copy center handles each document in order. Here's the shape I'll follow: { ""solution"": [ , , ..., ] } That array lists documents in the same order they're shown in the instance, and each placeholder is where you'd put the exact ID of the copy center that should print that document. Think of it like a simple form: one slot per document, filled with the chosen center. This JSON is just a sketch of the expected shape, not the actual assignment — I'll fill in the real center IDs based on the instance when solving. Please use the identifiers exactly as they appear in the instance input — don't rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[46, 30, 43, 42, 27, 23, 24, 37, 39, 26, 29, 36, 47, 24, 48, 46, 11, 19, 19, 50, 36, 48], [44, 43, 12, 20, 49, 30, 47, 27, 34, 45, 42, 10, 30, 18, 35, 23, 34, 30, 22, 21, 50, 18], [13, 30, 39, 11, 29, 37, 39, 34, 28, 37, 34, 45, 42, 23, 13, 32, 42, 42, 48, 24, 49, 50], [21, 14, 25, 14, 24, 16, 50, 33, 16, 40, 17, 19, 11, 23, 35, 45, 21, 42, 15, 39, 28, 21], [24, 32, 50, 31, 41, 12, 26, 50, 29, 42, 26, 39, 15, 48, 25, 28, 48, 43, 19, 31, 44, 21], [32, 13, 18, 47, 17, 23, 36, 47, 12, 31, 38, 25, 33, 37, 31, 25, 35, 16, 33, 15, 24, 18], [41, 13, 38, 19, 39, 21, 29, 19, 13, 40, 42, 38, 28, 45, 48, 28, 28, 30, 45, 23, 31, 49]], 'assignment_costs': [[5, 9, 17, 22, 9, 22, 9, 12, 6, 17, 7, 15, 23, 24, 17, 13, 10, 24, 5, 21, 19, 20], [5, 21, 24, 12, 5, 20, 16, 6, 12, 9, 10, 8, 18, 14, 22, 6, 20, 7, 17, 9, 15, 10], [17, 19, 25, 20, 24, 11, 5, 21, 19, 14, 18, 9, 13, 10, 24, 24, 23, 15, 12, 11, 5, 13], [11, 15, 13, 10, 19, 8, 18, 17, 24, 17, 6, 8, 18, 8, 21, 23, 18, 9, 13, 15, 15, 5], [23, 22, 13, 5, 15, 11, 9, 15, 22, 17, 15, 12, 17, 19, 18, 15, 12, 24, 9, 18, 16, 25], [6, 17, 18, 13, 10, 19, 10, 8, 20, 11, 13, 7, 17, 18, 10, 10, 10, 14, 23, 8, 8, 6], [6, 13, 7, 22, 18, 11, 13, 7, 15, 24, 5, 24, 22, 17, 19, 8, 9, 11, 15, 11, 13, 18]], 'capacities': [248, 241, 240, 238, 238, 239, 233], 'objective': 153.0}","[0, 0, 6, 4, 1, 3, 2, 1, 0, 1, 6, 5, 2, 3, 5, 1, 6, 1, 0, 5, 2, 3]",153.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 248}, {'agent_id': 'A2', 'capacity': 241}, {'agent_id': 'A3', 'capacity': 240}, {'agent_id': 'A4', 'capacity': 238}, {'agent_id': 'A5', 'capacity': 238}, {'agent_id': 'A6', 'capacity': 239}, {'agent_id': 'A7', 'capacity': 233}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 49}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 5}, {'agent_id': 'A1', 'task_id': 2, 'cost': 9}, {'agent_id': 'A1', 'task_id': 3, 'cost': 17}, {'agent_id': 'A1', 'task_id': 4, 'cost': 22}, {'agent_id': 'A1', 'task_id': 5, 'cost': 9}, {'agent_id': 'A1', 'task_id': 6, 'cost': 22}, {'agent_id': 'A1', 'task_id': 7, 'cost': 9}, {'agent_id': 'A1', 'task_id': 8, 'cost': 12}, {'agent_id': 'A1', 'task_id': 9, 'cost': 6}, {'agent_id': 'A1', 'task_id': 10, 'cost': 17}, {'agent_id': 'A1', 'task_id': 11, 'cost': 7}, {'agent_id': 'A1', 'task_id': 12, 'cost': 15}, {'agent_id': 'A1', 'task_id': 13, 'cost': 23}, {'agent_id': 'A1', 'task_id': 14, 'cost': 24}, {'agent_id': 'A1', 'task_id': 15, 'cost': 17}, {'agent_id': 'A1', 'task_id': 16, 'cost': 13}, {'agent_id': 'A1', 'task_id': 17, 'cost': 10}, {'agent_id': 'A1', 'task_id': 18, 'cost': 24}, {'agent_id': 'A1', 'task_id': 19, 'cost': 5}, {'agent_id': 'A1', 'task_id': 20, 'cost': 21}, {'agent_id': 'A1', 'task_id': 21, 'cost': 19}, {'agent_id': 'A1', 'task_id': 22, 'cost': 20}, {'agent_id': 'A2', 'task_id': 1, 'cost': 5}, {'agent_id': 'A2', 'task_id': 2, 'cost': 21}, {'agent_id': 'A2', 'task_id': 3, 'cost': 24}, {'agent_id': 'A2', 'task_id': 4, 'cost': 12}, {'agent_id': 'A2', 'task_id': 5, 'cost': 5}, {'agent_id': 'A2', 'task_id': 6, 'cost': 20}, {'agent_id': 'A2', 'task_id': 7, 'cost': 16}, {'agent_id': 'A2', 'task_id': 8, 'cost': 6}, {'agent_id': 'A2', 'task_id': 9, 'cost': 12}, {'agent_id': 'A2', 'task_id': 10, 'cost': 9}, {'agent_id': 'A2', 'task_id': 11, 'cost': 10}, {'agent_id': 'A2', 'task_id': 12, 'cost': 8}, {'agent_id': 'A2', 'task_id': 13, 'cost': 18}, {'agent_id': 'A2', 'task_id': 14, 'cost': 14}, {'agent_id': 'A2', 'task_id': 15, 'cost': 22}, {'agent_id': 'A2', 'task_id': 16, 'cost': 6}, {'agent_id': 'A2', 'task_id': 17, 'cost': 20}, {'agent_id': 'A2', 'task_id': 18, 'cost': 7}, {'agent_id': 'A2', 'task_id': 19, 'cost': 17}, {'agent_id': 'A2', 'task_id': 20, 'cost': 9}, {'agent_id': 'A2', 'task_id': 21, 'cost': 15}, {'agent_id': 'A2', 'task_id': 22, 'cost': 10}, {'agent_id': 'A3', 'task_id': 1, 'cost': 17}, {'agent_id': 'A3', 'task_id': 2, 'cost': 19}, {'agent_id': 'A3', 'task_id': 3, 'cost': 25}, {'agent_id': 'A3', 'task_id': 4, 'cost': 20}, {'agent_id': 'A3', 'task_id': 5, 'cost': 24}, {'agent_id': 'A3', 'task_id': 6, 'cost': 11}, {'agent_id': 'A3', 'task_id': 7, 'cost': 5}, {'agent_id': 'A3', 'task_id': 8, 'cost': 21}, {'agent_id': 'A3', 'task_id': 9, 'cost': 19}, {'agent_id': 'A3', 'task_id': 10, 'cost': 14}, {'agent_id': 'A3', 'task_id': 11, 'cost': 18}, {'agent_id': 'A3', 'task_id': 12, 'cost': 9}, {'agent_id': 'A3', 'task_id': 13, 'cost': 13}, {'agent_id': 'A3', 'task_id': 14, 'cost': 10}, {'agent_id': 'A3', 'task_id': 15, 'cost': 24}, {'agent_id': 'A3', 'task_id': 16, 'cost': 24}, {'agent_id': 'A3', 'task_id': 17, 'cost': 23}, {'agent_id': 'A3', 'task_id': 18, 'cost': 15}, {'agent_id': 'A3', 'task_id': 19, 'cost': 12}, {'agent_id': 'A3', 'task_id': 20, 'cost': 11}, {'agent_id': 'A3', 'task_id': 21, 'cost': 5}, {'agent_id': 'A3', 'task_id': 22, 'cost': 13}, {'agent_id': 'A4', 'task_id': 1, 'cost': 11}, {'agent_id': 'A4', 'task_id': 2, 'cost': 15}, {'agent_id': 'A4', 'task_id': 3, 'cost': 13}, {'agent_id': 'A4', 'task_id': 4, 'cost': 10}, {'agent_id': 'A4', 'task_id': 5, 'cost': 19}, {'agent_id': 'A4', 'task_id': 6, 'cost': 8}, {'agent_id': 'A4', 'task_id': 7, 'cost': 18}, {'agent_id': 'A4', 'task_id': 8, 'cost': 17}, {'agent_id': 'A4', 'task_id': 9, 'cost': 24}, {'agent_id': 'A4', 'task_id': 10, 'cost': 17}, {'agent_id': 'A4', 'task_id': 11, 'cost': 6}, {'agent_id': 'A4', 'task_id': 12, 'cost': 8}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 8}, {'agent_id': 'A4', 'task_id': 15, 'cost': 21}, {'agent_id': 'A4', 'task_id': 16, 'cost': 23}, {'agent_id': 'A4', 'task_id': 17, 'cost': 18}, {'agent_id': 'A4', 'task_id': 18, 'cost': 9}, {'agent_id': 'A4', 'task_id': 19, 'cost': 13}, {'agent_id': 'A4', 'task_id': 20, 'cost': 15}, {'agent_id': 'A4', 'task_id': 21, 'cost': 15}, {'agent_id': 'A4', 'task_id': 22, 'cost': 5}, {'agent_id': 'A5', 'task_id': 1, 'cost': 23}, {'agent_id': 'A5', 'task_id': 2, 'cost': 22}, {'agent_id': 'A5', 'task_id': 3, 'cost': 13}, {'agent_id': 'A5', 'task_id': 4, 'cost': 5}, {'agent_id': 'A5', 'task_id': 5, 'cost': 15}, {'agent_id': 'A5', 'task_id': 6, 'cost': 11}, {'agent_id': 'A5', 'task_id': 7, 'cost': 9}, {'agent_id': 'A5', 'task_id': 8, 'cost': 15}, {'agent_id': 'A5', 'task_id': 9, 'cost': 22}, {'agent_id': 'A5', 'task_id': 10, 'cost': 17}, {'agent_id': 'A5', 'task_id': 11, 'cost': 15}, {'agent_id': 'A5', 'task_id': 12, 'cost': 12}, {'agent_id': 'A5', 'task_id': 13, 'cost': 17}, {'agent_id': 'A5', 'task_id': 14, 'cost': 19}, {'agent_id': 'A5', 'task_id': 15, 'cost': 18}, {'agent_id': 'A5', 'task_id': 16, 'cost': 15}, {'agent_id': 'A5', 'task_id': 17, 'cost': 12}, {'agent_id': 'A5', 'task_id': 18, 'cost': 24}, {'agent_id': 'A5', 'task_id': 19, 'cost': 9}, {'agent_id': 'A5', 'task_id': 20, 'cost': 18}, {'agent_id': 'A5', 'task_id': 21, 'cost': 16}, {'agent_id': 'A5', 'task_id': 22, 'cost': 25}, {'agent_id': 'A6', 'task_id': 1, 'cost': 6}, {'agent_id': 'A6', 'task_id': 2, 'cost': 17}, {'agent_id': 'A6', 'task_id': 3, 'cost': 18}, {'agent_id': 'A6', 'task_id': 4, 'cost': 13}, {'agent_id': 'A6', 'task_id': 5, 'cost': 10}, {'agent_id': 'A6', 'task_id': 6, 'cost': 19}, {'agent_id': 'A6', 'task_id': 7, 'cost': 10}, {'agent_id': 'A6', 'task_id': 8, 'cost': 8}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 11}, {'agent_id': 'A6', 'task_id': 11, 'cost': 13}, {'agent_id': 'A6', 'task_id': 12, 'cost': 7}, {'agent_id': 'A6', 'task_id': 13, 'cost': 17}, {'agent_id': 'A6', 'task_id': 14, 'cost': 18}, {'agent_id': 'A6', 'task_id': 15, 'cost': 10}, {'agent_id': 'A6', 'task_id': 16, 'cost': 10}, {'agent_id': 'A6', 'task_id': 17, 'cost': 10}, {'agent_id': 'A6', 'task_id': 18, 'cost': 14}, {'agent_id': 'A6', 'task_id': 19, 'cost': 23}, {'agent_id': 'A6', 'task_id': 20, 'cost': 8}, {'agent_id': 'A6', 'task_id': 21, 'cost': 8}, {'agent_id': 'A6', 'task_id': 22, 'cost': 6}, {'agent_id': 'A7', 'task_id': 1, 'cost': 6}, {'agent_id': 'A7', 'task_id': 2, 'cost': 13}, {'agent_id': 'A7', 'task_id': 3, 'cost': 7}, {'agent_id': 'A7', 'task_id': 4, 'cost': 22}, {'agent_id': 'A7', 'task_id': 5, 'cost': 18}, {'agent_id': 'A7', 'task_id': 6, 'cost': 11}, {'agent_id': 'A7', 'task_id': 7, 'cost': 13}, {'agent_id': 'A7', 'task_id': 8, 'cost': 7}, {'agent_id': 'A7', 'task_id': 9, 'cost': 15}, {'agent_id': 'A7', 'task_id': 10, 'cost': 24}, {'agent_id': 'A7', 'task_id': 11, 'cost': 5}, {'agent_id': 'A7', 'task_id': 12, 'cost': 24}, {'agent_id': 'A7', 'task_id': 13, 'cost': 22}, {'agent_id': 'A7', 'task_id': 14, 'cost': 17}, {'agent_id': 'A7', 'task_id': 15, 'cost': 19}, {'agent_id': 'A7', 'task_id': 16, 'cost': 8}, {'agent_id': 'A7', 'task_id': 17, 'cost': 9}, {'agent_id': 'A7', 'task_id': 18, 'cost': 11}, {'agent_id': 'A7', 'task_id': 19, 'cost': 15}, {'agent_id': 'A7', 'task_id': 20, 'cost': 11}, {'agent_id': 'A7', 'task_id': 21, 'cost': 13}, {'agent_id': 'A7', 'task_id': 22, 'cost': 18}]}","['A1', 'A1', 'A7', 'A5', 'A2', 'A4', 'A3', 'A2', 'A1', 'A2', 'A7', 'A6', 'A3', 'A4', 'A6', 'A2', 'A7', 'A2', 'A1', 'A6', 'A3', 'A4']",16,nl,1 GAP,GAP,"There's a pile of care appointments waiting to be handed out, and each one has to land with a single aide. For every possible assignment there’s a clear time hit on the aide’s schedule and a dollar (or points) cost attached. Each aide has a set amount of time they can work, so assignments can’t push anyone past their available hours, and every appointment must be assigned exactly once. The way to compare different schedules is straightforward: total up the cost for each appointment under the people chosen, and pick the plan with the smallest total. The exact figures are listed below. There are 5 aides available and 17 appointments to assign; the aides are A1, A2, A3, A4, A5 and the appointments are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16. Aide A1 has 131 available time. Aide A2 has 131 available time. Aide A3 has 131 available time. Aide A4 has 131 available time. Aide A5 has 131 available time. If A1 is assigned 0 it consumes 31 time and incurs a cost of 22. If A1 is assigned 1 it consumes 37 time and incurs a cost of 12. If A1 is assigned 2 it consumes 36 time and incurs a cost of 23. If A1 is assigned 3 it consumes 47 time and incurs a cost of 19. If A1 is assigned 4 it consumes 20 time and incurs a cost of 21. If A1 is assigned 5 it consumes 37 time and incurs a cost of 16. If A1 is assigned 6 it consumes 16 time and incurs a cost of 12. If A1 is assigned 7 it consumes 22 time and incurs a cost of 10. If A1 is assigned 8 it consumes 43 time and incurs a cost of 22. If A1 is assigned 9 it consumes 42 time and incurs a cost of 12. If A1 is assigned 10 it consumes 48 time and incurs a cost of 15. If A1 is assigned 11 it consumes 13 time and incurs a cost of 21. If A1 is assigned 12 it consumes 34 time and incurs a cost of 9. If A1 is assigned 13 it consumes 49 time and incurs a cost of 18. If A1 is assigned 14 it consumes 19 time and incurs a cost of 23. If A1 is assigned 15 it consumes 11 time and incurs a cost of 5. If A1 is assigned 16 it consumes 35 time and incurs a cost of 17. If A2 is assigned 0 it consumes 19 time and incurs a cost of 5. If A2 is assigned 1 it consumes 32 time and incurs a cost of 11. If A2 is assigned 2 it consumes 19 time and incurs a cost of 23. If A2 is assigned 3 it consumes 37 time and incurs a cost of 8. If A2 is assigned 4 it consumes 10 time and incurs a cost of 13. If A2 is assigned 5 it consumes 20 time and incurs a cost of 25. If A2 is assigned 6 it consumes 12 time and incurs a cost of 15. If A2 is assigned 7 it consumes 13 time and incurs a cost of 14. If A2 is assigned 8 it consumes 19 time and incurs a cost of 25. If A2 is assigned 9 it consumes 32 time and incurs a cost of 16. If A2 is assigned 10 it consumes 41 time and incurs a cost of 11. If A2 is assigned 11 it consumes 25 time and incurs a cost of 10. If A2 is assigned 12 it consumes 10 time and incurs a cost of 9. If A2 is assigned 13 it consumes 18 time and incurs a cost of 23. If A2 is assigned 14 it consumes 15 time and incurs a cost of 16. If A2 is assigned 15 it consumes 47 time and incurs a cost of 12. If A2 is assigned 16 it consumes 45 time and incurs a cost of 9. If A3 is assigned 0 it consumes 12 time and incurs a cost of 12. If A3 is assigned 1 it consumes 33 time and incurs a cost of 9. If A3 is assigned 2 it consumes 44 time and incurs a cost of 11. If A3 is assigned 3 it consumes 31 time and incurs a cost of 16. If A3 is assigned 4 it consumes 12 time and incurs a cost of 19. If A3 is assigned 5 it consumes 48 time and incurs a cost of 7. If A3 is assigned 6 it consumes 28 time and incurs a cost of 7. If A3 is assigned 7 it consumes 41 time and incurs a cost of 24. If A3 is assigned 8 it consumes 48 time and incurs a cost of 13. If A3 is assigned 9 it consumes 49 time and incurs a cost of 19. If A3 is assigned 10 it consumes 49 time and incurs a cost of 17. If A3 is assigned 11 it consumes 13 time and incurs a cost of 14. If A3 is assigned 12 it consumes 48 time and incurs a cost of 22. If A3 is assigned 13 it consumes 15 time and incurs a cost of 10. If A3 is assigned 14 it consumes 11 time and incurs a cost of 12. If A3 is assigned 15 it consumes 16 time and incurs a cost of 22. If A3 is assigned 16 it consumes 45 time and incurs a cost of 12. If A4 is assigned 0 it consumes 21 time and incurs a cost of 23. If A4 is assigned 1 it consumes 19 time and incurs a cost of 21. If A4 is assigned 2 it consumes 29 time and incurs a cost of 7. If A4 is assigned 3 it consumes 38 time and incurs a cost of 9. If A4 is assigned 4 it consumes 33 time and incurs a cost of 10. If A4 is assigned 5 it consumes 10 time and incurs a cost of 19. If A4 is assigned 6 it consumes 29 time and incurs a cost of 25. If A4 is assigned 7 it consumes 32 time and incurs a cost of 8. If A4 is assigned 8 it consumes 31 time and incurs a cost of 10. If A4 is assigned 9 it consumes 47 time and incurs a cost of 7. If A4 is assigned 10 it consumes 35 time and incurs a cost of 12. If A4 is assigned 11 it consumes 36 time and incurs a cost of 24. If A4 is assigned 12 it consumes 15 time and incurs a cost of 17. If A4 is assigned 13 it consumes 47 time and incurs a cost of 21. If A4 is assigned 14 it consumes 46 time and incurs a cost of 13. If A4 is assigned 15 it consumes 39 time and incurs a cost of 13. If A4 is assigned 16 it consumes 32 time and incurs a cost of 10. If A5 is assigned 0 it consumes 28 time and incurs a cost of 17. If A5 is assigned 1 it consumes 34 time and incurs a cost of 20. If A5 is assigned 2 it consumes 13 time and incurs a cost of 24. If A5 is assigned 3 it consumes 13 time and incurs a cost of 25. If A5 is assigned 4 it consumes 21 time and incurs a cost of 12. If A5 is assigned 5 it consumes 46 time and incurs a cost of 21. If A5 is assigned 6 it consumes 27 time and incurs a cost of 18. If A5 is assigned 7 it consumes 41 time and incurs a cost of 23. If A5 is assigned 8 it consumes 31 time and incurs a cost of 18. If A5 is assigned 9 it consumes 42 time and incurs a cost of 22. If A5 is assigned 10 it consumes 41 time and incurs a cost of 14. If A5 is assigned 11 it consumes 44 time and incurs a cost of 16. If A5 is assigned 12 it consumes 28 time and incurs a cost of 19. If A5 is assigned 13 it consumes 48 time and incurs a cost of 19. If A5 is assigned 14 it consumes 23 time and incurs a cost of 22. If A5 is assigned 15 it consumes 44 time and incurs a cost of 14. If A5 is assigned 16 it consumes 42 time and incurs a cost of 18. Assign each appointment exactly once without exceeding any aide's available time, and pick the assignment plan with the lowest total cost. Oh, and when you send the assignment back, it helps to use a little JSON snippet so it's easy to read and check. Something casual like this works: { ""solution"": [ , , ..., ] } This just means: the ""solution"" field is a list, and each entry is the ID of the aide you picked for that appointment in order — first list entry for the first appointment, second for the second, and so on. It's just a sketch of the expected shape, not the actual answer. Please make sure to use the exact identifiers from the instance input — don't rename them or invent new labels. For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[31, 37, 36, 47, 20, 37, 16, 22, 43, 42, 48, 13, 34, 49, 19, 11, 35], [19, 32, 19, 37, 10, 20, 12, 13, 19, 32, 41, 25, 10, 18, 15, 47, 45], [12, 33, 44, 31, 12, 48, 28, 41, 48, 49, 49, 13, 48, 15, 11, 16, 45], [21, 19, 29, 38, 33, 10, 29, 32, 31, 47, 35, 36, 15, 47, 46, 39, 32], [28, 34, 13, 13, 21, 46, 27, 41, 31, 42, 41, 44, 28, 48, 23, 44, 42]], 'assignment_costs': [[22, 12, 23, 19, 21, 16, 12, 10, 22, 12, 15, 21, 9, 18, 23, 5, 17], [5, 11, 23, 8, 13, 25, 15, 14, 25, 16, 11, 10, 9, 23, 16, 12, 9], [12, 9, 11, 16, 19, 7, 7, 24, 13, 19, 17, 14, 22, 10, 12, 22, 12], [23, 21, 7, 9, 10, 19, 25, 8, 10, 7, 12, 24, 17, 21, 13, 13, 10], [17, 20, 24, 25, 12, 21, 18, 23, 18, 22, 14, 16, 19, 19, 22, 14, 18]], 'capacities': [131, 131, 131, 131, 131], 'objective': 154.0}","[1, 0, 3, 1, 4, 2, 2, 0, 3, 3, 4, 1, 0, 2, 2, 0, 1]",154.0,"{'problem_type': 'GAP', 'num_agents': 5, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 42}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 22}, {'agent_id': 'A1', 'task_id': 1, 'cost': 12}, {'agent_id': 'A1', 'task_id': 2, 'cost': 23}, {'agent_id': 'A1', 'task_id': 3, 'cost': 19}, {'agent_id': 'A1', 'task_id': 4, 'cost': 21}, {'agent_id': 'A1', 'task_id': 5, 'cost': 16}, {'agent_id': 'A1', 'task_id': 6, 'cost': 12}, {'agent_id': 'A1', 'task_id': 7, 'cost': 10}, {'agent_id': 'A1', 'task_id': 8, 'cost': 22}, {'agent_id': 'A1', 'task_id': 9, 'cost': 12}, {'agent_id': 'A1', 'task_id': 10, 'cost': 15}, {'agent_id': 'A1', 'task_id': 11, 'cost': 21}, {'agent_id': 'A1', 'task_id': 12, 'cost': 9}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 23}, {'agent_id': 'A1', 'task_id': 15, 'cost': 5}, {'agent_id': 'A1', 'task_id': 16, 'cost': 17}, {'agent_id': 'A2', 'task_id': 0, 'cost': 5}, {'agent_id': 'A2', 'task_id': 1, 'cost': 11}, {'agent_id': 'A2', 'task_id': 2, 'cost': 23}, {'agent_id': 'A2', 'task_id': 3, 'cost': 8}, {'agent_id': 'A2', 'task_id': 4, 'cost': 13}, {'agent_id': 'A2', 'task_id': 5, 'cost': 25}, {'agent_id': 'A2', 'task_id': 6, 'cost': 15}, {'agent_id': 'A2', 'task_id': 7, 'cost': 14}, {'agent_id': 'A2', 'task_id': 8, 'cost': 25}, {'agent_id': 'A2', 'task_id': 9, 'cost': 16}, {'agent_id': 'A2', 'task_id': 10, 'cost': 11}, {'agent_id': 'A2', 'task_id': 11, 'cost': 10}, {'agent_id': 'A2', 'task_id': 12, 'cost': 9}, {'agent_id': 'A2', 'task_id': 13, 'cost': 23}, {'agent_id': 'A2', 'task_id': 14, 'cost': 16}, {'agent_id': 'A2', 'task_id': 15, 'cost': 12}, {'agent_id': 'A2', 'task_id': 16, 'cost': 9}, {'agent_id': 'A3', 'task_id': 0, 'cost': 12}, {'agent_id': 'A3', 'task_id': 1, 'cost': 9}, {'agent_id': 'A3', 'task_id': 2, 'cost': 11}, {'agent_id': 'A3', 'task_id': 3, 'cost': 16}, {'agent_id': 'A3', 'task_id': 4, 'cost': 19}, {'agent_id': 'A3', 'task_id': 5, 'cost': 7}, {'agent_id': 'A3', 'task_id': 6, 'cost': 7}, {'agent_id': 'A3', 'task_id': 7, 'cost': 24}, {'agent_id': 'A3', 'task_id': 8, 'cost': 13}, {'agent_id': 'A3', 'task_id': 9, 'cost': 19}, {'agent_id': 'A3', 'task_id': 10, 'cost': 17}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 22}, {'agent_id': 'A3', 'task_id': 13, 'cost': 10}, {'agent_id': 'A3', 'task_id': 14, 'cost': 12}, {'agent_id': 'A3', 'task_id': 15, 'cost': 22}, {'agent_id': 'A3', 'task_id': 16, 'cost': 12}, {'agent_id': 'A4', 'task_id': 0, 'cost': 23}, {'agent_id': 'A4', 'task_id': 1, 'cost': 21}, {'agent_id': 'A4', 'task_id': 2, 'cost': 7}, {'agent_id': 'A4', 'task_id': 3, 'cost': 9}, {'agent_id': 'A4', 'task_id': 4, 'cost': 10}, {'agent_id': 'A4', 'task_id': 5, 'cost': 19}, {'agent_id': 'A4', 'task_id': 6, 'cost': 25}, {'agent_id': 'A4', 'task_id': 7, 'cost': 8}, {'agent_id': 'A4', 'task_id': 8, 'cost': 10}, {'agent_id': 'A4', 'task_id': 9, 'cost': 7}, {'agent_id': 'A4', 'task_id': 10, 'cost': 12}, {'agent_id': 'A4', 'task_id': 11, 'cost': 24}, {'agent_id': 'A4', 'task_id': 12, 'cost': 17}, {'agent_id': 'A4', 'task_id': 13, 'cost': 21}, {'agent_id': 'A4', 'task_id': 14, 'cost': 13}, {'agent_id': 'A4', 'task_id': 15, 'cost': 13}, {'agent_id': 'A4', 'task_id': 16, 'cost': 10}, {'agent_id': 'A5', 'task_id': 0, 'cost': 17}, {'agent_id': 'A5', 'task_id': 1, 'cost': 20}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 25}, {'agent_id': 'A5', 'task_id': 4, 'cost': 12}, {'agent_id': 'A5', 'task_id': 5, 'cost': 21}, {'agent_id': 'A5', 'task_id': 6, 'cost': 18}, {'agent_id': 'A5', 'task_id': 7, 'cost': 23}, {'agent_id': 'A5', 'task_id': 8, 'cost': 18}, {'agent_id': 'A5', 'task_id': 9, 'cost': 22}, {'agent_id': 'A5', 'task_id': 10, 'cost': 14}, {'agent_id': 'A5', 'task_id': 11, 'cost': 16}, {'agent_id': 'A5', 'task_id': 12, 'cost': 19}, {'agent_id': 'A5', 'task_id': 13, 'cost': 19}, {'agent_id': 'A5', 'task_id': 14, 'cost': 22}, {'agent_id': 'A5', 'task_id': 15, 'cost': 14}, {'agent_id': 'A5', 'task_id': 16, 'cost': 18}]}","['A2', 'A1', 'A4', 'A2', 'A5', 'A3', 'A3', 'A1', 'A4', 'A4', 'A5', 'A2', 'A1', 'A3', 'A3', 'A1', 'A2']",17,nl,0 GAP,GAP,"I run the weekly cover plan at the school and need to slot every lesson that needs covering to one substitute each — no lesson left uncovered and no lesson handed to two people. For every possible pairing there’s a known amount of time that sub would spend (prep plus teaching) and a known fee they charge. Each sub only has a certain number of hours available, so the trick is to pick who covers which lessons so nobody is asked to work more than their hours and the total amount paid out in fees is as small as possible. The total cost is just the sum of the fees for all assigned lessons, and the exact lesson times and substitute fees are listed below. Below I list the 5 substitutes and the 17 lessons I must assign: substitutes A1, A2, A3, A4, A5; lessons 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16. | substitute_id | available_hours | |---|---| | A1 | 68 | | A2 | 68 | | A3 | 68 | | A4 | 68 | | A5 | 68 | | substitute_id | lesson_id | time_required_hours | |---|---|---| | A1 | 0 | 25 | | A1 | 1 | 21 | | A1 | 2 | 48 | | A1 | 3 | 15 | | A1 | 4 | 38 | | A1 | 5 | 21 | | A1 | 6 | 44 | | A1 | 7 | 10 | | A1 | 8 | 44 | | A1 | 9 | 12 | | A1 | 10 | 31 | | A1 | 11 | 44 | | A1 | 12 | 18 | | A1 | 13 | 26 | | A1 | 14 | 12 | | A1 | 15 | 19 | | A1 | 16 | 26 | | A2 | 0 | 41 | | A2 | 1 | 13 | | A2 | 2 | 28 | | A2 | 3 | 23 | | A2 | 4 | 37 | | A2 | 5 | 15 | | A2 | 6 | 22 | | A2 | 7 | 22 | | A2 | 8 | 47 | | A2 | 9 | 24 | | A2 | 10 | 18 | | A2 | 11 | 29 | | A2 | 12 | 37 | | A2 | 13 | 13 | | A2 | 14 | 37 | | A2 | 15 | 30 | | A2 | 16 | 24 | | A3 | 0 | 10 | | A3 | 1 | 41 | | A3 | 2 | 15 | | A3 | 3 | 40 | | A3 | 4 | 31 | | A3 | 5 | 44 | | A3 | 6 | 27 | | A3 | 7 | 14 | | A3 | 8 | 33 | | A3 | 9 | 22 | | A3 | 10 | 11 | | A3 | 11 | 25 | | A3 | 12 | 37 | | A3 | 13 | 11 | | A3 | 14 | 32 | | A3 | 15 | 30 | | A3 | 16 | 35 | | A4 | 0 | 35 | | A4 | 1 | 33 | | A4 | 2 | 38 | | A4 | 3 | 14 | | A4 | 4 | 49 | | A4 | 5 | 30 | | A4 | 6 | 34 | | A4 | 7 | 31 | | A4 | 8 | 20 | | A4 | 9 | 20 | | A4 | 10 | 33 | | A4 | 11 | 41 | | A4 | 12 | 42 | | A4 | 13 | 16 | | A4 | 14 | 16 | | A4 | 15 | 49 | | A4 | 16 | 23 | | A5 | 0 | 46 | | A5 | 1 | 34 | | A5 | 2 | 36 | | A5 | 3 | 10 | | A5 | 4 | 39 | | A5 | 5 | 28 | | A5 | 6 | 12 | | A5 | 7 | 50 | | A5 | 8 | 44 | | A5 | 9 | 24 | | A5 | 10 | 17 | | A5 | 11 | 11 | | A5 | 12 | 40 | | A5 | 13 | 21 | | A5 | 14 | 28 | | A5 | 15 | 30 | | A5 | 16 | 42 | | substitute_id | lesson_id | fee | |---|---|---| | A1 | 0 | 14 | | A1 | 1 | 19 | | A1 | 2 | 10 | | A1 | 3 | 10 | | A1 | 4 | 16 | | A1 | 5 | 10 | | A1 | 6 | 11 | | A1 | 7 | 20 | | A1 | 8 | 11 | | A1 | 9 | 10 | | A1 | 10 | 13 | | A1 | 11 | 7 | | A1 | 12 | 21 | | A1 | 13 | 10 | | A1 | 14 | 13 | | A1 | 15 | 18 | | A1 | 16 | 21 | | A2 | 0 | 5 | | A2 | 1 | 14 | | A2 | 2 | 5 | | A2 | 3 | 16 | | A2 | 4 | 16 | | A2 | 5 | 20 | | A2 | 6 | 16 | | A2 | 7 | 20 | | A2 | 8 | 10 | | A2 | 9 | 8 | | A2 | 10 | 18 | | A2 | 11 | 15 | | A2 | 12 | 19 | | A2 | 13 | 18 | | A2 | 14 | 12 | | A2 | 15 | 21 | | A2 | 16 | 5 | | A3 | 0 | 6 | | A3 | 1 | 10 | | A3 | 2 | 24 | | A3 | 3 | 21 | | A3 | 4 | 25 | | A3 | 5 | 22 | | A3 | 6 | 15 | | A3 | 7 | 13 | | A3 | 8 | 22 | | A3 | 9 | 15 | | A3 | 10 | 7 | | A3 | 11 | 19 | | A3 | 12 | 19 | | A3 | 13 | 22 | | A3 | 14 | 6 | | A3 | 15 | 9 | | A3 | 16 | 11 | | A4 | 0 | 22 | | A4 | 1 | 11 | | A4 | 2 | 20 | | A4 | 3 | 20 | | A4 | 4 | 25 | | A4 | 5 | 25 | | A4 | 6 | 22 | | A4 | 7 | 18 | | A4 | 8 | 19 | | A4 | 9 | 7 | | A4 | 10 | 19 | | A4 | 11 | 23 | | A4 | 12 | 15 | | A4 | 13 | 21 | | A4 | 14 | 10 | | A4 | 15 | 5 | | A4 | 16 | 23 | | A5 | 0 | 7 | | A5 | 1 | 19 | | A5 | 2 | 24 | | A5 | 3 | 16 | | A5 | 4 | 22 | | A5 | 5 | 8 | | A5 | 6 | 16 | | A5 | 7 | 17 | | A5 | 8 | 11 | | A5 | 9 | 17 | | A5 | 10 | 10 | | A5 | 11 | 18 | | A5 | 12 | 15 | | A5 | 13 | 14 | | A5 | 14 | 13 | | A5 | 15 | 6 | | A5 | 16 | 5 | I will assign each lesson once, stay within every substitute's available hours, and minimize the total fees. If you want the answer in a tidy, machine-friendly shape, send it back in a JSON object like this: { ""solution"": [ , , ..., ] } This just means ""solution"" is a list where each entry is the substitute chosen for the corresponding lesson (first lesson → first entry, second lesson → second entry, and so on). Think of it like filling in a simple form: one substitute identifier per lesson, in the same order the lessons were given. This JSON is only a sketch of the shape I expect — not the actual completed assignment. Please use the exact identifiers from the instance input — do not rename or invent labels. For example, valid identifiers look like: - plain numbers such as “1” or “23” - single capital letters like “A” or “B” - a capital letter followed by digits like “A1” or “X7”","{'resource_consumption': [[25, 21, 48, 15, 38, 21, 44, 10, 44, 12, 31, 44, 18, 26, 12, 19, 26], [41, 13, 28, 23, 37, 15, 22, 22, 47, 24, 18, 29, 37, 13, 37, 30, 24], [10, 41, 15, 40, 31, 44, 27, 14, 33, 22, 11, 25, 37, 11, 32, 30, 35], [35, 33, 38, 14, 49, 30, 34, 31, 20, 20, 33, 41, 42, 16, 16, 49, 23], [46, 34, 36, 10, 39, 28, 12, 50, 44, 24, 17, 11, 40, 21, 28, 30, 42]], 'assignment_costs': [[14, 19, 10, 10, 16, 10, 11, 20, 11, 10, 13, 7, 21, 10, 13, 18, 21], [5, 14, 5, 16, 16, 20, 16, 20, 10, 8, 18, 15, 19, 18, 12, 21, 5], [6, 10, 24, 21, 25, 22, 15, 13, 22, 15, 7, 19, 19, 22, 6, 9, 11], [22, 11, 20, 20, 25, 25, 22, 18, 19, 7, 19, 23, 15, 21, 10, 5, 23], [7, 19, 24, 16, 22, 8, 16, 17, 11, 17, 10, 18, 15, 14, 13, 6, 5]], 'capacities': [68, 68, 68, 68, 68], 'objective': 208.0}","[2, 1, 1, 4, 2, 0, 4, 2, 3, 3, 2, 4, 0, 0, 3, 4, 1]",208.0,"{'problem_type': 'GAP', 'num_agents': 5, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 68}, {'agent_id': 'A2', 'capacity': 68}, {'agent_id': 'A3', 'capacity': 68}, {'agent_id': 'A4', 'capacity': 68}, {'agent_id': 'A5', 'capacity': 68}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 42}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 14}, {'agent_id': 'A1', 'task_id': 1, 'cost': 19}, {'agent_id': 'A1', 'task_id': 2, 'cost': 10}, {'agent_id': 'A1', 'task_id': 3, 'cost': 10}, {'agent_id': 'A1', 'task_id': 4, 'cost': 16}, {'agent_id': 'A1', 'task_id': 5, 'cost': 10}, {'agent_id': 'A1', 'task_id': 6, 'cost': 11}, {'agent_id': 'A1', 'task_id': 7, 'cost': 20}, {'agent_id': 'A1', 'task_id': 8, 'cost': 11}, {'agent_id': 'A1', 'task_id': 9, 'cost': 10}, {'agent_id': 'A1', 'task_id': 10, 'cost': 13}, {'agent_id': 'A1', 'task_id': 11, 'cost': 7}, {'agent_id': 'A1', 'task_id': 12, 'cost': 21}, {'agent_id': 'A1', 'task_id': 13, 'cost': 10}, {'agent_id': 'A1', 'task_id': 14, 'cost': 13}, {'agent_id': 'A1', 'task_id': 15, 'cost': 18}, {'agent_id': 'A1', 'task_id': 16, 'cost': 21}, {'agent_id': 'A2', 'task_id': 0, 'cost': 5}, {'agent_id': 'A2', 'task_id': 1, 'cost': 14}, {'agent_id': 'A2', 'task_id': 2, 'cost': 5}, {'agent_id': 'A2', 'task_id': 3, 'cost': 16}, {'agent_id': 'A2', 'task_id': 4, 'cost': 16}, {'agent_id': 'A2', 'task_id': 5, 'cost': 20}, {'agent_id': 'A2', 'task_id': 6, 'cost': 16}, {'agent_id': 'A2', 'task_id': 7, 'cost': 20}, {'agent_id': 'A2', 'task_id': 8, 'cost': 10}, {'agent_id': 'A2', 'task_id': 9, 'cost': 8}, {'agent_id': 'A2', 'task_id': 10, 'cost': 18}, {'agent_id': 'A2', 'task_id': 11, 'cost': 15}, {'agent_id': 'A2', 'task_id': 12, 'cost': 19}, {'agent_id': 'A2', 'task_id': 13, 'cost': 18}, {'agent_id': 'A2', 'task_id': 14, 'cost': 12}, {'agent_id': 'A2', 'task_id': 15, 'cost': 21}, {'agent_id': 'A2', 'task_id': 16, 'cost': 5}, {'agent_id': 'A3', 'task_id': 0, 'cost': 6}, {'agent_id': 'A3', 'task_id': 1, 'cost': 10}, {'agent_id': 'A3', 'task_id': 2, 'cost': 24}, {'agent_id': 'A3', 'task_id': 3, 'cost': 21}, {'agent_id': 'A3', 'task_id': 4, 'cost': 25}, {'agent_id': 'A3', 'task_id': 5, 'cost': 22}, {'agent_id': 'A3', 'task_id': 6, 'cost': 15}, {'agent_id': 'A3', 'task_id': 7, 'cost': 13}, {'agent_id': 'A3', 'task_id': 8, 'cost': 22}, {'agent_id': 'A3', 'task_id': 9, 'cost': 15}, {'agent_id': 'A3', 'task_id': 10, 'cost': 7}, {'agent_id': 'A3', 'task_id': 11, 'cost': 19}, {'agent_id': 'A3', 'task_id': 12, 'cost': 19}, {'agent_id': 'A3', 'task_id': 13, 'cost': 22}, {'agent_id': 'A3', 'task_id': 14, 'cost': 6}, {'agent_id': 'A3', 'task_id': 15, 'cost': 9}, {'agent_id': 'A3', 'task_id': 16, 'cost': 11}, {'agent_id': 'A4', 'task_id': 0, 'cost': 22}, {'agent_id': 'A4', 'task_id': 1, 'cost': 11}, {'agent_id': 'A4', 'task_id': 2, 'cost': 20}, {'agent_id': 'A4', 'task_id': 3, 'cost': 20}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 25}, {'agent_id': 'A4', 'task_id': 6, 'cost': 22}, {'agent_id': 'A4', 'task_id': 7, 'cost': 18}, {'agent_id': 'A4', 'task_id': 8, 'cost': 19}, {'agent_id': 'A4', 'task_id': 9, 'cost': 7}, {'agent_id': 'A4', 'task_id': 10, 'cost': 19}, {'agent_id': 'A4', 'task_id': 11, 'cost': 23}, {'agent_id': 'A4', 'task_id': 12, 'cost': 15}, {'agent_id': 'A4', 'task_id': 13, 'cost': 21}, {'agent_id': 'A4', 'task_id': 14, 'cost': 10}, {'agent_id': 'A4', 'task_id': 15, 'cost': 5}, {'agent_id': 'A4', 'task_id': 16, 'cost': 23}, {'agent_id': 'A5', 'task_id': 0, 'cost': 7}, {'agent_id': 'A5', 'task_id': 1, 'cost': 19}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 16}, {'agent_id': 'A5', 'task_id': 4, 'cost': 22}, {'agent_id': 'A5', 'task_id': 5, 'cost': 8}, {'agent_id': 'A5', 'task_id': 6, 'cost': 16}, {'agent_id': 'A5', 'task_id': 7, 'cost': 17}, {'agent_id': 'A5', 'task_id': 8, 'cost': 11}, {'agent_id': 'A5', 'task_id': 9, 'cost': 17}, {'agent_id': 'A5', 'task_id': 10, 'cost': 10}, {'agent_id': 'A5', 'task_id': 11, 'cost': 18}, {'agent_id': 'A5', 'task_id': 12, 'cost': 15}, {'agent_id': 'A5', 'task_id': 13, 'cost': 14}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 6}, {'agent_id': 'A5', 'task_id': 16, 'cost': 5}]}","['A3', 'A2', 'A2', 'A5', 'A3', 'A1', 'A5', 'A3', 'A4', 'A4', 'A3', 'A5', 'A1', 'A1', 'A4', 'A5', 'A2']",18,markdown_table,0 GAP,GAP,"There’s a dispatch problem on the floor: stacks of boxes and a row of vans, and someone needs to match them up. Each box has to ride on exactly one van, and each van has a weight/space limit that can’t be exceeded. Every potential match has two bits of info — how much of the van’s capacity that box would take and how much it would cost — so the nicest outcome is the one with the smallest total of all those fees, computed by summing the fee for each assigned box. The full list of loads and fees for all package–van combinations is shown below. There are 8 vans and 25 packages; the vans are A1, A2, A3, A4, A5, A6, A7, A8 and the packages are 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. | van_id | van_capacity | |---|---| | A1 | 68 | | A2 | 68 | | A3 | 68 | | A4 | 68 | | A5 | 68 | | A6 | 68 | | A7 | 68 | | A8 | 68 | | van_id | package_id | load_consumption | |---|---|---| | A1 | 1 | 40 | | A1 | 2 | 27 | | A1 | 3 | 37 | | A1 | 4 | 21 | | A1 | 5 | 16 | | A1 | 6 | 10 | | A1 | 7 | 16 | | A1 | 8 | 17 | | A1 | 9 | 39 | | A1 | 10 | 29 | | A1 | 11 | 21 | | A1 | 12 | 26 | | A1 | 13 | 26 | | A1 | 14 | 18 | | A1 | 15 | 35 | | A1 | 16 | 29 | | A1 | 17 | 26 | | A1 | 18 | 17 | | A1 | 19 | 44 | | A1 | 20 | 41 | | A1 | 21 | 36 | | A1 | 22 | 10 | | A1 | 23 | 47 | | A1 | 24 | 30 | | A1 | 25 | 14 | | A2 | 1 | 11 | | A2 | 2 | 33 | | A2 | 3 | 20 | | A2 | 4 | 48 | | A2 | 5 | 46 | | A2 | 6 | 23 | | A2 | 7 | 37 | | A2 | 8 | 34 | | A2 | 9 | 33 | | A2 | 10 | 31 | | A2 | 11 | 27 | | A2 | 12 | 41 | | A2 | 13 | 49 | | A2 | 14 | 15 | | A2 | 15 | 19 | | A2 | 16 | 32 | | A2 | 17 | 25 | | A2 | 18 | 10 | | A2 | 19 | 22 | | A2 | 20 | 21 | | A2 | 21 | 15 | | A2 | 22 | 21 | | A2 | 23 | 11 | | A2 | 24 | 13 | | A2 | 25 | 33 | | A3 | 1 | 49 | | A3 | 2 | 11 | | A3 | 3 | 23 | | A3 | 4 | 38 | | A3 | 5 | 29 | | A3 | 6 | 15 | | A3 | 7 | 26 | | A3 | 8 | 15 | | A3 | 9 | 50 | | A3 | 10 | 25 | | A3 | 11 | 15 | | A3 | 12 | 31 | | A3 | 13 | 50 | | A3 | 14 | 12 | | A3 | 15 | 12 | | A3 | 16 | 29 | | A3 | 17 | 12 | | A3 | 18 | 48 | | A3 | 19 | 37 | | A3 | 20 | 19 | | A3 | 21 | 36 | | A3 | 22 | 24 | | A3 | 23 | 34 | | A3 | 24 | 40 | | A3 | 25 | 18 | | A4 | 1 | 33 | | A4 | 2 | 30 | | A4 | 3 | 14 | | A4 | 4 | 17 | | A4 | 5 | 19 | | A4 | 6 | 21 | | A4 | 7 | 20 | | A4 | 8 | 12 | | A4 | 9 | 42 | | A4 | 10 | 21 | | A4 | 11 | 29 | | A4 | 12 | 13 | | A4 | 13 | 50 | | A4 | 14 | 40 | | A4 | 15 | 20 | | A4 | 16 | 12 | | A4 | 17 | 45 | | A4 | 18 | 25 | | A4 | 19 | 30 | | A4 | 20 | 35 | | A4 | 21 | 30 | | A4 | 22 | 41 | | A4 | 23 | 49 | | A4 | 24 | 23 | | A4 | 25 | 46 | | A5 | 1 | 16 | | A5 | 2 | 15 | | A5 | 3 | 34 | | A5 | 4 | 28 | | A5 | 5 | 39 | | A5 | 6 | 21 | | A5 | 7 | 35 | | A5 | 8 | 36 | | A5 | 9 | 31 | | A5 | 10 | 31 | | A5 | 11 | 22 | | A5 | 12 | 45 | | A5 | 13 | 26 | | A5 | 14 | 19 | | A5 | 15 | 14 | | A5 | 16 | 15 | | A5 | 17 | 36 | | A5 | 18 | 43 | | A5 | 19 | 24 | | A5 | 20 | 17 | | A5 | 21 | 15 | | A5 | 22 | 42 | | A5 | 23 | 18 | | A5 | 24 | 40 | | A5 | 25 | 45 | | A6 | 1 | 37 | | A6 | 2 | 30 | | A6 | 3 | 22 | | A6 | 4 | 41 | | A6 | 5 | 36 | | A6 | 6 | 12 | | A6 | 7 | 26 | | A6 | 8 | 30 | | A6 | 9 | 17 | | A6 | 10 | 24 | | A6 | 11 | 50 | | A6 | 12 | 26 | | A6 | 13 | 44 | | A6 | 14 | 38 | | A6 | 15 | 36 | | A6 | 16 | 42 | | A6 | 17 | 49 | | A6 | 18 | 42 | | A6 | 19 | 33 | | A6 | 20 | 34 | | A6 | 21 | 35 | | A6 | 22 | 34 | | A6 | 23 | 34 | | A6 | 24 | 29 | | A6 | 25 | 27 | | A7 | 1 | 43 | | A7 | 2 | 10 | | A7 | 3 | 14 | | A7 | 4 | 15 | | A7 | 5 | 19 | | A7 | 6 | 43 | | A7 | 7 | 32 | | A7 | 8 | 46 | | A7 | 9 | 40 | | A7 | 10 | 31 | | A7 | 11 | 41 | | A7 | 12 | 13 | | A7 | 13 | 40 | | A7 | 14 | 31 | | A7 | 15 | 24 | | A7 | 16 | 24 | | A7 | 17 | 21 | | A7 | 18 | 30 | | A7 | 19 | 37 | | A7 | 20 | 50 | | A7 | 21 | 24 | | A7 | 22 | 23 | | A7 | 23 | 15 | | A7 | 24 | 48 | | A7 | 25 | 11 | | A8 | 1 | 20 | | A8 | 2 | 21 | | A8 | 3 | 48 | | A8 | 4 | 23 | | A8 | 5 | 25 | | A8 | 6 | 43 | | A8 | 7 | 50 | | A8 | 8 | 45 | | A8 | 9 | 39 | | A8 | 10 | 27 | | A8 | 11 | 15 | | A8 | 12 | 45 | | A8 | 13 | 29 | | A8 | 14 | 48 | | A8 | 15 | 24 | | A8 | 16 | 32 | | A8 | 17 | 37 | | A8 | 18 | 16 | | A8 | 19 | 39 | | A8 | 20 | 40 | | A8 | 21 | 49 | | A8 | 22 | 17 | | A8 | 23 | 29 | | A8 | 24 | 28 | | A8 | 25 | 47 | | van_id | package_id | delivery_fee | |---|---|---| | A1 | 1 | 13 | | A1 | 2 | 18 | | A1 | 3 | 17 | | A1 | 4 | 14 | | A1 | 5 | 7 | | A1 | 6 | 16 | | A1 | 7 | 19 | | A1 | 8 | 21 | | A1 | 9 | 7 | | A1 | 10 | 14 | | A1 | 11 | 22 | | A1 | 12 | 21 | | A1 | 13 | 24 | | A1 | 14 | 20 | | A1 | 15 | 11 | | A1 | 16 | 17 | | A1 | 17 | 5 | | A1 | 18 | 20 | | A1 | 19 | 8 | | A1 | 20 | 15 | | A1 | 21 | 18 | | A1 | 22 | 11 | | A1 | 23 | 13 | | A1 | 24 | 13 | | A1 | 25 | 24 | | A2 | 1 | 25 | | A2 | 2 | 14 | | A2 | 3 | 13 | | A2 | 4 | 22 | | A2 | 5 | 25 | | A2 | 6 | 18 | | A2 | 7 | 5 | | A2 | 8 | 10 | | A2 | 9 | 9 | | A2 | 10 | 19 | | A2 | 11 | 9 | | A2 | 12 | 25 | | A2 | 13 | 21 | | A2 | 14 | 16 | | A2 | 15 | 17 | | A2 | 16 | 13 | | A2 | 17 | 25 | | A2 | 18 | 24 | | A2 | 19 | 5 | | A2 | 20 | 13 | | A2 | 21 | 21 | | A2 | 22 | 19 | | A2 | 23 | 11 | | A2 | 24 | 12 | | A2 | 25 | 24 | | A3 | 1 | 8 | | A3 | 2 | 5 | | A3 | 3 | 24 | | A3 | 4 | 7 | | A3 | 5 | 14 | | A3 | 6 | 23 | | A3 | 7 | 20 | | A3 | 8 | 16 | | A3 | 9 | 17 | | A3 | 10 | 7 | | A3 | 11 | 14 | | A3 | 12 | 7 | | A3 | 13 | 6 | | A3 | 14 | 23 | | A3 | 15 | 15 | | A3 | 16 | 20 | | A3 | 17 | 25 | | A3 | 18 | 15 | | A3 | 19 | 20 | | A3 | 20 | 22 | | A3 | 21 | 20 | | A3 | 22 | 16 | | A3 | 23 | 25 | | A3 | 24 | 19 | | A3 | 25 | 15 | | A4 | 1 | 18 | | A4 | 2 | 16 | | A4 | 3 | 17 | | A4 | 4 | 24 | | A4 | 5 | 20 | | A4 | 6 | 7 | | A4 | 7 | 17 | | A4 | 8 | 5 | | A4 | 9 | 25 | | A4 | 10 | 25 | | A4 | 11 | 13 | | A4 | 12 | 7 | | A4 | 13 | 13 | | A4 | 14 | 15 | | A4 | 15 | 17 | | A4 | 16 | 8 | | A4 | 17 | 21 | | A4 | 18 | 15 | | A4 | 19 | 5 | | A4 | 20 | 8 | | A4 | 21 | 19 | | A4 | 22 | 25 | | A4 | 23 | 8 | | A4 | 24 | 21 | | A4 | 25 | 25 | | A5 | 1 | 13 | | A5 | 2 | 13 | | A5 | 3 | 15 | | A5 | 4 | 11 | | A5 | 5 | 16 | | A5 | 6 | 16 | | A5 | 7 | 9 | | A5 | 8 | 18 | | A5 | 9 | 16 | | A5 | 10 | 5 | | A5 | 11 | 13 | | A5 | 12 | 5 | | A5 | 13 | 13 | | A5 | 14 | 21 | | A5 | 15 | 11 | | A5 | 16 | 23 | | A5 | 17 | 18 | | A5 | 18 | 6 | | A5 | 19 | 17 | | A5 | 20 | 16 | | A5 | 21 | 25 | | A5 | 22 | 5 | | A5 | 23 | 15 | | A5 | 24 | 10 | | A5 | 25 | 17 | | A6 | 1 | 20 | | A6 | 2 | 5 | | A6 | 3 | 22 | | A6 | 4 | 23 | | A6 | 5 | 18 | | A6 | 6 | 17 | | A6 | 7 | 21 | | A6 | 8 | 19 | | A6 | 9 | 22 | | A6 | 10 | 21 | | A6 | 11 | 23 | | A6 | 12 | 25 | | A6 | 13 | 5 | | A6 | 14 | 20 | | A6 | 15 | 19 | | A6 | 16 | 21 | | A6 | 17 | 15 | | A6 | 18 | 21 | | A6 | 19 | 10 | | A6 | 20 | 8 | | A6 | 21 | 14 | | A6 | 22 | 18 | | A6 | 23 | 7 | | A6 | 24 | 11 | | A6 | 25 | 8 | | A7 | 1 | 20 | | A7 | 2 | 16 | | A7 | 3 | 6 | | A7 | 4 | 11 | | A7 | 5 | 15 | | A7 | 6 | 11 | | A7 | 7 | 22 | | A7 | 8 | 9 | | A7 | 9 | 19 | | A7 | 10 | 12 | | A7 | 11 | 15 | | A7 | 12 | 25 | | A7 | 13 | 20 | | A7 | 14 | 15 | | A7 | 15 | 14 | | A7 | 16 | 23 | | A7 | 17 | 12 | | A7 | 18 | 7 | | A7 | 19 | 17 | | A7 | 20 | 9 | | A7 | 21 | 15 | | A7 | 22 | 9 | | A7 | 23 | 17 | | A7 | 24 | 17 | | A7 | 25 | 22 | | A8 | 1 | 15 | | A8 | 2 | 15 | | A8 | 3 | 14 | | A8 | 4 | 13 | | A8 | 5 | 7 | | A8 | 6 | 16 | | A8 | 7 | 19 | | A8 | 8 | 14 | | A8 | 9 | 24 | | A8 | 10 | 23 | | A8 | 11 | 15 | | A8 | 12 | 7 | | A8 | 13 | 11 | | A8 | 14 | 17 | | A8 | 15 | 17 | | A8 | 16 | 7 | | A8 | 17 | 9 | | A8 | 18 | 19 | | A8 | 19 | 23 | | A8 | 20 | 15 | | A8 | 21 | 10 | | A8 | 22 | 11 | | A8 | 23 | 20 | | A8 | 24 | 13 | | A8 | 25 | 12 | The best outcome fits every van's capacity and minimizes the sum of delivery fees. When you send back your pick, a little JSON like this keeps things tidy and easy to check: { ""solution"": [ , , ..., ] } This just says, in order, which van each box should go on — first entry = van for the first box, second = van for the second box, and so on. Think of it like filling out a simple form: one van ID per box, in the same order the boxes were listed. It’s only a sketch of the shape I’m expecting, not the actual assignment. Please use the exact identifiers from the instance input when you fill that in — don’t rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[40, 27, 37, 21, 16, 10, 16, 17, 39, 29, 21, 26, 26, 18, 35, 29, 26, 17, 44, 41, 36, 10, 47, 30, 14], [11, 33, 20, 48, 46, 23, 37, 34, 33, 31, 27, 41, 49, 15, 19, 32, 25, 10, 22, 21, 15, 21, 11, 13, 33], [49, 11, 23, 38, 29, 15, 26, 15, 50, 25, 15, 31, 50, 12, 12, 29, 12, 48, 37, 19, 36, 24, 34, 40, 18], [33, 30, 14, 17, 19, 21, 20, 12, 42, 21, 29, 13, 50, 40, 20, 12, 45, 25, 30, 35, 30, 41, 49, 23, 46], [16, 15, 34, 28, 39, 21, 35, 36, 31, 31, 22, 45, 26, 19, 14, 15, 36, 43, 24, 17, 15, 42, 18, 40, 45], [37, 30, 22, 41, 36, 12, 26, 30, 17, 24, 50, 26, 44, 38, 36, 42, 49, 42, 33, 34, 35, 34, 34, 29, 27], [43, 10, 14, 15, 19, 43, 32, 46, 40, 31, 41, 13, 40, 31, 24, 24, 21, 30, 37, 50, 24, 23, 15, 48, 11], [20, 21, 48, 23, 25, 43, 50, 45, 39, 27, 15, 45, 29, 48, 24, 32, 37, 16, 39, 40, 49, 17, 29, 28, 47]], 'assignment_costs': [[13, 18, 17, 14, 7, 16, 19, 21, 7, 14, 22, 21, 24, 20, 11, 17, 5, 20, 8, 15, 18, 11, 13, 13, 24], [25, 14, 13, 22, 25, 18, 5, 10, 9, 19, 9, 25, 21, 16, 17, 13, 25, 24, 5, 13, 21, 19, 11, 12, 24], [8, 5, 24, 7, 14, 23, 20, 16, 17, 7, 14, 7, 6, 23, 15, 20, 25, 15, 20, 22, 20, 16, 25, 19, 15], [18, 16, 17, 24, 20, 7, 17, 5, 25, 25, 13, 7, 13, 15, 17, 8, 21, 15, 5, 8, 19, 25, 8, 21, 25], [13, 13, 15, 11, 16, 16, 9, 18, 16, 5, 13, 5, 13, 21, 11, 23, 18, 6, 17, 16, 25, 5, 15, 10, 17], [20, 5, 22, 23, 18, 17, 21, 19, 22, 21, 23, 25, 5, 20, 19, 21, 15, 21, 10, 8, 14, 18, 7, 11, 8], [20, 16, 6, 11, 15, 11, 22, 9, 19, 12, 15, 25, 20, 15, 14, 23, 12, 7, 17, 9, 15, 9, 17, 17, 22], [15, 15, 14, 13, 7, 16, 19, 14, 24, 23, 15, 7, 11, 17, 17, 7, 9, 19, 23, 15, 10, 11, 20, 13, 12]], 'capacities': [68, 68, 68, 68, 68, 68, 68, 68], 'objective': 241.0}","[4, 2, 6, 7, 0, 3, 4, 3, 1, 2, 7, 3, 7, 2, 4, 3, 0, 6, 1, 5, 6, 0, 5, 1, 2]",241.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 25, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [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], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 68}, {'agent_id': 'A2', 'capacity': 68}, {'agent_id': 'A3', 'capacity': 68}, {'agent_id': 'A4', 'capacity': 68}, {'agent_id': 'A5', 'capacity': 68}, {'agent_id': 'A6', 'capacity': 68}, {'agent_id': 'A7', 'capacity': 68}, {'agent_id': 'A8', 'capacity': 68}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 25, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 25, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 25, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 25, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 25, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 25, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 25, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 45}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 40}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 28}, {'agent_id': 'A8', 'task_id': 25, 'consumption': 47}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 13}, {'agent_id': 'A1', 'task_id': 2, 'cost': 18}, {'agent_id': 'A1', 'task_id': 3, 'cost': 17}, {'agent_id': 'A1', 'task_id': 4, 'cost': 14}, {'agent_id': 'A1', 'task_id': 5, 'cost': 7}, {'agent_id': 'A1', 'task_id': 6, 'cost': 16}, {'agent_id': 'A1', 'task_id': 7, 'cost': 19}, {'agent_id': 'A1', 'task_id': 8, 'cost': 21}, {'agent_id': 'A1', 'task_id': 9, 'cost': 7}, {'agent_id': 'A1', 'task_id': 10, 'cost': 14}, {'agent_id': 'A1', 'task_id': 11, 'cost': 22}, {'agent_id': 'A1', 'task_id': 12, 'cost': 21}, {'agent_id': 'A1', 'task_id': 13, 'cost': 24}, {'agent_id': 'A1', 'task_id': 14, 'cost': 20}, {'agent_id': 'A1', 'task_id': 15, 'cost': 11}, {'agent_id': 'A1', 'task_id': 16, 'cost': 17}, {'agent_id': 'A1', 'task_id': 17, 'cost': 5}, {'agent_id': 'A1', 'task_id': 18, 'cost': 20}, {'agent_id': 'A1', 'task_id': 19, 'cost': 8}, {'agent_id': 'A1', 'task_id': 20, 'cost': 15}, {'agent_id': 'A1', 'task_id': 21, 'cost': 18}, {'agent_id': 'A1', 'task_id': 22, 'cost': 11}, {'agent_id': 'A1', 'task_id': 23, 'cost': 13}, {'agent_id': 'A1', 'task_id': 24, 'cost': 13}, {'agent_id': 'A1', 'task_id': 25, 'cost': 24}, {'agent_id': 'A2', 'task_id': 1, 'cost': 25}, {'agent_id': 'A2', 'task_id': 2, 'cost': 14}, {'agent_id': 'A2', 'task_id': 3, 'cost': 13}, {'agent_id': 'A2', 'task_id': 4, 'cost': 22}, {'agent_id': 'A2', 'task_id': 5, 'cost': 25}, {'agent_id': 'A2', 'task_id': 6, 'cost': 18}, {'agent_id': 'A2', 'task_id': 7, 'cost': 5}, {'agent_id': 'A2', 'task_id': 8, 'cost': 10}, {'agent_id': 'A2', 'task_id': 9, 'cost': 9}, {'agent_id': 'A2', 'task_id': 10, 'cost': 19}, {'agent_id': 'A2', 'task_id': 11, 'cost': 9}, {'agent_id': 'A2', 'task_id': 12, 'cost': 25}, {'agent_id': 'A2', 'task_id': 13, 'cost': 21}, {'agent_id': 'A2', 'task_id': 14, 'cost': 16}, {'agent_id': 'A2', 'task_id': 15, 'cost': 17}, {'agent_id': 'A2', 'task_id': 16, 'cost': 13}, {'agent_id': 'A2', 'task_id': 17, 'cost': 25}, {'agent_id': 'A2', 'task_id': 18, 'cost': 24}, {'agent_id': 'A2', 'task_id': 19, 'cost': 5}, {'agent_id': 'A2', 'task_id': 20, 'cost': 13}, {'agent_id': 'A2', 'task_id': 21, 'cost': 21}, {'agent_id': 'A2', 'task_id': 22, 'cost': 19}, {'agent_id': 'A2', 'task_id': 23, 'cost': 11}, {'agent_id': 'A2', 'task_id': 24, 'cost': 12}, {'agent_id': 'A2', 'task_id': 25, 'cost': 24}, {'agent_id': 'A3', 'task_id': 1, 'cost': 8}, {'agent_id': 'A3', 'task_id': 2, 'cost': 5}, {'agent_id': 'A3', 'task_id': 3, 'cost': 24}, {'agent_id': 'A3', 'task_id': 4, 'cost': 7}, {'agent_id': 'A3', 'task_id': 5, 'cost': 14}, {'agent_id': 'A3', 'task_id': 6, 'cost': 23}, {'agent_id': 'A3', 'task_id': 7, 'cost': 20}, {'agent_id': 'A3', 'task_id': 8, 'cost': 16}, {'agent_id': 'A3', 'task_id': 9, 'cost': 17}, {'agent_id': 'A3', 'task_id': 10, 'cost': 7}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 7}, {'agent_id': 'A3', 'task_id': 13, 'cost': 6}, {'agent_id': 'A3', 'task_id': 14, 'cost': 23}, {'agent_id': 'A3', 'task_id': 15, 'cost': 15}, {'agent_id': 'A3', 'task_id': 16, 'cost': 20}, {'agent_id': 'A3', 'task_id': 17, 'cost': 25}, {'agent_id': 'A3', 'task_id': 18, 'cost': 15}, {'agent_id': 'A3', 'task_id': 19, 'cost': 20}, {'agent_id': 'A3', 'task_id': 20, 'cost': 22}, {'agent_id': 'A3', 'task_id': 21, 'cost': 20}, {'agent_id': 'A3', 'task_id': 22, 'cost': 16}, {'agent_id': 'A3', 'task_id': 23, 'cost': 25}, {'agent_id': 'A3', 'task_id': 24, 'cost': 19}, {'agent_id': 'A3', 'task_id': 25, 'cost': 15}, {'agent_id': 'A4', 'task_id': 1, 'cost': 18}, {'agent_id': 'A4', 'task_id': 2, 'cost': 16}, {'agent_id': 'A4', 'task_id': 3, 'cost': 17}, {'agent_id': 'A4', 'task_id': 4, 'cost': 24}, {'agent_id': 'A4', 'task_id': 5, 'cost': 20}, {'agent_id': 'A4', 'task_id': 6, 'cost': 7}, {'agent_id': 'A4', 'task_id': 7, 'cost': 17}, {'agent_id': 'A4', 'task_id': 8, 'cost': 5}, {'agent_id': 'A4', 'task_id': 9, 'cost': 25}, {'agent_id': 'A4', 'task_id': 10, 'cost': 25}, {'agent_id': 'A4', 'task_id': 11, 'cost': 13}, {'agent_id': 'A4', 'task_id': 12, 'cost': 7}, {'agent_id': 'A4', 'task_id': 13, 'cost': 13}, {'agent_id': 'A4', 'task_id': 14, 'cost': 15}, {'agent_id': 'A4', 'task_id': 15, 'cost': 17}, {'agent_id': 'A4', 'task_id': 16, 'cost': 8}, {'agent_id': 'A4', 'task_id': 17, 'cost': 21}, {'agent_id': 'A4', 'task_id': 18, 'cost': 15}, {'agent_id': 'A4', 'task_id': 19, 'cost': 5}, {'agent_id': 'A4', 'task_id': 20, 'cost': 8}, {'agent_id': 'A4', 'task_id': 21, 'cost': 19}, {'agent_id': 'A4', 'task_id': 22, 'cost': 25}, {'agent_id': 'A4', 'task_id': 23, 'cost': 8}, {'agent_id': 'A4', 'task_id': 24, 'cost': 21}, {'agent_id': 'A4', 'task_id': 25, 'cost': 25}, {'agent_id': 'A5', 'task_id': 1, 'cost': 13}, {'agent_id': 'A5', 'task_id': 2, 'cost': 13}, {'agent_id': 'A5', 'task_id': 3, 'cost': 15}, {'agent_id': 'A5', 'task_id': 4, 'cost': 11}, {'agent_id': 'A5', 'task_id': 5, 'cost': 16}, {'agent_id': 'A5', 'task_id': 6, 'cost': 16}, {'agent_id': 'A5', 'task_id': 7, 'cost': 9}, {'agent_id': 'A5', 'task_id': 8, 'cost': 18}, {'agent_id': 'A5', 'task_id': 9, 'cost': 16}, {'agent_id': 'A5', 'task_id': 10, 'cost': 5}, {'agent_id': 'A5', 'task_id': 11, 'cost': 13}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 13}, {'agent_id': 'A5', 'task_id': 14, 'cost': 21}, {'agent_id': 'A5', 'task_id': 15, 'cost': 11}, {'agent_id': 'A5', 'task_id': 16, 'cost': 23}, {'agent_id': 'A5', 'task_id': 17, 'cost': 18}, {'agent_id': 'A5', 'task_id': 18, 'cost': 6}, {'agent_id': 'A5', 'task_id': 19, 'cost': 17}, {'agent_id': 'A5', 'task_id': 20, 'cost': 16}, {'agent_id': 'A5', 'task_id': 21, 'cost': 25}, {'agent_id': 'A5', 'task_id': 22, 'cost': 5}, {'agent_id': 'A5', 'task_id': 23, 'cost': 15}, {'agent_id': 'A5', 'task_id': 24, 'cost': 10}, {'agent_id': 'A5', 'task_id': 25, 'cost': 17}, {'agent_id': 'A6', 'task_id': 1, 'cost': 20}, {'agent_id': 'A6', 'task_id': 2, 'cost': 5}, {'agent_id': 'A6', 'task_id': 3, 'cost': 22}, {'agent_id': 'A6', 'task_id': 4, 'cost': 23}, {'agent_id': 'A6', 'task_id': 5, 'cost': 18}, {'agent_id': 'A6', 'task_id': 6, 'cost': 17}, {'agent_id': 'A6', 'task_id': 7, 'cost': 21}, {'agent_id': 'A6', 'task_id': 8, 'cost': 19}, {'agent_id': 'A6', 'task_id': 9, 'cost': 22}, {'agent_id': 'A6', 'task_id': 10, 'cost': 21}, {'agent_id': 'A6', 'task_id': 11, 'cost': 23}, {'agent_id': 'A6', 'task_id': 12, 'cost': 25}, {'agent_id': 'A6', 'task_id': 13, 'cost': 5}, {'agent_id': 'A6', 'task_id': 14, 'cost': 20}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 21}, {'agent_id': 'A6', 'task_id': 17, 'cost': 15}, {'agent_id': 'A6', 'task_id': 18, 'cost': 21}, {'agent_id': 'A6', 'task_id': 19, 'cost': 10}, {'agent_id': 'A6', 'task_id': 20, 'cost': 8}, {'agent_id': 'A6', 'task_id': 21, 'cost': 14}, {'agent_id': 'A6', 'task_id': 22, 'cost': 18}, {'agent_id': 'A6', 'task_id': 23, 'cost': 7}, {'agent_id': 'A6', 'task_id': 24, 'cost': 11}, {'agent_id': 'A6', 'task_id': 25, 'cost': 8}, {'agent_id': 'A7', 'task_id': 1, 'cost': 20}, {'agent_id': 'A7', 'task_id': 2, 'cost': 16}, {'agent_id': 'A7', 'task_id': 3, 'cost': 6}, {'agent_id': 'A7', 'task_id': 4, 'cost': 11}, {'agent_id': 'A7', 'task_id': 5, 'cost': 15}, {'agent_id': 'A7', 'task_id': 6, 'cost': 11}, {'agent_id': 'A7', 'task_id': 7, 'cost': 22}, {'agent_id': 'A7', 'task_id': 8, 'cost': 9}, {'agent_id': 'A7', 'task_id': 9, 'cost': 19}, {'agent_id': 'A7', 'task_id': 10, 'cost': 12}, {'agent_id': 'A7', 'task_id': 11, 'cost': 15}, {'agent_id': 'A7', 'task_id': 12, 'cost': 25}, {'agent_id': 'A7', 'task_id': 13, 'cost': 20}, {'agent_id': 'A7', 'task_id': 14, 'cost': 15}, {'agent_id': 'A7', 'task_id': 15, 'cost': 14}, {'agent_id': 'A7', 'task_id': 16, 'cost': 23}, {'agent_id': 'A7', 'task_id': 17, 'cost': 12}, {'agent_id': 'A7', 'task_id': 18, 'cost': 7}, {'agent_id': 'A7', 'task_id': 19, 'cost': 17}, {'agent_id': 'A7', 'task_id': 20, 'cost': 9}, {'agent_id': 'A7', 'task_id': 21, 'cost': 15}, {'agent_id': 'A7', 'task_id': 22, 'cost': 9}, {'agent_id': 'A7', 'task_id': 23, 'cost': 17}, {'agent_id': 'A7', 'task_id': 24, 'cost': 17}, {'agent_id': 'A7', 'task_id': 25, 'cost': 22}, {'agent_id': 'A8', 'task_id': 1, 'cost': 15}, {'agent_id': 'A8', 'task_id': 2, 'cost': 15}, {'agent_id': 'A8', 'task_id': 3, 'cost': 14}, {'agent_id': 'A8', 'task_id': 4, 'cost': 13}, {'agent_id': 'A8', 'task_id': 5, 'cost': 7}, {'agent_id': 'A8', 'task_id': 6, 'cost': 16}, {'agent_id': 'A8', 'task_id': 7, 'cost': 19}, {'agent_id': 'A8', 'task_id': 8, 'cost': 14}, {'agent_id': 'A8', 'task_id': 9, 'cost': 24}, {'agent_id': 'A8', 'task_id': 10, 'cost': 23}, {'agent_id': 'A8', 'task_id': 11, 'cost': 15}, {'agent_id': 'A8', 'task_id': 12, 'cost': 7}, {'agent_id': 'A8', 'task_id': 13, 'cost': 11}, {'agent_id': 'A8', 'task_id': 14, 'cost': 17}, {'agent_id': 'A8', 'task_id': 15, 'cost': 17}, {'agent_id': 'A8', 'task_id': 16, 'cost': 7}, {'agent_id': 'A8', 'task_id': 17, 'cost': 9}, {'agent_id': 'A8', 'task_id': 18, 'cost': 19}, {'agent_id': 'A8', 'task_id': 19, 'cost': 23}, {'agent_id': 'A8', 'task_id': 20, 'cost': 15}, {'agent_id': 'A8', 'task_id': 21, 'cost': 10}, {'agent_id': 'A8', 'task_id': 22, 'cost': 11}, {'agent_id': 'A8', 'task_id': 23, 'cost': 20}, {'agent_id': 'A8', 'task_id': 24, 'cost': 13}, {'agent_id': 'A8', 'task_id': 25, 'cost': 12}]}","['A5', 'A3', 'A7', 'A8', 'A1', 'A4', 'A5', 'A4', 'A2', 'A3', 'A8', 'A4', 'A8', 'A3', 'A5', 'A4', 'A1', 'A7', 'A2', 'A6', 'A7', 'A1', 'A6', 'A2', 'A3']",19,markdown_table,1 GAP,GAP,"Someone at the registrar’s office is trying to fit all the courses into available rooms: each course needs a single room, rooms can hold multiple courses only if their combined space fits the number of seats, and each pairing of course and room comes with a different rental charge. The aim is to place every course into one room, avoid overfilling any room, and keep the total rent bill—the sum of the fees for the chosen room for each course—down to the minimum. The detailed list of classes, rooms, capacities, and prices is provided below. There are 8 available rooms (A1, A2, A3, A4, A5, A6, A7, A8) and 23 classes (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W) to place. | room_id | seating_capacity | |---|---| | A1 | 100 | | A2 | 100 | | A3 | 100 | | A4 | 100 | | A5 | 100 | | A6 | 100 | | A7 | 100 | | A8 | 100 | | room_id | class_id | space_required | |---|---|---| | A1 | A | 19 | | A1 | B | 33 | | A1 | C | 37 | | A1 | D | 33 | | A1 | E | 42 | | A1 | F | 50 | | A1 | G | 20 | | A1 | H | 40 | | A1 | I | 47 | | A1 | J | 40 | | A1 | K | 36 | | A1 | L | 37 | | A1 | M | 38 | | A1 | N | 27 | | A1 | O | 37 | | A1 | P | 15 | | A1 | Q | 21 | | A1 | R | 45 | | A1 | S | 42 | | A1 | T | 15 | | A1 | U | 39 | | A1 | V | 41 | | A1 | W | 44 | | A2 | A | 12 | | A2 | B | 44 | | A2 | C | 42 | | A2 | D | 28 | | A2 | E | 33 | | A2 | F | 20 | | A2 | G | 34 | | A2 | H | 10 | | A2 | I | 28 | | A2 | J | 33 | | A2 | K | 42 | | A2 | L | 26 | | A2 | M | 15 | | A2 | N | 17 | | A2 | O | 21 | | A2 | P | 36 | | A2 | Q | 40 | | A2 | R | 34 | | A2 | S | 37 | | A2 | T | 11 | | A2 | U | 20 | | A2 | V | 21 | | A2 | W | 46 | | A3 | A | 18 | | A3 | B | 44 | | A3 | C | 13 | | A3 | D | 21 | | A3 | E | 14 | | A3 | F | 29 | | A3 | G | 39 | | A3 | H | 14 | | A3 | I | 25 | | A3 | J | 23 | | A3 | K | 22 | | A3 | L | 20 | | A3 | M | 20 | | A3 | N | 29 | | A3 | O | 11 | | A3 | P | 11 | | A3 | Q | 25 | | A3 | R | 16 | | A3 | S | 11 | | A3 | T | 48 | | A3 | U | 44 | | A3 | V | 14 | | A3 | W | 27 | | A4 | A | 21 | | A4 | B | 32 | | A4 | C | 18 | | A4 | D | 28 | | A4 | E | 44 | | A4 | F | 12 | | A4 | G | 27 | | A4 | H | 16 | | A4 | I | 28 | | A4 | J | 47 | | A4 | K | 48 | | A4 | L | 40 | | A4 | M | 28 | | A4 | N | 28 | | A4 | O | 15 | | A4 | P | 16 | | A4 | Q | 39 | | A4 | R | 48 | | A4 | S | 39 | | A4 | T | 14 | | A4 | U | 32 | | A4 | V | 17 | | A4 | W | 38 | | A5 | A | 25 | | A5 | B | 44 | | A5 | C | 30 | | A5 | D | 18 | | A5 | E | 22 | | A5 | F | 17 | | A5 | G | 48 | | A5 | H | 11 | | A5 | I | 24 | | A5 | J | 26 | | A5 | K | 13 | | A5 | L | 11 | | A5 | M | 21 | | A5 | N | 12 | | A5 | O | 36 | | A5 | P | 27 | | A5 | Q | 34 | | A5 | R | 43 | | A5 | S | 10 | | A5 | T | 33 | | A5 | U | 22 | | A5 | V | 37 | | A5 | W | 23 | | A6 | A | 30 | | A6 | B | 25 | | A6 | C | 14 | | A6 | D | 24 | | A6 | E | 40 | | A6 | F | 34 | | A6 | G | 46 | | A6 | H | 48 | | A6 | I | 36 | | A6 | J | 26 | | A6 | K | 29 | | A6 | L | 37 | | A6 | M | 50 | | A6 | N | 21 | | A6 | O | 32 | | A6 | P | 47 | | A6 | Q | 33 | | A6 | R | 24 | | A6 | S | 12 | | A6 | T | 27 | | A6 | U | 40 | | A6 | V | 10 | | A6 | W | 39 | | A7 | A | 15 | | A7 | B | 43 | | A7 | C | 11 | | A7 | D | 50 | | A7 | E | 25 | | A7 | F | 50 | | A7 | G | 35 | | A7 | H | 13 | | A7 | I | 31 | | A7 | J | 29 | | A7 | K | 28 | | A7 | L | 18 | | A7 | M | 25 | | A7 | N | 21 | | A7 | O | 36 | | A7 | P | 39 | | A7 | Q | 24 | | A7 | R | 32 | | A7 | S | 23 | | A7 | T | 13 | | A7 | U | 14 | | A7 | V | 39 | | A7 | W | 20 | | A8 | A | 50 | | A8 | B | 45 | | A8 | C | 17 | | A8 | D | 19 | | A8 | E | 20 | | A8 | F | 41 | | A8 | G | 26 | | A8 | H | 39 | | A8 | I | 22 | | A8 | J | 49 | | A8 | K | 13 | | A8 | L | 29 | | A8 | M | 19 | | A8 | N | 35 | | A8 | O | 23 | | A8 | P | 31 | | A8 | Q | 12 | | A8 | R | 24 | | A8 | S | 37 | | A8 | T | 43 | | A8 | U | 48 | | A8 | V | 42 | | A8 | W | 48 | | room_id | class_id | rental_fee | |---|---|---| | A1 | A | 18 | | A1 | B | 21 | | A1 | C | 16 | | A1 | D | 9 | | A1 | E | 12 | | A1 | F | 21 | | A1 | G | 6 | | A1 | H | 23 | | A1 | I | 13 | | A1 | J | 24 | | A1 | K | 6 | | A1 | L | 6 | | A1 | M | 12 | | A1 | N | 18 | | A1 | O | 13 | | A1 | P | 7 | | A1 | Q | 19 | | A1 | R | 16 | | A1 | S | 8 | | A1 | T | 9 | | A1 | U | 15 | | A1 | V | 17 | | A1 | W | 21 | | A2 | A | 18 | | A2 | B | 22 | | A2 | C | 9 | | A2 | D | 20 | | A2 | E | 8 | | A2 | F | 12 | | A2 | G | 18 | | A2 | H | 19 | | A2 | I | 15 | | A2 | J | 18 | | A2 | K | 21 | | A2 | L | 16 | | A2 | M | 8 | | A2 | N | 11 | | A2 | O | 20 | | A2 | P | 21 | | A2 | Q | 11 | | A2 | R | 11 | | A2 | S | 22 | | A2 | T | 21 | | A2 | U | 22 | | A2 | V | 16 | | A2 | W | 19 | | A3 | A | 12 | | A3 | B | 19 | | A3 | C | 11 | | A3 | D | 9 | | A3 | E | 24 | | A3 | F | 21 | | A3 | G | 19 | | A3 | H | 16 | | A3 | I | 7 | | A3 | J | 11 | | A3 | K | 10 | | A3 | L | 23 | | A3 | M | 16 | | A3 | N | 20 | | A3 | O | 21 | | A3 | P | 20 | | A3 | Q | 10 | | A3 | R | 8 | | A3 | S | 17 | | A3 | T | 11 | | A3 | U | 13 | | A3 | V | 10 | | A3 | W | 6 | | A4 | A | 5 | | A4 | B | 15 | | A4 | C | 6 | | A4 | D | 5 | | A4 | E | 6 | | A4 | F | 17 | | A4 | G | 21 | | A4 | H | 12 | | A4 | I | 6 | | A4 | J | 25 | | A4 | K | 5 | | A4 | L | 15 | | A4 | M | 8 | | A4 | N | 22 | | A4 | O | 25 | | A4 | P | 16 | | A4 | Q | 6 | | A4 | R | 5 | | A4 | S | 5 | | A4 | T | 6 | | A4 | U | 13 | | A4 | V | 25 | | A4 | W | 19 | | A5 | A | 15 | | A5 | B | 6 | | A5 | C | 16 | | A5 | D | 9 | | A5 | E | 13 | | A5 | F | 15 | | A5 | G | 11 | | A5 | H | 23 | | A5 | I | 7 | | A5 | J | 18 | | A5 | K | 5 | | A5 | L | 8 | | A5 | M | 10 | | A5 | N | 5 | | A5 | O | 8 | | A5 | P | 9 | | A5 | Q | 7 | | A5 | R | 19 | | A5 | S | 24 | | A5 | T | 12 | | A5 | U | 9 | | A5 | V | 5 | | A5 | W | 25 | | A6 | A | 16 | | A6 | B | 12 | | A6 | C | 9 | | A6 | D | 16 | | A6 | E | 21 | | A6 | F | 22 | | A6 | G | 9 | | A6 | H | 5 | | A6 | I | 21 | | A6 | J | 16 | | A6 | K | 14 | | A6 | L | 16 | | A6 | M | 22 | | A6 | N | 23 | | A6 | O | 18 | | A6 | P | 10 | | A6 | Q | 13 | | A6 | R | 23 | | A6 | S | 7 | | A6 | T | 8 | | A6 | U | 6 | | A6 | V | 23 | | A6 | W | 8 | | A7 | A | 24 | | A7 | B | 16 | | A7 | C | 15 | | A7 | D | 10 | | A7 | E | 21 | | A7 | F | 6 | | A7 | G | 25 | | A7 | H | 11 | | A7 | I | 22 | | A7 | J | 10 | | A7 | K | 20 | | A7 | L | 14 | | A7 | M | 25 | | A7 | N | 22 | | A7 | O | 11 | | A7 | P | 6 | | A7 | Q | 20 | | A7 | R | 17 | | A7 | S | 12 | | A7 | T | 25 | | A7 | U | 10 | | A7 | V | 24 | | A7 | W | 16 | | A8 | A | 10 | | A8 | B | 5 | | A8 | C | 20 | | A8 | D | 11 | | A8 | E | 23 | | A8 | F | 16 | | A8 | G | 19 | | A8 | H | 8 | | A8 | I | 7 | | A8 | J | 19 | | A8 | K | 13 | | A8 | L | 9 | | A8 | M | 20 | | A8 | N | 7 | | A8 | O | 10 | | A8 | P | 23 | | A8 | Q | 7 | | A8 | R | 14 | | A8 | S | 12 | | A8 | T | 10 | | A8 | U | 12 | | A8 | V | 22 | | A8 | W | 5 | They will use the list below to assign every class to a single room without exceeding any room's seating capacity while keeping the total rental bill as low as possible. Also, when you send the final assignment back, a compact JSON sketch like the one below is perfect — just a single top-level ""solution"" array listing the room id for each course in order. { ""solution"": [ , , ..., ] } Think of that as a simple form: the ""solution"" array lists, in order, which room each course goes into (first array entry = first course, second = second course, etc.). The placeholders show the expected shape — they’re not the actual answers, just a template for how to return the assignment. Please use the exact identifiers from the instance input — no renaming and no new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[19, 33, 37, 33, 42, 50, 20, 40, 47, 40, 36, 37, 38, 27, 37, 15, 21, 45, 42, 15, 39, 41, 44], [12, 44, 42, 28, 33, 20, 34, 10, 28, 33, 42, 26, 15, 17, 21, 36, 40, 34, 37, 11, 20, 21, 46], [18, 44, 13, 21, 14, 29, 39, 14, 25, 23, 22, 20, 20, 29, 11, 11, 25, 16, 11, 48, 44, 14, 27], [21, 32, 18, 28, 44, 12, 27, 16, 28, 47, 48, 40, 28, 28, 15, 16, 39, 48, 39, 14, 32, 17, 38], [25, 44, 30, 18, 22, 17, 48, 11, 24, 26, 13, 11, 21, 12, 36, 27, 34, 43, 10, 33, 22, 37, 23], [30, 25, 14, 24, 40, 34, 46, 48, 36, 26, 29, 37, 50, 21, 32, 47, 33, 24, 12, 27, 40, 10, 39], [15, 43, 11, 50, 25, 50, 35, 13, 31, 29, 28, 18, 25, 21, 36, 39, 24, 32, 23, 13, 14, 39, 20], [50, 45, 17, 19, 20, 41, 26, 39, 22, 49, 13, 29, 19, 35, 23, 31, 12, 24, 37, 43, 48, 42, 48]], 'assignment_costs': [[18, 21, 16, 9, 12, 21, 6, 23, 13, 24, 6, 6, 12, 18, 13, 7, 19, 16, 8, 9, 15, 17, 21], [18, 22, 9, 20, 8, 12, 18, 19, 15, 18, 21, 16, 8, 11, 20, 21, 11, 11, 22, 21, 22, 16, 19], [12, 19, 11, 9, 24, 21, 19, 16, 7, 11, 10, 23, 16, 20, 21, 20, 10, 8, 17, 11, 13, 10, 6], [5, 15, 6, 5, 6, 17, 21, 12, 6, 25, 5, 15, 8, 22, 25, 16, 6, 5, 5, 6, 13, 25, 19], [15, 6, 16, 9, 13, 15, 11, 23, 7, 18, 5, 8, 10, 5, 8, 9, 7, 19, 24, 12, 9, 5, 25], [16, 12, 9, 16, 21, 22, 9, 5, 21, 16, 14, 16, 22, 23, 18, 10, 13, 23, 7, 8, 6, 23, 8], [24, 16, 15, 10, 21, 6, 25, 11, 22, 10, 20, 14, 25, 22, 11, 6, 20, 17, 12, 25, 10, 24, 16], [10, 5, 20, 11, 23, 16, 19, 8, 7, 19, 13, 9, 20, 7, 10, 23, 7, 14, 12, 10, 12, 22, 5]], 'capacities': [100, 100, 100, 100, 100, 100, 100, 100], 'objective': 147.0}","[3, 7, 3, 3, 1, 6, 0, 5, 2, 6, 4, 0, 1, 4, 4, 0, 7, 2, 5, 3, 5, 4, 2]",147.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 100}, {'agent_id': 'A2', 'capacity': 100}, {'agent_id': 'A3', 'capacity': 100}, {'agent_id': 'A4', 'capacity': 100}, {'agent_id': 'A5', 'capacity': 100}, {'agent_id': 'A6', 'capacity': 100}, {'agent_id': 'A7', 'capacity': 100}, {'agent_id': 'A8', 'capacity': 100}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 19}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 42}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 20}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 38}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 15}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 42}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 15}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 39}, {'agent_id': 'A1', 'task_id': 'V', 'consumption': 41}, {'agent_id': 'A1', 'task_id': 'W', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 12}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 42}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 34}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 28}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 42}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 26}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 36}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 34}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'V', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'W', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 13}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 21}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 20}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 20}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 48}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 44}, {'agent_id': 'A3', 'task_id': 'V', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'W', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 18}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 47}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 40}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'V', 'consumption': 17}, {'agent_id': 'A4', 'task_id': 'W', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 30}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 11}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 24}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 11}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 36}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 34}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 22}, {'agent_id': 'A5', 'task_id': 'V', 'consumption': 37}, {'agent_id': 'A5', 'task_id': 'W', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 30}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 14}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 48}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 36}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 32}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 33}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'V', 'consumption': 10}, {'agent_id': 'A6', 'task_id': 'W', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 11}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 50}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 25}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 50}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 28}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 25}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 21}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 24}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 32}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'V', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'W', 'consumption': 20}, {'agent_id': 'A8', 'task_id': 'A', 'consumption': 50}, {'agent_id': 'A8', 'task_id': 'B', 'consumption': 45}, {'agent_id': 'A8', 'task_id': 'C', 'consumption': 17}, {'agent_id': 'A8', 'task_id': 'D', 'consumption': 19}, {'agent_id': 'A8', 'task_id': 'E', 'consumption': 20}, {'agent_id': 'A8', 'task_id': 'F', 'consumption': 41}, {'agent_id': 'A8', 'task_id': 'G', 'consumption': 26}, {'agent_id': 'A8', 'task_id': 'H', 'consumption': 39}, {'agent_id': 'A8', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A8', 'task_id': 'J', 'consumption': 49}, {'agent_id': 'A8', 'task_id': 'K', 'consumption': 13}, {'agent_id': 'A8', 'task_id': 'L', 'consumption': 29}, {'agent_id': 'A8', 'task_id': 'M', 'consumption': 19}, {'agent_id': 'A8', 'task_id': 'N', 'consumption': 35}, {'agent_id': 'A8', 'task_id': 'O', 'consumption': 23}, {'agent_id': 'A8', 'task_id': 'P', 'consumption': 31}, {'agent_id': 'A8', 'task_id': 'Q', 'consumption': 12}, {'agent_id': 'A8', 'task_id': 'R', 'consumption': 24}, {'agent_id': 'A8', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A8', 'task_id': 'T', 'consumption': 43}, {'agent_id': 'A8', 'task_id': 'U', 'consumption': 48}, {'agent_id': 'A8', 'task_id': 'V', 'consumption': 42}, {'agent_id': 'A8', 'task_id': 'W', 'consumption': 48}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'V', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'W', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'V', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'W', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'V', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'W', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'V', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'W', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'V', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'W', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'W', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'V', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'W', 'cost': 16}, {'agent_id': 'A8', 'task_id': 'A', 'cost': 10}, {'agent_id': 'A8', 'task_id': 'B', 'cost': 5}, {'agent_id': 'A8', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A8', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A8', 'task_id': 'E', 'cost': 23}, {'agent_id': 'A8', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A8', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A8', 'task_id': 'H', 'cost': 8}, {'agent_id': 'A8', 'task_id': 'I', 'cost': 7}, {'agent_id': 'A8', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A8', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A8', 'task_id': 'L', 'cost': 9}, {'agent_id': 'A8', 'task_id': 'M', 'cost': 20}, {'agent_id': 'A8', 'task_id': 'N', 'cost': 7}, {'agent_id': 'A8', 'task_id': 'O', 'cost': 10}, {'agent_id': 'A8', 'task_id': 'P', 'cost': 23}, {'agent_id': 'A8', 'task_id': 'Q', 'cost': 7}, {'agent_id': 'A8', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A8', 'task_id': 'S', 'cost': 12}, {'agent_id': 'A8', 'task_id': 'T', 'cost': 10}, {'agent_id': 'A8', 'task_id': 'U', 'cost': 12}, {'agent_id': 'A8', 'task_id': 'V', 'cost': 22}, {'agent_id': 'A8', 'task_id': 'W', 'cost': 5}]}","['A4', 'A8', 'A4', 'A4', 'A2', 'A7', 'A1', 'A6', 'A3', 'A7', 'A5', 'A1', 'A2', 'A5', 'A5', 'A1', 'A8', 'A3', 'A6', 'A4', 'A6', 'A5', 'A3']",20,markdown_table,names GAP,GAP,"Recently the operations team had to redistribute all the setup tasks across our crews: every single setup must be assigned to one crew and only one crew, and each crew has a cap on the labor hours they can handle. For each possible assignment there’s a known hour estimate and a price tag, so the way to judge a plan is to total the prices of the chosen assignments and pick the plan with the lowest total, provided no crew goes over its available hours. The detailed hours and charges are provided below. # num_crews=6 # num_setup_jobs=19 # crew_ids=A1, A2, A3, A4, A5, A6 # setup_job_ids=0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 crew_id,available_hours A1,131 A2,131 A3,131 A4,131 A5,131 A6,131 crew_id,setup_job_id,hours_required A1,0,41 A1,1,16 A1,2,35 A1,3,30 A1,4,12 A1,5,48 A1,6,18 A1,7,15 A1,8,24 A1,9,24 A1,10,14 A1,11,42 A1,12,46 A1,13,35 A1,14,43 A1,15,22 A1,16,19 A1,17,49 A1,18,21 A2,0,43 A2,1,49 A2,2,24 A2,3,25 A2,4,22 A2,5,48 A2,6,37 A2,7,42 A2,8,41 A2,9,48 A2,10,36 A2,11,16 A2,12,12 A2,13,42 A2,14,23 A2,15,36 A2,16,45 A2,17,28 A2,18,37 A3,0,25 A3,1,28 A3,2,12 A3,3,13 A3,4,36 A3,5,14 A3,6,34 A3,7,21 A3,8,44 A3,9,46 A3,10,46 A3,11,24 A3,12,13 A3,13,28 A3,14,44 A3,15,13 A3,16,21 A3,17,50 A3,18,42 A4,0,44 A4,1,44 A4,2,47 A4,3,13 A4,4,43 A4,5,50 A4,6,23 A4,7,20 A4,8,19 A4,9,36 A4,10,28 A4,11,44 A4,12,40 A4,13,23 A4,14,42 A4,15,39 A4,16,25 A4,17,25 A4,18,43 A5,0,11 A5,1,46 A5,2,11 A5,3,25 A5,4,20 A5,5,32 A5,6,50 A5,7,44 A5,8,48 A5,9,18 A5,10,39 A5,11,26 A5,12,36 A5,13,27 A5,14,42 A5,15,20 A5,16,27 A5,17,40 A5,18,37 A6,0,18 A6,1,40 A6,2,22 A6,3,48 A6,4,21 A6,5,28 A6,6,19 A6,7,33 A6,8,19 A6,9,19 A6,10,19 A6,11,24 A6,12,24 A6,13,35 A6,14,47 A6,15,48 A6,16,21 A6,17,22 A6,18,21 crew_id,setup_job_id,charge A1,0,14 A1,1,12 A1,2,14 A1,3,13 A1,4,15 A1,5,25 A1,6,24 A1,7,18 A1,8,9 A1,9,20 A1,10,14 A1,11,12 A1,12,23 A1,13,22 A1,14,5 A1,15,20 A1,16,25 A1,17,19 A1,18,19 A2,0,6 A2,1,9 A2,2,14 A2,3,9 A2,4,16 A2,5,11 A2,6,21 A2,7,24 A2,8,9 A2,9,16 A2,10,24 A2,11,10 A2,12,15 A2,13,17 A2,14,20 A2,15,19 A2,16,17 A2,17,16 A2,18,24 A3,0,23 A3,1,14 A3,2,15 A3,3,7 A3,4,14 A3,5,11 A3,6,25 A3,7,11 A3,8,12 A3,9,19 A3,10,18 A3,11,8 A3,12,19 A3,13,11 A3,14,13 A3,15,14 A3,16,25 A3,17,18 A3,18,19 A4,0,21 A4,1,11 A4,2,12 A4,3,9 A4,4,21 A4,5,15 A4,6,22 A4,7,21 A4,8,22 A4,9,24 A4,10,9 A4,11,16 A4,12,24 A4,13,9 A4,14,8 A4,15,16 A4,16,16 A4,17,17 A4,18,15 A5,0,6 A5,1,19 A5,2,24 A5,3,22 A5,4,17 A5,5,22 A5,6,16 A5,7,15 A5,8,5 A5,9,19 A5,10,17 A5,11,11 A5,12,16 A5,13,18 A5,14,10 A5,15,15 A5,16,9 A5,17,24 A5,18,23 A6,0,11 A6,1,20 A6,2,8 A6,3,5 A6,4,25 A6,5,15 A6,6,24 A6,7,13 A6,8,19 A6,9,11 A6,10,17 A6,11,18 A6,12,9 A6,13,13 A6,14,24 A6,15,12 A6,16,23 A6,17,6 A6,18,9 Also, when you send the final assignment back, please use this simple JSON shape so I can pick it up easily — just a neat list of which crew goes on which setup: { ""solution"": [ , , ..., ] } Think of ""solution"" as a form field with one entry per setup task (in the same order as the instance). Each entry is the crew identifier you're assigning to that setup. Super casual — just match each setup to a crew in order. This is only a sketch of the expected shape, not the actual answer — fill in the real crew identifiers when you reply. Important: use the identifiers exactly as they appear in the instance input — no renaming and no new labels. - For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”"".","{'resource_consumption': [[41, 16, 35, 30, 12, 48, 18, 15, 24, 24, 14, 42, 46, 35, 43, 22, 19, 49, 21], [43, 49, 24, 25, 22, 48, 37, 42, 41, 48, 36, 16, 12, 42, 23, 36, 45, 28, 37], [25, 28, 12, 13, 36, 14, 34, 21, 44, 46, 46, 24, 13, 28, 44, 13, 21, 50, 42], [44, 44, 47, 13, 43, 50, 23, 20, 19, 36, 28, 44, 40, 23, 42, 39, 25, 25, 43], [11, 46, 11, 25, 20, 32, 50, 44, 48, 18, 39, 26, 36, 27, 42, 20, 27, 40, 37], [18, 40, 22, 48, 21, 28, 19, 33, 19, 19, 19, 24, 24, 35, 47, 48, 21, 22, 21]], 'assignment_costs': [[14, 12, 14, 13, 15, 25, 24, 18, 9, 20, 14, 12, 23, 22, 5, 20, 25, 19, 19], [6, 9, 14, 9, 16, 11, 21, 24, 9, 16, 24, 10, 15, 17, 20, 19, 17, 16, 24], [23, 14, 15, 7, 14, 11, 25, 11, 12, 19, 18, 8, 19, 11, 13, 14, 25, 18, 19], [21, 11, 12, 9, 21, 15, 22, 21, 22, 24, 9, 16, 24, 9, 8, 16, 16, 17, 15], [6, 19, 24, 22, 17, 22, 16, 15, 5, 19, 17, 11, 16, 18, 10, 15, 9, 24, 23], [11, 20, 8, 5, 25, 15, 24, 13, 19, 11, 17, 18, 9, 13, 24, 12, 23, 6, 9]], 'capacities': [131, 131, 131, 131, 131, 131], 'objective': 176.0}","[1, 1, 5, 2, 2, 2, 4, 2, 4, 5, 3, 2, 5, 3, 0, 2, 4, 5, 5]",176.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 19, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}, {'agent_id': 'A6', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 21}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 14}, {'agent_id': 'A1', 'task_id': 1, 'cost': 12}, {'agent_id': 'A1', 'task_id': 2, 'cost': 14}, {'agent_id': 'A1', 'task_id': 3, 'cost': 13}, {'agent_id': 'A1', 'task_id': 4, 'cost': 15}, {'agent_id': 'A1', 'task_id': 5, 'cost': 25}, {'agent_id': 'A1', 'task_id': 6, 'cost': 24}, {'agent_id': 'A1', 'task_id': 7, 'cost': 18}, {'agent_id': 'A1', 'task_id': 8, 'cost': 9}, {'agent_id': 'A1', 'task_id': 9, 'cost': 20}, {'agent_id': 'A1', 'task_id': 10, 'cost': 14}, {'agent_id': 'A1', 'task_id': 11, 'cost': 12}, {'agent_id': 'A1', 'task_id': 12, 'cost': 23}, {'agent_id': 'A1', 'task_id': 13, 'cost': 22}, {'agent_id': 'A1', 'task_id': 14, 'cost': 5}, {'agent_id': 'A1', 'task_id': 15, 'cost': 20}, {'agent_id': 'A1', 'task_id': 16, 'cost': 25}, {'agent_id': 'A1', 'task_id': 17, 'cost': 19}, {'agent_id': 'A1', 'task_id': 18, 'cost': 19}, {'agent_id': 'A2', 'task_id': 0, 'cost': 6}, {'agent_id': 'A2', 'task_id': 1, 'cost': 9}, {'agent_id': 'A2', 'task_id': 2, 'cost': 14}, {'agent_id': 'A2', 'task_id': 3, 'cost': 9}, {'agent_id': 'A2', 'task_id': 4, 'cost': 16}, {'agent_id': 'A2', 'task_id': 5, 'cost': 11}, {'agent_id': 'A2', 'task_id': 6, 'cost': 21}, {'agent_id': 'A2', 'task_id': 7, 'cost': 24}, {'agent_id': 'A2', 'task_id': 8, 'cost': 9}, {'agent_id': 'A2', 'task_id': 9, 'cost': 16}, {'agent_id': 'A2', 'task_id': 10, 'cost': 24}, {'agent_id': 'A2', 'task_id': 11, 'cost': 10}, {'agent_id': 'A2', 'task_id': 12, 'cost': 15}, {'agent_id': 'A2', 'task_id': 13, 'cost': 17}, {'agent_id': 'A2', 'task_id': 14, 'cost': 20}, {'agent_id': 'A2', 'task_id': 15, 'cost': 19}, {'agent_id': 'A2', 'task_id': 16, 'cost': 17}, {'agent_id': 'A2', 'task_id': 17, 'cost': 16}, {'agent_id': 'A2', 'task_id': 18, 'cost': 24}, {'agent_id': 'A3', 'task_id': 0, 'cost': 23}, {'agent_id': 'A3', 'task_id': 1, 'cost': 14}, {'agent_id': 'A3', 'task_id': 2, 'cost': 15}, {'agent_id': 'A3', 'task_id': 3, 'cost': 7}, {'agent_id': 'A3', 'task_id': 4, 'cost': 14}, {'agent_id': 'A3', 'task_id': 5, 'cost': 11}, {'agent_id': 'A3', 'task_id': 6, 'cost': 25}, {'agent_id': 'A3', 'task_id': 7, 'cost': 11}, {'agent_id': 'A3', 'task_id': 8, 'cost': 12}, {'agent_id': 'A3', 'task_id': 9, 'cost': 19}, {'agent_id': 'A3', 'task_id': 10, 'cost': 18}, {'agent_id': 'A3', 'task_id': 11, 'cost': 8}, {'agent_id': 'A3', 'task_id': 12, 'cost': 19}, {'agent_id': 'A3', 'task_id': 13, 'cost': 11}, {'agent_id': 'A3', 'task_id': 14, 'cost': 13}, {'agent_id': 'A3', 'task_id': 15, 'cost': 14}, {'agent_id': 'A3', 'task_id': 16, 'cost': 25}, {'agent_id': 'A3', 'task_id': 17, 'cost': 18}, {'agent_id': 'A3', 'task_id': 18, 'cost': 19}, {'agent_id': 'A4', 'task_id': 0, 'cost': 21}, {'agent_id': 'A4', 'task_id': 1, 'cost': 11}, {'agent_id': 'A4', 'task_id': 2, 'cost': 12}, {'agent_id': 'A4', 'task_id': 3, 'cost': 9}, {'agent_id': 'A4', 'task_id': 4, 'cost': 21}, {'agent_id': 'A4', 'task_id': 5, 'cost': 15}, {'agent_id': 'A4', 'task_id': 6, 'cost': 22}, {'agent_id': 'A4', 'task_id': 7, 'cost': 21}, {'agent_id': 'A4', 'task_id': 8, 'cost': 22}, {'agent_id': 'A4', 'task_id': 9, 'cost': 24}, {'agent_id': 'A4', 'task_id': 10, 'cost': 9}, {'agent_id': 'A4', 'task_id': 11, 'cost': 16}, {'agent_id': 'A4', 'task_id': 12, 'cost': 24}, {'agent_id': 'A4', 'task_id': 13, 'cost': 9}, {'agent_id': 'A4', 'task_id': 14, 'cost': 8}, {'agent_id': 'A4', 'task_id': 15, 'cost': 16}, {'agent_id': 'A4', 'task_id': 16, 'cost': 16}, {'agent_id': 'A4', 'task_id': 17, 'cost': 17}, {'agent_id': 'A4', 'task_id': 18, 'cost': 15}, {'agent_id': 'A5', 'task_id': 0, 'cost': 6}, {'agent_id': 'A5', 'task_id': 1, 'cost': 19}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 22}, {'agent_id': 'A5', 'task_id': 4, 'cost': 17}, {'agent_id': 'A5', 'task_id': 5, 'cost': 22}, {'agent_id': 'A5', 'task_id': 6, 'cost': 16}, {'agent_id': 'A5', 'task_id': 7, 'cost': 15}, {'agent_id': 'A5', 'task_id': 8, 'cost': 5}, {'agent_id': 'A5', 'task_id': 9, 'cost': 19}, {'agent_id': 'A5', 'task_id': 10, 'cost': 17}, {'agent_id': 'A5', 'task_id': 11, 'cost': 11}, {'agent_id': 'A5', 'task_id': 12, 'cost': 16}, {'agent_id': 'A5', 'task_id': 13, 'cost': 18}, {'agent_id': 'A5', 'task_id': 14, 'cost': 10}, {'agent_id': 'A5', 'task_id': 15, 'cost': 15}, {'agent_id': 'A5', 'task_id': 16, 'cost': 9}, {'agent_id': 'A5', 'task_id': 17, 'cost': 24}, {'agent_id': 'A5', 'task_id': 18, 'cost': 23}, {'agent_id': 'A6', 'task_id': 0, 'cost': 11}, {'agent_id': 'A6', 'task_id': 1, 'cost': 20}, {'agent_id': 'A6', 'task_id': 2, 'cost': 8}, {'agent_id': 'A6', 'task_id': 3, 'cost': 5}, {'agent_id': 'A6', 'task_id': 4, 'cost': 25}, {'agent_id': 'A6', 'task_id': 5, 'cost': 15}, {'agent_id': 'A6', 'task_id': 6, 'cost': 24}, {'agent_id': 'A6', 'task_id': 7, 'cost': 13}, {'agent_id': 'A6', 'task_id': 8, 'cost': 19}, {'agent_id': 'A6', 'task_id': 9, 'cost': 11}, {'agent_id': 'A6', 'task_id': 10, 'cost': 17}, {'agent_id': 'A6', 'task_id': 11, 'cost': 18}, {'agent_id': 'A6', 'task_id': 12, 'cost': 9}, {'agent_id': 'A6', 'task_id': 13, 'cost': 13}, {'agent_id': 'A6', 'task_id': 14, 'cost': 24}, {'agent_id': 'A6', 'task_id': 15, 'cost': 12}, {'agent_id': 'A6', 'task_id': 16, 'cost': 23}, {'agent_id': 'A6', 'task_id': 17, 'cost': 6}, {'agent_id': 'A6', 'task_id': 18, 'cost': 9}]}","['A2', 'A2', 'A6', 'A3', 'A3', 'A3', 'A5', 'A3', 'A5', 'A6', 'A4', 'A3', 'A6', 'A4', 'A1', 'A3', 'A5', 'A6', 'A6']",21,csv,0 GAP,GAP,"Someone in planning has to hand out orders to machines so every order ends up on exactly one machine and nothing gets processed twice or dropped. Each potential assignment already tells how many machine minutes it will take and how much that specific processing will cost, and every machine only has a limited block of runtime. The trick is to hand out the orders in a way that keeps the overall processing bill — the sum of each order’s assigned cost — as small as possible, while making sure no machine’s total run time goes past its limit. The detailed runtimes and costs follow below. There are 9 machines (A1, A2, A3, A4, A5, A6, A7, A8, A9) and 22 orders (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21). | machine_id | runtime_capacity_minutes | |---|---| | A1 | 240 | | A2 | 240 | | A3 | 241 | | A4 | 237 | | A5 | 237 | | A6 | 236 | | A7 | 241 | | A8 | 238 | | A9 | 239 | | machine_id | order_id | runtime_minutes | |---|---|---| | A1 | 0 | 10 | | A1 | 1 | 43 | | A1 | 2 | 33 | | A1 | 3 | 37 | | A1 | 4 | 40 | | A1 | 5 | 41 | | A1 | 6 | 50 | | A1 | 7 | 27 | | A1 | 8 | 22 | | A1 | 9 | 33 | | A1 | 10 | 43 | | A1 | 11 | 17 | | A1 | 12 | 17 | | A1 | 13 | 11 | | A1 | 14 | 20 | | A1 | 15 | 33 | | A1 | 16 | 45 | | A1 | 17 | 18 | | A1 | 18 | 48 | | A1 | 19 | 40 | | A1 | 20 | 50 | | A1 | 21 | 13 | | A2 | 0 | 18 | | A2 | 1 | 38 | | A2 | 2 | 26 | | A2 | 3 | 35 | | A2 | 4 | 12 | | A2 | 5 | 37 | | A2 | 6 | 27 | | A2 | 7 | 42 | | A2 | 8 | 35 | | A2 | 9 | 37 | | A2 | 10 | 20 | | A2 | 11 | 26 | | A2 | 12 | 12 | | A2 | 13 | 11 | | A2 | 14 | 49 | | A2 | 15 | 42 | | A2 | 16 | 33 | | A2 | 17 | 17 | | A2 | 18 | 47 | | A2 | 19 | 26 | | A2 | 20 | 44 | | A2 | 21 | 18 | | A3 | 0 | 14 | | A3 | 1 | 38 | | A3 | 2 | 38 | | A3 | 3 | 32 | | A3 | 4 | 35 | | A3 | 5 | 38 | | A3 | 6 | 44 | | A3 | 7 | 12 | | A3 | 8 | 17 | | A3 | 9 | 36 | | A3 | 10 | 17 | | A3 | 11 | 46 | | A3 | 12 | 25 | | A3 | 13 | 31 | | A3 | 14 | 39 | | A3 | 15 | 10 | | A3 | 16 | 33 | | A3 | 17 | 15 | | A3 | 18 | 45 | | A3 | 19 | 45 | | A3 | 20 | 45 | | A3 | 21 | 22 | | A4 | 0 | 45 | | A4 | 1 | 38 | | A4 | 2 | 20 | | A4 | 3 | 30 | | A4 | 4 | 41 | | A4 | 5 | 12 | | A4 | 6 | 47 | | A4 | 7 | 34 | | A4 | 8 | 40 | | A4 | 9 | 33 | | A4 | 10 | 36 | | A4 | 11 | 45 | | A4 | 12 | 15 | | A4 | 13 | 12 | | A4 | 14 | 17 | | A4 | 15 | 37 | | A4 | 16 | 31 | | A4 | 17 | 13 | | A4 | 18 | 48 | | A4 | 19 | 19 | | A4 | 20 | 23 | | A4 | 21 | 18 | | A5 | 0 | 36 | | A5 | 1 | 26 | | A5 | 2 | 37 | | A5 | 3 | 22 | | A5 | 4 | 43 | | A5 | 5 | 29 | | A5 | 6 | 43 | | A5 | 7 | 27 | | A5 | 8 | 18 | | A5 | 9 | 48 | | A5 | 10 | 11 | | A5 | 11 | 13 | | A5 | 12 | 47 | | A5 | 13 | 41 | | A5 | 14 | 30 | | A5 | 15 | 22 | | A5 | 16 | 49 | | A5 | 17 | 26 | | A5 | 18 | 25 | | A5 | 19 | 31 | | A5 | 20 | 10 | | A5 | 21 | 12 | | A6 | 0 | 39 | | A6 | 1 | 14 | | A6 | 2 | 11 | | A6 | 3 | 33 | | A6 | 4 | 41 | | A6 | 5 | 48 | | A6 | 6 | 46 | | A6 | 7 | 43 | | A6 | 8 | 28 | | A6 | 9 | 11 | | A6 | 10 | 27 | | A6 | 11 | 43 | | A6 | 12 | 32 | | A6 | 13 | 26 | | A6 | 14 | 25 | | A6 | 15 | 22 | | A6 | 16 | 26 | | A6 | 17 | 38 | | A6 | 18 | 49 | | A6 | 19 | 36 | | A6 | 20 | 11 | | A6 | 21 | 17 | | A7 | 0 | 29 | | A7 | 1 | 31 | | A7 | 2 | 41 | | A7 | 3 | 33 | | A7 | 4 | 48 | | A7 | 5 | 10 | | A7 | 6 | 21 | | A7 | 7 | 39 | | A7 | 8 | 38 | | A7 | 9 | 40 | | A7 | 10 | 45 | | A7 | 11 | 49 | | A7 | 12 | 10 | | A7 | 13 | 46 | | A7 | 14 | 27 | | A7 | 15 | 33 | | A7 | 16 | 23 | | A7 | 17 | 29 | | A7 | 18 | 19 | | A7 | 19 | 18 | | A7 | 20 | 35 | | A7 | 21 | 29 | | A8 | 0 | 44 | | A8 | 1 | 25 | | A8 | 2 | 42 | | A8 | 3 | 49 | | A8 | 4 | 36 | | A8 | 5 | 39 | | A8 | 6 | 19 | | A8 | 7 | 14 | | A8 | 8 | 12 | | A8 | 9 | 41 | | A8 | 10 | 27 | | A8 | 11 | 34 | | A8 | 12 | 32 | | A8 | 13 | 23 | | A8 | 14 | 10 | | A8 | 15 | 22 | | A8 | 16 | 36 | | A8 | 17 | 42 | | A8 | 18 | 20 | | A8 | 19 | 36 | | A8 | 20 | 41 | | A8 | 21 | 45 | | A9 | 0 | 47 | | A9 | 1 | 23 | | A9 | 2 | 10 | | A9 | 3 | 37 | | A9 | 4 | 22 | | A9 | 5 | 42 | | A9 | 6 | 25 | | A9 | 7 | 21 | | A9 | 8 | 17 | | A9 | 9 | 24 | | A9 | 10 | 13 | | A9 | 11 | 26 | | A9 | 12 | 35 | | A9 | 13 | 48 | | A9 | 14 | 31 | | A9 | 15 | 16 | | A9 | 16 | 24 | | A9 | 17 | 19 | | A9 | 18 | 23 | | A9 | 19 | 33 | | A9 | 20 | 49 | | A9 | 21 | 41 | | machine_id | order_id | processing_cost | |---|---|---| | A1 | 0 | 17 | | A1 | 1 | 14 | | A1 | 2 | 25 | | A1 | 3 | 23 | | A1 | 4 | 24 | | A1 | 5 | 23 | | A1 | 6 | 13 | | A1 | 7 | 20 | | A1 | 8 | 9 | | A1 | 9 | 25 | | A1 | 10 | 7 | | A1 | 11 | 16 | | A1 | 12 | 13 | | A1 | 13 | 24 | | A1 | 14 | 11 | | A1 | 15 | 11 | | A1 | 16 | 20 | | A1 | 17 | 11 | | A1 | 18 | 11 | | A1 | 19 | 8 | | A1 | 20 | 15 | | A1 | 21 | 11 | | A2 | 0 | 15 | | A2 | 1 | 11 | | A2 | 2 | 11 | | A2 | 3 | 24 | | A2 | 4 | 18 | | A2 | 5 | 19 | | A2 | 6 | 6 | | A2 | 7 | 20 | | A2 | 8 | 8 | | A2 | 9 | 20 | | A2 | 10 | 6 | | A2 | 11 | 9 | | A2 | 12 | 15 | | A2 | 13 | 25 | | A2 | 14 | 5 | | A2 | 15 | 6 | | A2 | 16 | 9 | | A2 | 17 | 21 | | A2 | 18 | 21 | | A2 | 19 | 12 | | A2 | 20 | 20 | | A2 | 21 | 23 | | A3 | 0 | 6 | | A3 | 1 | 13 | | A3 | 2 | 23 | | A3 | 3 | 9 | | A3 | 4 | 8 | | A3 | 5 | 22 | | A3 | 6 | 11 | | A3 | 7 | 21 | | A3 | 8 | 25 | | A3 | 9 | 15 | | A3 | 10 | 5 | | A3 | 11 | 10 | | A3 | 12 | 10 | | A3 | 13 | 24 | | A3 | 14 | 7 | | A3 | 15 | 18 | | A3 | 16 | 9 | | A3 | 17 | 7 | | A3 | 18 | 17 | | A3 | 19 | 6 | | A3 | 20 | 21 | | A3 | 21 | 24 | | A4 | 0 | 19 | | A4 | 1 | 15 | | A4 | 2 | 5 | | A4 | 3 | 5 | | A4 | 4 | 21 | | A4 | 5 | 14 | | A4 | 6 | 17 | | A4 | 7 | 25 | | A4 | 8 | 13 | | A4 | 9 | 19 | | A4 | 10 | 19 | | A4 | 11 | 17 | | A4 | 12 | 10 | | A4 | 13 | 20 | | A4 | 14 | 11 | | A4 | 15 | 25 | | A4 | 16 | 24 | | A4 | 17 | 15 | | A4 | 18 | 21 | | A4 | 19 | 20 | | A4 | 20 | 5 | | A4 | 21 | 23 | | A5 | 0 | 14 | | A5 | 1 | 18 | | A5 | 2 | 11 | | A5 | 3 | 18 | | A5 | 4 | 19 | | A5 | 5 | 23 | | A5 | 6 | 7 | | A5 | 7 | 23 | | A5 | 8 | 19 | | A5 | 9 | 18 | | A5 | 10 | 12 | | A5 | 11 | 21 | | A5 | 12 | 22 | | A5 | 13 | 20 | | A5 | 14 | 13 | | A5 | 15 | 16 | | A5 | 16 | 19 | | A5 | 17 | 22 | | A5 | 18 | 18 | | A5 | 19 | 12 | | A5 | 20 | 9 | | A5 | 21 | 6 | | A6 | 0 | 12 | | A6 | 1 | 22 | | A6 | 2 | 7 | | A6 | 3 | 17 | | A6 | 4 | 24 | | A6 | 5 | 17 | | A6 | 6 | 6 | | A6 | 7 | 5 | | A6 | 8 | 19 | | A6 | 9 | 18 | | A6 | 10 | 9 | | A6 | 11 | 23 | | A6 | 12 | 13 | | A6 | 13 | 25 | | A6 | 14 | 21 | | A6 | 15 | 9 | | A6 | 16 | 8 | | A6 | 17 | 17 | | A6 | 18 | 20 | | A6 | 19 | 5 | | A6 | 20 | 15 | | A6 | 21 | 16 | | A7 | 0 | 22 | | A7 | 1 | 11 | | A7 | 2 | 21 | | A7 | 3 | 25 | | A7 | 4 | 21 | | A7 | 5 | 10 | | A7 | 6 | 8 | | A7 | 7 | 14 | | A7 | 8 | 12 | | A7 | 9 | 8 | | A7 | 10 | 18 | | A7 | 11 | 21 | | A7 | 12 | 23 | | A7 | 13 | 16 | | A7 | 14 | 22 | | A7 | 15 | 20 | | A7 | 16 | 8 | | A7 | 17 | 9 | | A7 | 18 | 7 | | A7 | 19 | 21 | | A7 | 20 | 18 | | A7 | 21 | 17 | | A8 | 0 | 20 | | A8 | 1 | 19 | | A8 | 2 | 7 | | A8 | 3 | 14 | | A8 | 4 | 14 | | A8 | 5 | 21 | | A8 | 6 | 19 | | A8 | 7 | 6 | | A8 | 8 | 24 | | A8 | 9 | 23 | | A8 | 10 | 17 | | A8 | 11 | 15 | | A8 | 12 | 12 | | A8 | 13 | 19 | | A8 | 14 | 24 | | A8 | 15 | 12 | | A8 | 16 | 17 | | A8 | 17 | 23 | | A8 | 18 | 20 | | A8 | 19 | 25 | | A8 | 20 | 16 | | A8 | 21 | 6 | | A9 | 0 | 5 | | A9 | 1 | 20 | | A9 | 2 | 13 | | A9 | 3 | 24 | | A9 | 4 | 7 | | A9 | 5 | 10 | | A9 | 6 | 23 | | A9 | 7 | 10 | | A9 | 8 | 12 | | A9 | 9 | 25 | | A9 | 10 | 25 | | A9 | 11 | 9 | | A9 | 12 | 13 | | A9 | 13 | 16 | | A9 | 14 | 8 | | A9 | 15 | 11 | | A9 | 16 | 11 | | A9 | 17 | 10 | | A9 | 18 | 13 | | A9 | 19 | 18 | | A9 | 20 | 9 | | A9 | 21 | 16 | Use these entries to assign each order exactly once, keep every machine within its runtime, and minimize the total processing cost. You can send the final assignment back in a tiny, predictable JSON shape so whoever reads it knows which machine gets which order. Something like this will do: { ""solution"": [ , , ..., ] } Here ""solution"" is just a list that goes in order: the first entry is the machine that will handle the first order, the second entry is the machine for the second order, and so on. Think of it like filling out a simple form where each line says which machine an order was handed to. This is only a sketch of the shape I need — not the real answer. Please make sure you use the exact identifiers from the instance input, without renaming or inventing new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[10, 43, 33, 37, 40, 41, 50, 27, 22, 33, 43, 17, 17, 11, 20, 33, 45, 18, 48, 40, 50, 13], [18, 38, 26, 35, 12, 37, 27, 42, 35, 37, 20, 26, 12, 11, 49, 42, 33, 17, 47, 26, 44, 18], [14, 38, 38, 32, 35, 38, 44, 12, 17, 36, 17, 46, 25, 31, 39, 10, 33, 15, 45, 45, 45, 22], [45, 38, 20, 30, 41, 12, 47, 34, 40, 33, 36, 45, 15, 12, 17, 37, 31, 13, 48, 19, 23, 18], [36, 26, 37, 22, 43, 29, 43, 27, 18, 48, 11, 13, 47, 41, 30, 22, 49, 26, 25, 31, 10, 12], [39, 14, 11, 33, 41, 48, 46, 43, 28, 11, 27, 43, 32, 26, 25, 22, 26, 38, 49, 36, 11, 17], [29, 31, 41, 33, 48, 10, 21, 39, 38, 40, 45, 49, 10, 46, 27, 33, 23, 29, 19, 18, 35, 29], [44, 25, 42, 49, 36, 39, 19, 14, 12, 41, 27, 34, 32, 23, 10, 22, 36, 42, 20, 36, 41, 45], [47, 23, 10, 37, 22, 42, 25, 21, 17, 24, 13, 26, 35, 48, 31, 16, 24, 19, 23, 33, 49, 41]], 'assignment_costs': [[17, 14, 25, 23, 24, 23, 13, 20, 9, 25, 7, 16, 13, 24, 11, 11, 20, 11, 11, 8, 15, 11], [15, 11, 11, 24, 18, 19, 6, 20, 8, 20, 6, 9, 15, 25, 5, 6, 9, 21, 21, 12, 20, 23], [6, 13, 23, 9, 8, 22, 11, 21, 25, 15, 5, 10, 10, 24, 7, 18, 9, 7, 17, 6, 21, 24], [19, 15, 5, 5, 21, 14, 17, 25, 13, 19, 19, 17, 10, 20, 11, 25, 24, 15, 21, 20, 5, 23], [14, 18, 11, 18, 19, 23, 7, 23, 19, 18, 12, 21, 22, 20, 13, 16, 19, 22, 18, 12, 9, 6], [12, 22, 7, 17, 24, 17, 6, 5, 19, 18, 9, 23, 13, 25, 21, 9, 8, 17, 20, 5, 15, 16], [22, 11, 21, 25, 21, 10, 8, 14, 12, 8, 18, 21, 23, 16, 22, 20, 8, 9, 7, 21, 18, 17], [20, 19, 7, 14, 14, 21, 19, 6, 24, 23, 17, 15, 12, 19, 24, 12, 17, 23, 20, 25, 16, 6], [5, 20, 13, 24, 7, 10, 23, 10, 12, 25, 25, 9, 13, 16, 8, 11, 11, 10, 13, 18, 9, 16]], 'capacities': [240, 240, 241, 237, 237, 236, 241, 238, 239], 'objective': 159.0}","[8, 6, 3, 3, 8, 6, 1, 5, 1, 6, 2, 1, 3, 6, 1, 1, 5, 2, 6, 5, 3, 4]",159.0,"{'problem_type': 'GAP', 'num_agents': 9, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 240}, {'agent_id': 'A2', 'capacity': 240}, {'agent_id': 'A3', 'capacity': 241}, {'agent_id': 'A4', 'capacity': 237}, {'agent_id': 'A5', 'capacity': 237}, {'agent_id': 'A6', 'capacity': 236}, {'agent_id': 'A7', 'capacity': 241}, {'agent_id': 'A8', 'capacity': 238}, {'agent_id': 'A9', 'capacity': 239}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 0, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 32}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 0, 'consumption': 47}, {'agent_id': 'A9', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A9', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A9', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A9', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A9', 'task_id': 5, 'consumption': 42}, {'agent_id': 'A9', 'task_id': 6, 'consumption': 25}, {'agent_id': 'A9', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A9', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A9', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A9', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A9', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A9', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A9', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A9', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A9', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A9', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A9', 'task_id': 17, 'consumption': 19}, {'agent_id': 'A9', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A9', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A9', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A9', 'task_id': 21, 'consumption': 41}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 17}, {'agent_id': 'A1', 'task_id': 1, 'cost': 14}, {'agent_id': 'A1', 'task_id': 2, 'cost': 25}, {'agent_id': 'A1', 'task_id': 3, 'cost': 23}, {'agent_id': 'A1', 'task_id': 4, 'cost': 24}, {'agent_id': 'A1', 'task_id': 5, 'cost': 23}, {'agent_id': 'A1', 'task_id': 6, 'cost': 13}, {'agent_id': 'A1', 'task_id': 7, 'cost': 20}, {'agent_id': 'A1', 'task_id': 8, 'cost': 9}, {'agent_id': 'A1', 'task_id': 9, 'cost': 25}, {'agent_id': 'A1', 'task_id': 10, 'cost': 7}, {'agent_id': 'A1', 'task_id': 11, 'cost': 16}, {'agent_id': 'A1', 'task_id': 12, 'cost': 13}, {'agent_id': 'A1', 'task_id': 13, 'cost': 24}, {'agent_id': 'A1', 'task_id': 14, 'cost': 11}, {'agent_id': 'A1', 'task_id': 15, 'cost': 11}, {'agent_id': 'A1', 'task_id': 16, 'cost': 20}, {'agent_id': 'A1', 'task_id': 17, 'cost': 11}, {'agent_id': 'A1', 'task_id': 18, 'cost': 11}, {'agent_id': 'A1', 'task_id': 19, 'cost': 8}, {'agent_id': 'A1', 'task_id': 20, 'cost': 15}, {'agent_id': 'A1', 'task_id': 21, 'cost': 11}, {'agent_id': 'A2', 'task_id': 0, 'cost': 15}, {'agent_id': 'A2', 'task_id': 1, 'cost': 11}, {'agent_id': 'A2', 'task_id': 2, 'cost': 11}, {'agent_id': 'A2', 'task_id': 3, 'cost': 24}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 19}, {'agent_id': 'A2', 'task_id': 6, 'cost': 6}, {'agent_id': 'A2', 'task_id': 7, 'cost': 20}, {'agent_id': 'A2', 'task_id': 8, 'cost': 8}, {'agent_id': 'A2', 'task_id': 9, 'cost': 20}, {'agent_id': 'A2', 'task_id': 10, 'cost': 6}, {'agent_id': 'A2', 'task_id': 11, 'cost': 9}, {'agent_id': 'A2', 'task_id': 12, 'cost': 15}, {'agent_id': 'A2', 'task_id': 13, 'cost': 25}, {'agent_id': 'A2', 'task_id': 14, 'cost': 5}, {'agent_id': 'A2', 'task_id': 15, 'cost': 6}, {'agent_id': 'A2', 'task_id': 16, 'cost': 9}, {'agent_id': 'A2', 'task_id': 17, 'cost': 21}, {'agent_id': 'A2', 'task_id': 18, 'cost': 21}, {'agent_id': 'A2', 'task_id': 19, 'cost': 12}, {'agent_id': 'A2', 'task_id': 20, 'cost': 20}, {'agent_id': 'A2', 'task_id': 21, 'cost': 23}, {'agent_id': 'A3', 'task_id': 0, 'cost': 6}, {'agent_id': 'A3', 'task_id': 1, 'cost': 13}, {'agent_id': 'A3', 'task_id': 2, 'cost': 23}, {'agent_id': 'A3', 'task_id': 3, 'cost': 9}, {'agent_id': 'A3', 'task_id': 4, 'cost': 8}, {'agent_id': 'A3', 'task_id': 5, 'cost': 22}, {'agent_id': 'A3', 'task_id': 6, 'cost': 11}, {'agent_id': 'A3', 'task_id': 7, 'cost': 21}, {'agent_id': 'A3', 'task_id': 8, 'cost': 25}, {'agent_id': 'A3', 'task_id': 9, 'cost': 15}, {'agent_id': 'A3', 'task_id': 10, 'cost': 5}, {'agent_id': 'A3', 'task_id': 11, 'cost': 10}, {'agent_id': 'A3', 'task_id': 12, 'cost': 10}, {'agent_id': 'A3', 'task_id': 13, 'cost': 24}, {'agent_id': 'A3', 'task_id': 14, 'cost': 7}, {'agent_id': 'A3', 'task_id': 15, 'cost': 18}, {'agent_id': 'A3', 'task_id': 16, 'cost': 9}, {'agent_id': 'A3', 'task_id': 17, 'cost': 7}, {'agent_id': 'A3', 'task_id': 18, 'cost': 17}, {'agent_id': 'A3', 'task_id': 19, 'cost': 6}, {'agent_id': 'A3', 'task_id': 20, 'cost': 21}, {'agent_id': 'A3', 'task_id': 21, 'cost': 24}, {'agent_id': 'A4', 'task_id': 0, 'cost': 19}, {'agent_id': 'A4', 'task_id': 1, 'cost': 15}, {'agent_id': 'A4', 'task_id': 2, 'cost': 5}, {'agent_id': 'A4', 'task_id': 3, 'cost': 5}, {'agent_id': 'A4', 'task_id': 4, 'cost': 21}, {'agent_id': 'A4', 'task_id': 5, 'cost': 14}, {'agent_id': 'A4', 'task_id': 6, 'cost': 17}, {'agent_id': 'A4', 'task_id': 7, 'cost': 25}, {'agent_id': 'A4', 'task_id': 8, 'cost': 13}, {'agent_id': 'A4', 'task_id': 9, 'cost': 19}, {'agent_id': 'A4', 'task_id': 10, 'cost': 19}, {'agent_id': 'A4', 'task_id': 11, 'cost': 17}, {'agent_id': 'A4', 'task_id': 12, 'cost': 10}, {'agent_id': 'A4', 'task_id': 13, 'cost': 20}, {'agent_id': 'A4', 'task_id': 14, 'cost': 11}, {'agent_id': 'A4', 'task_id': 15, 'cost': 25}, {'agent_id': 'A4', 'task_id': 16, 'cost': 24}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A4', 'task_id': 18, 'cost': 21}, {'agent_id': 'A4', 'task_id': 19, 'cost': 20}, {'agent_id': 'A4', 'task_id': 20, 'cost': 5}, {'agent_id': 'A4', 'task_id': 21, 'cost': 23}, {'agent_id': 'A5', 'task_id': 0, 'cost': 14}, {'agent_id': 'A5', 'task_id': 1, 'cost': 18}, {'agent_id': 'A5', 'task_id': 2, 'cost': 11}, {'agent_id': 'A5', 'task_id': 3, 'cost': 18}, {'agent_id': 'A5', 'task_id': 4, 'cost': 19}, {'agent_id': 'A5', 'task_id': 5, 'cost': 23}, {'agent_id': 'A5', 'task_id': 6, 'cost': 7}, {'agent_id': 'A5', 'task_id': 7, 'cost': 23}, {'agent_id': 'A5', 'task_id': 8, 'cost': 19}, {'agent_id': 'A5', 'task_id': 9, 'cost': 18}, {'agent_id': 'A5', 'task_id': 10, 'cost': 12}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 22}, {'agent_id': 'A5', 'task_id': 13, 'cost': 20}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 16}, {'agent_id': 'A5', 'task_id': 16, 'cost': 19}, {'agent_id': 'A5', 'task_id': 17, 'cost': 22}, {'agent_id': 'A5', 'task_id': 18, 'cost': 18}, {'agent_id': 'A5', 'task_id': 19, 'cost': 12}, {'agent_id': 'A5', 'task_id': 20, 'cost': 9}, {'agent_id': 'A5', 'task_id': 21, 'cost': 6}, {'agent_id': 'A6', 'task_id': 0, 'cost': 12}, {'agent_id': 'A6', 'task_id': 1, 'cost': 22}, {'agent_id': 'A6', 'task_id': 2, 'cost': 7}, {'agent_id': 'A6', 'task_id': 3, 'cost': 17}, {'agent_id': 'A6', 'task_id': 4, 'cost': 24}, {'agent_id': 'A6', 'task_id': 5, 'cost': 17}, {'agent_id': 'A6', 'task_id': 6, 'cost': 6}, {'agent_id': 'A6', 'task_id': 7, 'cost': 5}, {'agent_id': 'A6', 'task_id': 8, 'cost': 19}, {'agent_id': 'A6', 'task_id': 9, 'cost': 18}, {'agent_id': 'A6', 'task_id': 10, 'cost': 9}, {'agent_id': 'A6', 'task_id': 11, 'cost': 23}, {'agent_id': 'A6', 'task_id': 12, 'cost': 13}, {'agent_id': 'A6', 'task_id': 13, 'cost': 25}, {'agent_id': 'A6', 'task_id': 14, 'cost': 21}, {'agent_id': 'A6', 'task_id': 15, 'cost': 9}, {'agent_id': 'A6', 'task_id': 16, 'cost': 8}, {'agent_id': 'A6', 'task_id': 17, 'cost': 17}, {'agent_id': 'A6', 'task_id': 18, 'cost': 20}, {'agent_id': 'A6', 'task_id': 19, 'cost': 5}, {'agent_id': 'A6', 'task_id': 20, 'cost': 15}, {'agent_id': 'A6', 'task_id': 21, 'cost': 16}, {'agent_id': 'A7', 'task_id': 0, 'cost': 22}, {'agent_id': 'A7', 'task_id': 1, 'cost': 11}, {'agent_id': 'A7', 'task_id': 2, 'cost': 21}, {'agent_id': 'A7', 'task_id': 3, 'cost': 25}, {'agent_id': 'A7', 'task_id': 4, 'cost': 21}, {'agent_id': 'A7', 'task_id': 5, 'cost': 10}, {'agent_id': 'A7', 'task_id': 6, 'cost': 8}, {'agent_id': 'A7', 'task_id': 7, 'cost': 14}, {'agent_id': 'A7', 'task_id': 8, 'cost': 12}, {'agent_id': 'A7', 'task_id': 9, 'cost': 8}, {'agent_id': 'A7', 'task_id': 10, 'cost': 18}, {'agent_id': 'A7', 'task_id': 11, 'cost': 21}, {'agent_id': 'A7', 'task_id': 12, 'cost': 23}, {'agent_id': 'A7', 'task_id': 13, 'cost': 16}, {'agent_id': 'A7', 'task_id': 14, 'cost': 22}, {'agent_id': 'A7', 'task_id': 15, 'cost': 20}, {'agent_id': 'A7', 'task_id': 16, 'cost': 8}, {'agent_id': 'A7', 'task_id': 17, 'cost': 9}, {'agent_id': 'A7', 'task_id': 18, 'cost': 7}, {'agent_id': 'A7', 'task_id': 19, 'cost': 21}, {'agent_id': 'A7', 'task_id': 20, 'cost': 18}, {'agent_id': 'A7', 'task_id': 21, 'cost': 17}, {'agent_id': 'A8', 'task_id': 0, 'cost': 20}, {'agent_id': 'A8', 'task_id': 1, 'cost': 19}, {'agent_id': 'A8', 'task_id': 2, 'cost': 7}, {'agent_id': 'A8', 'task_id': 3, 'cost': 14}, {'agent_id': 'A8', 'task_id': 4, 'cost': 14}, {'agent_id': 'A8', 'task_id': 5, 'cost': 21}, {'agent_id': 'A8', 'task_id': 6, 'cost': 19}, {'agent_id': 'A8', 'task_id': 7, 'cost': 6}, {'agent_id': 'A8', 'task_id': 8, 'cost': 24}, {'agent_id': 'A8', 'task_id': 9, 'cost': 23}, {'agent_id': 'A8', 'task_id': 10, 'cost': 17}, {'agent_id': 'A8', 'task_id': 11, 'cost': 15}, {'agent_id': 'A8', 'task_id': 12, 'cost': 12}, {'agent_id': 'A8', 'task_id': 13, 'cost': 19}, {'agent_id': 'A8', 'task_id': 14, 'cost': 24}, {'agent_id': 'A8', 'task_id': 15, 'cost': 12}, {'agent_id': 'A8', 'task_id': 16, 'cost': 17}, {'agent_id': 'A8', 'task_id': 17, 'cost': 23}, {'agent_id': 'A8', 'task_id': 18, 'cost': 20}, {'agent_id': 'A8', 'task_id': 19, 'cost': 25}, {'agent_id': 'A8', 'task_id': 20, 'cost': 16}, {'agent_id': 'A8', 'task_id': 21, 'cost': 6}, {'agent_id': 'A9', 'task_id': 0, 'cost': 5}, {'agent_id': 'A9', 'task_id': 1, 'cost': 20}, {'agent_id': 'A9', 'task_id': 2, 'cost': 13}, {'agent_id': 'A9', 'task_id': 3, 'cost': 24}, {'agent_id': 'A9', 'task_id': 4, 'cost': 7}, {'agent_id': 'A9', 'task_id': 5, 'cost': 10}, {'agent_id': 'A9', 'task_id': 6, 'cost': 23}, {'agent_id': 'A9', 'task_id': 7, 'cost': 10}, {'agent_id': 'A9', 'task_id': 8, 'cost': 12}, {'agent_id': 'A9', 'task_id': 9, 'cost': 25}, {'agent_id': 'A9', 'task_id': 10, 'cost': 25}, {'agent_id': 'A9', 'task_id': 11, 'cost': 9}, {'agent_id': 'A9', 'task_id': 12, 'cost': 13}, {'agent_id': 'A9', 'task_id': 13, 'cost': 16}, {'agent_id': 'A9', 'task_id': 14, 'cost': 8}, {'agent_id': 'A9', 'task_id': 15, 'cost': 11}, {'agent_id': 'A9', 'task_id': 16, 'cost': 11}, {'agent_id': 'A9', 'task_id': 17, 'cost': 10}, {'agent_id': 'A9', 'task_id': 18, 'cost': 13}, {'agent_id': 'A9', 'task_id': 19, 'cost': 18}, {'agent_id': 'A9', 'task_id': 20, 'cost': 9}, {'agent_id': 'A9', 'task_id': 21, 'cost': 16}]}","['A9', 'A7', 'A4', 'A4', 'A9', 'A7', 'A2', 'A6', 'A2', 'A7', 'A3', 'A2', 'A4', 'A7', 'A2', 'A2', 'A6', 'A3', 'A7', 'A6', 'A4', 'A5']",22,markdown_table,0 GAP,GAP,"I run a tiny editing desk and have a pile of articles that all need to go to copy editors. Each article has to be sent to one — and only one — editor, and no piece can be skipped or handed out twice. Every editor has a set number of available hours, each article would take a certain amount of an editor’s time and carries a fee for that pairing, and the total time assigned to any editor can’t go past their available hours. The plan is to pick which editor gets which article so the sum of all those per-article fees (just add up the fee for every article-editor match) is as low as possible. The exact article times, editor hours, and fees are shown below. Here they are: I have 5 editors (A1, A2, A3, A4, A5) and 18 articles (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17). Editor A1 has 100 available hours. Editor A2 has 100 available hours. Editor A3 has 100 available hours. Editor A4 has 100 available hours. Editor A5 has 100 available hours. If I send article 0 to editor A1, it will take 19 hours and cost 18. If I send article 1 to editor A1, it will take 10 hours and cost 20. If I send article 2 to editor A1, it will take 37 hours and cost 16. If I send article 3 to editor A1, it will take 31 hours and cost 21. If I send article 4 to editor A1, it will take 48 hours and cost 14. If I send article 5 to editor A1, it will take 36 hours and cost 10. If I send article 6 to editor A1, it will take 50 hours and cost 21. If I send article 7 to editor A1, it will take 40 hours and cost 13. If I send article 8 to editor A1, it will take 37 hours and cost 12. If I send article 9 to editor A1, it will take 24 hours and cost 20. If I send article 10 to editor A1, it will take 35 hours and cost 16. If I send article 11 to editor A1, it will take 26 hours and cost 11. If I send article 12 to editor A1, it will take 40 hours and cost 23. If I send article 13 to editor A1, it will take 36 hours and cost 6. If I send article 14 to editor A1, it will take 37 hours and cost 6. If I send article 15 to editor A1, it will take 35 hours and cost 14. If I send article 16 to editor A1, it will take 38 hours and cost 19. If I send article 17 to editor A1, it will take 41 hours and cost 17. If I send article 0 to editor A2, it will take 15 hours and cost 24. If I send article 1 to editor A2, it will take 46 hours and cost 19. If I send article 2 to editor A2, it will take 11 hours and cost 15. If I send article 3 to editor A2, it will take 44 hours and cost 22. If I send article 4 to editor A2, it will take 43 hours and cost 18. If I send article 5 to editor A2, it will take 11 hours and cost 6. If I send article 6 to editor A2, it will take 50 hours and cost 6. If I send article 7 to editor A2, it will take 14 hours and cost 18. If I send article 8 to editor A2, it will take 35 hours and cost 11. If I send article 9 to editor A2, it will take 19 hours and cost 7. If I send article 10 to editor A2, it will take 42 hours and cost 17. If I send article 11 to editor A2, it will take 40 hours and cost 12. If I send article 12 to editor A2, it will take 13 hours and cost 11. If I send article 13 to editor A2, it will take 28 hours and cost 20. If I send article 14 to editor A2, it will take 18 hours and cost 14. If I send article 15 to editor A2, it will take 27 hours and cost 15. If I send article 16 to editor A2, it will take 36 hours and cost 16. If I send article 17 to editor A2, it will take 39 hours and cost 24. If I send article 0 to editor A3, it will take 12 hours and cost 21. If I send article 1 to editor A3, it will take 18 hours and cost 21. If I send article 2 to editor A3, it will take 50 hours and cost 19. If I send article 3 to editor A3, it will take 21 hours and cost 11. If I send article 4 to editor A3, it will take 46 hours and cost 10. If I send article 5 to editor A3, it will take 15 hours and cost 23. If I send article 6 to editor A3, it will take 50 hours and cost 11. If I send article 7 to editor A3, it will take 15 hours and cost 15. If I send article 8 to editor A3, it will take 10 hours and cost 17. If I send article 9 to editor A3, it will take 24 hours and cost 9. If I send article 10 to editor A3, it will take 21 hours and cost 5. If I send article 11 to editor A3, it will take 24 hours and cost 17. If I send article 12 to editor A3, it will take 16 hours and cost 5. If I send article 13 to editor A3, it will take 47 hours and cost 17. If I send article 14 to editor A3, it will take 48 hours and cost 7. If I send article 15 to editor A3, it will take 27 hours and cost 11. If I send article 16 to editor A3, it will take 12 hours and cost 19. If I send article 17 to editor A3, it will take 31 hours and cost 18. If I send article 0 to editor A4, it will take 26 hours and cost 18. If I send article 1 to editor A4, it will take 49 hours and cost 6. If I send article 2 to editor A4, it will take 26 hours and cost 19. If I send article 3 to editor A4, it will take 32 hours and cost 23. If I send article 4 to editor A4, it will take 21 hours and cost 9. If I send article 5 to editor A4, it will take 50 hours and cost 8. If I send article 6 to editor A4, it will take 12 hours and cost 11. If I send article 7 to editor A4, it will take 42 hours and cost 18. If I send article 8 to editor A4, it will take 25 hours and cost 16. If I send article 9 to editor A4, it will take 24 hours and cost 14. If I send article 10 to editor A4, it will take 29 hours and cost 17. If I send article 11 to editor A4, it will take 20 hours and cost 12. If I send article 12 to editor A4, it will take 41 hours and cost 18. If I send article 13 to editor A4, it will take 32 hours and cost 5. If I send article 14 to editor A4, it will take 44 hours and cost 10. If I send article 15 to editor A4, it will take 48 hours and cost 14. If I send article 16 to editor A4, it will take 45 hours and cost 14. If I send article 17 to editor A4, it will take 46 hours and cost 15. If I send article 0 to editor A5, it will take 13 hours and cost 9. If I send article 1 to editor A5, it will take 26 hours and cost 13. If I send article 2 to editor A5, it will take 46 hours and cost 11. If I send article 3 to editor A5, it will take 31 hours and cost 18. If I send article 4 to editor A5, it will take 26 hours and cost 9. If I send article 5 to editor A5, it will take 19 hours and cost 8. If I send article 6 to editor A5, it will take 43 hours and cost 12. If I send article 7 to editor A5, it will take 22 hours and cost 13. If I send article 8 to editor A5, it will take 28 hours and cost 11. If I send article 9 to editor A5, it will take 10 hours and cost 8. If I send article 10 to editor A5, it will take 49 hours and cost 12. If I send article 11 to editor A5, it will take 10 hours and cost 19. If I send article 12 to editor A5, it will take 36 hours and cost 13. If I send article 13 to editor A5, it will take 10 hours and cost 20. If I send article 14 to editor A5, it will take 48 hours and cost 13. If I send article 15 to editor A5, it will take 50 hours and cost 14. If I send article 16 to editor A5, it will take 25 hours and cost 22. If I send article 17 to editor A5, it will take 46 hours and cost 21. I'll use these entries to assign each article to exactly one editor without exceeding any editor's hours, aiming to minimize total fees. If you want to give me the result, just drop it in this simple JSON shape — nothing fancy. It should look like this: { ""solution"": [ , , ..., ] } This just means: the ""solution"" array lists which editor gets each article, in order (first entry = editor for the first article, second entry = editor for the second article, and so on). Think of it like filling a short form — the placeholders show the kind of identifier I expect, but this is only the sketch of the shape, not the actual assignment. Please use the exact identifiers from the instance input — do not rename them or invent new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[19, 10, 37, 31, 48, 36, 50, 40, 37, 24, 35, 26, 40, 36, 37, 35, 38, 41], [15, 46, 11, 44, 43, 11, 50, 14, 35, 19, 42, 40, 13, 28, 18, 27, 36, 39], [12, 18, 50, 21, 46, 15, 50, 15, 10, 24, 21, 24, 16, 47, 48, 27, 12, 31], [26, 49, 26, 32, 21, 50, 12, 42, 25, 24, 29, 20, 41, 32, 44, 48, 45, 46], [13, 26, 46, 31, 26, 19, 43, 22, 28, 10, 49, 10, 36, 10, 48, 50, 25, 46]], 'assignment_costs': [[18, 20, 16, 21, 14, 10, 21, 13, 12, 20, 16, 11, 23, 6, 6, 14, 19, 17], [24, 19, 15, 22, 18, 6, 6, 18, 11, 7, 17, 12, 11, 20, 14, 15, 16, 24], [21, 21, 19, 11, 10, 23, 11, 15, 17, 9, 5, 17, 5, 17, 7, 11, 19, 18], [18, 6, 19, 23, 9, 8, 11, 18, 16, 14, 17, 12, 18, 5, 10, 14, 14, 15], [9, 13, 11, 18, 9, 8, 12, 13, 11, 8, 12, 19, 13, 20, 13, 14, 22, 21]], 'capacities': [100, 100, 100, 100, 100], 'objective': 171.0}","[4, 3, 1, 2, 4, 1, 1, 4, 4, 1, 2, 0, 2, 0, 0, 2, 2, 3]",171.0,"{'problem_type': 'GAP', 'num_agents': 5, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 100}, {'agent_id': 'A2', 'capacity': 100}, {'agent_id': 'A3', 'capacity': 100}, {'agent_id': 'A4', 'capacity': 100}, {'agent_id': 'A5', 'capacity': 100}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 46}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 18}, {'agent_id': 'A1', 'task_id': 1, 'cost': 20}, {'agent_id': 'A1', 'task_id': 2, 'cost': 16}, {'agent_id': 'A1', 'task_id': 3, 'cost': 21}, {'agent_id': 'A1', 'task_id': 4, 'cost': 14}, {'agent_id': 'A1', 'task_id': 5, 'cost': 10}, {'agent_id': 'A1', 'task_id': 6, 'cost': 21}, {'agent_id': 'A1', 'task_id': 7, 'cost': 13}, {'agent_id': 'A1', 'task_id': 8, 'cost': 12}, {'agent_id': 'A1', 'task_id': 9, 'cost': 20}, {'agent_id': 'A1', 'task_id': 10, 'cost': 16}, {'agent_id': 'A1', 'task_id': 11, 'cost': 11}, {'agent_id': 'A1', 'task_id': 12, 'cost': 23}, {'agent_id': 'A1', 'task_id': 13, 'cost': 6}, {'agent_id': 'A1', 'task_id': 14, 'cost': 6}, {'agent_id': 'A1', 'task_id': 15, 'cost': 14}, {'agent_id': 'A1', 'task_id': 16, 'cost': 19}, {'agent_id': 'A1', 'task_id': 17, 'cost': 17}, {'agent_id': 'A2', 'task_id': 0, 'cost': 24}, {'agent_id': 'A2', 'task_id': 1, 'cost': 19}, {'agent_id': 'A2', 'task_id': 2, 'cost': 15}, {'agent_id': 'A2', 'task_id': 3, 'cost': 22}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 6}, {'agent_id': 'A2', 'task_id': 6, 'cost': 6}, {'agent_id': 'A2', 'task_id': 7, 'cost': 18}, {'agent_id': 'A2', 'task_id': 8, 'cost': 11}, {'agent_id': 'A2', 'task_id': 9, 'cost': 7}, {'agent_id': 'A2', 'task_id': 10, 'cost': 17}, {'agent_id': 'A2', 'task_id': 11, 'cost': 12}, {'agent_id': 'A2', 'task_id': 12, 'cost': 11}, {'agent_id': 'A2', 'task_id': 13, 'cost': 20}, {'agent_id': 'A2', 'task_id': 14, 'cost': 14}, {'agent_id': 'A2', 'task_id': 15, 'cost': 15}, {'agent_id': 'A2', 'task_id': 16, 'cost': 16}, {'agent_id': 'A2', 'task_id': 17, 'cost': 24}, {'agent_id': 'A3', 'task_id': 0, 'cost': 21}, {'agent_id': 'A3', 'task_id': 1, 'cost': 21}, {'agent_id': 'A3', 'task_id': 2, 'cost': 19}, {'agent_id': 'A3', 'task_id': 3, 'cost': 11}, {'agent_id': 'A3', 'task_id': 4, 'cost': 10}, {'agent_id': 'A3', 'task_id': 5, 'cost': 23}, {'agent_id': 'A3', 'task_id': 6, 'cost': 11}, {'agent_id': 'A3', 'task_id': 7, 'cost': 15}, {'agent_id': 'A3', 'task_id': 8, 'cost': 17}, {'agent_id': 'A3', 'task_id': 9, 'cost': 9}, {'agent_id': 'A3', 'task_id': 10, 'cost': 5}, {'agent_id': 'A3', 'task_id': 11, 'cost': 17}, {'agent_id': 'A3', 'task_id': 12, 'cost': 5}, {'agent_id': 'A3', 'task_id': 13, 'cost': 17}, {'agent_id': 'A3', 'task_id': 14, 'cost': 7}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 19}, {'agent_id': 'A3', 'task_id': 17, 'cost': 18}, {'agent_id': 'A4', 'task_id': 0, 'cost': 18}, {'agent_id': 'A4', 'task_id': 1, 'cost': 6}, {'agent_id': 'A4', 'task_id': 2, 'cost': 19}, {'agent_id': 'A4', 'task_id': 3, 'cost': 23}, {'agent_id': 'A4', 'task_id': 4, 'cost': 9}, {'agent_id': 'A4', 'task_id': 5, 'cost': 8}, {'agent_id': 'A4', 'task_id': 6, 'cost': 11}, {'agent_id': 'A4', 'task_id': 7, 'cost': 18}, {'agent_id': 'A4', 'task_id': 8, 'cost': 16}, {'agent_id': 'A4', 'task_id': 9, 'cost': 14}, {'agent_id': 'A4', 'task_id': 10, 'cost': 17}, {'agent_id': 'A4', 'task_id': 11, 'cost': 12}, {'agent_id': 'A4', 'task_id': 12, 'cost': 18}, {'agent_id': 'A4', 'task_id': 13, 'cost': 5}, {'agent_id': 'A4', 'task_id': 14, 'cost': 10}, {'agent_id': 'A4', 'task_id': 15, 'cost': 14}, {'agent_id': 'A4', 'task_id': 16, 'cost': 14}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A5', 'task_id': 0, 'cost': 9}, {'agent_id': 'A5', 'task_id': 1, 'cost': 13}, {'agent_id': 'A5', 'task_id': 2, 'cost': 11}, {'agent_id': 'A5', 'task_id': 3, 'cost': 18}, {'agent_id': 'A5', 'task_id': 4, 'cost': 9}, {'agent_id': 'A5', 'task_id': 5, 'cost': 8}, {'agent_id': 'A5', 'task_id': 6, 'cost': 12}, {'agent_id': 'A5', 'task_id': 7, 'cost': 13}, {'agent_id': 'A5', 'task_id': 8, 'cost': 11}, {'agent_id': 'A5', 'task_id': 9, 'cost': 8}, {'agent_id': 'A5', 'task_id': 10, 'cost': 12}, {'agent_id': 'A5', 'task_id': 11, 'cost': 19}, {'agent_id': 'A5', 'task_id': 12, 'cost': 13}, {'agent_id': 'A5', 'task_id': 13, 'cost': 20}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 14}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}, {'agent_id': 'A5', 'task_id': 17, 'cost': 21}]}","['A5', 'A4', 'A2', 'A3', 'A5', 'A2', 'A2', 'A5', 'A5', 'A2', 'A3', 'A1', 'A3', 'A1', 'A1', 'A3', 'A3', 'A4']",23,nl,0 GAP,GAP,"Someone in the neighborhood is coordinating supply drops, and their problem is matching up volunteers with packages. The rule is straightforward: each package must go with exactly one volunteer and no package gets duplicated or ignored. Volunteers can take multiple packages but only up to their own weight allowance, so the combined weight they carry must stay under that cap. Since every package–volunteer combination has a cost attached, the goal is to put packages with volunteers so the total of those costs is as low as possible — just sum the costs for every chosen pairing and prefer the plan with the smallest sum, keeping each person’s load within their limit. All the specific weights and costs are listed below. There are 6 volunteers and 17 packages; the volunteers are A1, A2, A3, A4, A5, A6 and the packages are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. Volunteer A1 has a maximum carry weight of 481. Volunteer A2 has a maximum carry weight of 481. Volunteer A3 has a maximum carry weight of 475. Volunteer A4 has a maximum carry weight of 476. Volunteer A5 has a maximum carry weight of 476. Volunteer A6 has a maximum carry weight of 478. If volunteer A1 takes package 1, it consumes 28 of their capacity and incurs a cost of 9. If volunteer A1 takes package 2, it consumes 38 of their capacity and incurs a cost of 10. If volunteer A1 takes package 3, it consumes 41 of their capacity and incurs a cost of 20. If volunteer A1 takes package 4, it consumes 19 of their capacity and incurs a cost of 12. If volunteer A1 takes package 5, it consumes 11 of their capacity and incurs a cost of 18. If volunteer A1 takes package 6, it consumes 17 of their capacity and incurs a cost of 8. If volunteer A1 takes package 7, it consumes 31 of their capacity and incurs a cost of 12. If volunteer A1 takes package 8, it consumes 38 of their capacity and incurs a cost of 5. If volunteer A1 takes package 9, it consumes 35 of their capacity and incurs a cost of 10. If volunteer A1 takes package 10, it consumes 28 of their capacity and incurs a cost of 23. If volunteer A1 takes package 11, it consumes 20 of their capacity and incurs a cost of 12. If volunteer A1 takes package 12, it consumes 39 of their capacity and incurs a cost of 17. If volunteer A1 takes package 13, it consumes 15 of their capacity and incurs a cost of 13. If volunteer A1 takes package 14, it consumes 18 of their capacity and incurs a cost of 18. If volunteer A1 takes package 15, it consumes 20 of their capacity and incurs a cost of 22. If volunteer A1 takes package 16, it consumes 49 of their capacity and incurs a cost of 11. If volunteer A1 takes package 17, it consumes 28 of their capacity and incurs a cost of 22. If volunteer A2 takes package 1, it consumes 21 of their capacity and incurs a cost of 20. If volunteer A2 takes package 2, it consumes 24 of their capacity and incurs a cost of 24. If volunteer A2 takes package 3, it consumes 48 of their capacity and incurs a cost of 14. If volunteer A2 takes package 4, it consumes 21 of their capacity and incurs a cost of 17. If volunteer A2 takes package 5, it consumes 44 of their capacity and incurs a cost of 6. If volunteer A2 takes package 6, it consumes 12 of their capacity and incurs a cost of 21. If volunteer A2 takes package 7, it consumes 36 of their capacity and incurs a cost of 10. If volunteer A2 takes package 8, it consumes 15 of their capacity and incurs a cost of 22. If volunteer A2 takes package 9, it consumes 10 of their capacity and incurs a cost of 14. If volunteer A2 takes package 10, it consumes 33 of their capacity and incurs a cost of 20. If volunteer A2 takes package 11, it consumes 48 of their capacity and incurs a cost of 22. If volunteer A2 takes package 12, it consumes 44 of their capacity and incurs a cost of 18. If volunteer A2 takes package 13, it consumes 27 of their capacity and incurs a cost of 5. If volunteer A2 takes package 14, it consumes 48 of their capacity and incurs a cost of 21. If volunteer A2 takes package 15, it consumes 44 of their capacity and incurs a cost of 23. If volunteer A2 takes package 16, it consumes 17 of their capacity and incurs a cost of 20. If volunteer A2 takes package 17, it consumes 36 of their capacity and incurs a cost of 10. If volunteer A3 takes package 1, it consumes 46 of their capacity and incurs a cost of 7. If volunteer A3 takes package 2, it consumes 48 of their capacity and incurs a cost of 24. If volunteer A3 takes package 3, it consumes 28 of their capacity and incurs a cost of 10. If volunteer A3 takes package 4, it consumes 50 of their capacity and incurs a cost of 8. If volunteer A3 takes package 5, it consumes 47 of their capacity and incurs a cost of 20. If volunteer A3 takes package 6, it consumes 38 of their capacity and incurs a cost of 7. If volunteer A3 takes package 7, it consumes 25 of their capacity and incurs a cost of 25. If volunteer A3 takes package 8, it consumes 19 of their capacity and incurs a cost of 10. If volunteer A3 takes package 9, it consumes 27 of their capacity and incurs a cost of 12. If volunteer A3 takes package 10, it consumes 30 of their capacity and incurs a cost of 22. If volunteer A3 takes package 11, it consumes 37 of their capacity and incurs a cost of 12. If volunteer A3 takes package 12, it consumes 24 of their capacity and incurs a cost of 9. If volunteer A3 takes package 13, it consumes 14 of their capacity and incurs a cost of 22. If volunteer A3 takes package 14, it consumes 15 of their capacity and incurs a cost of 12. If volunteer A3 takes package 15, it consumes 30 of their capacity and incurs a cost of 23. If volunteer A3 takes package 16, it consumes 28 of their capacity and incurs a cost of 9. If volunteer A3 takes package 17, it consumes 12 of their capacity and incurs a cost of 23. If volunteer A4 takes package 1, it consumes 23 of their capacity and incurs a cost of 19. If volunteer A4 takes package 2, it consumes 10 of their capacity and incurs a cost of 15. If volunteer A4 takes package 3, it consumes 19 of their capacity and incurs a cost of 11. If volunteer A4 takes package 4, it consumes 29 of their capacity and incurs a cost of 6. If volunteer A4 takes package 5, it consumes 28 of their capacity and incurs a cost of 18. If volunteer A4 takes package 6, it consumes 24 of their capacity and incurs a cost of 24. If volunteer A4 takes package 7, it consumes 19 of their capacity and incurs a cost of 23. If volunteer A4 takes package 8, it consumes 47 of their capacity and incurs a cost of 17. If volunteer A4 takes package 9, it consumes 46 of their capacity and incurs a cost of 16. If volunteer A4 takes package 10, it consumes 11 of their capacity and incurs a cost of 20. If volunteer A4 takes package 11, it consumes 12 of their capacity and incurs a cost of 5. If volunteer A4 takes package 12, it consumes 47 of their capacity and incurs a cost of 9. If volunteer A4 takes package 13, it consumes 29 of their capacity and incurs a cost of 24. If volunteer A4 takes package 14, it consumes 37 of their capacity and incurs a cost of 6. If volunteer A4 takes package 15, it consumes 14 of their capacity and incurs a cost of 8. If volunteer A4 takes package 16, it consumes 36 of their capacity and incurs a cost of 16. If volunteer A4 takes package 17, it consumes 28 of their capacity and incurs a cost of 15. If volunteer A5 takes package 1, it consumes 31 of their capacity and incurs a cost of 6. If volunteer A5 takes package 2, it consumes 28 of their capacity and incurs a cost of 19. If volunteer A5 takes package 3, it consumes 13 of their capacity and incurs a cost of 20. If volunteer A5 takes package 4, it consumes 20 of their capacity and incurs a cost of 12. If volunteer A5 takes package 5, it consumes 37 of their capacity and incurs a cost of 7. If volunteer A5 takes package 6, it consumes 48 of their capacity and incurs a cost of 12. If volunteer A5 takes package 7, it consumes 21 of their capacity and incurs a cost of 11. If volunteer A5 takes package 8, it consumes 32 of their capacity and incurs a cost of 10. If volunteer A5 takes package 9, it consumes 28 of their capacity and incurs a cost of 18. If volunteer A5 takes package 10, it consumes 13 of their capacity and incurs a cost of 14. If volunteer A5 takes package 11, it consumes 43 of their capacity and incurs a cost of 16. If volunteer A5 takes package 12, it consumes 18 of their capacity and incurs a cost of 17. If volunteer A5 takes package 13, it consumes 19 of their capacity and incurs a cost of 18. If volunteer A5 takes package 14, it consumes 38 of their capacity and incurs a cost of 17. If volunteer A5 takes package 15, it consumes 44 of their capacity and incurs a cost of 11. If volunteer A5 takes package 16, it consumes 31 of their capacity and incurs a cost of 11. If volunteer A5 takes package 17, it consumes 45 of their capacity and incurs a cost of 22. If volunteer A6 takes package 1, it consumes 18 of their capacity and incurs a cost of 23. If volunteer A6 takes package 2, it consumes 28 of their capacity and incurs a cost of 7. If volunteer A6 takes package 3, it consumes 14 of their capacity and incurs a cost of 13. If volunteer A6 takes package 4, it consumes 25 of their capacity and incurs a cost of 14. If volunteer A6 takes package 5, it consumes 46 of their capacity and incurs a cost of 14. If volunteer A6 takes package 6, it consumes 28 of their capacity and incurs a cost of 24. If volunteer A6 takes package 7, it consumes 39 of their capacity and incurs a cost of 5. If volunteer A6 takes package 8, it consumes 18 of their capacity and incurs a cost of 21. If volunteer A6 takes package 9, it consumes 44 of their capacity and incurs a cost of 16. If volunteer A6 takes package 10, it consumes 37 of their capacity and incurs a cost of 21. If volunteer A6 takes package 11, it consumes 23 of their capacity and incurs a cost of 13. If volunteer A6 takes package 12, it consumes 43 of their capacity and incurs a cost of 7. If volunteer A6 takes package 13, it consumes 14 of their capacity and incurs a cost of 8. If volunteer A6 takes package 14, it consumes 22 of their capacity and incurs a cost of 19. If volunteer A6 takes package 15, it consumes 13 of their capacity and incurs a cost of 16. If volunteer A6 takes package 16, it consumes 32 of their capacity and incurs a cost of 12. If volunteer A6 takes package 17, it consumes 16 of their capacity and incurs a cost of 11. Record these entries so the coordinator can assign each package exactly once, keep every volunteer within their weight allowance, and minimize the total delivery cost. Also, when you send your answer, please follow this simple JSON layout so I can read it easily: { ""solution"": [ , , ..., ] } The idea here is straightforward: the ""solution"" array lists, in order, which volunteer takes each package — the first entry is who handles the first package, the second entry is who handles the second package, and so on. Think of it like filling out a form: one volunteer ID per package, in the package order. This JSON is just a sketch of the shape I expect, not the final plan. Please make sure to use the exact identifiers from the instance input — do not rename them or invent new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[28, 38, 41, 19, 11, 17, 31, 38, 35, 28, 20, 39, 15, 18, 20, 49, 28], [21, 24, 48, 21, 44, 12, 36, 15, 10, 33, 48, 44, 27, 48, 44, 17, 36], [46, 48, 28, 50, 47, 38, 25, 19, 27, 30, 37, 24, 14, 15, 30, 28, 12], [23, 10, 19, 29, 28, 24, 19, 47, 46, 11, 12, 47, 29, 37, 14, 36, 28], [31, 28, 13, 20, 37, 48, 21, 32, 28, 13, 43, 18, 19, 38, 44, 31, 45], [18, 28, 14, 25, 46, 28, 39, 18, 44, 37, 23, 43, 14, 22, 13, 32, 16]], 'assignment_costs': [[9, 10, 20, 12, 18, 8, 12, 5, 10, 23, 12, 17, 13, 18, 22, 11, 22], [20, 24, 14, 17, 6, 21, 10, 22, 14, 20, 22, 18, 5, 21, 23, 20, 10], [7, 24, 10, 8, 20, 7, 25, 10, 12, 22, 12, 9, 22, 12, 23, 9, 23], [19, 15, 11, 6, 18, 24, 23, 17, 16, 20, 5, 9, 24, 6, 8, 16, 15], [6, 19, 20, 12, 7, 12, 11, 10, 18, 14, 16, 17, 18, 17, 11, 11, 22], [23, 7, 13, 14, 14, 24, 5, 21, 16, 21, 13, 7, 8, 19, 16, 12, 11]], 'capacities': [481, 481, 475, 476, 476, 478], 'objective': 126.0}","[4, 5, 2, 3, 1, 2, 5, 0, 0, 4, 3, 5, 1, 3, 3, 2, 1]",126.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 481}, {'agent_id': 'A2', 'capacity': 481}, {'agent_id': 'A3', 'capacity': 475}, {'agent_id': 'A4', 'capacity': 476}, {'agent_id': 'A5', 'capacity': 476}, {'agent_id': 'A6', 'capacity': 478}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 16}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 9}, {'agent_id': 'A1', 'task_id': 2, 'cost': 10}, {'agent_id': 'A1', 'task_id': 3, 'cost': 20}, {'agent_id': 'A1', 'task_id': 4, 'cost': 12}, {'agent_id': 'A1', 'task_id': 5, 'cost': 18}, {'agent_id': 'A1', 'task_id': 6, 'cost': 8}, {'agent_id': 'A1', 'task_id': 7, 'cost': 12}, {'agent_id': 'A1', 'task_id': 8, 'cost': 5}, {'agent_id': 'A1', 'task_id': 9, 'cost': 10}, {'agent_id': 'A1', 'task_id': 10, 'cost': 23}, {'agent_id': 'A1', 'task_id': 11, 'cost': 12}, {'agent_id': 'A1', 'task_id': 12, 'cost': 17}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 18}, {'agent_id': 'A1', 'task_id': 15, 'cost': 22}, {'agent_id': 'A1', 'task_id': 16, 'cost': 11}, {'agent_id': 'A1', 'task_id': 17, 'cost': 22}, {'agent_id': 'A2', 'task_id': 1, 'cost': 20}, {'agent_id': 'A2', 'task_id': 2, 'cost': 24}, {'agent_id': 'A2', 'task_id': 3, 'cost': 14}, {'agent_id': 'A2', 'task_id': 4, 'cost': 17}, {'agent_id': 'A2', 'task_id': 5, 'cost': 6}, {'agent_id': 'A2', 'task_id': 6, 'cost': 21}, {'agent_id': 'A2', 'task_id': 7, 'cost': 10}, {'agent_id': 'A2', 'task_id': 8, 'cost': 22}, {'agent_id': 'A2', 'task_id': 9, 'cost': 14}, {'agent_id': 'A2', 'task_id': 10, 'cost': 20}, {'agent_id': 'A2', 'task_id': 11, 'cost': 22}, {'agent_id': 'A2', 'task_id': 12, 'cost': 18}, {'agent_id': 'A2', 'task_id': 13, 'cost': 5}, {'agent_id': 'A2', 'task_id': 14, 'cost': 21}, {'agent_id': 'A2', 'task_id': 15, 'cost': 23}, {'agent_id': 'A2', 'task_id': 16, 'cost': 20}, {'agent_id': 'A2', 'task_id': 17, 'cost': 10}, {'agent_id': 'A3', 'task_id': 1, 'cost': 7}, {'agent_id': 'A3', 'task_id': 2, 'cost': 24}, {'agent_id': 'A3', 'task_id': 3, 'cost': 10}, {'agent_id': 'A3', 'task_id': 4, 'cost': 8}, {'agent_id': 'A3', 'task_id': 5, 'cost': 20}, {'agent_id': 'A3', 'task_id': 6, 'cost': 7}, {'agent_id': 'A3', 'task_id': 7, 'cost': 25}, {'agent_id': 'A3', 'task_id': 8, 'cost': 10}, {'agent_id': 'A3', 'task_id': 9, 'cost': 12}, {'agent_id': 'A3', 'task_id': 10, 'cost': 22}, {'agent_id': 'A3', 'task_id': 11, 'cost': 12}, {'agent_id': 'A3', 'task_id': 12, 'cost': 9}, {'agent_id': 'A3', 'task_id': 13, 'cost': 22}, {'agent_id': 'A3', 'task_id': 14, 'cost': 12}, {'agent_id': 'A3', 'task_id': 15, 'cost': 23}, {'agent_id': 'A3', 'task_id': 16, 'cost': 9}, {'agent_id': 'A3', 'task_id': 17, 'cost': 23}, {'agent_id': 'A4', 'task_id': 1, 'cost': 19}, {'agent_id': 'A4', 'task_id': 2, 'cost': 15}, {'agent_id': 'A4', 'task_id': 3, 'cost': 11}, {'agent_id': 'A4', 'task_id': 4, 'cost': 6}, {'agent_id': 'A4', 'task_id': 5, 'cost': 18}, {'agent_id': 'A4', 'task_id': 6, 'cost': 24}, {'agent_id': 'A4', 'task_id': 7, 'cost': 23}, {'agent_id': 'A4', 'task_id': 8, 'cost': 17}, {'agent_id': 'A4', 'task_id': 9, 'cost': 16}, {'agent_id': 'A4', 'task_id': 10, 'cost': 20}, {'agent_id': 'A4', 'task_id': 11, 'cost': 5}, {'agent_id': 'A4', 'task_id': 12, 'cost': 9}, {'agent_id': 'A4', 'task_id': 13, 'cost': 24}, {'agent_id': 'A4', 'task_id': 14, 'cost': 6}, {'agent_id': 'A4', 'task_id': 15, 'cost': 8}, {'agent_id': 'A4', 'task_id': 16, 'cost': 16}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A5', 'task_id': 1, 'cost': 6}, {'agent_id': 'A5', 'task_id': 2, 'cost': 19}, {'agent_id': 'A5', 'task_id': 3, 'cost': 20}, {'agent_id': 'A5', 'task_id': 4, 'cost': 12}, {'agent_id': 'A5', 'task_id': 5, 'cost': 7}, {'agent_id': 'A5', 'task_id': 6, 'cost': 12}, {'agent_id': 'A5', 'task_id': 7, 'cost': 11}, {'agent_id': 'A5', 'task_id': 8, 'cost': 10}, {'agent_id': 'A5', 'task_id': 9, 'cost': 18}, {'agent_id': 'A5', 'task_id': 10, 'cost': 14}, {'agent_id': 'A5', 'task_id': 11, 'cost': 16}, {'agent_id': 'A5', 'task_id': 12, 'cost': 17}, {'agent_id': 'A5', 'task_id': 13, 'cost': 18}, {'agent_id': 'A5', 'task_id': 14, 'cost': 17}, {'agent_id': 'A5', 'task_id': 15, 'cost': 11}, {'agent_id': 'A5', 'task_id': 16, 'cost': 11}, {'agent_id': 'A5', 'task_id': 17, 'cost': 22}, {'agent_id': 'A6', 'task_id': 1, 'cost': 23}, {'agent_id': 'A6', 'task_id': 2, 'cost': 7}, {'agent_id': 'A6', 'task_id': 3, 'cost': 13}, {'agent_id': 'A6', 'task_id': 4, 'cost': 14}, {'agent_id': 'A6', 'task_id': 5, 'cost': 14}, {'agent_id': 'A6', 'task_id': 6, 'cost': 24}, {'agent_id': 'A6', 'task_id': 7, 'cost': 5}, {'agent_id': 'A6', 'task_id': 8, 'cost': 21}, {'agent_id': 'A6', 'task_id': 9, 'cost': 16}, {'agent_id': 'A6', 'task_id': 10, 'cost': 21}, {'agent_id': 'A6', 'task_id': 11, 'cost': 13}, {'agent_id': 'A6', 'task_id': 12, 'cost': 7}, {'agent_id': 'A6', 'task_id': 13, 'cost': 8}, {'agent_id': 'A6', 'task_id': 14, 'cost': 19}, {'agent_id': 'A6', 'task_id': 15, 'cost': 16}, {'agent_id': 'A6', 'task_id': 16, 'cost': 12}, {'agent_id': 'A6', 'task_id': 17, 'cost': 11}]}","['A5', 'A6', 'A3', 'A4', 'A2', 'A3', 'A6', 'A1', 'A1', 'A5', 'A4', 'A6', 'A2', 'A4', 'A4', 'A3', 'A2']",24,nl,1 GAP,GAP,"I’m juggling a shoot where a bunch of scenes need to be handed off to film crews, and the job is to pick exactly one crew for each scene — no scene gets skipped or doubled up. Each possible crew–scene pairing already has a known number of shooting days it would take and a price tag, and each crew only has so many days available. The aim is to make the whole production bill as small as possible by adding up the price for every scene with the crew it’s assigned to and keeping that total down, while never giving any crew more days than they have and always assigning every scene to one crew. Concrete details about scenes, crews, days, and costs are shown below. Here are the specifics: I've got 8 crews and 21 scenes — crews are A1, A2, A3, A4, A5, A6, A7, A8 and scenes are A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U. Crew A1 has 962 available shooting days. Crew A2 has 963 available shooting days. Crew A3 has 951 available shooting days. Crew A4 has 969 available shooting days. Crew A5 has 948 available shooting days. Crew A6 has 953 available shooting days. Crew A7 has 968 available shooting days. Crew A8 has 958 available shooting days. Crew A1 shooting scene A would take 37 days and cost 16. Crew A1 shooting scene B would take 30 days and cost 17. Crew A1 shooting scene C would take 33 days and cost 5. Crew A1 shooting scene D would take 28 days and cost 20. Crew A1 shooting scene E would take 38 days and cost 19. Crew A1 shooting scene F would take 25 days and cost 16. Crew A1 shooting scene G would take 27 days and cost 23. Crew A1 shooting scene H would take 23 days and cost 21. Crew A1 shooting scene I would take 45 days and cost 21. Crew A1 shooting scene J would take 18 days and cost 24. Crew A1 shooting scene K would take 47 days and cost 13. Crew A1 shooting scene L would take 34 days and cost 14. Crew A1 shooting scene M would take 17 days and cost 13. Crew A1 shooting scene N would take 38 days and cost 24. Crew A1 shooting scene O would take 32 days and cost 5. Crew A1 shooting scene P would take 17 days and cost 19. Crew A1 shooting scene Q would take 27 days and cost 16. Crew A1 shooting scene R would take 29 days and cost 23. Crew A1 shooting scene S would take 37 days and cost 8. Crew A1 shooting scene T would take 16 days and cost 16. Crew A1 shooting scene U would take 42 days and cost 25. Crew A2 shooting scene A would take 16 days and cost 23. Crew A2 shooting scene B would take 30 days and cost 14. Crew A2 shooting scene C would take 35 days and cost 17. Crew A2 shooting scene D would take 29 days and cost 18. Crew A2 shooting scene E would take 37 days and cost 24. Crew A2 shooting scene F would take 21 days and cost 23. Crew A2 shooting scene G would take 21 days and cost 7. Crew A2 shooting scene H would take 16 days and cost 7. Crew A2 shooting scene I would take 50 days and cost 17. Crew A2 shooting scene J would take 42 days and cost 21. Crew A2 shooting scene K would take 35 days and cost 10. Crew A2 shooting scene L would take 47 days and cost 10. Crew A2 shooting scene M would take 15 days and cost 11. Crew A2 shooting scene N would take 15 days and cost 15. Crew A2 shooting scene O would take 44 days and cost 21. Crew A2 shooting scene P would take 50 days and cost 11. Crew A2 shooting scene Q would take 39 days and cost 22. Crew A2 shooting scene R would take 33 days and cost 5. Crew A2 shooting scene S would take 29 days and cost 8. Crew A2 shooting scene T would take 23 days and cost 7. Crew A2 shooting scene U would take 41 days and cost 5. Crew A3 shooting scene A would take 44 days and cost 18. Crew A3 shooting scene B would take 17 days and cost 24. Crew A3 shooting scene C would take 34 days and cost 5. Crew A3 shooting scene D would take 25 days and cost 8. Crew A3 shooting scene E would take 37 days and cost 16. Crew A3 shooting scene F would take 36 days and cost 8. Crew A3 shooting scene G would take 12 days and cost 7. Crew A3 shooting scene H would take 40 days and cost 16. Crew A3 shooting scene I would take 28 days and cost 24. Crew A3 shooting scene J would take 45 days and cost 6. Crew A3 shooting scene K would take 46 days and cost 6. Crew A3 shooting scene L would take 31 days and cost 5. Crew A3 shooting scene M would take 50 days and cost 25. Crew A3 shooting scene N would take 37 days and cost 13. Crew A3 shooting scene O would take 13 days and cost 18. Crew A3 shooting scene P would take 28 days and cost 15. Crew A3 shooting scene Q would take 19 days and cost 7. Crew A3 shooting scene R would take 24 days and cost 19. Crew A3 shooting scene S would take 43 days and cost 20. Crew A3 shooting scene T would take 13 days and cost 11. Crew A3 shooting scene U would take 28 days and cost 25. Crew A4 shooting scene A would take 13 days and cost 9. Crew A4 shooting scene B would take 21 days and cost 20. Crew A4 shooting scene C would take 47 days and cost 11. Crew A4 shooting scene D would take 16 days and cost 20. Crew A4 shooting scene E would take 41 days and cost 13. Crew A4 shooting scene F would take 31 days and cost 5. Crew A4 shooting scene G would take 11 days and cost 23. Crew A4 shooting scene H would take 41 days and cost 17. Crew A4 shooting scene I would take 26 days and cost 9. Crew A4 shooting scene J would take 10 days and cost 8. Crew A4 shooting scene K would take 43 days and cost 25. Crew A4 shooting scene L would take 32 days and cost 12. Crew A4 shooting scene M would take 16 days and cost 18. Crew A4 shooting scene N would take 26 days and cost 20. Crew A4 shooting scene O would take 22 days and cost 20. Crew A4 shooting scene P would take 30 days and cost 10. Crew A4 shooting scene Q would take 30 days and cost 19. Crew A4 shooting scene R would take 23 days and cost 18. Crew A4 shooting scene S would take 46 days and cost 14. Crew A4 shooting scene T would take 34 days and cost 9. Crew A4 shooting scene U would take 17 days and cost 16. Crew A5 shooting scene A would take 34 days and cost 11. Crew A5 shooting scene B would take 10 days and cost 17. Crew A5 shooting scene C would take 15 days and cost 8. Crew A5 shooting scene D would take 33 days and cost 7. Crew A5 shooting scene E would take 46 days and cost 17. Crew A5 shooting scene F would take 25 days and cost 7. Crew A5 shooting scene G would take 28 days and cost 22. Crew A5 shooting scene H would take 28 days and cost 6. Crew A5 shooting scene I would take 42 days and cost 22. Crew A5 shooting scene J would take 24 days and cost 20. Crew A5 shooting scene K would take 35 days and cost 23. Crew A5 shooting scene L would take 27 days and cost 12. Crew A5 shooting scene M would take 14 days and cost 5. Crew A5 shooting scene N would take 42 days and cost 15. Crew A5 shooting scene O would take 36 days and cost 23. Crew A5 shooting scene P would take 45 days and cost 17. Crew A5 shooting scene Q would take 31 days and cost 14. Crew A5 shooting scene R would take 14 days and cost 16. Crew A5 shooting scene S would take 16 days and cost 17. Crew A5 shooting scene T would take 20 days and cost 13. Crew A5 shooting scene U would take 45 days and cost 21. Crew A6 shooting scene A would take 19 days and cost 20. Crew A6 shooting scene B would take 19 days and cost 20. Crew A6 shooting scene C would take 33 days and cost 12. Crew A6 shooting scene D would take 42 days and cost 11. Crew A6 shooting scene E would take 44 days and cost 6. Crew A6 shooting scene F would take 13 days and cost 9. Crew A6 shooting scene G would take 28 days and cost 22. Crew A6 shooting scene H would take 41 days and cost 14. Crew A6 shooting scene I would take 38 days and cost 14. Crew A6 shooting scene J would take 33 days and cost 14. Crew A6 shooting scene K would take 10 days and cost 23. Crew A6 shooting scene L would take 20 days and cost 24. Crew A6 shooting scene M would take 25 days and cost 18. Crew A6 shooting scene N would take 30 days and cost 19. Crew A6 shooting scene O would take 40 days and cost 15. Crew A6 shooting scene P would take 24 days and cost 21. Crew A6 shooting scene Q would take 25 days and cost 5. Crew A6 shooting scene R would take 16 days and cost 12. Crew A6 shooting scene S would take 37 days and cost 7. Crew A6 shooting scene T would take 44 days and cost 15. Crew A6 shooting scene U would take 41 days and cost 12. Crew A7 shooting scene A would take 33 days and cost 20. Crew A7 shooting scene B would take 14 days and cost 9. Crew A7 shooting scene C would take 38 days and cost 11. Crew A7 shooting scene D would take 33 days and cost 9. Crew A7 shooting scene E would take 18 days and cost 11. Crew A7 shooting scene F would take 18 days and cost 20. Crew A7 shooting scene G would take 34 days and cost 12. Crew A7 shooting scene H would take 27 days and cost 22. Crew A7 shooting scene I would take 15 days and cost 24. Crew A7 shooting scene J would take 11 days and cost 5. Crew A7 shooting scene K would take 37 days and cost 13. Crew A7 shooting scene L would take 35 days and cost 25. Crew A7 shooting scene M would take 44 days and cost 23. Crew A7 shooting scene N would take 43 days and cost 18. Crew A7 shooting scene O would take 23 days and cost 13. Crew A7 shooting scene P would take 38 days and cost 18. Crew A7 shooting scene Q would take 18 days and cost 23. Crew A7 shooting scene R would take 15 days and cost 25. Crew A7 shooting scene S would take 30 days and cost 23. Crew A7 shooting scene T would take 35 days and cost 25. Crew A7 shooting scene U would take 19 days and cost 15. Crew A8 shooting scene A would take 20 days and cost 13. Crew A8 shooting scene B would take 33 days and cost 25. Crew A8 shooting scene C would take 15 days and cost 20. Crew A8 shooting scene D would take 37 days and cost 16. Crew A8 shooting scene E would take 12 days and cost 17. Crew A8 shooting scene F would take 28 days and cost 8. Crew A8 shooting scene G would take 36 days and cost 20. Crew A8 shooting scene H would take 36 days and cost 20. Crew A8 shooting scene I would take 13 days and cost 18. Crew A8 shooting scene J would take 48 days and cost 19. Crew A8 shooting scene K would take 25 days and cost 14. Crew A8 shooting scene L would take 50 days and cost 19. Crew A8 shooting scene M would take 29 days and cost 13. Crew A8 shooting scene N would take 49 days and cost 5. Crew A8 shooting scene O would take 37 days and cost 21. Crew A8 shooting scene P would take 45 days and cost 6. Crew A8 shooting scene Q would take 35 days and cost 19. Crew A8 shooting scene R would take 41 days and cost 16. Crew A8 shooting scene S would take 48 days and cost 5. Crew A8 shooting scene T would take 16 days and cost 24. Crew A8 shooting scene U would take 36 days and cost 7. That's the setup — assign exactly one crew to each scene without exceeding any crew's available days, and keep the total cost as low as possible. Also, to keep things machine-friendly (and simple for you), please shape your reply like this little JSON snippet so it's clear which crew goes with which scene: { ""solution"": [ , , ..., ] } Think of ""solution"" as a short form: it’s just a list, where the first entry is the crew assigned to the first scene, the second entry is the crew for the second scene, and so on. The angled placeholders are where you’d drop the actual crew identifiers from the instance. This is just the expected shape — not the final assignment itself. Please be sure to use the exact identifiers from the instance input — don’t rename them and don’t invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[37, 30, 33, 28, 38, 25, 27, 23, 45, 18, 47, 34, 17, 38, 32, 17, 27, 29, 37, 16, 42], [16, 30, 35, 29, 37, 21, 21, 16, 50, 42, 35, 47, 15, 15, 44, 50, 39, 33, 29, 23, 41], [44, 17, 34, 25, 37, 36, 12, 40, 28, 45, 46, 31, 50, 37, 13, 28, 19, 24, 43, 13, 28], [13, 21, 47, 16, 41, 31, 11, 41, 26, 10, 43, 32, 16, 26, 22, 30, 30, 23, 46, 34, 17], [34, 10, 15, 33, 46, 25, 28, 28, 42, 24, 35, 27, 14, 42, 36, 45, 31, 14, 16, 20, 45], [19, 19, 33, 42, 44, 13, 28, 41, 38, 33, 10, 20, 25, 30, 40, 24, 25, 16, 37, 44, 41], [33, 14, 38, 33, 18, 18, 34, 27, 15, 11, 37, 35, 44, 43, 23, 38, 18, 15, 30, 35, 19], [20, 33, 15, 37, 12, 28, 36, 36, 13, 48, 25, 50, 29, 49, 37, 45, 35, 41, 48, 16, 36]], 'assignment_costs': [[16, 17, 5, 20, 19, 16, 23, 21, 21, 24, 13, 14, 13, 24, 5, 19, 16, 23, 8, 16, 25], [23, 14, 17, 18, 24, 23, 7, 7, 17, 21, 10, 10, 11, 15, 21, 11, 22, 5, 8, 7, 5], [18, 24, 5, 8, 16, 8, 7, 16, 24, 6, 6, 5, 25, 13, 18, 15, 7, 19, 20, 11, 25], [9, 20, 11, 20, 13, 5, 23, 17, 9, 8, 25, 12, 18, 20, 20, 10, 19, 18, 14, 9, 16], [11, 17, 8, 7, 17, 7, 22, 6, 22, 20, 23, 12, 5, 15, 23, 17, 14, 16, 17, 13, 21], [20, 20, 12, 11, 6, 9, 22, 14, 14, 14, 23, 24, 18, 19, 15, 21, 5, 12, 7, 15, 12], [20, 9, 11, 9, 11, 20, 12, 22, 24, 5, 13, 25, 23, 18, 13, 18, 23, 25, 23, 25, 15], [13, 25, 20, 16, 17, 8, 20, 20, 18, 19, 14, 19, 13, 5, 21, 6, 19, 16, 5, 24, 7]], 'capacities': [962, 963, 951, 969, 948, 953, 968, 958], 'objective': 127.0}","[3, 6, 0, 4, 5, 3, 2, 4, 3, 6, 2, 2, 4, 7, 0, 7, 5, 1, 7, 1, 1]",127.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 962}, {'agent_id': 'A2', 'capacity': 963}, {'agent_id': 'A3', 'capacity': 951}, {'agent_id': 'A4', 'capacity': 969}, {'agent_id': 'A5', 'capacity': 948}, {'agent_id': 'A6', 'capacity': 953}, {'agent_id': 'A7', 'capacity': 968}, {'agent_id': 'A8', 'capacity': 958}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 38}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 18}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 17}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 38}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 32}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 17}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 29}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 16}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 42}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 16}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 29}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 37}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 16}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 42}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 47}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 39}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 29}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 41}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 44}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 17}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 36}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 40}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 50}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 13}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 19}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 43}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 13}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 13}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 47}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 41}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 11}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 46}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 34}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 34}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 46}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 42}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 24}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 35}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 42}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 36}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 45}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 45}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 19}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 19}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 33}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 13}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 28}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 33}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 10}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 20}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 30}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 16}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 11}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 37}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 30}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 19}, {'agent_id': 'A8', 'task_id': 'A', 'consumption': 20}, {'agent_id': 'A8', 'task_id': 'B', 'consumption': 33}, {'agent_id': 'A8', 'task_id': 'C', 'consumption': 15}, {'agent_id': 'A8', 'task_id': 'D', 'consumption': 37}, {'agent_id': 'A8', 'task_id': 'E', 'consumption': 12}, {'agent_id': 'A8', 'task_id': 'F', 'consumption': 28}, {'agent_id': 'A8', 'task_id': 'G', 'consumption': 36}, {'agent_id': 'A8', 'task_id': 'H', 'consumption': 36}, {'agent_id': 'A8', 'task_id': 'I', 'consumption': 13}, {'agent_id': 'A8', 'task_id': 'J', 'consumption': 48}, {'agent_id': 'A8', 'task_id': 'K', 'consumption': 25}, {'agent_id': 'A8', 'task_id': 'L', 'consumption': 50}, {'agent_id': 'A8', 'task_id': 'M', 'consumption': 29}, {'agent_id': 'A8', 'task_id': 'N', 'consumption': 49}, {'agent_id': 'A8', 'task_id': 'O', 'consumption': 37}, {'agent_id': 'A8', 'task_id': 'P', 'consumption': 45}, {'agent_id': 'A8', 'task_id': 'Q', 'consumption': 35}, {'agent_id': 'A8', 'task_id': 'R', 'consumption': 41}, {'agent_id': 'A8', 'task_id': 'S', 'consumption': 48}, {'agent_id': 'A8', 'task_id': 'T', 'consumption': 16}, {'agent_id': 'A8', 'task_id': 'U', 'consumption': 36}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 5}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 20}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 20}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 15}, {'agent_id': 'A8', 'task_id': 'A', 'cost': 13}, {'agent_id': 'A8', 'task_id': 'B', 'cost': 25}, {'agent_id': 'A8', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A8', 'task_id': 'D', 'cost': 16}, {'agent_id': 'A8', 'task_id': 'E', 'cost': 17}, {'agent_id': 'A8', 'task_id': 'F', 'cost': 8}, {'agent_id': 'A8', 'task_id': 'G', 'cost': 20}, {'agent_id': 'A8', 'task_id': 'H', 'cost': 20}, {'agent_id': 'A8', 'task_id': 'I', 'cost': 18}, {'agent_id': 'A8', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A8', 'task_id': 'K', 'cost': 14}, {'agent_id': 'A8', 'task_id': 'L', 'cost': 19}, {'agent_id': 'A8', 'task_id': 'M', 'cost': 13}, {'agent_id': 'A8', 'task_id': 'N', 'cost': 5}, {'agent_id': 'A8', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A8', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A8', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A8', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A8', 'task_id': 'S', 'cost': 5}, {'agent_id': 'A8', 'task_id': 'T', 'cost': 24}, {'agent_id': 'A8', 'task_id': 'U', 'cost': 7}]}","['A4', 'A7', 'A1', 'A5', 'A6', 'A4', 'A3', 'A5', 'A4', 'A7', 'A3', 'A3', 'A5', 'A8', 'A1', 'A8', 'A6', 'A2', 'A8', 'A2', 'A2']",25,nl,names GAP,GAP,"Many people pitched in to map this out: there’s a roster of yards and a set of landscaping teams, and for each possible pairing the foremen recorded the hours needed from that team and the price they’d charge. The objective is to give each yard to exactly one team (no yard left out or given twice), keep every team’s total hours within its daily limit, and minimize the overall contracting cost by summing the fees of the selected assignments. The detailed yard-by-team labor and cost numbers follow below. # num_teams=7 # num_yards=22 # teams=A1, A2, A3, A4, A5, A6, A7 # yards=A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V team_id,team_daily_capacity_hours A1,192 A2,192 A3,192 A4,192 A5,192 A6,192 A7,192 team_id,yard_id,labor_hours_required A1,A,13 A1,B,47 A1,C,48 A1,D,28 A1,E,47 A1,F,12 A1,G,25 A1,H,21 A1,I,48 A1,J,27 A1,K,42 A1,L,40 A1,M,49 A1,N,38 A1,O,21 A1,P,39 A1,Q,20 A1,R,10 A1,S,39 A1,T,43 A1,U,15 A1,V,37 A2,A,45 A2,B,23 A2,C,20 A2,D,44 A2,E,42 A2,F,20 A2,G,15 A2,H,33 A2,I,15 A2,J,26 A2,K,47 A2,L,12 A2,M,27 A2,N,43 A2,O,22 A2,P,32 A2,Q,40 A2,R,43 A2,S,20 A2,T,20 A2,U,36 A2,V,14 A3,A,30 A3,B,27 A3,C,29 A3,D,10 A3,E,48 A3,F,29 A3,G,10 A3,H,46 A3,I,23 A3,J,26 A3,K,39 A3,L,31 A3,M,42 A3,N,25 A3,O,24 A3,P,10 A3,Q,12 A3,R,34 A3,S,20 A3,T,39 A3,U,36 A3,V,26 A4,A,32 A4,B,44 A4,C,47 A4,D,49 A4,E,40 A4,F,50 A4,G,17 A4,H,14 A4,I,25 A4,J,39 A4,K,12 A4,L,42 A4,M,25 A4,N,10 A4,O,34 A4,P,43 A4,Q,42 A4,R,48 A4,S,10 A4,T,43 A4,U,48 A4,V,33 A5,A,16 A5,B,15 A5,C,41 A5,D,43 A5,E,13 A5,F,43 A5,G,16 A5,H,34 A5,I,29 A5,J,17 A5,K,20 A5,L,12 A5,M,28 A5,N,33 A5,O,13 A5,P,25 A5,Q,48 A5,R,20 A5,S,37 A5,T,28 A5,U,20 A5,V,49 A6,A,23 A6,B,28 A6,C,15 A6,D,20 A6,E,34 A6,F,38 A6,G,35 A6,H,47 A6,I,11 A6,J,12 A6,K,29 A6,L,47 A6,M,12 A6,N,39 A6,O,12 A6,P,17 A6,Q,23 A6,R,22 A6,S,24 A6,T,49 A6,U,40 A6,V,25 A7,A,41 A7,B,35 A7,C,43 A7,D,48 A7,E,13 A7,F,35 A7,G,39 A7,H,22 A7,I,34 A7,J,36 A7,K,38 A7,L,13 A7,M,27 A7,N,12 A7,O,34 A7,P,33 A7,Q,14 A7,R,35 A7,S,35 A7,T,12 A7,U,48 A7,V,41 team_id,yard_id,contract_charge A1,A,22 A1,B,14 A1,C,12 A1,D,18 A1,E,9 A1,F,25 A1,G,13 A1,H,6 A1,I,14 A1,J,8 A1,K,6 A1,L,13 A1,M,24 A1,N,8 A1,O,14 A1,P,18 A1,Q,10 A1,R,19 A1,S,16 A1,T,13 A1,U,13 A1,V,21 A2,A,8 A2,B,20 A2,C,25 A2,D,5 A2,E,7 A2,F,17 A2,G,10 A2,H,5 A2,I,12 A2,J,9 A2,K,7 A2,L,6 A2,M,6 A2,N,14 A2,O,6 A2,P,22 A2,Q,16 A2,R,13 A2,S,9 A2,T,5 A2,U,22 A2,V,16 A3,A,10 A3,B,8 A3,C,7 A3,D,18 A3,E,24 A3,F,11 A3,G,11 A3,H,24 A3,I,12 A3,J,5 A3,K,7 A3,L,8 A3,M,18 A3,N,9 A3,O,21 A3,P,13 A3,Q,20 A3,R,16 A3,S,8 A3,T,6 A3,U,12 A3,V,24 A4,A,15 A4,B,9 A4,C,8 A4,D,15 A4,E,22 A4,F,9 A4,G,21 A4,H,8 A4,I,6 A4,J,20 A4,K,7 A4,L,9 A4,M,11 A4,N,11 A4,O,25 A4,P,17 A4,Q,23 A4,R,11 A4,S,6 A4,T,13 A4,U,14 A4,V,10 A5,A,7 A5,B,14 A5,C,22 A5,D,5 A5,E,14 A5,F,13 A5,G,23 A5,H,10 A5,I,6 A5,J,7 A5,K,7 A5,L,18 A5,M,20 A5,N,10 A5,O,15 A5,P,21 A5,Q,5 A5,R,8 A5,S,20 A5,T,12 A5,U,10 A5,V,14 A6,A,6 A6,B,14 A6,C,7 A6,D,17 A6,E,16 A6,F,7 A6,G,10 A6,H,22 A6,I,11 A6,J,25 A6,K,17 A6,L,21 A6,M,22 A6,N,13 A6,O,22 A6,P,8 A6,Q,9 A6,R,7 A6,S,23 A6,T,17 A6,U,22 A6,V,22 A7,A,23 A7,B,8 A7,C,16 A7,D,12 A7,E,7 A7,F,13 A7,G,19 A7,H,18 A7,I,25 A7,J,5 A7,K,24 A7,L,11 A7,M,12 A7,N,19 A7,O,5 A7,P,9 A7,Q,23 A7,R,21 A7,S,24 A7,T,5 A7,U,7 A7,V,18 If you're going to send back the chosen assignments, just drop them in a tiny JSON snippet like this so it's easy to parse: { ""solution"": [ , , ..., ] } Think of that as a simple form: ""solution"" is the list, and each slot in the list is the team that will take the corresponding yard (first yard → first entry, second yard → second entry, and so on). This JSON is just a sketch of the shape I expect, not the final answer itself. Please make sure to use the exact identifiers from the instance input — do not rename or invent labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[13, 47, 48, 28, 47, 12, 25, 21, 48, 27, 42, 40, 49, 38, 21, 39, 20, 10, 39, 43, 15, 37], [45, 23, 20, 44, 42, 20, 15, 33, 15, 26, 47, 12, 27, 43, 22, 32, 40, 43, 20, 20, 36, 14], [30, 27, 29, 10, 48, 29, 10, 46, 23, 26, 39, 31, 42, 25, 24, 10, 12, 34, 20, 39, 36, 26], [32, 44, 47, 49, 40, 50, 17, 14, 25, 39, 12, 42, 25, 10, 34, 43, 42, 48, 10, 43, 48, 33], [16, 15, 41, 43, 13, 43, 16, 34, 29, 17, 20, 12, 28, 33, 13, 25, 48, 20, 37, 28, 20, 49], [23, 28, 15, 20, 34, 38, 35, 47, 11, 12, 29, 47, 12, 39, 12, 17, 23, 22, 24, 49, 40, 25], [41, 35, 43, 48, 13, 35, 39, 22, 34, 36, 38, 13, 27, 12, 34, 33, 14, 35, 35, 12, 48, 41]], 'assignment_costs': [[22, 14, 12, 18, 9, 25, 13, 6, 14, 8, 6, 13, 24, 8, 14, 18, 10, 19, 16, 13, 13, 21], [8, 20, 25, 5, 7, 17, 10, 5, 12, 9, 7, 6, 6, 14, 6, 22, 16, 13, 9, 5, 22, 16], [10, 8, 7, 18, 24, 11, 11, 24, 12, 5, 7, 8, 18, 9, 21, 13, 20, 16, 8, 6, 12, 24], [15, 9, 8, 15, 22, 9, 21, 8, 6, 20, 7, 9, 11, 11, 25, 17, 23, 11, 6, 13, 14, 10], [7, 14, 22, 5, 14, 13, 23, 10, 6, 7, 7, 18, 20, 10, 15, 21, 5, 8, 20, 12, 10, 14], [6, 14, 7, 17, 16, 7, 10, 22, 11, 25, 17, 21, 22, 13, 22, 8, 9, 7, 23, 17, 22, 22], [23, 8, 16, 12, 7, 13, 19, 18, 25, 5, 24, 11, 12, 19, 5, 9, 23, 21, 24, 5, 7, 18]], 'capacities': [192, 192, 192, 192, 192, 192, 192], 'objective': 145.0}","[5, 2, 5, 1, 6, 5, 1, 1, 3, 2, 0, 1, 1, 0, 6, 5, 4, 5, 3, 6, 6, 3]",145.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 192}, {'agent_id': 'A2', 'capacity': 192}, {'agent_id': 'A3', 'capacity': 192}, {'agent_id': 'A4', 'capacity': 192}, {'agent_id': 'A5', 'capacity': 192}, {'agent_id': 'A6', 'capacity': 192}, {'agent_id': 'A7', 'capacity': 192}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 13}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 12}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 42}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 49}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 38}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 39}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 20}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 10}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 39}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 43}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 15}, {'agent_id': 'A1', 'task_id': 'V', 'consumption': 37}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 45}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 42}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 47}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 12}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 27}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 22}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 32}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 36}, {'agent_id': 'A2', 'task_id': 'V', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 27}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 48}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 26}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 42}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 25}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 24}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 20}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 36}, {'agent_id': 'A3', 'task_id': 'V', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 32}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 47}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 49}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 40}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 50}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 17}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 34}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'V', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 41}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 34}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 29}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'V', 'consumption': 49}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 28}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 15}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 20}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 39}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 17}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 49}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'V', 'consumption': 25}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 12}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'V', 'consumption': 41}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 25}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'V', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'V', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'V', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'V', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'V', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'V', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'V', 'cost': 18}]}","['A6', 'A3', 'A6', 'A2', 'A7', 'A6', 'A2', 'A2', 'A4', 'A3', 'A1', 'A2', 'A2', 'A1', 'A7', 'A6', 'A5', 'A6', 'A4', 'A7', 'A7', 'A4']",26,csv,names GAP,GAP,"Many people on the shift depend on a clear assignment: all customer orders must be allocated to one picker apiece, nothing left out or duplicated, and each picker has only so much volume they can pick. For every pairing of order and picker someone has already recorded how much capacity that order would consume on that picker and what the picking cost would be. The priority is simple: minimize the overall picking cost — sum the costs of the chosen picker for every order — while making sure no picker’s total picked volume goes over their capacity. The detailed order-by-picker volumes and costs are below. They list 8 pickers (A1, A2, A3, A4, A5, A6, A7, A8) and 23 orders (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23). Picker A1 has capacity 115. Picker A2 has capacity 111. Picker A3 has capacity 121. Picker A4 has capacity 121. Picker A5 has capacity 114. Picker A6 has capacity 112. Picker A7 has capacity 112. Picker A8 has capacity 118. Picker A1 — order 1: consumption 28, cost 20. Picker A1 — order 2: consumption 25, cost 7. Picker A1 — order 3: consumption 27, cost 13. Picker A1 — order 4: consumption 37, cost 11. Picker A1 — order 5: consumption 19, cost 25. Picker A1 — order 6: consumption 47, cost 21. Picker A1 — order 7: consumption 24, cost 24. Picker A1 — order 8: consumption 42, cost 17. Picker A1 — order 9: consumption 14, cost 25. Picker A1 — order 10: consumption 24, cost 14. Picker A1 — order 11: consumption 50, cost 5. Picker A1 — order 12: consumption 49, cost 20. Picker A1 — order 13: consumption 43, cost 24. Picker A1 — order 14: consumption 28, cost 12. Picker A1 — order 15: consumption 27, cost 7. Picker A1 — order 16: consumption 18, cost 14. Picker A1 — order 17: consumption 48, cost 9. Picker A1 — order 18: consumption 36, cost 16. Picker A1 — order 19: consumption 36, cost 23. Picker A1 — order 20: consumption 37, cost 9. Picker A1 — order 21: consumption 26, cost 7. Picker A1 — order 22: consumption 34, cost 16. Picker A1 — order 23: consumption 43, cost 18. Picker A2 — order 1: consumption 45, cost 11. Picker A2 — order 2: consumption 17, cost 15. Picker A2 — order 3: consumption 26, cost 25. Picker A2 — order 4: consumption 30, cost 18. Picker A2 — order 5: consumption 16, cost 17. Picker A2 — order 6: consumption 21, cost 14. Picker A2 — order 7: consumption 48, cost 14. Picker A2 — order 8: consumption 12, cost 15. Picker A2 — order 9: consumption 35, cost 17. Picker A2 — order 10: consumption 32, cost 22. Picker A2 — order 11: consumption 45, cost 12. Picker A2 — order 12: consumption 16, cost 19. Picker A2 — order 13: consumption 31, cost 9. Picker A2 — order 14: consumption 20, cost 10. Picker A2 — order 15: consumption 29, cost 7. Picker A2 — order 16: consumption 27, cost 21. Picker A2 — order 17: consumption 30, cost 10. Picker A2 — order 18: consumption 41, cost 5. Picker A2 — order 19: consumption 50, cost 22. Picker A2 — order 20: consumption 47, cost 23. Picker A2 — order 21: consumption 39, cost 7. Picker A2 — order 22: consumption 16, cost 20. Picker A2 — order 23: consumption 40, cost 10. Picker A3 — order 1: consumption 34, cost 20. Picker A3 — order 2: consumption 49, cost 13. Picker A3 — order 3: consumption 40, cost 17. Picker A3 — order 4: consumption 12, cost 17. Picker A3 — order 5: consumption 24, cost 20. Picker A3 — order 6: consumption 11, cost 17. Picker A3 — order 7: consumption 28, cost 25. Picker A3 — order 8: consumption 42, cost 10. Picker A3 — order 9: consumption 37, cost 15. Picker A3 — order 10: consumption 27, cost 8. Picker A3 — order 11: consumption 41, cost 25. Picker A3 — order 12: consumption 11, cost 20. Picker A3 — order 13: consumption 12, cost 9. Picker A3 — order 14: consumption 33, cost 19. Picker A3 — order 15: consumption 28, cost 11. Picker A3 — order 16: consumption 40, cost 24. Picker A3 — order 17: consumption 37, cost 8. Picker A3 — order 18: consumption 48, cost 6. Picker A3 — order 19: consumption 30, cost 16. Picker A3 — order 20: consumption 43, cost 21. Picker A3 — order 21: consumption 32, cost 22. Picker A3 — order 22: consumption 24, cost 10. Picker A3 — order 23: consumption 31, cost 12. Picker A4 — order 1: consumption 18, cost 8. Picker A4 — order 2: consumption 11, cost 10. Picker A4 — order 3: consumption 42, cost 21. Picker A4 — order 4: consumption 11, cost 17. Picker A4 — order 5: consumption 28, cost 15. Picker A4 — order 6: consumption 40, cost 15. Picker A4 — order 7: consumption 15, cost 16. Picker A4 — order 8: consumption 32, cost 22. Picker A4 — order 9: consumption 44, cost 21. Picker A4 — order 10: consumption 27, cost 8. Picker A4 — order 11: consumption 16, cost 17. Picker A4 — order 12: consumption 25, cost 21. Picker A4 — order 13: consumption 42, cost 25. Picker A4 — order 14: consumption 20, cost 9. Picker A4 — order 15: consumption 16, cost 13. Picker A4 — order 16: consumption 21, cost 9. Picker A4 — order 17: consumption 39, cost 21. Picker A4 — order 18: consumption 44, cost 15. Picker A4 — order 19: consumption 46, cost 16. Picker A4 — order 20: consumption 36, cost 11. Picker A4 — order 21: consumption 43, cost 11. Picker A4 — order 22: consumption 34, cost 22. Picker A4 — order 23: consumption 26, cost 21. Picker A5 — order 1: consumption 22, cost 14. Picker A5 — order 2: consumption 27, cost 18. Picker A5 — order 3: consumption 13, cost 23. Picker A5 — order 4: consumption 16, cost 23. Picker A5 — order 5: consumption 46, cost 10. Picker A5 — order 6: consumption 41, cost 23. Picker A5 — order 7: consumption 41, cost 19. Picker A5 — order 8: consumption 29, cost 6. Picker A5 — order 9: consumption 44, cost 12. Picker A5 — order 10: consumption 18, cost 16. Picker A5 — order 11: consumption 19, cost 19. Picker A5 — order 12: consumption 22, cost 12. Picker A5 — order 13: consumption 14, cost 17. Picker A5 — order 14: consumption 27, cost 13. Picker A5 — order 15: consumption 46, cost 24. Picker A5 — order 16: consumption 23, cost 6. Picker A5 — order 17: consumption 29, cost 18. Picker A5 — order 18: consumption 25, cost 8. Picker A5 — order 19: consumption 38, cost 17. Picker A5 — order 20: consumption 13, cost 9. Picker A5 — order 21: consumption 42, cost 10. Picker A5 — order 22: consumption 28, cost 18. Picker A5 — order 23: consumption 42, cost 12. Picker A6 — order 1: consumption 47, cost 7. Picker A6 — order 2: consumption 10, cost 9. Picker A6 — order 3: consumption 15, cost 12. Picker A6 — order 4: consumption 18, cost 21. Picker A6 — order 5: consumption 43, cost 19. Picker A6 — order 6: consumption 43, cost 19. Picker A6 — order 7: consumption 25, cost 20. Picker A6 — order 8: consumption 22, cost 15. Picker A6 — order 9: consumption 31, cost 12. Picker A6 — order 10: consumption 10, cost 5. Picker A6 — order 11: consumption 34, cost 18. Picker A6 — order 12: consumption 44, cost 10. Picker A6 — order 13: consumption 28, cost 11. Picker A6 — order 14: consumption 45, cost 12. Picker A6 — order 15: consumption 28, cost 7. Picker A6 — order 16: consumption 43, cost 18. Picker A6 — order 17: consumption 34, cost 18. Picker A6 — order 18: consumption 12, cost 12. Picker A6 — order 19: consumption 32, cost 11. Picker A6 — order 20: consumption 20, cost 8. Picker A6 — order 21: consumption 20, cost 12. Picker A6 — order 22: consumption 20, cost 12. Picker A6 — order 23: consumption 28, cost 8. Picker A7 — order 1: consumption 14, cost 16. Picker A7 — order 2: consumption 41, cost 7. Picker A7 — order 3: consumption 21, cost 21. Picker A7 — order 4: consumption 11, cost 16. Picker A7 — order 5: consumption 27, cost 14. Picker A7 — order 6: consumption 45, cost 5. Picker A7 — order 7: consumption 12, cost 11. Picker A7 — order 8: consumption 19, cost 18. Picker A7 — order 9: consumption 37, cost 18. Picker A7 — order 10: consumption 32, cost 24. Picker A7 — order 11: consumption 17, cost 16. Picker A7 — order 12: consumption 19, cost 18. Picker A7 — order 13: consumption 10, cost 13. Picker A7 — order 14: consumption 50, cost 11. Picker A7 — order 15: consumption 39, cost 15. Picker A7 — order 16: consumption 26, cost 15. Picker A7 — order 17: consumption 42, cost 22. Picker A7 — order 18: consumption 28, cost 17. Picker A7 — order 19: consumption 19, cost 5. Picker A7 — order 20: consumption 17, cost 13. Picker A7 — order 21: consumption 23, cost 17. Picker A7 — order 22: consumption 13, cost 6. Picker A7 — order 23: consumption 21, cost 19. Picker A8 — order 1: consumption 21, cost 14. Picker A8 — order 2: consumption 42, cost 23. Picker A8 — order 3: consumption 49, cost 8. Picker A8 — order 4: consumption 18, cost 6. Picker A8 — order 5: consumption 12, cost 16. Picker A8 — order 6: consumption 42, cost 20. Picker A8 — order 7: consumption 21, cost 21. Picker A8 — order 8: consumption 20, cost 18. Picker A8 — order 9: consumption 23, cost 22. Picker A8 — order 10: consumption 41, cost 11. Picker A8 — order 11: consumption 22, cost 15. Picker A8 — order 12: consumption 18, cost 20. Picker A8 — order 13: consumption 16, cost 25. Picker A8 — order 14: consumption 24, cost 21. Picker A8 — order 15: consumption 17, cost 16. Picker A8 — order 16: consumption 10, cost 20. Picker A8 — order 17: consumption 12, cost 7. Picker A8 — order 18: consumption 25, cost 24. Picker A8 — order 19: consumption 14, cost 8. Picker A8 — order 20: consumption 13, cost 12. Picker A8 — order 21: consumption 48, cost 15. Picker A8 — order 22: consumption 35, cost 5. Picker A8 — order 23: consumption 23, cost 24. Each order must be assigned to exactly one picker without exceeding any picker's capacity, with the goal of minimizing total picking cost. You can just return the assignment in this little JSON shape — a ""solution"" array listing, in order, which picker handles each order. { ""solution"": [ , , ..., ] } Pretty simple: the ""solution"" array has one entry per order (first entry = first order, second = second order, etc.), and each entry names the picker assigned to that order. Think of it like filling out a form: order 1 → picker X, order 2 → picker Y. This is just a sketch of the shape I need, not the actual assignments. Please make sure to use the exact identifiers from the instance input — do not rename or invent labels. Valid identifiers look like: - plain numbers such as “1” or “23” - single capital letters like “A” or “B” - a capital letter followed by digits like “A1” or “X7”","{'resource_consumption': [[28, 25, 27, 37, 19, 47, 24, 42, 14, 24, 50, 49, 43, 28, 27, 18, 48, 36, 36, 37, 26, 34, 43], [45, 17, 26, 30, 16, 21, 48, 12, 35, 32, 45, 16, 31, 20, 29, 27, 30, 41, 50, 47, 39, 16, 40], [34, 49, 40, 12, 24, 11, 28, 42, 37, 27, 41, 11, 12, 33, 28, 40, 37, 48, 30, 43, 32, 24, 31], [18, 11, 42, 11, 28, 40, 15, 32, 44, 27, 16, 25, 42, 20, 16, 21, 39, 44, 46, 36, 43, 34, 26], [22, 27, 13, 16, 46, 41, 41, 29, 44, 18, 19, 22, 14, 27, 46, 23, 29, 25, 38, 13, 42, 28, 42], [47, 10, 15, 18, 43, 43, 25, 22, 31, 10, 34, 44, 28, 45, 28, 43, 34, 12, 32, 20, 20, 20, 28], [14, 41, 21, 11, 27, 45, 12, 19, 37, 32, 17, 19, 10, 50, 39, 26, 42, 28, 19, 17, 23, 13, 21], [21, 42, 49, 18, 12, 42, 21, 20, 23, 41, 22, 18, 16, 24, 17, 10, 12, 25, 14, 13, 48, 35, 23]], 'assignment_costs': [[20, 7, 13, 11, 25, 21, 24, 17, 25, 14, 5, 20, 24, 12, 7, 14, 9, 16, 23, 9, 7, 16, 18], [11, 15, 25, 18, 17, 14, 14, 15, 17, 22, 12, 19, 9, 10, 7, 21, 10, 5, 22, 23, 7, 20, 10], [20, 13, 17, 17, 20, 17, 25, 10, 15, 8, 25, 20, 9, 19, 11, 24, 8, 6, 16, 21, 22, 10, 12], [8, 10, 21, 17, 15, 15, 16, 22, 21, 8, 17, 21, 25, 9, 13, 9, 21, 15, 16, 11, 11, 22, 21], [14, 18, 23, 23, 10, 23, 19, 6, 12, 16, 19, 12, 17, 13, 24, 6, 18, 8, 17, 9, 10, 18, 12], [7, 9, 12, 21, 19, 19, 20, 15, 12, 5, 18, 10, 11, 12, 7, 18, 18, 12, 11, 8, 12, 12, 8], [16, 7, 21, 16, 14, 5, 11, 18, 18, 24, 16, 18, 13, 11, 15, 15, 22, 17, 5, 13, 17, 6, 19], [14, 23, 8, 6, 16, 20, 21, 18, 22, 11, 15, 20, 25, 21, 16, 20, 7, 24, 8, 12, 15, 5, 24]], 'capacities': [115, 111, 121, 121, 114, 112, 112, 118], 'objective': 171.0}","[3, 0, 7, 7, 4, 6, 6, 4, 5, 5, 0, 5, 2, 3, 1, 4, 7, 1, 6, 5, 0, 7, 1]",171.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 115}, {'agent_id': 'A2', 'capacity': 111}, {'agent_id': 'A3', 'capacity': 121}, {'agent_id': 'A4', 'capacity': 121}, {'agent_id': 'A5', 'capacity': 114}, {'agent_id': 'A6', 'capacity': 112}, {'agent_id': 'A7', 'capacity': 112}, {'agent_id': 'A8', 'capacity': 118}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 14}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 23}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 20}, {'agent_id': 'A1', 'task_id': 2, 'cost': 7}, {'agent_id': 'A1', 'task_id': 3, 'cost': 13}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 25}, {'agent_id': 'A1', 'task_id': 6, 'cost': 21}, {'agent_id': 'A1', 'task_id': 7, 'cost': 24}, {'agent_id': 'A1', 'task_id': 8, 'cost': 17}, {'agent_id': 'A1', 'task_id': 9, 'cost': 25}, {'agent_id': 'A1', 'task_id': 10, 'cost': 14}, {'agent_id': 'A1', 'task_id': 11, 'cost': 5}, {'agent_id': 'A1', 'task_id': 12, 'cost': 20}, {'agent_id': 'A1', 'task_id': 13, 'cost': 24}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 7}, {'agent_id': 'A1', 'task_id': 16, 'cost': 14}, {'agent_id': 'A1', 'task_id': 17, 'cost': 9}, {'agent_id': 'A1', 'task_id': 18, 'cost': 16}, {'agent_id': 'A1', 'task_id': 19, 'cost': 23}, {'agent_id': 'A1', 'task_id': 20, 'cost': 9}, {'agent_id': 'A1', 'task_id': 21, 'cost': 7}, {'agent_id': 'A1', 'task_id': 22, 'cost': 16}, {'agent_id': 'A1', 'task_id': 23, 'cost': 18}, {'agent_id': 'A2', 'task_id': 1, 'cost': 11}, {'agent_id': 'A2', 'task_id': 2, 'cost': 15}, {'agent_id': 'A2', 'task_id': 3, 'cost': 25}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 17}, {'agent_id': 'A2', 'task_id': 6, 'cost': 14}, {'agent_id': 'A2', 'task_id': 7, 'cost': 14}, {'agent_id': 'A2', 'task_id': 8, 'cost': 15}, {'agent_id': 'A2', 'task_id': 9, 'cost': 17}, {'agent_id': 'A2', 'task_id': 10, 'cost': 22}, {'agent_id': 'A2', 'task_id': 11, 'cost': 12}, {'agent_id': 'A2', 'task_id': 12, 'cost': 19}, {'agent_id': 'A2', 'task_id': 13, 'cost': 9}, {'agent_id': 'A2', 'task_id': 14, 'cost': 10}, {'agent_id': 'A2', 'task_id': 15, 'cost': 7}, {'agent_id': 'A2', 'task_id': 16, 'cost': 21}, {'agent_id': 'A2', 'task_id': 17, 'cost': 10}, {'agent_id': 'A2', 'task_id': 18, 'cost': 5}, {'agent_id': 'A2', 'task_id': 19, 'cost': 22}, {'agent_id': 'A2', 'task_id': 20, 'cost': 23}, {'agent_id': 'A2', 'task_id': 21, 'cost': 7}, {'agent_id': 'A2', 'task_id': 22, 'cost': 20}, {'agent_id': 'A2', 'task_id': 23, 'cost': 10}, {'agent_id': 'A3', 'task_id': 1, 'cost': 20}, {'agent_id': 'A3', 'task_id': 2, 'cost': 13}, {'agent_id': 'A3', 'task_id': 3, 'cost': 17}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 20}, {'agent_id': 'A3', 'task_id': 6, 'cost': 17}, {'agent_id': 'A3', 'task_id': 7, 'cost': 25}, {'agent_id': 'A3', 'task_id': 8, 'cost': 10}, {'agent_id': 'A3', 'task_id': 9, 'cost': 15}, {'agent_id': 'A3', 'task_id': 10, 'cost': 8}, {'agent_id': 'A3', 'task_id': 11, 'cost': 25}, {'agent_id': 'A3', 'task_id': 12, 'cost': 20}, {'agent_id': 'A3', 'task_id': 13, 'cost': 9}, {'agent_id': 'A3', 'task_id': 14, 'cost': 19}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 24}, {'agent_id': 'A3', 'task_id': 17, 'cost': 8}, {'agent_id': 'A3', 'task_id': 18, 'cost': 6}, {'agent_id': 'A3', 'task_id': 19, 'cost': 16}, {'agent_id': 'A3', 'task_id': 20, 'cost': 21}, {'agent_id': 'A3', 'task_id': 21, 'cost': 22}, {'agent_id': 'A3', 'task_id': 22, 'cost': 10}, {'agent_id': 'A3', 'task_id': 23, 'cost': 12}, {'agent_id': 'A4', 'task_id': 1, 'cost': 8}, {'agent_id': 'A4', 'task_id': 2, 'cost': 10}, {'agent_id': 'A4', 'task_id': 3, 'cost': 21}, {'agent_id': 'A4', 'task_id': 4, 'cost': 17}, {'agent_id': 'A4', 'task_id': 5, 'cost': 15}, {'agent_id': 'A4', 'task_id': 6, 'cost': 15}, {'agent_id': 'A4', 'task_id': 7, 'cost': 16}, {'agent_id': 'A4', 'task_id': 8, 'cost': 22}, {'agent_id': 'A4', 'task_id': 9, 'cost': 21}, {'agent_id': 'A4', 'task_id': 10, 'cost': 8}, {'agent_id': 'A4', 'task_id': 11, 'cost': 17}, {'agent_id': 'A4', 'task_id': 12, 'cost': 21}, {'agent_id': 'A4', 'task_id': 13, 'cost': 25}, {'agent_id': 'A4', 'task_id': 14, 'cost': 9}, {'agent_id': 'A4', 'task_id': 15, 'cost': 13}, {'agent_id': 'A4', 'task_id': 16, 'cost': 9}, {'agent_id': 'A4', 'task_id': 17, 'cost': 21}, {'agent_id': 'A4', 'task_id': 18, 'cost': 15}, {'agent_id': 'A4', 'task_id': 19, 'cost': 16}, {'agent_id': 'A4', 'task_id': 20, 'cost': 11}, {'agent_id': 'A4', 'task_id': 21, 'cost': 11}, {'agent_id': 'A4', 'task_id': 22, 'cost': 22}, {'agent_id': 'A4', 'task_id': 23, 'cost': 21}, {'agent_id': 'A5', 'task_id': 1, 'cost': 14}, {'agent_id': 'A5', 'task_id': 2, 'cost': 18}, {'agent_id': 'A5', 'task_id': 3, 'cost': 23}, {'agent_id': 'A5', 'task_id': 4, 'cost': 23}, {'agent_id': 'A5', 'task_id': 5, 'cost': 10}, {'agent_id': 'A5', 'task_id': 6, 'cost': 23}, {'agent_id': 'A5', 'task_id': 7, 'cost': 19}, {'agent_id': 'A5', 'task_id': 8, 'cost': 6}, {'agent_id': 'A5', 'task_id': 9, 'cost': 12}, {'agent_id': 'A5', 'task_id': 10, 'cost': 16}, {'agent_id': 'A5', 'task_id': 11, 'cost': 19}, {'agent_id': 'A5', 'task_id': 12, 'cost': 12}, {'agent_id': 'A5', 'task_id': 13, 'cost': 17}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 24}, {'agent_id': 'A5', 'task_id': 16, 'cost': 6}, {'agent_id': 'A5', 'task_id': 17, 'cost': 18}, {'agent_id': 'A5', 'task_id': 18, 'cost': 8}, {'agent_id': 'A5', 'task_id': 19, 'cost': 17}, {'agent_id': 'A5', 'task_id': 20, 'cost': 9}, {'agent_id': 'A5', 'task_id': 21, 'cost': 10}, {'agent_id': 'A5', 'task_id': 22, 'cost': 18}, {'agent_id': 'A5', 'task_id': 23, 'cost': 12}, {'agent_id': 'A6', 'task_id': 1, 'cost': 7}, {'agent_id': 'A6', 'task_id': 2, 'cost': 9}, {'agent_id': 'A6', 'task_id': 3, 'cost': 12}, {'agent_id': 'A6', 'task_id': 4, 'cost': 21}, {'agent_id': 'A6', 'task_id': 5, 'cost': 19}, {'agent_id': 'A6', 'task_id': 6, 'cost': 19}, {'agent_id': 'A6', 'task_id': 7, 'cost': 20}, {'agent_id': 'A6', 'task_id': 8, 'cost': 15}, {'agent_id': 'A6', 'task_id': 9, 'cost': 12}, {'agent_id': 'A6', 'task_id': 10, 'cost': 5}, {'agent_id': 'A6', 'task_id': 11, 'cost': 18}, {'agent_id': 'A6', 'task_id': 12, 'cost': 10}, {'agent_id': 'A6', 'task_id': 13, 'cost': 11}, {'agent_id': 'A6', 'task_id': 14, 'cost': 12}, {'agent_id': 'A6', 'task_id': 15, 'cost': 7}, {'agent_id': 'A6', 'task_id': 16, 'cost': 18}, {'agent_id': 'A6', 'task_id': 17, 'cost': 18}, {'agent_id': 'A6', 'task_id': 18, 'cost': 12}, {'agent_id': 'A6', 'task_id': 19, 'cost': 11}, {'agent_id': 'A6', 'task_id': 20, 'cost': 8}, {'agent_id': 'A6', 'task_id': 21, 'cost': 12}, {'agent_id': 'A6', 'task_id': 22, 'cost': 12}, {'agent_id': 'A6', 'task_id': 23, 'cost': 8}, {'agent_id': 'A7', 'task_id': 1, 'cost': 16}, {'agent_id': 'A7', 'task_id': 2, 'cost': 7}, {'agent_id': 'A7', 'task_id': 3, 'cost': 21}, {'agent_id': 'A7', 'task_id': 4, 'cost': 16}, {'agent_id': 'A7', 'task_id': 5, 'cost': 14}, {'agent_id': 'A7', 'task_id': 6, 'cost': 5}, {'agent_id': 'A7', 'task_id': 7, 'cost': 11}, {'agent_id': 'A7', 'task_id': 8, 'cost': 18}, {'agent_id': 'A7', 'task_id': 9, 'cost': 18}, {'agent_id': 'A7', 'task_id': 10, 'cost': 24}, {'agent_id': 'A7', 'task_id': 11, 'cost': 16}, {'agent_id': 'A7', 'task_id': 12, 'cost': 18}, {'agent_id': 'A7', 'task_id': 13, 'cost': 13}, {'agent_id': 'A7', 'task_id': 14, 'cost': 11}, {'agent_id': 'A7', 'task_id': 15, 'cost': 15}, {'agent_id': 'A7', 'task_id': 16, 'cost': 15}, {'agent_id': 'A7', 'task_id': 17, 'cost': 22}, {'agent_id': 'A7', 'task_id': 18, 'cost': 17}, {'agent_id': 'A7', 'task_id': 19, 'cost': 5}, {'agent_id': 'A7', 'task_id': 20, 'cost': 13}, {'agent_id': 'A7', 'task_id': 21, 'cost': 17}, {'agent_id': 'A7', 'task_id': 22, 'cost': 6}, {'agent_id': 'A7', 'task_id': 23, 'cost': 19}, {'agent_id': 'A8', 'task_id': 1, 'cost': 14}, {'agent_id': 'A8', 'task_id': 2, 'cost': 23}, {'agent_id': 'A8', 'task_id': 3, 'cost': 8}, {'agent_id': 'A8', 'task_id': 4, 'cost': 6}, {'agent_id': 'A8', 'task_id': 5, 'cost': 16}, {'agent_id': 'A8', 'task_id': 6, 'cost': 20}, {'agent_id': 'A8', 'task_id': 7, 'cost': 21}, {'agent_id': 'A8', 'task_id': 8, 'cost': 18}, {'agent_id': 'A8', 'task_id': 9, 'cost': 22}, {'agent_id': 'A8', 'task_id': 10, 'cost': 11}, {'agent_id': 'A8', 'task_id': 11, 'cost': 15}, {'agent_id': 'A8', 'task_id': 12, 'cost': 20}, {'agent_id': 'A8', 'task_id': 13, 'cost': 25}, {'agent_id': 'A8', 'task_id': 14, 'cost': 21}, {'agent_id': 'A8', 'task_id': 15, 'cost': 16}, {'agent_id': 'A8', 'task_id': 16, 'cost': 20}, {'agent_id': 'A8', 'task_id': 17, 'cost': 7}, {'agent_id': 'A8', 'task_id': 18, 'cost': 24}, {'agent_id': 'A8', 'task_id': 19, 'cost': 8}, {'agent_id': 'A8', 'task_id': 20, 'cost': 12}, {'agent_id': 'A8', 'task_id': 21, 'cost': 15}, {'agent_id': 'A8', 'task_id': 22, 'cost': 5}, {'agent_id': 'A8', 'task_id': 23, 'cost': 24}]}","['A4', 'A1', 'A8', 'A8', 'A5', 'A7', 'A7', 'A5', 'A6', 'A6', 'A1', 'A6', 'A3', 'A4', 'A2', 'A5', 'A8', 'A2', 'A7', 'A6', 'A1', 'A8', 'A2']",27,nl,1 GAP,GAP,"Late-night shifts or weekend rushes look the same: a stack of ride requests and a list of drivers with a fixed amount of time or distance they can cover. The rule is straightforward — every request must be sent to exactly one driver, drivers can take several requests as long as the total load fits inside their shift, and nothing can be duplicated or left out. The aim is to keep total payouts down, measured by summing the fares for all assigned rides. The exact fares, trip loads, and driver limits are listed below. There are 7 drivers and 20 rides, listed as A1, A2, A3, A4, A5, A6, A7 and A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T. | driver_id | shift_capacity | |---|---| | A1 | 356 | | A2 | 366 | | A3 | 352 | | A4 | 351 | | A5 | 361 | | A6 | 363 | | A7 | 364 | | driver_id | ride_id | trip_load | |---|---|---| | A1 | A | 21 | | A1 | B | 19 | | A1 | C | 12 | | A1 | D | 45 | | A1 | E | 18 | | A1 | F | 22 | | A1 | G | 14 | | A1 | H | 22 | | A1 | I | 23 | | A1 | J | 41 | | A1 | K | 37 | | A1 | L | 29 | | A1 | M | 39 | | A1 | N | 34 | | A1 | O | 23 | | A1 | P | 46 | | A1 | Q | 42 | | A1 | R | 10 | | A1 | S | 50 | | A1 | T | 17 | | A2 | A | 44 | | A2 | B | 19 | | A2 | C | 33 | | A2 | D | 21 | | A2 | E | 17 | | A2 | F | 14 | | A2 | G | 20 | | A2 | H | 38 | | A2 | I | 46 | | A2 | J | 40 | | A2 | K | 34 | | A2 | L | 41 | | A2 | M | 31 | | A2 | N | 10 | | A2 | O | 31 | | A2 | P | 16 | | A2 | Q | 50 | | A2 | R | 13 | | A2 | S | 23 | | A2 | T | 38 | | A3 | A | 33 | | A3 | B | 37 | | A3 | C | 45 | | A3 | D | 49 | | A3 | E | 12 | | A3 | F | 39 | | A3 | G | 16 | | A3 | H | 30 | | A3 | I | 35 | | A3 | J | 31 | | A3 | K | 29 | | A3 | L | 46 | | A3 | M | 47 | | A3 | N | 29 | | A3 | O | 21 | | A3 | P | 32 | | A3 | Q | 16 | | A3 | R | 27 | | A3 | S | 23 | | A3 | T | 42 | | A4 | A | 44 | | A4 | B | 23 | | A4 | C | 18 | | A4 | D | 37 | | A4 | E | 45 | | A4 | F | 13 | | A4 | G | 48 | | A4 | H | 20 | | A4 | I | 10 | | A4 | J | 15 | | A4 | K | 44 | | A4 | L | 13 | | A4 | M | 16 | | A4 | N | 25 | | A4 | O | 33 | | A4 | P | 49 | | A4 | Q | 14 | | A4 | R | 17 | | A4 | S | 24 | | A4 | T | 36 | | A5 | A | 25 | | A5 | B | 34 | | A5 | C | 18 | | A5 | D | 35 | | A5 | E | 43 | | A5 | F | 17 | | A5 | G | 12 | | A5 | H | 12 | | A5 | I | 15 | | A5 | J | 33 | | A5 | K | 26 | | A5 | L | 12 | | A5 | M | 39 | | A5 | N | 31 | | A5 | O | 38 | | A5 | P | 13 | | A5 | Q | 13 | | A5 | R | 44 | | A5 | S | 35 | | A5 | T | 44 | | A6 | A | 42 | | A6 | B | 49 | | A6 | C | 43 | | A6 | D | 46 | | A6 | E | 34 | | A6 | F | 24 | | A6 | G | 17 | | A6 | H | 41 | | A6 | I | 22 | | A6 | J | 12 | | A6 | K | 50 | | A6 | L | 42 | | A6 | M | 47 | | A6 | N | 17 | | A6 | O | 26 | | A6 | P | 46 | | A6 | Q | 42 | | A6 | R | 34 | | A6 | S | 27 | | A6 | T | 18 | | A7 | A | 16 | | A7 | B | 40 | | A7 | C | 24 | | A7 | D | 36 | | A7 | E | 27 | | A7 | F | 46 | | A7 | G | 23 | | A7 | H | 37 | | A7 | I | 45 | | A7 | J | 48 | | A7 | K | 35 | | A7 | L | 13 | | A7 | M | 36 | | A7 | N | 50 | | A7 | O | 33 | | A7 | P | 31 | | A7 | Q | 47 | | A7 | R | 18 | | A7 | S | 48 | | A7 | T | 39 | | driver_id | ride_id | fare | |---|---|---| | A1 | A | 21 | | A1 | B | 12 | | A1 | C | 19 | | A1 | D | 6 | | A1 | E | 16 | | A1 | F | 16 | | A1 | G | 7 | | A1 | H | 24 | | A1 | I | 16 | | A1 | J | 6 | | A1 | K | 13 | | A1 | L | 20 | | A1 | M | 24 | | A1 | N | 10 | | A1 | O | 8 | | A1 | P | 6 | | A1 | Q | 8 | | A1 | R | 23 | | A1 | S | 21 | | A1 | T | 15 | | A2 | A | 6 | | A2 | B | 17 | | A2 | C | 14 | | A2 | D | 9 | | A2 | E | 16 | | A2 | F | 18 | | A2 | G | 22 | | A2 | H | 18 | | A2 | I | 17 | | A2 | J | 21 | | A2 | K | 9 | | A2 | L | 13 | | A2 | M | 19 | | A2 | N | 17 | | A2 | O | 22 | | A2 | P | 20 | | A2 | Q | 18 | | A2 | R | 11 | | A2 | S | 5 | | A2 | T | 11 | | A3 | A | 13 | | A3 | B | 6 | | A3 | C | 5 | | A3 | D | 20 | | A3 | E | 25 | | A3 | F | 11 | | A3 | G | 13 | | A3 | H | 15 | | A3 | I | 25 | | A3 | J | 11 | | A3 | K | 10 | | A3 | L | 8 | | A3 | M | 16 | | A3 | N | 7 | | A3 | O | 6 | | A3 | P | 12 | | A3 | Q | 15 | | A3 | R | 14 | | A3 | S | 19 | | A3 | T | 8 | | A4 | A | 17 | | A4 | B | 21 | | A4 | C | 17 | | A4 | D | 22 | | A4 | E | 6 | | A4 | F | 22 | | A4 | G | 22 | | A4 | H | 6 | | A4 | I | 17 | | A4 | J | 12 | | A4 | K | 8 | | A4 | L | 23 | | A4 | M | 15 | | A4 | N | 20 | | A4 | O | 17 | | A4 | P | 21 | | A4 | Q | 10 | | A4 | R | 11 | | A4 | S | 23 | | A4 | T | 6 | | A5 | A | 12 | | A5 | B | 14 | | A5 | C | 5 | | A5 | D | 10 | | A5 | E | 7 | | A5 | F | 5 | | A5 | G | 20 | | A5 | H | 9 | | A5 | I | 12 | | A5 | J | 20 | | A5 | K | 23 | | A5 | L | 15 | | A5 | M | 14 | | A5 | N | 12 | | A5 | O | 21 | | A5 | P | 20 | | A5 | Q | 6 | | A5 | R | 18 | | A5 | S | 15 | | A5 | T | 10 | | A6 | A | 17 | | A6 | B | 23 | | A6 | C | 8 | | A6 | D | 25 | | A6 | E | 19 | | A6 | F | 6 | | A6 | G | 10 | | A6 | H | 18 | | A6 | I | 23 | | A6 | J | 11 | | A6 | K | 17 | | A6 | L | 25 | | A6 | M | 16 | | A6 | N | 12 | | A6 | O | 25 | | A6 | P | 10 | | A6 | Q | 19 | | A6 | R | 12 | | A6 | S | 11 | | A6 | T | 19 | | A7 | A | 14 | | A7 | B | 13 | | A7 | C | 20 | | A7 | D | 18 | | A7 | E | 12 | | A7 | F | 16 | | A7 | G | 11 | | A7 | H | 8 | | A7 | I | 25 | | A7 | J | 14 | | A7 | K | 8 | | A7 | L | 21 | | A7 | M | 25 | | A7 | N | 20 | | A7 | O | 13 | | A7 | P | 9 | | A7 | Q | 25 | | A7 | R | 25 | | A7 | S | 11 | | A7 | T | 9 | Assign every ride to one driver so all 20 rides fit within the 7 drivers' capacities while minimizing total fares. And hey — when you send back the answer, just stick to this little JSON layout so it's easy to parse. Nothing fancy, just a single list showing which driver gets each ride in order. { ""solution"": [ , , ..., ] } The idea is simple: the ""solution"" array lists, for each ride in the order shown above, the driver you assign it to. Think of each entry as the driver label you'd write next to a request on a clipboard. This block is just a sketch of the shape I need — not the final assignment itself. Please use the exact identifiers from the instance input — don't rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[21, 19, 12, 45, 18, 22, 14, 22, 23, 41, 37, 29, 39, 34, 23, 46, 42, 10, 50, 17], [44, 19, 33, 21, 17, 14, 20, 38, 46, 40, 34, 41, 31, 10, 31, 16, 50, 13, 23, 38], [33, 37, 45, 49, 12, 39, 16, 30, 35, 31, 29, 46, 47, 29, 21, 32, 16, 27, 23, 42], [44, 23, 18, 37, 45, 13, 48, 20, 10, 15, 44, 13, 16, 25, 33, 49, 14, 17, 24, 36], [25, 34, 18, 35, 43, 17, 12, 12, 15, 33, 26, 12, 39, 31, 38, 13, 13, 44, 35, 44], [42, 49, 43, 46, 34, 24, 17, 41, 22, 12, 50, 42, 47, 17, 26, 46, 42, 34, 27, 18], [16, 40, 24, 36, 27, 46, 23, 37, 45, 48, 35, 13, 36, 50, 33, 31, 47, 18, 48, 39]], 'assignment_costs': [[21, 12, 19, 6, 16, 16, 7, 24, 16, 6, 13, 20, 24, 10, 8, 6, 8, 23, 21, 15], [6, 17, 14, 9, 16, 18, 22, 18, 17, 21, 9, 13, 19, 17, 22, 20, 18, 11, 5, 11], [13, 6, 5, 20, 25, 11, 13, 15, 25, 11, 10, 8, 16, 7, 6, 12, 15, 14, 19, 8], [17, 21, 17, 22, 6, 22, 22, 6, 17, 12, 8, 23, 15, 20, 17, 21, 10, 11, 23, 6], [12, 14, 5, 10, 7, 5, 20, 9, 12, 20, 23, 15, 14, 12, 21, 20, 6, 18, 15, 10], [17, 23, 8, 25, 19, 6, 10, 18, 23, 11, 17, 25, 16, 12, 25, 10, 19, 12, 11, 19], [14, 13, 20, 18, 12, 16, 11, 8, 25, 14, 8, 21, 25, 20, 13, 9, 25, 25, 11, 9]], 'capacities': [356, 366, 352, 351, 361, 363, 364], 'objective': 142.0}","[1, 2, 4, 0, 3, 4, 0, 3, 4, 0, 3, 2, 4, 2, 2, 0, 4, 1, 1, 3]",142.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 20, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 356}, {'agent_id': 'A2', 'capacity': 366}, {'agent_id': 'A3', 'capacity': 352}, {'agent_id': 'A4', 'capacity': 351}, {'agent_id': 'A5', 'capacity': 361}, {'agent_id': 'A6', 'capacity': 363}, {'agent_id': 'A7', 'capacity': 364}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 19}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 12}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 18}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 41}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 37}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 29}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 39}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 42}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 10}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 19}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 21}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 14}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 38}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 46}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 34}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 31}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 31}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 16}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 13}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 33}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 39}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 35}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 47}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 21}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 32}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 27}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 42}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 18}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 37}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 13}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 15}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 13}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 33}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 49}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 17}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 24}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 36}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 34}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 35}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 26}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 39}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 44}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 35}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 49}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 17}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 17}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 26}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 16}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 40}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 24}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 46}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 37}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 50}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 47}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 39}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 8}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 7}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 15}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 13}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 9}]}","['A2', 'A3', 'A5', 'A1', 'A4', 'A5', 'A1', 'A4', 'A5', 'A1', 'A4', 'A3', 'A5', 'A3', 'A3', 'A1', 'A5', 'A2', 'A2', 'A4']",28,markdown_table,names GAP,GAP,"Last summer the B&B had to squeeze in festival guests and the manager had to place every reservation into exactly one room, with no double-bookings and no one left out, while respecting each room’s capacity. For each potential match there’s a clear idea of how much space or how many beds that booking would consume and what the room would charge per night, so the manager’s goal was to assign everyone without breaking capacity limits and to keep the total payout minimal — the total cost is just the sum of the nightly prices for all the chosen room assignments. The specific capacity and price details are shown below. # num_rooms=7 # num_bookings=18 # room_ids=A1, A2, A3, A4, A5, A6, A7 # booking_ids=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 room_id,room_capacity_beds A1,471 A2,482 A3,484 A4,489 A5,479 A6,484 A7,490 room_id,booking_id,beds_required A1,1,46 A1,2,29 A1,3,21 A1,4,42 A1,5,18 A1,6,30 A1,7,24 A1,8,21 A1,9,32 A1,10,42 A1,11,16 A1,12,45 A1,13,13 A1,14,30 A1,15,32 A1,16,38 A1,17,24 A1,18,22 A2,1,32 A2,2,19 A2,3,17 A2,4,49 A2,5,41 A2,6,40 A2,7,22 A2,8,31 A2,9,26 A2,10,14 A2,11,14 A2,12,19 A2,13,37 A2,14,32 A2,15,32 A2,16,43 A2,17,44 A2,18,11 A3,1,47 A3,2,40 A3,3,39 A3,4,11 A3,5,14 A3,6,12 A3,7,40 A3,8,46 A3,9,15 A3,10,27 A3,11,30 A3,12,42 A3,13,23 A3,14,35 A3,15,45 A3,16,28 A3,17,47 A3,18,45 A4,1,28 A4,2,37 A4,3,28 A4,4,14 A4,5,20 A4,6,27 A4,7,17 A4,8,28 A4,9,10 A4,10,37 A4,11,29 A4,12,31 A4,13,35 A4,14,35 A4,15,43 A4,16,31 A4,17,21 A4,18,46 A5,1,43 A5,2,50 A5,3,26 A5,4,16 A5,5,25 A5,6,24 A5,7,18 A5,8,36 A5,9,25 A5,10,19 A5,11,48 A5,12,19 A5,13,11 A5,14,19 A5,15,13 A5,16,32 A5,17,46 A5,18,21 A6,1,22 A6,2,18 A6,3,20 A6,4,48 A6,5,45 A6,6,30 A6,7,15 A6,8,48 A6,9,19 A6,10,14 A6,11,16 A6,12,45 A6,13,48 A6,14,40 A6,15,18 A6,16,13 A6,17,15 A6,18,46 A7,1,44 A7,2,24 A7,3,23 A7,4,44 A7,5,33 A7,6,26 A7,7,36 A7,8,34 A7,9,48 A7,10,46 A7,11,23 A7,12,18 A7,13,32 A7,14,29 A7,15,49 A7,16,29 A7,17,32 A7,18,48 room_id,booking_id,nightly_price_for_booking A1,1,16 A1,2,9 A1,3,12 A1,4,24 A1,5,7 A1,6,19 A1,7,8 A1,8,5 A1,9,19 A1,10,19 A1,11,9 A1,12,11 A1,13,10 A1,14,15 A1,15,5 A1,16,6 A1,17,21 A1,18,7 A2,1,25 A2,2,23 A2,3,10 A2,4,7 A2,5,14 A2,6,8 A2,7,7 A2,8,23 A2,9,24 A2,10,21 A2,11,6 A2,12,8 A2,13,6 A2,14,14 A2,15,5 A2,16,10 A2,17,6 A2,18,15 A3,1,9 A3,2,7 A3,3,22 A3,4,8 A3,5,11 A3,6,13 A3,7,22 A3,8,12 A3,9,16 A3,10,20 A3,11,7 A3,12,15 A3,13,20 A3,14,14 A3,15,21 A3,16,23 A3,17,17 A3,18,13 A4,1,16 A4,2,17 A4,3,22 A4,4,9 A4,5,7 A4,6,13 A4,7,13 A4,8,21 A4,9,22 A4,10,24 A4,11,21 A4,12,11 A4,13,18 A4,14,22 A4,15,8 A4,16,25 A4,17,9 A4,18,13 A5,1,22 A5,2,16 A5,3,15 A5,4,20 A5,5,18 A5,6,17 A5,7,12 A5,8,7 A5,9,12 A5,10,13 A5,11,25 A5,12,23 A5,13,13 A5,14,6 A5,15,21 A5,16,16 A5,17,22 A5,18,5 A6,1,11 A6,2,10 A6,3,16 A6,4,16 A6,5,14 A6,6,5 A6,7,18 A6,8,6 A6,9,19 A6,10,13 A6,11,17 A6,12,9 A6,13,25 A6,14,18 A6,15,13 A6,16,21 A6,17,25 A6,18,15 A7,1,21 A7,2,6 A7,3,18 A7,4,17 A7,5,21 A7,6,15 A7,7,9 A7,8,23 A7,9,13 A7,10,14 A7,11,15 A7,12,25 A7,13,15 A7,14,12 A7,15,9 A7,16,5 A7,17,19 A7,18,7 Oh — and when you send the final assignment back, please use this simple JSON shape so it's easy to parse and check: { ""solution"": [ , , ..., ] } This just sketches the shape: ""solution"" is a list with one entry per reservation (in the same order as the input), and each entry should be the room identifier chosen for that reservation. It's only showing the expected format, not the real answers. Please be sure to use the exact identifiers from the instance input — no renaming and no new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”. ""","{'resource_consumption': [[46, 29, 21, 42, 18, 30, 24, 21, 32, 42, 16, 45, 13, 30, 32, 38, 24, 22], [32, 19, 17, 49, 41, 40, 22, 31, 26, 14, 14, 19, 37, 32, 32, 43, 44, 11], [47, 40, 39, 11, 14, 12, 40, 46, 15, 27, 30, 42, 23, 35, 45, 28, 47, 45], [28, 37, 28, 14, 20, 27, 17, 28, 10, 37, 29, 31, 35, 35, 43, 31, 21, 46], [43, 50, 26, 16, 25, 24, 18, 36, 25, 19, 48, 19, 11, 19, 13, 32, 46, 21], [22, 18, 20, 48, 45, 30, 15, 48, 19, 14, 16, 45, 48, 40, 18, 13, 15, 46], [44, 24, 23, 44, 33, 26, 36, 34, 48, 46, 23, 18, 32, 29, 49, 29, 32, 48]], 'assignment_costs': [[16, 9, 12, 24, 7, 19, 8, 5, 19, 19, 9, 11, 10, 15, 5, 6, 21, 7], [25, 23, 10, 7, 14, 8, 7, 23, 24, 21, 6, 8, 6, 14, 5, 10, 6, 15], [9, 7, 22, 8, 11, 13, 22, 12, 16, 20, 7, 15, 20, 14, 21, 23, 17, 13], [16, 17, 22, 9, 7, 13, 13, 21, 22, 24, 21, 11, 18, 22, 8, 25, 9, 13], [22, 16, 15, 20, 18, 17, 12, 7, 12, 13, 25, 23, 13, 6, 21, 16, 22, 5], [11, 10, 16, 16, 14, 5, 18, 6, 19, 13, 17, 9, 25, 18, 13, 21, 25, 15], [21, 6, 18, 17, 21, 15, 9, 23, 13, 14, 15, 25, 15, 12, 9, 5, 19, 7]], 'capacities': [471, 482, 484, 489, 479, 484, 490], 'objective': 128.0}","[2, 6, 1, 1, 3, 5, 1, 0, 4, 5, 1, 1, 1, 4, 1, 6, 1, 4]",128.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 471}, {'agent_id': 'A2', 'capacity': 482}, {'agent_id': 'A3', 'capacity': 484}, {'agent_id': 'A4', 'capacity': 489}, {'agent_id': 'A5', 'capacity': 479}, {'agent_id': 'A6', 'capacity': 484}, {'agent_id': 'A7', 'capacity': 490}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 48}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 16}, {'agent_id': 'A1', 'task_id': 2, 'cost': 9}, {'agent_id': 'A1', 'task_id': 3, 'cost': 12}, {'agent_id': 'A1', 'task_id': 4, 'cost': 24}, {'agent_id': 'A1', 'task_id': 5, 'cost': 7}, {'agent_id': 'A1', 'task_id': 6, 'cost': 19}, {'agent_id': 'A1', 'task_id': 7, 'cost': 8}, {'agent_id': 'A1', 'task_id': 8, 'cost': 5}, {'agent_id': 'A1', 'task_id': 9, 'cost': 19}, {'agent_id': 'A1', 'task_id': 10, 'cost': 19}, {'agent_id': 'A1', 'task_id': 11, 'cost': 9}, {'agent_id': 'A1', 'task_id': 12, 'cost': 11}, {'agent_id': 'A1', 'task_id': 13, 'cost': 10}, {'agent_id': 'A1', 'task_id': 14, 'cost': 15}, {'agent_id': 'A1', 'task_id': 15, 'cost': 5}, {'agent_id': 'A1', 'task_id': 16, 'cost': 6}, {'agent_id': 'A1', 'task_id': 17, 'cost': 21}, {'agent_id': 'A1', 'task_id': 18, 'cost': 7}, {'agent_id': 'A2', 'task_id': 1, 'cost': 25}, {'agent_id': 'A2', 'task_id': 2, 'cost': 23}, {'agent_id': 'A2', 'task_id': 3, 'cost': 10}, {'agent_id': 'A2', 'task_id': 4, 'cost': 7}, {'agent_id': 'A2', 'task_id': 5, 'cost': 14}, {'agent_id': 'A2', 'task_id': 6, 'cost': 8}, {'agent_id': 'A2', 'task_id': 7, 'cost': 7}, {'agent_id': 'A2', 'task_id': 8, 'cost': 23}, {'agent_id': 'A2', 'task_id': 9, 'cost': 24}, {'agent_id': 'A2', 'task_id': 10, 'cost': 21}, {'agent_id': 'A2', 'task_id': 11, 'cost': 6}, {'agent_id': 'A2', 'task_id': 12, 'cost': 8}, {'agent_id': 'A2', 'task_id': 13, 'cost': 6}, {'agent_id': 'A2', 'task_id': 14, 'cost': 14}, {'agent_id': 'A2', 'task_id': 15, 'cost': 5}, {'agent_id': 'A2', 'task_id': 16, 'cost': 10}, {'agent_id': 'A2', 'task_id': 17, 'cost': 6}, {'agent_id': 'A2', 'task_id': 18, 'cost': 15}, {'agent_id': 'A3', 'task_id': 1, 'cost': 9}, {'agent_id': 'A3', 'task_id': 2, 'cost': 7}, {'agent_id': 'A3', 'task_id': 3, 'cost': 22}, {'agent_id': 'A3', 'task_id': 4, 'cost': 8}, {'agent_id': 'A3', 'task_id': 5, 'cost': 11}, {'agent_id': 'A3', 'task_id': 6, 'cost': 13}, {'agent_id': 'A3', 'task_id': 7, 'cost': 22}, {'agent_id': 'A3', 'task_id': 8, 'cost': 12}, {'agent_id': 'A3', 'task_id': 9, 'cost': 16}, {'agent_id': 'A3', 'task_id': 10, 'cost': 20}, {'agent_id': 'A3', 'task_id': 11, 'cost': 7}, {'agent_id': 'A3', 'task_id': 12, 'cost': 15}, {'agent_id': 'A3', 'task_id': 13, 'cost': 20}, {'agent_id': 'A3', 'task_id': 14, 'cost': 14}, {'agent_id': 'A3', 'task_id': 15, 'cost': 21}, {'agent_id': 'A3', 'task_id': 16, 'cost': 23}, {'agent_id': 'A3', 'task_id': 17, 'cost': 17}, {'agent_id': 'A3', 'task_id': 18, 'cost': 13}, {'agent_id': 'A4', 'task_id': 1, 'cost': 16}, {'agent_id': 'A4', 'task_id': 2, 'cost': 17}, {'agent_id': 'A4', 'task_id': 3, 'cost': 22}, {'agent_id': 'A4', 'task_id': 4, 'cost': 9}, {'agent_id': 'A4', 'task_id': 5, 'cost': 7}, {'agent_id': 'A4', 'task_id': 6, 'cost': 13}, {'agent_id': 'A4', 'task_id': 7, 'cost': 13}, {'agent_id': 'A4', 'task_id': 8, 'cost': 21}, {'agent_id': 'A4', 'task_id': 9, 'cost': 22}, {'agent_id': 'A4', 'task_id': 10, 'cost': 24}, {'agent_id': 'A4', 'task_id': 11, 'cost': 21}, {'agent_id': 'A4', 'task_id': 12, 'cost': 11}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 22}, {'agent_id': 'A4', 'task_id': 15, 'cost': 8}, {'agent_id': 'A4', 'task_id': 16, 'cost': 25}, {'agent_id': 'A4', 'task_id': 17, 'cost': 9}, {'agent_id': 'A4', 'task_id': 18, 'cost': 13}, {'agent_id': 'A5', 'task_id': 1, 'cost': 22}, {'agent_id': 'A5', 'task_id': 2, 'cost': 16}, {'agent_id': 'A5', 'task_id': 3, 'cost': 15}, {'agent_id': 'A5', 'task_id': 4, 'cost': 20}, {'agent_id': 'A5', 'task_id': 5, 'cost': 18}, {'agent_id': 'A5', 'task_id': 6, 'cost': 17}, {'agent_id': 'A5', 'task_id': 7, 'cost': 12}, {'agent_id': 'A5', 'task_id': 8, 'cost': 7}, {'agent_id': 'A5', 'task_id': 9, 'cost': 12}, {'agent_id': 'A5', 'task_id': 10, 'cost': 13}, {'agent_id': 'A5', 'task_id': 11, 'cost': 25}, {'agent_id': 'A5', 'task_id': 12, 'cost': 23}, {'agent_id': 'A5', 'task_id': 13, 'cost': 13}, {'agent_id': 'A5', 'task_id': 14, 'cost': 6}, {'agent_id': 'A5', 'task_id': 15, 'cost': 21}, {'agent_id': 'A5', 'task_id': 16, 'cost': 16}, {'agent_id': 'A5', 'task_id': 17, 'cost': 22}, {'agent_id': 'A5', 'task_id': 18, 'cost': 5}, {'agent_id': 'A6', 'task_id': 1, 'cost': 11}, {'agent_id': 'A6', 'task_id': 2, 'cost': 10}, {'agent_id': 'A6', 'task_id': 3, 'cost': 16}, {'agent_id': 'A6', 'task_id': 4, 'cost': 16}, {'agent_id': 'A6', 'task_id': 5, 'cost': 14}, {'agent_id': 'A6', 'task_id': 6, 'cost': 5}, {'agent_id': 'A6', 'task_id': 7, 'cost': 18}, {'agent_id': 'A6', 'task_id': 8, 'cost': 6}, {'agent_id': 'A6', 'task_id': 9, 'cost': 19}, {'agent_id': 'A6', 'task_id': 10, 'cost': 13}, {'agent_id': 'A6', 'task_id': 11, 'cost': 17}, {'agent_id': 'A6', 'task_id': 12, 'cost': 9}, {'agent_id': 'A6', 'task_id': 13, 'cost': 25}, {'agent_id': 'A6', 'task_id': 14, 'cost': 18}, {'agent_id': 'A6', 'task_id': 15, 'cost': 13}, {'agent_id': 'A6', 'task_id': 16, 'cost': 21}, {'agent_id': 'A6', 'task_id': 17, 'cost': 25}, {'agent_id': 'A6', 'task_id': 18, 'cost': 15}, {'agent_id': 'A7', 'task_id': 1, 'cost': 21}, {'agent_id': 'A7', 'task_id': 2, 'cost': 6}, {'agent_id': 'A7', 'task_id': 3, 'cost': 18}, {'agent_id': 'A7', 'task_id': 4, 'cost': 17}, {'agent_id': 'A7', 'task_id': 5, 'cost': 21}, {'agent_id': 'A7', 'task_id': 6, 'cost': 15}, {'agent_id': 'A7', 'task_id': 7, 'cost': 9}, {'agent_id': 'A7', 'task_id': 8, 'cost': 23}, {'agent_id': 'A7', 'task_id': 9, 'cost': 13}, {'agent_id': 'A7', 'task_id': 10, 'cost': 14}, {'agent_id': 'A7', 'task_id': 11, 'cost': 15}, {'agent_id': 'A7', 'task_id': 12, 'cost': 25}, {'agent_id': 'A7', 'task_id': 13, 'cost': 15}, {'agent_id': 'A7', 'task_id': 14, 'cost': 12}, {'agent_id': 'A7', 'task_id': 15, 'cost': 9}, {'agent_id': 'A7', 'task_id': 16, 'cost': 5}, {'agent_id': 'A7', 'task_id': 17, 'cost': 19}, {'agent_id': 'A7', 'task_id': 18, 'cost': 7}]}","['A3', 'A7', 'A2', 'A2', 'A4', 'A6', 'A2', 'A1', 'A5', 'A6', 'A2', 'A2', 'A2', 'A5', 'A2', 'A7', 'A2', 'A5']",29,csv,1 GAP,GAP,"At a small dev shop there are more requests than available hours, and decisions have to be made about who tackles what. For every request there’s a known time and price depending on the developer who does it, and each developer has a cap on how many hours they can pick up. The requirement is to hand every request to exactly one developer, keep everyone’s assigned hours inside their limit, and try to lower the total bill — which is just the sum of the costs for whoever is assigned to each request. The detailed hours and cost figures follow below. { ""num_developers"": 9, ""num_requests"": 25, ""developer_ids"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"", ""A8"", ""A9"" ], ""request_ids"": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 ], ""capacities"": [ { ""developer_id"": ""A1"", ""available_hours"": 236 }, { ""developer_id"": ""A2"", ""available_hours"": 248 }, { ""developer_id"": ""A3"", ""available_hours"": 241 }, { ""developer_id"": ""A4"", ""available_hours"": 240 }, { ""developer_id"": ""A5"", ""available_hours"": 238 }, { ""developer_id"": ""A6"", ""available_hours"": 243 }, { ""developer_id"": ""A7"", ""available_hours"": 238 }, { ""developer_id"": ""A8"", ""available_hours"": 239 }, { ""developer_id"": ""A9"", ""available_hours"": 233 } ], ""resource"": [ { ""developer_id"": ""A1"", ""request_id"": 0, ""hours_required"": 33 }, { ""developer_id"": ""A1"", ""request_id"": 1, ""hours_required"": 19 }, { ""developer_id"": ""A1"", ""request_id"": 2, ""hours_required"": 17 }, { ""developer_id"": ""A1"", ""request_id"": 3, ""hours_required"": 45 }, { ""developer_id"": ""A1"", ""request_id"": 4, ""hours_required"": 33 }, { ""developer_id"": ""A1"", ""request_id"": 5, ""hours_required"": 11 }, { ""developer_id"": ""A1"", ""request_id"": 6, ""hours_required"": 39 }, { ""developer_id"": ""A1"", ""request_id"": 7, ""hours_required"": 12 }, { ""developer_id"": ""A1"", ""request_id"": 8, ""hours_required"": 42 }, { ""developer_id"": ""A1"", ""request_id"": 9, ""hours_required"": 24 }, { ""developer_id"": ""A1"", ""request_id"": 10, ""hours_required"": 38 }, { ""developer_id"": ""A1"", ""request_id"": 11, ""hours_required"": 20 }, { ""developer_id"": ""A1"", ""request_id"": 12, ""hours_required"": 42 }, { ""developer_id"": ""A1"", ""request_id"": 13, ""hours_required"": 20 }, { ""developer_id"": ""A1"", ""request_id"": 14, ""hours_required"": 47 }, { ""developer_id"": ""A1"", ""request_id"": 15, ""hours_required"": 38 }, { ""developer_id"": ""A1"", ""request_id"": 16, ""hours_required"": 11 }, { ""developer_id"": ""A1"", ""request_id"": 17, ""hours_required"": 23 }, { ""developer_id"": ""A1"", ""request_id"": 18, ""hours_required"": 29 }, { ""developer_id"": ""A1"", ""request_id"": 19, ""hours_required"": 25 }, { ""developer_id"": ""A1"", ""request_id"": 20, ""hours_required"": 21 }, { ""developer_id"": ""A1"", ""request_id"": 21, ""hours_required"": 19 }, { ""developer_id"": ""A1"", ""request_id"": 22, ""hours_required"": 42 }, { ""developer_id"": ""A1"", ""request_id"": 23, ""hours_required"": 26 }, { ""developer_id"": ""A1"", ""request_id"": 24, ""hours_required"": 22 }, { ""developer_id"": ""A2"", ""request_id"": 0, ""hours_required"": 20 }, { ""developer_id"": ""A2"", ""request_id"": 1, ""hours_required"": 32 }, { ""developer_id"": ""A2"", ""request_id"": 2, ""hours_required"": 28 }, { ""developer_id"": ""A2"", ""request_id"": 3, ""hours_required"": 42 }, { ""developer_id"": ""A2"", ""request_id"": 4, ""hours_required"": 43 }, { ""developer_id"": ""A2"", ""request_id"": 5, ""hours_required"": 40 }, { ""developer_id"": ""A2"", ""request_id"": 6, ""hours_required"": 16 }, { ""developer_id"": ""A2"", ""request_id"": 7, ""hours_required"": 47 }, { ""developer_id"": ""A2"", ""request_id"": 8, ""hours_required"": 17 }, { ""developer_id"": ""A2"", ""request_id"": 9, ""hours_required"": 38 }, { ""developer_id"": ""A2"", ""request_id"": 10, ""hours_required"": 24 }, { ""developer_id"": ""A2"", ""request_id"": 11, ""hours_required"": 33 }, { ""developer_id"": ""A2"", ""request_id"": 12, ""hours_required"": 14 }, { ""developer_id"": ""A2"", ""request_id"": 13, ""hours_required"": 17 }, { ""developer_id"": ""A2"", ""request_id"": 14, ""hours_required"": 24 }, { ""developer_id"": ""A2"", ""request_id"": 15, ""hours_required"": 27 }, { ""developer_id"": ""A2"", ""request_id"": 16, ""hours_required"": 21 }, { ""developer_id"": ""A2"", ""request_id"": 17, ""hours_required"": 33 }, { ""developer_id"": ""A2"", ""request_id"": 18, ""hours_required"": 37 }, { ""developer_id"": ""A2"", ""request_id"": 19, ""hours_required"": 17 }, { ""developer_id"": ""A2"", ""request_id"": 20, ""hours_required"": 35 }, { ""developer_id"": ""A2"", ""request_id"": 21, ""hours_required"": 45 }, { ""developer_id"": ""A2"", ""request_id"": 22, ""hours_required"": 28 }, { ""developer_id"": ""A2"", ""request_id"": 23, ""hours_required"": 46 }, { ""developer_id"": ""A2"", ""request_id"": 24, ""hours_required"": 48 }, { ""developer_id"": ""A3"", ""request_id"": 0, ""hours_required"": 39 }, { ""developer_id"": ""A3"", ""request_id"": 1, ""hours_required"": 27 }, { ""developer_id"": ""A3"", ""request_id"": 2, ""hours_required"": 45 }, { ""developer_id"": ""A3"", ""request_id"": 3, ""hours_required"": 12 }, { ""developer_id"": ""A3"", ""request_id"": 4, ""hours_required"": 37 }, { ""developer_id"": ""A3"", ""request_id"": 5, ""hours_required"": 17 }, { ""developer_id"": ""A3"", ""request_id"": 6, ""hours_required"": 49 }, { ""developer_id"": ""A3"", ""request_id"": 7, ""hours_required"": 38 }, { ""developer_id"": ""A3"", ""request_id"": 8, ""hours_required"": 44 }, { ""developer_id"": ""A3"", ""request_id"": 9, ""hours_required"": 22 }, { ""developer_id"": ""A3"", ""request_id"": 10, ""hours_required"": 14 }, { ""developer_id"": ""A3"", ""request_id"": 11, ""hours_required"": 33 }, { ""developer_id"": ""A3"", ""request_id"": 12, ""hours_required"": 13 }, { ""developer_id"": ""A3"", ""request_id"": 13, ""hours_required"": 28 }, { ""developer_id"": ""A3"", ""request_id"": 14, ""hours_required"": 19 }, { ""developer_id"": ""A3"", ""request_id"": 15, ""hours_required"": 34 }, { ""developer_id"": ""A3"", ""request_id"": 16, ""hours_required"": 37 }, { ""developer_id"": ""A3"", ""request_id"": 17, ""hours_required"": 32 }, { ""developer_id"": ""A3"", ""request_id"": 18, ""hours_required"": 35 }, { ""developer_id"": ""A3"", ""request_id"": 19, ""hours_required"": 49 }, { ""developer_id"": ""A3"", ""request_id"": 20, ""hours_required"": 21 }, { ""developer_id"": ""A3"", ""request_id"": 21, ""hours_required"": 42 }, { ""developer_id"": ""A3"", ""request_id"": 22, ""hours_required"": 39 }, { ""developer_id"": ""A3"", ""request_id"": 23, ""hours_required"": 22 }, { ""developer_id"": ""A3"", ""request_id"": 24, ""hours_required"": 44 }, { ""developer_id"": ""A4"", ""request_id"": 0, ""hours_required"": 44 }, { ""developer_id"": ""A4"", ""request_id"": 1, ""hours_required"": 21 }, { ""developer_id"": ""A4"", ""request_id"": 2, ""hours_required"": 34 }, { ""developer_id"": ""A4"", ""request_id"": 3, ""hours_required"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 4, ""hours_required"": 13 }, { ""developer_id"": ""A4"", ""request_id"": 5, ""hours_required"": 13 }, { ""developer_id"": ""A4"", ""request_id"": 6, ""hours_required"": 17 }, { ""developer_id"": ""A4"", ""request_id"": 7, ""hours_required"": 34 }, { ""developer_id"": ""A4"", ""request_id"": 8, ""hours_required"": 34 }, { ""developer_id"": ""A4"", ""request_id"": 9, ""hours_required"": 18 }, { ""developer_id"": ""A4"", ""request_id"": 10, ""hours_required"": 16 }, { ""developer_id"": ""A4"", ""request_id"": 11, ""hours_required"": 34 }, { ""developer_id"": ""A4"", ""request_id"": 12, ""hours_required"": 36 }, { ""developer_id"": ""A4"", ""request_id"": 13, ""hours_required"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 14, ""hours_required"": 16 }, { ""developer_id"": ""A4"", ""request_id"": 15, ""hours_required"": 40 }, { ""developer_id"": ""A4"", ""request_id"": 16, ""hours_required"": 10 }, { ""developer_id"": ""A4"", ""request_id"": 17, ""hours_required"": 37 }, { ""developer_id"": ""A4"", ""request_id"": 18, ""hours_required"": 21 }, { ""developer_id"": ""A4"", ""request_id"": 19, ""hours_required"": 26 }, { ""developer_id"": ""A4"", ""request_id"": 20, ""hours_required"": 38 }, { ""developer_id"": ""A4"", ""request_id"": 21, ""hours_required"": 15 }, { ""developer_id"": ""A4"", ""request_id"": 22, ""hours_required"": 31 }, { ""developer_id"": ""A4"", ""request_id"": 23, ""hours_required"": 21 }, { ""developer_id"": ""A4"", ""request_id"": 24, ""hours_required"": 44 }, { ""developer_id"": ""A5"", ""request_id"": 0, ""hours_required"": 15 }, { ""developer_id"": ""A5"", ""request_id"": 1, ""hours_required"": 44 }, { ""developer_id"": ""A5"", ""request_id"": 2, ""hours_required"": 11 }, { ""developer_id"": ""A5"", ""request_id"": 3, ""hours_required"": 39 }, { ""developer_id"": ""A5"", ""request_id"": 4, ""hours_required"": 14 }, { ""developer_id"": ""A5"", ""request_id"": 5, ""hours_required"": 43 }, { ""developer_id"": ""A5"", ""request_id"": 6, ""hours_required"": 12 }, { ""developer_id"": ""A5"", ""request_id"": 7, ""hours_required"": 36 }, { ""developer_id"": ""A5"", ""request_id"": 8, ""hours_required"": 31 }, { ""developer_id"": ""A5"", ""request_id"": 9, ""hours_required"": 12 }, { ""developer_id"": ""A5"", ""request_id"": 10, ""hours_required"": 25 }, { ""developer_id"": ""A5"", ""request_id"": 11, ""hours_required"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 12, ""hours_required"": 11 }, { ""developer_id"": ""A5"", ""request_id"": 13, ""hours_required"": 33 }, { ""developer_id"": ""A5"", ""request_id"": 14, ""hours_required"": 10 }, { ""developer_id"": ""A5"", ""request_id"": 15, ""hours_required"": 39 }, { ""developer_id"": ""A5"", ""request_id"": 16, ""hours_required"": 13 }, { ""developer_id"": ""A5"", ""request_id"": 17, ""hours_required"": 39 }, { ""developer_id"": ""A5"", ""request_id"": 18, ""hours_required"": 47 }, { ""developer_id"": ""A5"", ""request_id"": 19, ""hours_required"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 20, ""hours_required"": 49 }, { ""developer_id"": ""A5"", ""request_id"": 21, ""hours_required"": 45 }, { ""developer_id"": ""A5"", ""request_id"": 22, ""hours_required"": 36 }, { ""developer_id"": ""A5"", ""request_id"": 23, ""hours_required"": 31 }, { ""developer_id"": ""A5"", ""request_id"": 24, ""hours_required"": 20 }, { ""developer_id"": ""A6"", ""request_id"": 0, ""hours_required"": 28 }, { ""developer_id"": ""A6"", ""request_id"": 1, ""hours_required"": 33 }, { ""developer_id"": ""A6"", ""request_id"": 2, ""hours_required"": 29 }, { ""developer_id"": ""A6"", ""request_id"": 3, ""hours_required"": 12 }, { ""developer_id"": ""A6"", ""request_id"": 4, ""hours_required"": 10 }, { ""developer_id"": ""A6"", ""request_id"": 5, ""hours_required"": 28 }, { ""developer_id"": ""A6"", ""request_id"": 6, ""hours_required"": 11 }, { ""developer_id"": ""A6"", ""request_id"": 7, ""hours_required"": 28 }, { ""developer_id"": ""A6"", ""request_id"": 8, ""hours_required"": 42 }, { ""developer_id"": ""A6"", ""request_id"": 9, ""hours_required"": 37 }, { ""developer_id"": ""A6"", ""request_id"": 10, ""hours_required"": 41 }, { ""developer_id"": ""A6"", ""request_id"": 11, ""hours_required"": 34 }, { ""developer_id"": ""A6"", ""request_id"": 12, ""hours_required"": 39 }, { ""developer_id"": ""A6"", ""request_id"": 13, ""hours_required"": 10 }, { ""developer_id"": ""A6"", ""request_id"": 14, ""hours_required"": 40 }, { ""developer_id"": ""A6"", ""request_id"": 15, ""hours_required"": 39 }, { ""developer_id"": ""A6"", ""request_id"": 16, ""hours_required"": 11 }, { ""developer_id"": ""A6"", ""request_id"": 17, ""hours_required"": 12 }, { ""developer_id"": ""A6"", ""request_id"": 18, ""hours_required"": 40 }, { ""developer_id"": ""A6"", ""request_id"": 19, ""hours_required"": 48 }, { ""developer_id"": ""A6"", ""request_id"": 20, ""hours_required"": 18 }, { ""developer_id"": ""A6"", ""request_id"": 21, ""hours_required"": 41 }, { ""developer_id"": ""A6"", ""request_id"": 22, ""hours_required"": 23 }, { ""developer_id"": ""A6"", ""request_id"": 23, ""hours_required"": 25 }, { ""developer_id"": ""A6"", ""request_id"": 24, ""hours_required"": 42 }, { ""developer_id"": ""A7"", ""request_id"": 0, ""hours_required"": 35 }, { ""developer_id"": ""A7"", ""request_id"": 1, ""hours_required"": 18 }, { ""developer_id"": ""A7"", ""request_id"": 2, ""hours_required"": 34 }, { ""developer_id"": ""A7"", ""request_id"": 3, ""hours_required"": 38 }, { ""developer_id"": ""A7"", ""request_id"": 4, ""hours_required"": 50 }, { ""developer_id"": ""A7"", ""request_id"": 5, ""hours_required"": 40 }, { ""developer_id"": ""A7"", ""request_id"": 6, ""hours_required"": 44 }, { ""developer_id"": ""A7"", ""request_id"": 7, ""hours_required"": 14 }, { ""developer_id"": ""A7"", ""request_id"": 8, ""hours_required"": 23 }, { ""developer_id"": ""A7"", ""request_id"": 9, ""hours_required"": 27 }, { ""developer_id"": ""A7"", ""request_id"": 10, ""hours_required"": 22 }, { ""developer_id"": ""A7"", ""request_id"": 11, ""hours_required"": 22 }, { ""developer_id"": ""A7"", ""request_id"": 12, ""hours_required"": 10 }, { ""developer_id"": ""A7"", ""request_id"": 13, ""hours_required"": 50 }, { ""developer_id"": ""A7"", ""request_id"": 14, ""hours_required"": 23 }, { ""developer_id"": ""A7"", ""request_id"": 15, ""hours_required"": 46 }, { ""developer_id"": ""A7"", ""request_id"": 16, ""hours_required"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 17, ""hours_required"": 12 }, { ""developer_id"": ""A7"", ""request_id"": 18, ""hours_required"": 39 }, { ""developer_id"": ""A7"", ""request_id"": 19, ""hours_required"": 48 }, { ""developer_id"": ""A7"", ""request_id"": 20, ""hours_required"": 33 }, { ""developer_id"": ""A7"", ""request_id"": 21, ""hours_required"": 31 }, { ""developer_id"": ""A7"", ""request_id"": 22, ""hours_required"": 30 }, { ""developer_id"": ""A7"", ""request_id"": 23, ""hours_required"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 24, ""hours_required"": 37 }, { ""developer_id"": ""A8"", ""request_id"": 0, ""hours_required"": 17 }, { ""developer_id"": ""A8"", ""request_id"": 1, ""hours_required"": 10 }, { ""developer_id"": ""A8"", ""request_id"": 2, ""hours_required"": 11 }, { ""developer_id"": ""A8"", ""request_id"": 3, ""hours_required"": 46 }, { ""developer_id"": ""A8"", ""request_id"": 4, ""hours_required"": 18 }, { ""developer_id"": ""A8"", ""request_id"": 5, ""hours_required"": 12 }, { ""developer_id"": ""A8"", ""request_id"": 6, ""hours_required"": 27 }, { ""developer_id"": ""A8"", ""request_id"": 7, ""hours_required"": 44 }, { ""developer_id"": ""A8"", ""request_id"": 8, ""hours_required"": 24 }, { ""developer_id"": ""A8"", ""request_id"": 9, ""hours_required"": 28 }, { ""developer_id"": ""A8"", ""request_id"": 10, ""hours_required"": 16 }, { ""developer_id"": ""A8"", ""request_id"": 11, ""hours_required"": 34 }, { ""developer_id"": ""A8"", ""request_id"": 12, ""hours_required"": 43 }, { ""developer_id"": ""A8"", ""request_id"": 13, ""hours_required"": 47 }, { ""developer_id"": ""A8"", ""request_id"": 14, ""hours_required"": 23 }, { ""developer_id"": ""A8"", ""request_id"": 15, ""hours_required"": 16 }, { ""developer_id"": ""A8"", ""request_id"": 16, ""hours_required"": 29 }, { ""developer_id"": ""A8"", ""request_id"": 17, ""hours_required"": 50 }, { ""developer_id"": ""A8"", ""request_id"": 18, ""hours_required"": 44 }, { ""developer_id"": ""A8"", ""request_id"": 19, ""hours_required"": 10 }, { ""developer_id"": ""A8"", ""request_id"": 20, ""hours_required"": 23 }, { ""developer_id"": ""A8"", ""request_id"": 21, ""hours_required"": 31 }, { ""developer_id"": ""A8"", ""request_id"": 22, ""hours_required"": 12 }, { ""developer_id"": ""A8"", ""request_id"": 23, ""hours_required"": 38 }, { ""developer_id"": ""A8"", ""request_id"": 24, ""hours_required"": 13 }, { ""developer_id"": ""A9"", ""request_id"": 0, ""hours_required"": 45 }, { ""developer_id"": ""A9"", ""request_id"": 1, ""hours_required"": 14 }, { ""developer_id"": ""A9"", ""request_id"": 2, ""hours_required"": 20 }, { ""developer_id"": ""A9"", ""request_id"": 3, ""hours_required"": 20 }, { ""developer_id"": ""A9"", ""request_id"": 4, ""hours_required"": 24 }, { ""developer_id"": ""A9"", ""request_id"": 5, ""hours_required"": 27 }, { ""developer_id"": ""A9"", ""request_id"": 6, ""hours_required"": 17 }, { ""developer_id"": ""A9"", ""request_id"": 7, ""hours_required"": 14 }, { ""developer_id"": ""A9"", ""request_id"": 8, ""hours_required"": 49 }, { ""developer_id"": ""A9"", ""request_id"": 9, ""hours_required"": 25 }, { ""developer_id"": ""A9"", ""request_id"": 10, ""hours_required"": 48 }, { ""developer_id"": ""A9"", ""request_id"": 11, ""hours_required"": 48 }, { ""developer_id"": ""A9"", ""request_id"": 12, ""hours_required"": 23 }, { ""developer_id"": ""A9"", ""request_id"": 13, ""hours_required"": 37 }, { ""developer_id"": ""A9"", ""request_id"": 14, ""hours_required"": 19 }, { ""developer_id"": ""A9"", ""request_id"": 15, ""hours_required"": 43 }, { ""developer_id"": ""A9"", ""request_id"": 16, ""hours_required"": 18 }, { ""developer_id"": ""A9"", ""request_id"": 17, ""hours_required"": 23 }, { ""developer_id"": ""A9"", ""request_id"": 18, ""hours_required"": 47 }, { ""developer_id"": ""A9"", ""request_id"": 19, ""hours_required"": 46 }, { ""developer_id"": ""A9"", ""request_id"": 20, ""hours_required"": 47 }, { ""developer_id"": ""A9"", ""request_id"": 21, ""hours_required"": 26 }, { ""developer_id"": ""A9"", ""request_id"": 22, ""hours_required"": 45 }, { ""developer_id"": ""A9"", ""request_id"": 23, ""hours_required"": 49 }, { ""developer_id"": ""A9"", ""request_id"": 24, ""hours_required"": 41 } ], ""cost"": [ { ""developer_id"": ""A1"", ""request_id"": 0, ""assignment_cost"": 22 }, { ""developer_id"": ""A1"", ""request_id"": 1, ""assignment_cost"": 25 }, { ""developer_id"": ""A1"", ""request_id"": 2, ""assignment_cost"": 20 }, { ""developer_id"": ""A1"", ""request_id"": 3, ""assignment_cost"": 10 }, { ""developer_id"": ""A1"", ""request_id"": 4, ""assignment_cost"": 11 }, { ""developer_id"": ""A1"", ""request_id"": 5, ""assignment_cost"": 23 }, { ""developer_id"": ""A1"", ""request_id"": 6, ""assignment_cost"": 8 }, { ""developer_id"": ""A1"", ""request_id"": 7, ""assignment_cost"": 5 }, { ""developer_id"": ""A1"", ""request_id"": 8, ""assignment_cost"": 10 }, { ""developer_id"": ""A1"", ""request_id"": 9, ""assignment_cost"": 6 }, { ""developer_id"": ""A1"", ""request_id"": 10, ""assignment_cost"": 21 }, { ""developer_id"": ""A1"", ""request_id"": 11, ""assignment_cost"": 19 }, { ""developer_id"": ""A1"", ""request_id"": 12, ""assignment_cost"": 17 }, { ""developer_id"": ""A1"", ""request_id"": 13, ""assignment_cost"": 18 }, { ""developer_id"": ""A1"", ""request_id"": 14, ""assignment_cost"": 6 }, { ""developer_id"": ""A1"", ""request_id"": 15, ""assignment_cost"": 6 }, { ""developer_id"": ""A1"", ""request_id"": 16, ""assignment_cost"": 7 }, { ""developer_id"": ""A1"", ""request_id"": 17, ""assignment_cost"": 25 }, { ""developer_id"": ""A1"", ""request_id"": 18, ""assignment_cost"": 5 }, { ""developer_id"": ""A1"", ""request_id"": 19, ""assignment_cost"": 9 }, { ""developer_id"": ""A1"", ""request_id"": 20, ""assignment_cost"": 8 }, { ""developer_id"": ""A1"", ""request_id"": 21, ""assignment_cost"": 25 }, { ""developer_id"": ""A1"", ""request_id"": 22, ""assignment_cost"": 25 }, { ""developer_id"": ""A1"", ""request_id"": 23, ""assignment_cost"": 17 }, { ""developer_id"": ""A1"", ""request_id"": 24, ""assignment_cost"": 22 }, { ""developer_id"": ""A2"", ""request_id"": 0, ""assignment_cost"": 16 }, { ""developer_id"": ""A2"", ""request_id"": 1, ""assignment_cost"": 14 }, { ""developer_id"": ""A2"", ""request_id"": 2, ""assignment_cost"": 23 }, { ""developer_id"": ""A2"", ""request_id"": 3, ""assignment_cost"": 17 }, { ""developer_id"": ""A2"", ""request_id"": 4, ""assignment_cost"": 22 }, { ""developer_id"": ""A2"", ""request_id"": 5, ""assignment_cost"": 24 }, { ""developer_id"": ""A2"", ""request_id"": 6, ""assignment_cost"": 14 }, { ""developer_id"": ""A2"", ""request_id"": 7, ""assignment_cost"": 15 }, { ""developer_id"": ""A2"", ""request_id"": 8, ""assignment_cost"": 21 }, { ""developer_id"": ""A2"", ""request_id"": 9, ""assignment_cost"": 25 }, { ""developer_id"": ""A2"", ""request_id"": 10, ""assignment_cost"": 11 }, { ""developer_id"": ""A2"", ""request_id"": 11, ""assignment_cost"": 5 }, { ""developer_id"": ""A2"", ""request_id"": 12, ""assignment_cost"": 15 }, { ""developer_id"": ""A2"", ""request_id"": 13, ""assignment_cost"": 18 }, { ""developer_id"": ""A2"", ""request_id"": 14, ""assignment_cost"": 8 }, { ""developer_id"": ""A2"", ""request_id"": 15, ""assignment_cost"": 9 }, { ""developer_id"": ""A2"", ""request_id"": 16, ""assignment_cost"": 20 }, { ""developer_id"": ""A2"", ""request_id"": 17, ""assignment_cost"": 25 }, { ""developer_id"": ""A2"", ""request_id"": 18, ""assignment_cost"": 9 }, { ""developer_id"": ""A2"", ""request_id"": 19, ""assignment_cost"": 11 }, { ""developer_id"": ""A2"", ""request_id"": 20, ""assignment_cost"": 8 }, { ""developer_id"": ""A2"", ""request_id"": 21, ""assignment_cost"": 5 }, { ""developer_id"": ""A2"", ""request_id"": 22, ""assignment_cost"": 24 }, { ""developer_id"": ""A2"", ""request_id"": 23, ""assignment_cost"": 19 }, { ""developer_id"": ""A2"", ""request_id"": 24, ""assignment_cost"": 10 }, { ""developer_id"": ""A3"", ""request_id"": 0, ""assignment_cost"": 21 }, { ""developer_id"": ""A3"", ""request_id"": 1, ""assignment_cost"": 22 }, { ""developer_id"": ""A3"", ""request_id"": 2, ""assignment_cost"": 19 }, { ""developer_id"": ""A3"", ""request_id"": 3, ""assignment_cost"": 6 }, { ""developer_id"": ""A3"", ""request_id"": 4, ""assignment_cost"": 9 }, { ""developer_id"": ""A3"", ""request_id"": 5, ""assignment_cost"": 18 }, { ""developer_id"": ""A3"", ""request_id"": 6, ""assignment_cost"": 11 }, { ""developer_id"": ""A3"", ""request_id"": 7, ""assignment_cost"": 25 }, { ""developer_id"": ""A3"", ""request_id"": 8, ""assignment_cost"": 25 }, { ""developer_id"": ""A3"", ""request_id"": 9, ""assignment_cost"": 11 }, { ""developer_id"": ""A3"", ""request_id"": 10, ""assignment_cost"": 6 }, { ""developer_id"": ""A3"", ""request_id"": 11, ""assignment_cost"": 23 }, { ""developer_id"": ""A3"", ""request_id"": 12, ""assignment_cost"": 25 }, { ""developer_id"": ""A3"", ""request_id"": 13, ""assignment_cost"": 15 }, { ""developer_id"": ""A3"", ""request_id"": 14, ""assignment_cost"": 10 }, { ""developer_id"": ""A3"", ""request_id"": 15, ""assignment_cost"": 12 }, { ""developer_id"": ""A3"", ""request_id"": 16, ""assignment_cost"": 11 }, { ""developer_id"": ""A3"", ""request_id"": 17, ""assignment_cost"": 18 }, { ""developer_id"": ""A3"", ""request_id"": 18, ""assignment_cost"": 10 }, { ""developer_id"": ""A3"", ""request_id"": 19, ""assignment_cost"": 8 }, { ""developer_id"": ""A3"", ""request_id"": 20, ""assignment_cost"": 12 }, { ""developer_id"": ""A3"", ""request_id"": 21, ""assignment_cost"": 11 }, { ""developer_id"": ""A3"", ""request_id"": 22, ""assignment_cost"": 13 }, { ""developer_id"": ""A3"", ""request_id"": 23, ""assignment_cost"": 24 }, { ""developer_id"": ""A3"", ""request_id"": 24, ""assignment_cost"": 17 }, { ""developer_id"": ""A4"", ""request_id"": 0, ""assignment_cost"": 21 }, { ""developer_id"": ""A4"", ""request_id"": 1, ""assignment_cost"": 17 }, { ""developer_id"": ""A4"", ""request_id"": 2, ""assignment_cost"": 16 }, { ""developer_id"": ""A4"", ""request_id"": 3, ""assignment_cost"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 4, ""assignment_cost"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 5, ""assignment_cost"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 6, ""assignment_cost"": 15 }, { ""developer_id"": ""A4"", ""request_id"": 7, ""assignment_cost"": 9 }, { ""developer_id"": ""A4"", ""request_id"": 8, ""assignment_cost"": 24 }, { ""developer_id"": ""A4"", ""request_id"": 9, ""assignment_cost"": 8 }, { ""developer_id"": ""A4"", ""request_id"": 10, ""assignment_cost"": 19 }, { ""developer_id"": ""A4"", ""request_id"": 11, ""assignment_cost"": 13 }, { ""developer_id"": ""A4"", ""request_id"": 12, ""assignment_cost"": 8 }, { ""developer_id"": ""A4"", ""request_id"": 13, ""assignment_cost"": 10 }, { ""developer_id"": ""A4"", ""request_id"": 14, ""assignment_cost"": 18 }, { ""developer_id"": ""A4"", ""request_id"": 15, ""assignment_cost"": 13 }, { ""developer_id"": ""A4"", ""request_id"": 16, ""assignment_cost"": 25 }, { ""developer_id"": ""A4"", ""request_id"": 17, ""assignment_cost"": 11 }, { ""developer_id"": ""A4"", ""request_id"": 18, ""assignment_cost"": 24 }, { ""developer_id"": ""A4"", ""request_id"": 19, ""assignment_cost"": 18 }, { ""developer_id"": ""A4"", ""request_id"": 20, ""assignment_cost"": 21 }, { ""developer_id"": ""A4"", ""request_id"": 21, ""assignment_cost"": 20 }, { ""developer_id"": ""A4"", ""request_id"": 22, ""assignment_cost"": 9 }, { ""developer_id"": ""A4"", ""request_id"": 23, ""assignment_cost"": 20 }, { ""developer_id"": ""A4"", ""request_id"": 24, ""assignment_cost"": 6 }, { ""developer_id"": ""A5"", ""request_id"": 0, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 1, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 2, ""assignment_cost"": 7 }, { ""developer_id"": ""A5"", ""request_id"": 3, ""assignment_cost"": 18 }, { ""developer_id"": ""A5"", ""request_id"": 4, ""assignment_cost"": 22 }, { ""developer_id"": ""A5"", ""request_id"": 5, ""assignment_cost"": 14 }, { ""developer_id"": ""A5"", ""request_id"": 6, ""assignment_cost"": 20 }, { ""developer_id"": ""A5"", ""request_id"": 7, ""assignment_cost"": 20 }, { ""developer_id"": ""A5"", ""request_id"": 8, ""assignment_cost"": 7 }, { ""developer_id"": ""A5"", ""request_id"": 9, ""assignment_cost"": 15 }, { ""developer_id"": ""A5"", ""request_id"": 10, ""assignment_cost"": 14 }, { ""developer_id"": ""A5"", ""request_id"": 11, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 12, ""assignment_cost"": 9 }, { ""developer_id"": ""A5"", ""request_id"": 13, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 14, ""assignment_cost"": 21 }, { ""developer_id"": ""A5"", ""request_id"": 15, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 16, ""assignment_cost"": 20 }, { ""developer_id"": ""A5"", ""request_id"": 17, ""assignment_cost"": 11 }, { ""developer_id"": ""A5"", ""request_id"": 18, ""assignment_cost"": 25 }, { ""developer_id"": ""A5"", ""request_id"": 19, ""assignment_cost"": 21 }, { ""developer_id"": ""A5"", ""request_id"": 20, ""assignment_cost"": 10 }, { ""developer_id"": ""A5"", ""request_id"": 21, ""assignment_cost"": 19 }, { ""developer_id"": ""A5"", ""request_id"": 22, ""assignment_cost"": 10 }, { ""developer_id"": ""A5"", ""request_id"": 23, ""assignment_cost"": 22 }, { ""developer_id"": ""A5"", ""request_id"": 24, ""assignment_cost"": 14 }, { ""developer_id"": ""A6"", ""request_id"": 0, ""assignment_cost"": 5 }, { ""developer_id"": ""A6"", ""request_id"": 1, ""assignment_cost"": 15 }, { ""developer_id"": ""A6"", ""request_id"": 2, ""assignment_cost"": 16 }, { ""developer_id"": ""A6"", ""request_id"": 3, ""assignment_cost"": 11 }, { ""developer_id"": ""A6"", ""request_id"": 4, ""assignment_cost"": 24 }, { ""developer_id"": ""A6"", ""request_id"": 5, ""assignment_cost"": 14 }, { ""developer_id"": ""A6"", ""request_id"": 6, ""assignment_cost"": 18 }, { ""developer_id"": ""A6"", ""request_id"": 7, ""assignment_cost"": 22 }, { ""developer_id"": ""A6"", ""request_id"": 8, ""assignment_cost"": 9 }, { ""developer_id"": ""A6"", ""request_id"": 9, ""assignment_cost"": 22 }, { ""developer_id"": ""A6"", ""request_id"": 10, ""assignment_cost"": 9 }, { ""developer_id"": ""A6"", ""request_id"": 11, ""assignment_cost"": 10 }, { ""developer_id"": ""A6"", ""request_id"": 12, ""assignment_cost"": 15 }, { ""developer_id"": ""A6"", ""request_id"": 13, ""assignment_cost"": 20 }, { ""developer_id"": ""A6"", ""request_id"": 14, ""assignment_cost"": 7 }, { ""developer_id"": ""A6"", ""request_id"": 15, ""assignment_cost"": 16 }, { ""developer_id"": ""A6"", ""request_id"": 16, ""assignment_cost"": 13 }, { ""developer_id"": ""A6"", ""request_id"": 17, ""assignment_cost"": 18 }, { ""developer_id"": ""A6"", ""request_id"": 18, ""assignment_cost"": 19 }, { ""developer_id"": ""A6"", ""request_id"": 19, ""assignment_cost"": 9 }, { ""developer_id"": ""A6"", ""request_id"": 20, ""assignment_cost"": 19 }, { ""developer_id"": ""A6"", ""request_id"": 21, ""assignment_cost"": 11 }, { ""developer_id"": ""A6"", ""request_id"": 22, ""assignment_cost"": 9 }, { ""developer_id"": ""A6"", ""request_id"": 23, ""assignment_cost"": 22 }, { ""developer_id"": ""A6"", ""request_id"": 24, ""assignment_cost"": 13 }, { ""developer_id"": ""A7"", ""request_id"": 0, ""assignment_cost"": 6 }, { ""developer_id"": ""A7"", ""request_id"": 1, ""assignment_cost"": 19 }, { ""developer_id"": ""A7"", ""request_id"": 2, ""assignment_cost"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 3, ""assignment_cost"": 24 }, { ""developer_id"": ""A7"", ""request_id"": 4, ""assignment_cost"": 24 }, { ""developer_id"": ""A7"", ""request_id"": 5, ""assignment_cost"": 16 }, { ""developer_id"": ""A7"", ""request_id"": 6, ""assignment_cost"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 7, ""assignment_cost"": 23 }, { ""developer_id"": ""A7"", ""request_id"": 8, ""assignment_cost"": 12 }, { ""developer_id"": ""A7"", ""request_id"": 9, ""assignment_cost"": 23 }, { ""developer_id"": ""A7"", ""request_id"": 10, ""assignment_cost"": 14 }, { ""developer_id"": ""A7"", ""request_id"": 11, ""assignment_cost"": 10 }, { ""developer_id"": ""A7"", ""request_id"": 12, ""assignment_cost"": 16 }, { ""developer_id"": ""A7"", ""request_id"": 13, ""assignment_cost"": 19 }, { ""developer_id"": ""A7"", ""request_id"": 14, ""assignment_cost"": 16 }, { ""developer_id"": ""A7"", ""request_id"": 15, ""assignment_cost"": 24 }, { ""developer_id"": ""A7"", ""request_id"": 16, ""assignment_cost"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 17, ""assignment_cost"": 13 }, { ""developer_id"": ""A7"", ""request_id"": 18, ""assignment_cost"": 8 }, { ""developer_id"": ""A7"", ""request_id"": 19, ""assignment_cost"": 6 }, { ""developer_id"": ""A7"", ""request_id"": 20, ""assignment_cost"": 18 }, { ""developer_id"": ""A7"", ""request_id"": 21, ""assignment_cost"": 7 }, { ""developer_id"": ""A7"", ""request_id"": 22, ""assignment_cost"": 11 }, { ""developer_id"": ""A7"", ""request_id"": 23, ""assignment_cost"": 21 }, { ""developer_id"": ""A7"", ""request_id"": 24, ""assignment_cost"": 20 }, { ""developer_id"": ""A8"", ""request_id"": 0, ""assignment_cost"": 13 }, { ""developer_id"": ""A8"", ""request_id"": 1, ""assignment_cost"": 13 }, { ""developer_id"": ""A8"", ""request_id"": 2, ""assignment_cost"": 18 }, { ""developer_id"": ""A8"", ""request_id"": 3, ""assignment_cost"": 21 }, { ""developer_id"": ""A8"", ""request_id"": 4, ""assignment_cost"": 8 }, { ""developer_id"": ""A8"", ""request_id"": 5, ""assignment_cost"": 13 }, { ""developer_id"": ""A8"", ""request_id"": 6, ""assignment_cost"": 14 }, { ""developer_id"": ""A8"", ""request_id"": 7, ""assignment_cost"": 21 }, { ""developer_id"": ""A8"", ""request_id"": 8, ""assignment_cost"": 19 }, { ""developer_id"": ""A8"", ""request_id"": 9, ""assignment_cost"": 7 }, { ""developer_id"": ""A8"", ""request_id"": 10, ""assignment_cost"": 18 }, { ""developer_id"": ""A8"", ""request_id"": 11, ""assignment_cost"": 5 }, { ""developer_id"": ""A8"", ""request_id"": 12, ""assignment_cost"": 20 }, { ""developer_id"": ""A8"", ""request_id"": 13, ""assignment_cost"": 10 }, { ""developer_id"": ""A8"", ""request_id"": 14, ""assignment_cost"": 5 }, { ""developer_id"": ""A8"", ""request_id"": 15, ""assignment_cost"": 16 }, { ""developer_id"": ""A8"", ""request_id"": 16, ""assignment_cost"": 22 }, { ""developer_id"": ""A8"", ""request_id"": 17, ""assignment_cost"": 8 }, { ""developer_id"": ""A8"", ""request_id"": 18, ""assignment_cost"": 21 }, { ""developer_id"": ""A8"", ""request_id"": 19, ""assignment_cost"": 7 }, { ""developer_id"": ""A8"", ""request_id"": 20, ""assignment_cost"": 12 }, { ""developer_id"": ""A8"", ""request_id"": 21, ""assignment_cost"": 18 }, { ""developer_id"": ""A8"", ""request_id"": 22, ""assignment_cost"": 15 }, { ""developer_id"": ""A8"", ""request_id"": 23, ""assignment_cost"": 19 }, { ""developer_id"": ""A8"", ""request_id"": 24, ""assignment_cost"": 8 }, { ""developer_id"": ""A9"", ""request_id"": 0, ""assignment_cost"": 11 }, { ""developer_id"": ""A9"", ""request_id"": 1, ""assignment_cost"": 14 }, { ""developer_id"": ""A9"", ""request_id"": 2, ""assignment_cost"": 10 }, { ""developer_id"": ""A9"", ""request_id"": 3, ""assignment_cost"": 8 }, { ""developer_id"": ""A9"", ""request_id"": 4, ""assignment_cost"": 7 }, { ""developer_id"": ""A9"", ""request_id"": 5, ""assignment_cost"": 17 }, { ""developer_id"": ""A9"", ""request_id"": 6, ""assignment_cost"": 12 }, { ""developer_id"": ""A9"", ""request_id"": 7, ""assignment_cost"": 16 }, { ""developer_id"": ""A9"", ""request_id"": 8, ""assignment_cost"": 9 }, { ""developer_id"": ""A9"", ""request_id"": 9, ""assignment_cost"": 12 }, { ""developer_id"": ""A9"", ""request_id"": 10, ""assignment_cost"": 15 }, { ""developer_id"": ""A9"", ""request_id"": 11, ""assignment_cost"": 5 }, { ""developer_id"": ""A9"", ""request_id"": 12, ""assignment_cost"": 17 }, { ""developer_id"": ""A9"", ""request_id"": 13, ""assignment_cost"": 15 }, { ""developer_id"": ""A9"", ""request_id"": 14, ""assignment_cost"": 14 }, { ""developer_id"": ""A9"", ""request_id"": 15, ""assignment_cost"": 13 }, { ""developer_id"": ""A9"", ""request_id"": 16, ""assignment_cost"": 7 }, { ""developer_id"": ""A9"", ""request_id"": 17, ""assignment_cost"": 10 }, { ""developer_id"": ""A9"", ""request_id"": 18, ""assignment_cost"": 13 }, { ""developer_id"": ""A9"", ""request_id"": 19, ""assignment_cost"": 17 }, { ""developer_id"": ""A9"", ""request_id"": 20, ""assignment_cost"": 13 }, { ""developer_id"": ""A9"", ""request_id"": 21, ""assignment_cost"": 7 }, { ""developer_id"": ""A9"", ""request_id"": 22, ""assignment_cost"": 6 }, { ""developer_id"": ""A9"", ""request_id"": 23, ""assignment_cost"": 24 }, { ""developer_id"": ""A9"", ""request_id"": 24, ""assignment_cost"": 16 } ] } If you want the answer in a neat, machine-friendly package, just follow this little JSON shape when you reply — nothing fancy, just a list saying which developer takes each request in order. { ""solution"": [ , , ..., ] } Think of that ""solution"" array as a form: the first entry is who does request #1, the second is who does request #2, and so on — you just drop each developer's identifier into the matching slot. This is only a sketch of the shape I need, not the actual assignment. Please use the exact identifiers from the problem input when you fill this in — don't rename or invent labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[33, 19, 17, 45, 33, 11, 39, 12, 42, 24, 38, 20, 42, 20, 47, 38, 11, 23, 29, 25, 21, 19, 42, 26, 22], [20, 32, 28, 42, 43, 40, 16, 47, 17, 38, 24, 33, 14, 17, 24, 27, 21, 33, 37, 17, 35, 45, 28, 46, 48], [39, 27, 45, 12, 37, 17, 49, 38, 44, 22, 14, 33, 13, 28, 19, 34, 37, 32, 35, 49, 21, 42, 39, 22, 44], [44, 21, 34, 25, 13, 13, 17, 34, 34, 18, 16, 34, 36, 25, 16, 40, 10, 37, 21, 26, 38, 15, 31, 21, 44], [15, 44, 11, 39, 14, 43, 12, 36, 31, 12, 25, 19, 11, 33, 10, 39, 13, 39, 47, 19, 49, 45, 36, 31, 20], [28, 33, 29, 12, 10, 28, 11, 28, 42, 37, 41, 34, 39, 10, 40, 39, 11, 12, 40, 48, 18, 41, 23, 25, 42], [35, 18, 34, 38, 50, 40, 44, 14, 23, 27, 22, 22, 10, 50, 23, 46, 11, 12, 39, 48, 33, 31, 30, 11, 37], [17, 10, 11, 46, 18, 12, 27, 44, 24, 28, 16, 34, 43, 47, 23, 16, 29, 50, 44, 10, 23, 31, 12, 38, 13], [45, 14, 20, 20, 24, 27, 17, 14, 49, 25, 48, 48, 23, 37, 19, 43, 18, 23, 47, 46, 47, 26, 45, 49, 41]], 'assignment_costs': [[22, 25, 20, 10, 11, 23, 8, 5, 10, 6, 21, 19, 17, 18, 6, 6, 7, 25, 5, 9, 8, 25, 25, 17, 22], [16, 14, 23, 17, 22, 24, 14, 15, 21, 25, 11, 5, 15, 18, 8, 9, 20, 25, 9, 11, 8, 5, 24, 19, 10], [21, 22, 19, 6, 9, 18, 11, 25, 25, 11, 6, 23, 25, 15, 10, 12, 11, 18, 10, 8, 12, 11, 13, 24, 17], [21, 17, 16, 25, 25, 25, 15, 9, 24, 8, 19, 13, 8, 10, 18, 13, 25, 11, 24, 18, 21, 20, 9, 20, 6], [19, 19, 7, 18, 22, 14, 20, 20, 7, 15, 14, 19, 9, 19, 21, 19, 20, 11, 25, 21, 10, 19, 10, 22, 14], [5, 15, 16, 11, 24, 14, 18, 22, 9, 22, 9, 10, 15, 20, 7, 16, 13, 18, 19, 9, 19, 11, 9, 22, 13], [6, 19, 11, 24, 24, 16, 11, 23, 12, 23, 14, 10, 16, 19, 16, 24, 11, 13, 8, 6, 18, 7, 11, 21, 20], [13, 13, 18, 21, 8, 13, 14, 21, 19, 7, 18, 5, 20, 10, 5, 16, 22, 8, 21, 7, 12, 18, 15, 19, 8], [11, 14, 10, 8, 7, 17, 12, 16, 9, 12, 15, 5, 17, 15, 14, 13, 7, 10, 13, 17, 13, 7, 6, 24, 16]], 'capacities': [236, 248, 241, 240, 238, 243, 238, 239, 233], 'objective': 185.0}","[5, 7, 4, 2, 8, 7, 0, 0, 4, 0, 2, 1, 3, 3, 7, 0, 0, 7, 0, 6, 0, 1, 8, 0, 3]",185.0,"{'problem_type': 'GAP', 'num_agents': 9, 'num_tasks': 25, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 236}, {'agent_id': 'A2', 'capacity': 248}, {'agent_id': 'A3', 'capacity': 241}, {'agent_id': 'A4', 'capacity': 240}, {'agent_id': 'A5', 'capacity': 238}, {'agent_id': 'A6', 'capacity': 243}, {'agent_id': 'A7', 'capacity': 238}, {'agent_id': 'A8', 'capacity': 239}, {'agent_id': 'A9', 'capacity': 233}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 37}, {'agent_id': 'A8', 'task_id': 0, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 46}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 38}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 13}, {'agent_id': 'A9', 'task_id': 0, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A9', 'task_id': 2, 'consumption': 20}, {'agent_id': 'A9', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A9', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A9', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A9', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A9', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A9', 'task_id': 8, 'consumption': 49}, {'agent_id': 'A9', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A9', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A9', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A9', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A9', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A9', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A9', 'task_id': 15, 'consumption': 43}, {'agent_id': 'A9', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A9', 'task_id': 17, 'consumption': 23}, {'agent_id': 'A9', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A9', 'task_id': 19, 'consumption': 46}, {'agent_id': 'A9', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A9', 'task_id': 21, 'consumption': 26}, {'agent_id': 'A9', 'task_id': 22, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 23, 'consumption': 49}, {'agent_id': 'A9', 'task_id': 24, 'consumption': 41}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 22}, {'agent_id': 'A1', 'task_id': 1, 'cost': 25}, {'agent_id': 'A1', 'task_id': 2, 'cost': 20}, {'agent_id': 'A1', 'task_id': 3, 'cost': 10}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 23}, {'agent_id': 'A1', 'task_id': 6, 'cost': 8}, {'agent_id': 'A1', 'task_id': 7, 'cost': 5}, {'agent_id': 'A1', 'task_id': 8, 'cost': 10}, {'agent_id': 'A1', 'task_id': 9, 'cost': 6}, {'agent_id': 'A1', 'task_id': 10, 'cost': 21}, {'agent_id': 'A1', 'task_id': 11, 'cost': 19}, {'agent_id': 'A1', 'task_id': 12, 'cost': 17}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 6}, {'agent_id': 'A1', 'task_id': 15, 'cost': 6}, {'agent_id': 'A1', 'task_id': 16, 'cost': 7}, {'agent_id': 'A1', 'task_id': 17, 'cost': 25}, {'agent_id': 'A1', 'task_id': 18, 'cost': 5}, {'agent_id': 'A1', 'task_id': 19, 'cost': 9}, {'agent_id': 'A1', 'task_id': 20, 'cost': 8}, {'agent_id': 'A1', 'task_id': 21, 'cost': 25}, {'agent_id': 'A1', 'task_id': 22, 'cost': 25}, {'agent_id': 'A1', 'task_id': 23, 'cost': 17}, {'agent_id': 'A1', 'task_id': 24, 'cost': 22}, {'agent_id': 'A2', 'task_id': 0, 'cost': 16}, {'agent_id': 'A2', 'task_id': 1, 'cost': 14}, {'agent_id': 'A2', 'task_id': 2, 'cost': 23}, {'agent_id': 'A2', 'task_id': 3, 'cost': 17}, {'agent_id': 'A2', 'task_id': 4, 'cost': 22}, {'agent_id': 'A2', 'task_id': 5, 'cost': 24}, {'agent_id': 'A2', 'task_id': 6, 'cost': 14}, {'agent_id': 'A2', 'task_id': 7, 'cost': 15}, {'agent_id': 'A2', 'task_id': 8, 'cost': 21}, {'agent_id': 'A2', 'task_id': 9, 'cost': 25}, {'agent_id': 'A2', 'task_id': 10, 'cost': 11}, {'agent_id': 'A2', 'task_id': 11, 'cost': 5}, {'agent_id': 'A2', 'task_id': 12, 'cost': 15}, {'agent_id': 'A2', 'task_id': 13, 'cost': 18}, {'agent_id': 'A2', 'task_id': 14, 'cost': 8}, {'agent_id': 'A2', 'task_id': 15, 'cost': 9}, {'agent_id': 'A2', 'task_id': 16, 'cost': 20}, {'agent_id': 'A2', 'task_id': 17, 'cost': 25}, {'agent_id': 'A2', 'task_id': 18, 'cost': 9}, {'agent_id': 'A2', 'task_id': 19, 'cost': 11}, {'agent_id': 'A2', 'task_id': 20, 'cost': 8}, {'agent_id': 'A2', 'task_id': 21, 'cost': 5}, {'agent_id': 'A2', 'task_id': 22, 'cost': 24}, {'agent_id': 'A2', 'task_id': 23, 'cost': 19}, {'agent_id': 'A2', 'task_id': 24, 'cost': 10}, {'agent_id': 'A3', 'task_id': 0, 'cost': 21}, {'agent_id': 'A3', 'task_id': 1, 'cost': 22}, {'agent_id': 'A3', 'task_id': 2, 'cost': 19}, {'agent_id': 'A3', 'task_id': 3, 'cost': 6}, {'agent_id': 'A3', 'task_id': 4, 'cost': 9}, {'agent_id': 'A3', 'task_id': 5, 'cost': 18}, {'agent_id': 'A3', 'task_id': 6, 'cost': 11}, {'agent_id': 'A3', 'task_id': 7, 'cost': 25}, {'agent_id': 'A3', 'task_id': 8, 'cost': 25}, {'agent_id': 'A3', 'task_id': 9, 'cost': 11}, {'agent_id': 'A3', 'task_id': 10, 'cost': 6}, {'agent_id': 'A3', 'task_id': 11, 'cost': 23}, {'agent_id': 'A3', 'task_id': 12, 'cost': 25}, {'agent_id': 'A3', 'task_id': 13, 'cost': 15}, {'agent_id': 'A3', 'task_id': 14, 'cost': 10}, {'agent_id': 'A3', 'task_id': 15, 'cost': 12}, {'agent_id': 'A3', 'task_id': 16, 'cost': 11}, {'agent_id': 'A3', 'task_id': 17, 'cost': 18}, {'agent_id': 'A3', 'task_id': 18, 'cost': 10}, {'agent_id': 'A3', 'task_id': 19, 'cost': 8}, {'agent_id': 'A3', 'task_id': 20, 'cost': 12}, {'agent_id': 'A3', 'task_id': 21, 'cost': 11}, {'agent_id': 'A3', 'task_id': 22, 'cost': 13}, {'agent_id': 'A3', 'task_id': 23, 'cost': 24}, {'agent_id': 'A3', 'task_id': 24, 'cost': 17}, {'agent_id': 'A4', 'task_id': 0, 'cost': 21}, {'agent_id': 'A4', 'task_id': 1, 'cost': 17}, {'agent_id': 'A4', 'task_id': 2, 'cost': 16}, {'agent_id': 'A4', 'task_id': 3, 'cost': 25}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 25}, {'agent_id': 'A4', 'task_id': 6, 'cost': 15}, {'agent_id': 'A4', 'task_id': 7, 'cost': 9}, {'agent_id': 'A4', 'task_id': 8, 'cost': 24}, {'agent_id': 'A4', 'task_id': 9, 'cost': 8}, {'agent_id': 'A4', 'task_id': 10, 'cost': 19}, {'agent_id': 'A4', 'task_id': 11, 'cost': 13}, {'agent_id': 'A4', 'task_id': 12, 'cost': 8}, {'agent_id': 'A4', 'task_id': 13, 'cost': 10}, {'agent_id': 'A4', 'task_id': 14, 'cost': 18}, {'agent_id': 'A4', 'task_id': 15, 'cost': 13}, {'agent_id': 'A4', 'task_id': 16, 'cost': 25}, {'agent_id': 'A4', 'task_id': 17, 'cost': 11}, {'agent_id': 'A4', 'task_id': 18, 'cost': 24}, {'agent_id': 'A4', 'task_id': 19, 'cost': 18}, {'agent_id': 'A4', 'task_id': 20, 'cost': 21}, {'agent_id': 'A4', 'task_id': 21, 'cost': 20}, {'agent_id': 'A4', 'task_id': 22, 'cost': 9}, {'agent_id': 'A4', 'task_id': 23, 'cost': 20}, {'agent_id': 'A4', 'task_id': 24, 'cost': 6}, {'agent_id': 'A5', 'task_id': 0, 'cost': 19}, {'agent_id': 'A5', 'task_id': 1, 'cost': 19}, {'agent_id': 'A5', 'task_id': 2, 'cost': 7}, {'agent_id': 'A5', 'task_id': 3, 'cost': 18}, {'agent_id': 'A5', 'task_id': 4, 'cost': 22}, {'agent_id': 'A5', 'task_id': 5, 'cost': 14}, {'agent_id': 'A5', 'task_id': 6, 'cost': 20}, {'agent_id': 'A5', 'task_id': 7, 'cost': 20}, {'agent_id': 'A5', 'task_id': 8, 'cost': 7}, {'agent_id': 'A5', 'task_id': 9, 'cost': 15}, {'agent_id': 'A5', 'task_id': 10, 'cost': 14}, {'agent_id': 'A5', 'task_id': 11, 'cost': 19}, {'agent_id': 'A5', 'task_id': 12, 'cost': 9}, {'agent_id': 'A5', 'task_id': 13, 'cost': 19}, {'agent_id': 'A5', 'task_id': 14, 'cost': 21}, {'agent_id': 'A5', 'task_id': 15, 'cost': 19}, {'agent_id': 'A5', 'task_id': 16, 'cost': 20}, {'agent_id': 'A5', 'task_id': 17, 'cost': 11}, {'agent_id': 'A5', 'task_id': 18, 'cost': 25}, {'agent_id': 'A5', 'task_id': 19, 'cost': 21}, {'agent_id': 'A5', 'task_id': 20, 'cost': 10}, {'agent_id': 'A5', 'task_id': 21, 'cost': 19}, {'agent_id': 'A5', 'task_id': 22, 'cost': 10}, {'agent_id': 'A5', 'task_id': 23, 'cost': 22}, {'agent_id': 'A5', 'task_id': 24, 'cost': 14}, {'agent_id': 'A6', 'task_id': 0, 'cost': 5}, {'agent_id': 'A6', 'task_id': 1, 'cost': 15}, {'agent_id': 'A6', 'task_id': 2, 'cost': 16}, {'agent_id': 'A6', 'task_id': 3, 'cost': 11}, {'agent_id': 'A6', 'task_id': 4, 'cost': 24}, {'agent_id': 'A6', 'task_id': 5, 'cost': 14}, {'agent_id': 'A6', 'task_id': 6, 'cost': 18}, {'agent_id': 'A6', 'task_id': 7, 'cost': 22}, {'agent_id': 'A6', 'task_id': 8, 'cost': 9}, {'agent_id': 'A6', 'task_id': 9, 'cost': 22}, {'agent_id': 'A6', 'task_id': 10, 'cost': 9}, {'agent_id': 'A6', 'task_id': 11, 'cost': 10}, {'agent_id': 'A6', 'task_id': 12, 'cost': 15}, {'agent_id': 'A6', 'task_id': 13, 'cost': 20}, {'agent_id': 'A6', 'task_id': 14, 'cost': 7}, {'agent_id': 'A6', 'task_id': 15, 'cost': 16}, {'agent_id': 'A6', 'task_id': 16, 'cost': 13}, {'agent_id': 'A6', 'task_id': 17, 'cost': 18}, {'agent_id': 'A6', 'task_id': 18, 'cost': 19}, {'agent_id': 'A6', 'task_id': 19, 'cost': 9}, {'agent_id': 'A6', 'task_id': 20, 'cost': 19}, {'agent_id': 'A6', 'task_id': 21, 'cost': 11}, {'agent_id': 'A6', 'task_id': 22, 'cost': 9}, {'agent_id': 'A6', 'task_id': 23, 'cost': 22}, {'agent_id': 'A6', 'task_id': 24, 'cost': 13}, {'agent_id': 'A7', 'task_id': 0, 'cost': 6}, {'agent_id': 'A7', 'task_id': 1, 'cost': 19}, {'agent_id': 'A7', 'task_id': 2, 'cost': 11}, {'agent_id': 'A7', 'task_id': 3, 'cost': 24}, {'agent_id': 'A7', 'task_id': 4, 'cost': 24}, {'agent_id': 'A7', 'task_id': 5, 'cost': 16}, {'agent_id': 'A7', 'task_id': 6, 'cost': 11}, {'agent_id': 'A7', 'task_id': 7, 'cost': 23}, {'agent_id': 'A7', 'task_id': 8, 'cost': 12}, {'agent_id': 'A7', 'task_id': 9, 'cost': 23}, {'agent_id': 'A7', 'task_id': 10, 'cost': 14}, {'agent_id': 'A7', 'task_id': 11, 'cost': 10}, {'agent_id': 'A7', 'task_id': 12, 'cost': 16}, {'agent_id': 'A7', 'task_id': 13, 'cost': 19}, {'agent_id': 'A7', 'task_id': 14, 'cost': 16}, {'agent_id': 'A7', 'task_id': 15, 'cost': 24}, {'agent_id': 'A7', 'task_id': 16, 'cost': 11}, {'agent_id': 'A7', 'task_id': 17, 'cost': 13}, {'agent_id': 'A7', 'task_id': 18, 'cost': 8}, {'agent_id': 'A7', 'task_id': 19, 'cost': 6}, {'agent_id': 'A7', 'task_id': 20, 'cost': 18}, {'agent_id': 'A7', 'task_id': 21, 'cost': 7}, {'agent_id': 'A7', 'task_id': 22, 'cost': 11}, {'agent_id': 'A7', 'task_id': 23, 'cost': 21}, {'agent_id': 'A7', 'task_id': 24, 'cost': 20}, {'agent_id': 'A8', 'task_id': 0, 'cost': 13}, {'agent_id': 'A8', 'task_id': 1, 'cost': 13}, {'agent_id': 'A8', 'task_id': 2, 'cost': 18}, {'agent_id': 'A8', 'task_id': 3, 'cost': 21}, {'agent_id': 'A8', 'task_id': 4, 'cost': 8}, {'agent_id': 'A8', 'task_id': 5, 'cost': 13}, {'agent_id': 'A8', 'task_id': 6, 'cost': 14}, {'agent_id': 'A8', 'task_id': 7, 'cost': 21}, {'agent_id': 'A8', 'task_id': 8, 'cost': 19}, {'agent_id': 'A8', 'task_id': 9, 'cost': 7}, {'agent_id': 'A8', 'task_id': 10, 'cost': 18}, {'agent_id': 'A8', 'task_id': 11, 'cost': 5}, {'agent_id': 'A8', 'task_id': 12, 'cost': 20}, {'agent_id': 'A8', 'task_id': 13, 'cost': 10}, {'agent_id': 'A8', 'task_id': 14, 'cost': 5}, {'agent_id': 'A8', 'task_id': 15, 'cost': 16}, {'agent_id': 'A8', 'task_id': 16, 'cost': 22}, {'agent_id': 'A8', 'task_id': 17, 'cost': 8}, {'agent_id': 'A8', 'task_id': 18, 'cost': 21}, {'agent_id': 'A8', 'task_id': 19, 'cost': 7}, {'agent_id': 'A8', 'task_id': 20, 'cost': 12}, {'agent_id': 'A8', 'task_id': 21, 'cost': 18}, {'agent_id': 'A8', 'task_id': 22, 'cost': 15}, {'agent_id': 'A8', 'task_id': 23, 'cost': 19}, {'agent_id': 'A8', 'task_id': 24, 'cost': 8}, {'agent_id': 'A9', 'task_id': 0, 'cost': 11}, {'agent_id': 'A9', 'task_id': 1, 'cost': 14}, {'agent_id': 'A9', 'task_id': 2, 'cost': 10}, {'agent_id': 'A9', 'task_id': 3, 'cost': 8}, {'agent_id': 'A9', 'task_id': 4, 'cost': 7}, {'agent_id': 'A9', 'task_id': 5, 'cost': 17}, {'agent_id': 'A9', 'task_id': 6, 'cost': 12}, {'agent_id': 'A9', 'task_id': 7, 'cost': 16}, {'agent_id': 'A9', 'task_id': 8, 'cost': 9}, {'agent_id': 'A9', 'task_id': 9, 'cost': 12}, {'agent_id': 'A9', 'task_id': 10, 'cost': 15}, {'agent_id': 'A9', 'task_id': 11, 'cost': 5}, {'agent_id': 'A9', 'task_id': 12, 'cost': 17}, {'agent_id': 'A9', 'task_id': 13, 'cost': 15}, {'agent_id': 'A9', 'task_id': 14, 'cost': 14}, {'agent_id': 'A9', 'task_id': 15, 'cost': 13}, {'agent_id': 'A9', 'task_id': 16, 'cost': 7}, {'agent_id': 'A9', 'task_id': 17, 'cost': 10}, {'agent_id': 'A9', 'task_id': 18, 'cost': 13}, {'agent_id': 'A9', 'task_id': 19, 'cost': 17}, {'agent_id': 'A9', 'task_id': 20, 'cost': 13}, {'agent_id': 'A9', 'task_id': 21, 'cost': 7}, {'agent_id': 'A9', 'task_id': 22, 'cost': 6}, {'agent_id': 'A9', 'task_id': 23, 'cost': 24}, {'agent_id': 'A9', 'task_id': 24, 'cost': 16}]}","['A6', 'A8', 'A5', 'A3', 'A9', 'A8', 'A1', 'A1', 'A5', 'A1', 'A3', 'A2', 'A4', 'A4', 'A8', 'A1', 'A1', 'A8', 'A1', 'A7', 'A1', 'A2', 'A9', 'A1', 'A4']",30,json,0 GAP,GAP,"Recently the head chef sketched a map of the line: each menu item must be handled at a single station, stations have finite prep capacity, and for every item-station pairing the team recorded how much of that station’s capacity the item would use and what it would cost to prep there. The task is to decide where every item goes so no station runs past its capacity, and to minimize the total cost — computed by adding the cost of each item at the station it’s sent to. The detailed numbers are listed below. # num_stations=8 # num_menu_items=22 # stations=A1, A2, A3, A4, A5, A6, A7, A8 # menu_items=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 station_id,prep_capacity A1,951 A2,963 A3,963 A4,942 A5,954 A6,971 A7,968 A8,958 station_id,menu_item_id,station_capacity_usage A1,1,35 A1,2,43 A1,3,34 A1,4,34 A1,5,40 A1,6,48 A1,7,47 A1,8,22 A1,9,14 A1,10,15 A1,11,32 A1,12,47 A1,13,23 A1,14,14 A1,15,37 A1,16,29 A1,17,37 A1,18,10 A1,19,45 A1,20,15 A1,21,50 A1,22,16 A2,1,47 A2,2,31 A2,3,11 A2,4,27 A2,5,14 A2,6,36 A2,7,20 A2,8,36 A2,9,28 A2,10,17 A2,11,48 A2,12,29 A2,13,31 A2,14,46 A2,15,19 A2,16,41 A2,17,30 A2,18,33 A2,19,25 A2,20,41 A2,21,30 A2,22,37 A3,1,30 A3,2,13 A3,3,26 A3,4,47 A3,5,16 A3,6,50 A3,7,24 A3,8,44 A3,9,14 A3,10,44 A3,11,21 A3,12,42 A3,13,23 A3,14,24 A3,15,11 A3,16,31 A3,17,47 A3,18,39 A3,19,34 A3,20,48 A3,21,38 A3,22,26 A4,1,36 A4,2,22 A4,3,16 A4,4,34 A4,5,21 A4,6,29 A4,7,28 A4,8,18 A4,9,22 A4,10,22 A4,11,22 A4,12,14 A4,13,40 A4,14,13 A4,15,32 A4,16,42 A4,17,13 A4,18,30 A4,19,20 A4,20,39 A4,21,18 A4,22,41 A5,1,31 A5,2,30 A5,3,42 A5,4,36 A5,5,13 A5,6,36 A5,7,26 A5,8,27 A5,9,27 A5,10,34 A5,11,38 A5,12,19 A5,13,20 A5,14,10 A5,15,21 A5,16,36 A5,17,48 A5,18,33 A5,19,22 A5,20,38 A5,21,35 A5,22,25 A6,1,27 A6,2,16 A6,3,31 A6,4,37 A6,5,47 A6,6,24 A6,7,28 A6,8,31 A6,9,12 A6,10,28 A6,11,26 A6,12,12 A6,13,47 A6,14,39 A6,15,26 A6,16,20 A6,17,11 A6,18,21 A6,19,44 A6,20,11 A6,21,28 A6,22,26 A7,1,41 A7,2,40 A7,3,47 A7,4,23 A7,5,49 A7,6,23 A7,7,10 A7,8,23 A7,9,42 A7,10,33 A7,11,31 A7,12,35 A7,13,37 A7,14,32 A7,15,17 A7,16,19 A7,17,16 A7,18,17 A7,19,20 A7,20,31 A7,21,38 A7,22,36 A8,1,19 A8,2,38 A8,3,41 A8,4,48 A8,5,43 A8,6,11 A8,7,30 A8,8,48 A8,9,13 A8,10,45 A8,11,17 A8,12,33 A8,13,13 A8,14,18 A8,15,13 A8,16,39 A8,17,34 A8,18,12 A8,19,48 A8,20,32 A8,21,47 A8,22,32 station_id,menu_item_id,prep_cost A1,1,6 A1,2,7 A1,3,15 A1,4,25 A1,5,14 A1,6,23 A1,7,21 A1,8,25 A1,9,19 A1,10,6 A1,11,21 A1,12,22 A1,13,7 A1,14,21 A1,15,17 A1,16,24 A1,17,16 A1,18,14 A1,19,5 A1,20,19 A1,21,11 A1,22,17 A2,1,5 A2,2,10 A2,3,19 A2,4,9 A2,5,18 A2,6,23 A2,7,24 A2,8,25 A2,9,21 A2,10,14 A2,11,24 A2,12,23 A2,13,9 A2,14,5 A2,15,21 A2,16,24 A2,17,5 A2,18,24 A2,19,7 A2,20,15 A2,21,19 A2,22,8 A3,1,5 A3,2,17 A3,3,22 A3,4,20 A3,5,6 A3,6,24 A3,7,20 A3,8,15 A3,9,7 A3,10,23 A3,11,18 A3,12,24 A3,13,7 A3,14,22 A3,15,11 A3,16,20 A3,17,23 A3,18,14 A3,19,17 A3,20,11 A3,21,14 A3,22,7 A4,1,11 A4,2,11 A4,3,9 A4,4,19 A4,5,9 A4,6,7 A4,7,6 A4,8,12 A4,9,24 A4,10,7 A4,11,15 A4,12,22 A4,13,12 A4,14,19 A4,15,9 A4,16,12 A4,17,17 A4,18,12 A4,19,7 A4,20,14 A4,21,18 A4,22,7 A5,1,10 A5,2,12 A5,3,22 A5,4,18 A5,5,7 A5,6,15 A5,7,7 A5,8,18 A5,9,20 A5,10,20 A5,11,8 A5,12,15 A5,13,9 A5,14,5 A5,15,21 A5,16,17 A5,17,7 A5,18,17 A5,19,21 A5,20,14 A5,21,9 A5,22,19 A6,1,13 A6,2,10 A6,3,21 A6,4,21 A6,5,25 A6,6,7 A6,7,19 A6,8,10 A6,9,20 A6,10,16 A6,11,16 A6,12,21 A6,13,8 A6,14,16 A6,15,24 A6,16,5 A6,17,11 A6,18,12 A6,19,17 A6,20,15 A6,21,22 A6,22,13 A7,1,10 A7,2,5 A7,3,10 A7,4,15 A7,5,23 A7,6,17 A7,7,10 A7,8,25 A7,9,10 A7,10,14 A7,11,11 A7,12,14 A7,13,23 A7,14,22 A7,15,9 A7,16,8 A7,17,23 A7,18,11 A7,19,19 A7,20,21 A7,21,18 A7,22,11 A8,1,11 A8,2,19 A8,3,7 A8,4,6 A8,5,14 A8,6,22 A8,7,21 A8,8,6 A8,9,15 A8,10,12 A8,11,17 A8,12,7 A8,13,22 A8,14,22 A8,15,5 A8,16,24 A8,17,23 A8,18,5 A8,19,20 A8,20,6 A8,21,22 A8,22,25 Oh, and when you hand this back to me, please keep it in a simple JSON layout so it's easy to check automatically. Here's the shape I expect — just a little list showing which station each menu item goes to: { ""solution"": [ , , , ..., ] } Pretty straightforward: ""solution"" is an array where the first entry is the station for the first menu item, the second entry is the station for the second menu item, and so on through the last menu item. Think of it like a sign-up sheet: each slot shows which station is taking that dish. This JSON is only a sketch of the expected shape — not the final assignment. Please use the exact identifiers as they appear in the instance input; do not rename them or invent new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[35, 43, 34, 34, 40, 48, 47, 22, 14, 15, 32, 47, 23, 14, 37, 29, 37, 10, 45, 15, 50, 16], [47, 31, 11, 27, 14, 36, 20, 36, 28, 17, 48, 29, 31, 46, 19, 41, 30, 33, 25, 41, 30, 37], [30, 13, 26, 47, 16, 50, 24, 44, 14, 44, 21, 42, 23, 24, 11, 31, 47, 39, 34, 48, 38, 26], [36, 22, 16, 34, 21, 29, 28, 18, 22, 22, 22, 14, 40, 13, 32, 42, 13, 30, 20, 39, 18, 41], [31, 30, 42, 36, 13, 36, 26, 27, 27, 34, 38, 19, 20, 10, 21, 36, 48, 33, 22, 38, 35, 25], [27, 16, 31, 37, 47, 24, 28, 31, 12, 28, 26, 12, 47, 39, 26, 20, 11, 21, 44, 11, 28, 26], [41, 40, 47, 23, 49, 23, 10, 23, 42, 33, 31, 35, 37, 32, 17, 19, 16, 17, 20, 31, 38, 36], [19, 38, 41, 48, 43, 11, 30, 48, 13, 45, 17, 33, 13, 18, 13, 39, 34, 12, 48, 32, 47, 32]], 'assignment_costs': [[6, 7, 15, 25, 14, 23, 21, 25, 19, 6, 21, 22, 7, 21, 17, 24, 16, 14, 5, 19, 11, 17], [5, 10, 19, 9, 18, 23, 24, 25, 21, 14, 24, 23, 9, 5, 21, 24, 5, 24, 7, 15, 19, 8], [5, 17, 22, 20, 6, 24, 20, 15, 7, 23, 18, 24, 7, 22, 11, 20, 23, 14, 17, 11, 14, 7], [11, 11, 9, 19, 9, 7, 6, 12, 24, 7, 15, 22, 12, 19, 9, 12, 17, 12, 7, 14, 18, 7], [10, 12, 22, 18, 7, 15, 7, 18, 20, 20, 8, 15, 9, 5, 21, 17, 7, 17, 21, 14, 9, 19], [13, 10, 21, 21, 25, 7, 19, 10, 20, 16, 16, 21, 8, 16, 24, 5, 11, 12, 17, 15, 22, 13], [10, 5, 10, 15, 23, 17, 10, 25, 10, 14, 11, 14, 23, 22, 9, 8, 23, 11, 19, 21, 18, 11], [11, 19, 7, 6, 14, 22, 21, 6, 15, 12, 17, 7, 22, 22, 5, 24, 23, 5, 20, 6, 22, 25]], 'capacities': [951, 963, 963, 942, 954, 971, 968, 958], 'objective': 135.0}","[1, 6, 7, 7, 2, 3, 3, 7, 2, 0, 4, 7, 0, 4, 7, 5, 1, 7, 0, 7, 4, 2]",135.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 951}, {'agent_id': 'A2', 'capacity': 963}, {'agent_id': 'A3', 'capacity': 963}, {'agent_id': 'A4', 'capacity': 942}, {'agent_id': 'A5', 'capacity': 954}, {'agent_id': 'A6', 'capacity': 971}, {'agent_id': 'A7', 'capacity': 968}, {'agent_id': 'A8', 'capacity': 958}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 30}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 33}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 32}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 47}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 32}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 6}, {'agent_id': 'A1', 'task_id': 2, 'cost': 7}, {'agent_id': 'A1', 'task_id': 3, 'cost': 15}, {'agent_id': 'A1', 'task_id': 4, 'cost': 25}, {'agent_id': 'A1', 'task_id': 5, 'cost': 14}, {'agent_id': 'A1', 'task_id': 6, 'cost': 23}, {'agent_id': 'A1', 'task_id': 7, 'cost': 21}, {'agent_id': 'A1', 'task_id': 8, 'cost': 25}, {'agent_id': 'A1', 'task_id': 9, 'cost': 19}, {'agent_id': 'A1', 'task_id': 10, 'cost': 6}, {'agent_id': 'A1', 'task_id': 11, 'cost': 21}, {'agent_id': 'A1', 'task_id': 12, 'cost': 22}, {'agent_id': 'A1', 'task_id': 13, 'cost': 7}, {'agent_id': 'A1', 'task_id': 14, 'cost': 21}, {'agent_id': 'A1', 'task_id': 15, 'cost': 17}, {'agent_id': 'A1', 'task_id': 16, 'cost': 24}, {'agent_id': 'A1', 'task_id': 17, 'cost': 16}, {'agent_id': 'A1', 'task_id': 18, 'cost': 14}, {'agent_id': 'A1', 'task_id': 19, 'cost': 5}, {'agent_id': 'A1', 'task_id': 20, 'cost': 19}, {'agent_id': 'A1', 'task_id': 21, 'cost': 11}, {'agent_id': 'A1', 'task_id': 22, 'cost': 17}, {'agent_id': 'A2', 'task_id': 1, 'cost': 5}, {'agent_id': 'A2', 'task_id': 2, 'cost': 10}, {'agent_id': 'A2', 'task_id': 3, 'cost': 19}, {'agent_id': 'A2', 'task_id': 4, 'cost': 9}, {'agent_id': 'A2', 'task_id': 5, 'cost': 18}, {'agent_id': 'A2', 'task_id': 6, 'cost': 23}, {'agent_id': 'A2', 'task_id': 7, 'cost': 24}, {'agent_id': 'A2', 'task_id': 8, 'cost': 25}, {'agent_id': 'A2', 'task_id': 9, 'cost': 21}, {'agent_id': 'A2', 'task_id': 10, 'cost': 14}, {'agent_id': 'A2', 'task_id': 11, 'cost': 24}, {'agent_id': 'A2', 'task_id': 12, 'cost': 23}, {'agent_id': 'A2', 'task_id': 13, 'cost': 9}, {'agent_id': 'A2', 'task_id': 14, 'cost': 5}, {'agent_id': 'A2', 'task_id': 15, 'cost': 21}, {'agent_id': 'A2', 'task_id': 16, 'cost': 24}, {'agent_id': 'A2', 'task_id': 17, 'cost': 5}, {'agent_id': 'A2', 'task_id': 18, 'cost': 24}, {'agent_id': 'A2', 'task_id': 19, 'cost': 7}, {'agent_id': 'A2', 'task_id': 20, 'cost': 15}, {'agent_id': 'A2', 'task_id': 21, 'cost': 19}, {'agent_id': 'A2', 'task_id': 22, 'cost': 8}, {'agent_id': 'A3', 'task_id': 1, 'cost': 5}, {'agent_id': 'A3', 'task_id': 2, 'cost': 17}, {'agent_id': 'A3', 'task_id': 3, 'cost': 22}, {'agent_id': 'A3', 'task_id': 4, 'cost': 20}, {'agent_id': 'A3', 'task_id': 5, 'cost': 6}, {'agent_id': 'A3', 'task_id': 6, 'cost': 24}, {'agent_id': 'A3', 'task_id': 7, 'cost': 20}, {'agent_id': 'A3', 'task_id': 8, 'cost': 15}, {'agent_id': 'A3', 'task_id': 9, 'cost': 7}, {'agent_id': 'A3', 'task_id': 10, 'cost': 23}, {'agent_id': 'A3', 'task_id': 11, 'cost': 18}, {'agent_id': 'A3', 'task_id': 12, 'cost': 24}, {'agent_id': 'A3', 'task_id': 13, 'cost': 7}, {'agent_id': 'A3', 'task_id': 14, 'cost': 22}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 20}, {'agent_id': 'A3', 'task_id': 17, 'cost': 23}, {'agent_id': 'A3', 'task_id': 18, 'cost': 14}, {'agent_id': 'A3', 'task_id': 19, 'cost': 17}, {'agent_id': 'A3', 'task_id': 20, 'cost': 11}, {'agent_id': 'A3', 'task_id': 21, 'cost': 14}, {'agent_id': 'A3', 'task_id': 22, 'cost': 7}, {'agent_id': 'A4', 'task_id': 1, 'cost': 11}, {'agent_id': 'A4', 'task_id': 2, 'cost': 11}, {'agent_id': 'A4', 'task_id': 3, 'cost': 9}, {'agent_id': 'A4', 'task_id': 4, 'cost': 19}, {'agent_id': 'A4', 'task_id': 5, 'cost': 9}, {'agent_id': 'A4', 'task_id': 6, 'cost': 7}, {'agent_id': 'A4', 'task_id': 7, 'cost': 6}, {'agent_id': 'A4', 'task_id': 8, 'cost': 12}, {'agent_id': 'A4', 'task_id': 9, 'cost': 24}, {'agent_id': 'A4', 'task_id': 10, 'cost': 7}, {'agent_id': 'A4', 'task_id': 11, 'cost': 15}, {'agent_id': 'A4', 'task_id': 12, 'cost': 22}, {'agent_id': 'A4', 'task_id': 13, 'cost': 12}, {'agent_id': 'A4', 'task_id': 14, 'cost': 19}, {'agent_id': 'A4', 'task_id': 15, 'cost': 9}, {'agent_id': 'A4', 'task_id': 16, 'cost': 12}, {'agent_id': 'A4', 'task_id': 17, 'cost': 17}, {'agent_id': 'A4', 'task_id': 18, 'cost': 12}, {'agent_id': 'A4', 'task_id': 19, 'cost': 7}, {'agent_id': 'A4', 'task_id': 20, 'cost': 14}, {'agent_id': 'A4', 'task_id': 21, 'cost': 18}, {'agent_id': 'A4', 'task_id': 22, 'cost': 7}, {'agent_id': 'A5', 'task_id': 1, 'cost': 10}, {'agent_id': 'A5', 'task_id': 2, 'cost': 12}, {'agent_id': 'A5', 'task_id': 3, 'cost': 22}, {'agent_id': 'A5', 'task_id': 4, 'cost': 18}, {'agent_id': 'A5', 'task_id': 5, 'cost': 7}, {'agent_id': 'A5', 'task_id': 6, 'cost': 15}, {'agent_id': 'A5', 'task_id': 7, 'cost': 7}, {'agent_id': 'A5', 'task_id': 8, 'cost': 18}, {'agent_id': 'A5', 'task_id': 9, 'cost': 20}, {'agent_id': 'A5', 'task_id': 10, 'cost': 20}, {'agent_id': 'A5', 'task_id': 11, 'cost': 8}, {'agent_id': 'A5', 'task_id': 12, 'cost': 15}, {'agent_id': 'A5', 'task_id': 13, 'cost': 9}, {'agent_id': 'A5', 'task_id': 14, 'cost': 5}, {'agent_id': 'A5', 'task_id': 15, 'cost': 21}, {'agent_id': 'A5', 'task_id': 16, 'cost': 17}, {'agent_id': 'A5', 'task_id': 17, 'cost': 7}, {'agent_id': 'A5', 'task_id': 18, 'cost': 17}, {'agent_id': 'A5', 'task_id': 19, 'cost': 21}, {'agent_id': 'A5', 'task_id': 20, 'cost': 14}, {'agent_id': 'A5', 'task_id': 21, 'cost': 9}, {'agent_id': 'A5', 'task_id': 22, 'cost': 19}, {'agent_id': 'A6', 'task_id': 1, 'cost': 13}, {'agent_id': 'A6', 'task_id': 2, 'cost': 10}, {'agent_id': 'A6', 'task_id': 3, 'cost': 21}, {'agent_id': 'A6', 'task_id': 4, 'cost': 21}, {'agent_id': 'A6', 'task_id': 5, 'cost': 25}, {'agent_id': 'A6', 'task_id': 6, 'cost': 7}, {'agent_id': 'A6', 'task_id': 7, 'cost': 19}, {'agent_id': 'A6', 'task_id': 8, 'cost': 10}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 16}, {'agent_id': 'A6', 'task_id': 11, 'cost': 16}, {'agent_id': 'A6', 'task_id': 12, 'cost': 21}, {'agent_id': 'A6', 'task_id': 13, 'cost': 8}, {'agent_id': 'A6', 'task_id': 14, 'cost': 16}, {'agent_id': 'A6', 'task_id': 15, 'cost': 24}, {'agent_id': 'A6', 'task_id': 16, 'cost': 5}, {'agent_id': 'A6', 'task_id': 17, 'cost': 11}, {'agent_id': 'A6', 'task_id': 18, 'cost': 12}, {'agent_id': 'A6', 'task_id': 19, 'cost': 17}, {'agent_id': 'A6', 'task_id': 20, 'cost': 15}, {'agent_id': 'A6', 'task_id': 21, 'cost': 22}, {'agent_id': 'A6', 'task_id': 22, 'cost': 13}, {'agent_id': 'A7', 'task_id': 1, 'cost': 10}, {'agent_id': 'A7', 'task_id': 2, 'cost': 5}, {'agent_id': 'A7', 'task_id': 3, 'cost': 10}, {'agent_id': 'A7', 'task_id': 4, 'cost': 15}, {'agent_id': 'A7', 'task_id': 5, 'cost': 23}, {'agent_id': 'A7', 'task_id': 6, 'cost': 17}, {'agent_id': 'A7', 'task_id': 7, 'cost': 10}, {'agent_id': 'A7', 'task_id': 8, 'cost': 25}, {'agent_id': 'A7', 'task_id': 9, 'cost': 10}, {'agent_id': 'A7', 'task_id': 10, 'cost': 14}, {'agent_id': 'A7', 'task_id': 11, 'cost': 11}, {'agent_id': 'A7', 'task_id': 12, 'cost': 14}, {'agent_id': 'A7', 'task_id': 13, 'cost': 23}, {'agent_id': 'A7', 'task_id': 14, 'cost': 22}, {'agent_id': 'A7', 'task_id': 15, 'cost': 9}, {'agent_id': 'A7', 'task_id': 16, 'cost': 8}, {'agent_id': 'A7', 'task_id': 17, 'cost': 23}, {'agent_id': 'A7', 'task_id': 18, 'cost': 11}, {'agent_id': 'A7', 'task_id': 19, 'cost': 19}, {'agent_id': 'A7', 'task_id': 20, 'cost': 21}, {'agent_id': 'A7', 'task_id': 21, 'cost': 18}, {'agent_id': 'A7', 'task_id': 22, 'cost': 11}, {'agent_id': 'A8', 'task_id': 1, 'cost': 11}, {'agent_id': 'A8', 'task_id': 2, 'cost': 19}, {'agent_id': 'A8', 'task_id': 3, 'cost': 7}, {'agent_id': 'A8', 'task_id': 4, 'cost': 6}, {'agent_id': 'A8', 'task_id': 5, 'cost': 14}, {'agent_id': 'A8', 'task_id': 6, 'cost': 22}, {'agent_id': 'A8', 'task_id': 7, 'cost': 21}, {'agent_id': 'A8', 'task_id': 8, 'cost': 6}, {'agent_id': 'A8', 'task_id': 9, 'cost': 15}, {'agent_id': 'A8', 'task_id': 10, 'cost': 12}, {'agent_id': 'A8', 'task_id': 11, 'cost': 17}, {'agent_id': 'A8', 'task_id': 12, 'cost': 7}, {'agent_id': 'A8', 'task_id': 13, 'cost': 22}, {'agent_id': 'A8', 'task_id': 14, 'cost': 22}, {'agent_id': 'A8', 'task_id': 15, 'cost': 5}, {'agent_id': 'A8', 'task_id': 16, 'cost': 24}, {'agent_id': 'A8', 'task_id': 17, 'cost': 23}, {'agent_id': 'A8', 'task_id': 18, 'cost': 5}, {'agent_id': 'A8', 'task_id': 19, 'cost': 20}, {'agent_id': 'A8', 'task_id': 20, 'cost': 6}, {'agent_id': 'A8', 'task_id': 21, 'cost': 22}, {'agent_id': 'A8', 'task_id': 22, 'cost': 25}]}","['A2', 'A7', 'A8', 'A8', 'A3', 'A4', 'A4', 'A8', 'A3', 'A1', 'A5', 'A8', 'A1', 'A5', 'A8', 'A6', 'A2', 'A8', 'A1', 'A8', 'A5', 'A3']",31,csv,1 GAP,GAP,"There’s a simple problem at the dock: match each pallet to one truck, make sure nothing’s missed or duplicated, and respect each truck’s space limits. Pallets use up different amounts of room and incur different fees depending on which truck they ride in, and trucks can only carry up to their capacity. A better plan is one where, after adding up the hauling cost for every pallet’s chosen truck, that total bill is as small as possible. The specific pallet dimensions, truck space limits, and costs are listed below. { ""num_trucks"": 6, ""num_pallets"": 20, ""truck_ids"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"" ], ""pallet_ids"": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ], ""capacities"": [ { ""truck_id"": ""A1"", ""truck_capacity"": 116 }, { ""truck_id"": ""A2"", ""truck_capacity"": 119 }, { ""truck_id"": ""A3"", ""truck_capacity"": 123 }, { ""truck_id"": ""A4"", ""truck_capacity"": 120 }, { ""truck_id"": ""A5"", ""truck_capacity"": 122 }, { ""truck_id"": ""A6"", ""truck_capacity"": 114 } ], ""resource"": [ { ""truck_id"": ""A1"", ""pallet_id"": 0, ""pallet_space_usage"": 39 }, { ""truck_id"": ""A1"", ""pallet_id"": 1, ""pallet_space_usage"": 18 }, { ""truck_id"": ""A1"", ""pallet_id"": 2, ""pallet_space_usage"": 45 }, { ""truck_id"": ""A1"", ""pallet_id"": 3, ""pallet_space_usage"": 44 }, { ""truck_id"": ""A1"", ""pallet_id"": 4, ""pallet_space_usage"": 48 }, { ""truck_id"": ""A1"", ""pallet_id"": 5, ""pallet_space_usage"": 34 }, { ""truck_id"": ""A1"", ""pallet_id"": 6, ""pallet_space_usage"": 19 }, { ""truck_id"": ""A1"", ""pallet_id"": 7, ""pallet_space_usage"": 10 }, { ""truck_id"": ""A1"", ""pallet_id"": 8, ""pallet_space_usage"": 22 }, { ""truck_id"": ""A1"", ""pallet_id"": 9, ""pallet_space_usage"": 26 }, { ""truck_id"": ""A1"", ""pallet_id"": 10, ""pallet_space_usage"": 42 }, { ""truck_id"": ""A1"", ""pallet_id"": 11, ""pallet_space_usage"": 38 }, { ""truck_id"": ""A1"", ""pallet_id"": 12, ""pallet_space_usage"": 49 }, { ""truck_id"": ""A1"", ""pallet_id"": 13, ""pallet_space_usage"": 48 }, { ""truck_id"": ""A1"", ""pallet_id"": 14, ""pallet_space_usage"": 50 }, { ""truck_id"": ""A1"", ""pallet_id"": 15, ""pallet_space_usage"": 36 }, { ""truck_id"": ""A1"", ""pallet_id"": 16, ""pallet_space_usage"": 16 }, { ""truck_id"": ""A1"", ""pallet_id"": 17, ""pallet_space_usage"": 20 }, { ""truck_id"": ""A1"", ""pallet_id"": 18, ""pallet_space_usage"": 30 }, { ""truck_id"": ""A1"", ""pallet_id"": 19, ""pallet_space_usage"": 36 }, { ""truck_id"": ""A2"", ""pallet_id"": 0, ""pallet_space_usage"": 36 }, { ""truck_id"": ""A2"", ""pallet_id"": 1, ""pallet_space_usage"": 47 }, { ""truck_id"": ""A2"", ""pallet_id"": 2, ""pallet_space_usage"": 45 }, { ""truck_id"": ""A2"", ""pallet_id"": 3, ""pallet_space_usage"": 11 }, { ""truck_id"": ""A2"", ""pallet_id"": 4, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A2"", ""pallet_id"": 5, ""pallet_space_usage"": 25 }, { ""truck_id"": ""A2"", ""pallet_id"": 6, ""pallet_space_usage"": 14 }, { ""truck_id"": ""A2"", ""pallet_id"": 7, ""pallet_space_usage"": 19 }, { ""truck_id"": ""A2"", ""pallet_id"": 8, ""pallet_space_usage"": 29 }, { ""truck_id"": ""A2"", ""pallet_id"": 9, ""pallet_space_usage"": 36 }, { ""truck_id"": ""A2"", ""pallet_id"": 10, ""pallet_space_usage"": 21 }, { ""truck_id"": ""A2"", ""pallet_id"": 11, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A2"", ""pallet_id"": 12, ""pallet_space_usage"": 49 }, { ""truck_id"": ""A2"", ""pallet_id"": 13, ""pallet_space_usage"": 12 }, { ""truck_id"": ""A2"", ""pallet_id"": 14, ""pallet_space_usage"": 38 }, { ""truck_id"": ""A2"", ""pallet_id"": 15, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A2"", ""pallet_id"": 16, ""pallet_space_usage"": 27 }, { ""truck_id"": ""A2"", ""pallet_id"": 17, ""pallet_space_usage"": 18 }, { ""truck_id"": ""A2"", ""pallet_id"": 18, ""pallet_space_usage"": 30 }, { ""truck_id"": ""A2"", ""pallet_id"": 19, ""pallet_space_usage"": 50 }, { ""truck_id"": ""A3"", ""pallet_id"": 0, ""pallet_space_usage"": 10 }, { ""truck_id"": ""A3"", ""pallet_id"": 1, ""pallet_space_usage"": 49 }, { ""truck_id"": ""A3"", ""pallet_id"": 2, ""pallet_space_usage"": 18 }, { ""truck_id"": ""A3"", ""pallet_id"": 3, ""pallet_space_usage"": 50 }, { ""truck_id"": ""A3"", ""pallet_id"": 4, ""pallet_space_usage"": 17 }, { ""truck_id"": ""A3"", ""pallet_id"": 5, ""pallet_space_usage"": 39 }, { ""truck_id"": ""A3"", ""pallet_id"": 6, ""pallet_space_usage"": 14 }, { ""truck_id"": ""A3"", ""pallet_id"": 7, ""pallet_space_usage"": 25 }, { ""truck_id"": ""A3"", ""pallet_id"": 8, ""pallet_space_usage"": 39 }, { ""truck_id"": ""A3"", ""pallet_id"": 9, ""pallet_space_usage"": 41 }, { ""truck_id"": ""A3"", ""pallet_id"": 10, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A3"", ""pallet_id"": 11, ""pallet_space_usage"": 20 }, { ""truck_id"": ""A3"", ""pallet_id"": 12, ""pallet_space_usage"": 16 }, { ""truck_id"": ""A3"", ""pallet_id"": 13, ""pallet_space_usage"": 50 }, { ""truck_id"": ""A3"", ""pallet_id"": 14, ""pallet_space_usage"": 37 }, { ""truck_id"": ""A3"", ""pallet_id"": 15, ""pallet_space_usage"": 21 }, { ""truck_id"": ""A3"", ""pallet_id"": 16, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A3"", ""pallet_id"": 17, ""pallet_space_usage"": 20 }, { ""truck_id"": ""A3"", ""pallet_id"": 18, ""pallet_space_usage"": 38 }, { ""truck_id"": ""A3"", ""pallet_id"": 19, ""pallet_space_usage"": 40 }, { ""truck_id"": ""A4"", ""pallet_id"": 0, ""pallet_space_usage"": 22 }, { ""truck_id"": ""A4"", ""pallet_id"": 1, ""pallet_space_usage"": 33 }, { ""truck_id"": ""A4"", ""pallet_id"": 2, ""pallet_space_usage"": 40 }, { ""truck_id"": ""A4"", ""pallet_id"": 3, ""pallet_space_usage"": 24 }, { ""truck_id"": ""A4"", ""pallet_id"": 4, ""pallet_space_usage"": 50 }, { ""truck_id"": ""A4"", ""pallet_id"": 5, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A4"", ""pallet_id"": 6, ""pallet_space_usage"": 21 }, { ""truck_id"": ""A4"", ""pallet_id"": 7, ""pallet_space_usage"": 44 }, { ""truck_id"": ""A4"", ""pallet_id"": 8, ""pallet_space_usage"": 39 }, { ""truck_id"": ""A4"", ""pallet_id"": 9, ""pallet_space_usage"": 46 }, { ""truck_id"": ""A4"", ""pallet_id"": 10, ""pallet_space_usage"": 34 }, { ""truck_id"": ""A4"", ""pallet_id"": 11, ""pallet_space_usage"": 37 }, { ""truck_id"": ""A4"", ""pallet_id"": 12, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A4"", ""pallet_id"": 13, ""pallet_space_usage"": 48 }, { ""truck_id"": ""A4"", ""pallet_id"": 14, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A4"", ""pallet_id"": 15, ""pallet_space_usage"": 47 }, { ""truck_id"": ""A4"", ""pallet_id"": 16, ""pallet_space_usage"": 27 }, { ""truck_id"": ""A4"", ""pallet_id"": 17, ""pallet_space_usage"": 44 }, { ""truck_id"": ""A4"", ""pallet_id"": 18, ""pallet_space_usage"": 21 }, { ""truck_id"": ""A4"", ""pallet_id"": 19, ""pallet_space_usage"": 30 }, { ""truck_id"": ""A5"", ""pallet_id"": 0, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A5"", ""pallet_id"": 1, ""pallet_space_usage"": 49 }, { ""truck_id"": ""A5"", ""pallet_id"": 2, ""pallet_space_usage"": 32 }, { ""truck_id"": ""A5"", ""pallet_id"": 3, ""pallet_space_usage"": 14 }, { ""truck_id"": ""A5"", ""pallet_id"": 4, ""pallet_space_usage"": 38 }, { ""truck_id"": ""A5"", ""pallet_id"": 5, ""pallet_space_usage"": 17 }, { ""truck_id"": ""A5"", ""pallet_id"": 6, ""pallet_space_usage"": 31 }, { ""truck_id"": ""A5"", ""pallet_id"": 7, ""pallet_space_usage"": 14 }, { ""truck_id"": ""A5"", ""pallet_id"": 8, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A5"", ""pallet_id"": 9, ""pallet_space_usage"": 16 }, { ""truck_id"": ""A5"", ""pallet_id"": 10, ""pallet_space_usage"": 42 }, { ""truck_id"": ""A5"", ""pallet_id"": 11, ""pallet_space_usage"": 28 }, { ""truck_id"": ""A5"", ""pallet_id"": 12, ""pallet_space_usage"": 41 }, { ""truck_id"": ""A5"", ""pallet_id"": 13, ""pallet_space_usage"": 10 }, { ""truck_id"": ""A5"", ""pallet_id"": 14, ""pallet_space_usage"": 44 }, { ""truck_id"": ""A5"", ""pallet_id"": 15, ""pallet_space_usage"": 33 }, { ""truck_id"": ""A5"", ""pallet_id"": 16, ""pallet_space_usage"": 37 }, { ""truck_id"": ""A5"", ""pallet_id"": 17, ""pallet_space_usage"": 28 }, { ""truck_id"": ""A5"", ""pallet_id"": 18, ""pallet_space_usage"": 35 }, { ""truck_id"": ""A5"", ""pallet_id"": 19, ""pallet_space_usage"": 33 }, { ""truck_id"": ""A6"", ""pallet_id"": 0, ""pallet_space_usage"": 17 }, { ""truck_id"": ""A6"", ""pallet_id"": 1, ""pallet_space_usage"": 23 }, { ""truck_id"": ""A6"", ""pallet_id"": 2, ""pallet_space_usage"": 14 }, { ""truck_id"": ""A6"", ""pallet_id"": 3, ""pallet_space_usage"": 37 }, { ""truck_id"": ""A6"", ""pallet_id"": 4, ""pallet_space_usage"": 24 }, { ""truck_id"": ""A6"", ""pallet_id"": 5, ""pallet_space_usage"": 10 }, { ""truck_id"": ""A6"", ""pallet_id"": 6, ""pallet_space_usage"": 10 }, { ""truck_id"": ""A6"", ""pallet_id"": 7, ""pallet_space_usage"": 30 }, { ""truck_id"": ""A6"", ""pallet_id"": 8, ""pallet_space_usage"": 19 }, { ""truck_id"": ""A6"", ""pallet_id"": 9, ""pallet_space_usage"": 46 }, { ""truck_id"": ""A6"", ""pallet_id"": 10, ""pallet_space_usage"": 46 }, { ""truck_id"": ""A6"", ""pallet_id"": 11, ""pallet_space_usage"": 29 }, { ""truck_id"": ""A6"", ""pallet_id"": 12, ""pallet_space_usage"": 19 }, { ""truck_id"": ""A6"", ""pallet_id"": 13, ""pallet_space_usage"": 13 }, { ""truck_id"": ""A6"", ""pallet_id"": 14, ""pallet_space_usage"": 15 }, { ""truck_id"": ""A6"", ""pallet_id"": 15, ""pallet_space_usage"": 37 }, { ""truck_id"": ""A6"", ""pallet_id"": 16, ""pallet_space_usage"": 15 }, { ""truck_id"": ""A6"", ""pallet_id"": 17, ""pallet_space_usage"": 39 }, { ""truck_id"": ""A6"", ""pallet_id"": 18, ""pallet_space_usage"": 20 }, { ""truck_id"": ""A6"", ""pallet_id"": 19, ""pallet_space_usage"": 43 } ], ""cost"": [ { ""truck_id"": ""A1"", ""pallet_id"": 0, ""hauling_cost"": 9 }, { ""truck_id"": ""A1"", ""pallet_id"": 1, ""hauling_cost"": 12 }, { ""truck_id"": ""A1"", ""pallet_id"": 2, ""hauling_cost"": 20 }, { ""truck_id"": ""A1"", ""pallet_id"": 3, ""hauling_cost"": 16 }, { ""truck_id"": ""A1"", ""pallet_id"": 4, ""hauling_cost"": 17 }, { ""truck_id"": ""A1"", ""pallet_id"": 5, ""hauling_cost"": 9 }, { ""truck_id"": ""A1"", ""pallet_id"": 6, ""hauling_cost"": 17 }, { ""truck_id"": ""A1"", ""pallet_id"": 7, ""hauling_cost"": 25 }, { ""truck_id"": ""A1"", ""pallet_id"": 8, ""hauling_cost"": 14 }, { ""truck_id"": ""A1"", ""pallet_id"": 9, ""hauling_cost"": 23 }, { ""truck_id"": ""A1"", ""pallet_id"": 10, ""hauling_cost"": 7 }, { ""truck_id"": ""A1"", ""pallet_id"": 11, ""hauling_cost"": 25 }, { ""truck_id"": ""A1"", ""pallet_id"": 12, ""hauling_cost"": 20 }, { ""truck_id"": ""A1"", ""pallet_id"": 13, ""hauling_cost"": 16 }, { ""truck_id"": ""A1"", ""pallet_id"": 14, ""hauling_cost"": 11 }, { ""truck_id"": ""A1"", ""pallet_id"": 15, ""hauling_cost"": 9 }, { ""truck_id"": ""A1"", ""pallet_id"": 16, ""hauling_cost"": 20 }, { ""truck_id"": ""A1"", ""pallet_id"": 17, ""hauling_cost"": 13 }, { ""truck_id"": ""A1"", ""pallet_id"": 18, ""hauling_cost"": 11 }, { ""truck_id"": ""A1"", ""pallet_id"": 19, ""hauling_cost"": 9 }, { ""truck_id"": ""A2"", ""pallet_id"": 0, ""hauling_cost"": 23 }, { ""truck_id"": ""A2"", ""pallet_id"": 1, ""hauling_cost"": 10 }, { ""truck_id"": ""A2"", ""pallet_id"": 2, ""hauling_cost"": 22 }, { ""truck_id"": ""A2"", ""pallet_id"": 3, ""hauling_cost"": 10 }, { ""truck_id"": ""A2"", ""pallet_id"": 4, ""hauling_cost"": 6 }, { ""truck_id"": ""A2"", ""pallet_id"": 5, ""hauling_cost"": 14 }, { ""truck_id"": ""A2"", ""pallet_id"": 6, ""hauling_cost"": 24 }, { ""truck_id"": ""A2"", ""pallet_id"": 7, ""hauling_cost"": 14 }, { ""truck_id"": ""A2"", ""pallet_id"": 8, ""hauling_cost"": 19 }, { ""truck_id"": ""A2"", ""pallet_id"": 9, ""hauling_cost"": 5 }, { ""truck_id"": ""A2"", ""pallet_id"": 10, ""hauling_cost"": 11 }, { ""truck_id"": ""A2"", ""pallet_id"": 11, ""hauling_cost"": 14 }, { ""truck_id"": ""A2"", ""pallet_id"": 12, ""hauling_cost"": 7 }, { ""truck_id"": ""A2"", ""pallet_id"": 13, ""hauling_cost"": 12 }, { ""truck_id"": ""A2"", ""pallet_id"": 14, ""hauling_cost"": 20 }, { ""truck_id"": ""A2"", ""pallet_id"": 15, ""hauling_cost"": 19 }, { ""truck_id"": ""A2"", ""pallet_id"": 16, ""hauling_cost"": 17 }, { ""truck_id"": ""A2"", ""pallet_id"": 17, ""hauling_cost"": 22 }, { ""truck_id"": ""A2"", ""pallet_id"": 18, ""hauling_cost"": 12 }, { ""truck_id"": ""A2"", ""pallet_id"": 19, ""hauling_cost"": 14 }, { ""truck_id"": ""A3"", ""pallet_id"": 0, ""hauling_cost"": 21 }, { ""truck_id"": ""A3"", ""pallet_id"": 1, ""hauling_cost"": 8 }, { ""truck_id"": ""A3"", ""pallet_id"": 2, ""hauling_cost"": 10 }, { ""truck_id"": ""A3"", ""pallet_id"": 3, ""hauling_cost"": 23 }, { ""truck_id"": ""A3"", ""pallet_id"": 4, ""hauling_cost"": 9 }, { ""truck_id"": ""A3"", ""pallet_id"": 5, ""hauling_cost"": 22 }, { ""truck_id"": ""A3"", ""pallet_id"": 6, ""hauling_cost"": 16 }, { ""truck_id"": ""A3"", ""pallet_id"": 7, ""hauling_cost"": 5 }, { ""truck_id"": ""A3"", ""pallet_id"": 8, ""hauling_cost"": 9 }, { ""truck_id"": ""A3"", ""pallet_id"": 9, ""hauling_cost"": 21 }, { ""truck_id"": ""A3"", ""pallet_id"": 10, ""hauling_cost"": 25 }, { ""truck_id"": ""A3"", ""pallet_id"": 11, ""hauling_cost"": 22 }, { ""truck_id"": ""A3"", ""pallet_id"": 12, ""hauling_cost"": 21 }, { ""truck_id"": ""A3"", ""pallet_id"": 13, ""hauling_cost"": 13 }, { ""truck_id"": ""A3"", ""pallet_id"": 14, ""hauling_cost"": 12 }, { ""truck_id"": ""A3"", ""pallet_id"": 15, ""hauling_cost"": 20 }, { ""truck_id"": ""A3"", ""pallet_id"": 16, ""hauling_cost"": 9 }, { ""truck_id"": ""A3"", ""pallet_id"": 17, ""hauling_cost"": 13 }, { ""truck_id"": ""A3"", ""pallet_id"": 18, ""hauling_cost"": 12 }, { ""truck_id"": ""A3"", ""pallet_id"": 19, ""hauling_cost"": 15 }, { ""truck_id"": ""A4"", ""pallet_id"": 0, ""hauling_cost"": 5 }, { ""truck_id"": ""A4"", ""pallet_id"": 1, ""hauling_cost"": 23 }, { ""truck_id"": ""A4"", ""pallet_id"": 2, ""hauling_cost"": 5 }, { ""truck_id"": ""A4"", ""pallet_id"": 3, ""hauling_cost"": 8 }, { ""truck_id"": ""A4"", ""pallet_id"": 4, ""hauling_cost"": 12 }, { ""truck_id"": ""A4"", ""pallet_id"": 5, ""hauling_cost"": 22 }, { ""truck_id"": ""A4"", ""pallet_id"": 6, ""hauling_cost"": 20 }, { ""truck_id"": ""A4"", ""pallet_id"": 7, ""hauling_cost"": 17 }, { ""truck_id"": ""A4"", ""pallet_id"": 8, ""hauling_cost"": 11 }, { ""truck_id"": ""A4"", ""pallet_id"": 9, ""hauling_cost"": 17 }, { ""truck_id"": ""A4"", ""pallet_id"": 10, ""hauling_cost"": 19 }, { ""truck_id"": ""A4"", ""pallet_id"": 11, ""hauling_cost"": 6 }, { ""truck_id"": ""A4"", ""pallet_id"": 12, ""hauling_cost"": 19 }, { ""truck_id"": ""A4"", ""pallet_id"": 13, ""hauling_cost"": 19 }, { ""truck_id"": ""A4"", ""pallet_id"": 14, ""hauling_cost"": 12 }, { ""truck_id"": ""A4"", ""pallet_id"": 15, ""hauling_cost"": 19 }, { ""truck_id"": ""A4"", ""pallet_id"": 16, ""hauling_cost"": 17 }, { ""truck_id"": ""A4"", ""pallet_id"": 17, ""hauling_cost"": 12 }, { ""truck_id"": ""A4"", ""pallet_id"": 18, ""hauling_cost"": 7 }, { ""truck_id"": ""A4"", ""pallet_id"": 19, ""hauling_cost"": 23 }, { ""truck_id"": ""A5"", ""pallet_id"": 0, ""hauling_cost"": 24 }, { ""truck_id"": ""A5"", ""pallet_id"": 1, ""hauling_cost"": 10 }, { ""truck_id"": ""A5"", ""pallet_id"": 2, ""hauling_cost"": 22 }, { ""truck_id"": ""A5"", ""pallet_id"": 3, ""hauling_cost"": 18 }, { ""truck_id"": ""A5"", ""pallet_id"": 4, ""hauling_cost"": 10 }, { ""truck_id"": ""A5"", ""pallet_id"": 5, ""hauling_cost"": 14 }, { ""truck_id"": ""A5"", ""pallet_id"": 6, ""hauling_cost"": 24 }, { ""truck_id"": ""A5"", ""pallet_id"": 7, ""hauling_cost"": 11 }, { ""truck_id"": ""A5"", ""pallet_id"": 8, ""hauling_cost"": 12 }, { ""truck_id"": ""A5"", ""pallet_id"": 9, ""hauling_cost"": 7 }, { ""truck_id"": ""A5"", ""pallet_id"": 10, ""hauling_cost"": 13 }, { ""truck_id"": ""A5"", ""pallet_id"": 11, ""hauling_cost"": 18 }, { ""truck_id"": ""A5"", ""pallet_id"": 12, ""hauling_cost"": 5 }, { ""truck_id"": ""A5"", ""pallet_id"": 13, ""hauling_cost"": 22 }, { ""truck_id"": ""A5"", ""pallet_id"": 14, ""hauling_cost"": 7 }, { ""truck_id"": ""A5"", ""pallet_id"": 15, ""hauling_cost"": 23 }, { ""truck_id"": ""A5"", ""pallet_id"": 16, ""hauling_cost"": 12 }, { ""truck_id"": ""A5"", ""pallet_id"": 17, ""hauling_cost"": 19 }, { ""truck_id"": ""A5"", ""pallet_id"": 18, ""hauling_cost"": 17 }, { ""truck_id"": ""A5"", ""pallet_id"": 19, ""hauling_cost"": 20 }, { ""truck_id"": ""A6"", ""pallet_id"": 0, ""hauling_cost"": 23 }, { ""truck_id"": ""A6"", ""pallet_id"": 1, ""hauling_cost"": 18 }, { ""truck_id"": ""A6"", ""pallet_id"": 2, ""hauling_cost"": 5 }, { ""truck_id"": ""A6"", ""pallet_id"": 3, ""hauling_cost"": 9 }, { ""truck_id"": ""A6"", ""pallet_id"": 4, ""hauling_cost"": 7 }, { ""truck_id"": ""A6"", ""pallet_id"": 5, ""hauling_cost"": 5 }, { ""truck_id"": ""A6"", ""pallet_id"": 6, ""hauling_cost"": 11 }, { ""truck_id"": ""A6"", ""pallet_id"": 7, ""hauling_cost"": 21 }, { ""truck_id"": ""A6"", ""pallet_id"": 8, ""hauling_cost"": 24 }, { ""truck_id"": ""A6"", ""pallet_id"": 9, ""hauling_cost"": 10 }, { ""truck_id"": ""A6"", ""pallet_id"": 10, ""hauling_cost"": 15 }, { ""truck_id"": ""A6"", ""pallet_id"": 11, ""hauling_cost"": 25 }, { ""truck_id"": ""A6"", ""pallet_id"": 12, ""hauling_cost"": 9 }, { ""truck_id"": ""A6"", ""pallet_id"": 13, ""hauling_cost"": 19 }, { ""truck_id"": ""A6"", ""pallet_id"": 14, ""hauling_cost"": 18 }, { ""truck_id"": ""A6"", ""pallet_id"": 15, ""hauling_cost"": 5 }, { ""truck_id"": ""A6"", ""pallet_id"": 16, ""hauling_cost"": 21 }, { ""truck_id"": ""A6"", ""pallet_id"": 17, ""hauling_cost"": 14 }, { ""truck_id"": ""A6"", ""pallet_id"": 18, ""hauling_cost"": 19 }, { ""truck_id"": ""A6"", ""pallet_id"": 19, ""hauling_cost"": 23 } ] } When you send back the plan, just use this simple JSON layout so I can read it automatically: { ""solution"": [ , , ..., ] } This little block is just a sketch of the shape I expect: ""solution"" is a list where each entry is the truck chosen for the corresponding pallet (so the first entry is for the first pallet, the second for the second pallet, and so on). Keep it light and exact — the JSON itself is the form, not the full answer. Please use the identifiers exactly as they appear in the instance input — no renaming and no new labels. For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[39, 18, 45, 44, 48, 34, 19, 10, 22, 26, 42, 38, 49, 48, 50, 36, 16, 20, 30, 36], [36, 47, 45, 11, 13, 25, 14, 19, 29, 36, 21, 23, 49, 12, 38, 13, 27, 18, 30, 50], [10, 49, 18, 50, 17, 39, 14, 25, 39, 41, 13, 20, 16, 50, 37, 21, 23, 20, 38, 40], [22, 33, 40, 24, 50, 13, 21, 44, 39, 46, 34, 37, 23, 48, 23, 47, 27, 44, 21, 30], [13, 49, 32, 14, 38, 17, 31, 14, 23, 16, 42, 28, 41, 10, 44, 33, 37, 28, 35, 33], [17, 23, 14, 37, 24, 10, 10, 30, 19, 46, 46, 29, 19, 13, 15, 37, 15, 39, 20, 43]], 'assignment_costs': [[9, 12, 20, 16, 17, 9, 17, 25, 14, 23, 7, 25, 20, 16, 11, 9, 20, 13, 11, 9], [23, 10, 22, 10, 6, 14, 24, 14, 19, 5, 11, 14, 7, 12, 20, 19, 17, 22, 12, 14], [21, 8, 10, 23, 9, 22, 16, 5, 9, 21, 25, 22, 21, 13, 12, 20, 9, 13, 12, 15], [5, 23, 5, 8, 12, 22, 20, 17, 11, 17, 19, 6, 19, 19, 12, 19, 17, 12, 7, 23], [24, 10, 22, 18, 10, 14, 24, 11, 12, 7, 13, 18, 5, 22, 7, 23, 12, 19, 17, 20], [23, 18, 5, 9, 7, 5, 11, 21, 24, 10, 15, 25, 9, 19, 18, 5, 21, 14, 19, 23]], 'capacities': [116, 119, 123, 120, 122, 114], 'objective': 149.0}","[3, 1, 5, 3, 1, 5, 5, 2, 2, 1, 0, 3, 4, 1, 4, 5, 2, 0, 3, 0]",149.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 20, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 116}, {'agent_id': 'A2', 'capacity': 119}, {'agent_id': 'A3', 'capacity': 123}, {'agent_id': 'A4', 'capacity': 120}, {'agent_id': 'A5', 'capacity': 122}, {'agent_id': 'A6', 'capacity': 114}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 43}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 9}, {'agent_id': 'A1', 'task_id': 1, 'cost': 12}, {'agent_id': 'A1', 'task_id': 2, 'cost': 20}, {'agent_id': 'A1', 'task_id': 3, 'cost': 16}, {'agent_id': 'A1', 'task_id': 4, 'cost': 17}, {'agent_id': 'A1', 'task_id': 5, 'cost': 9}, {'agent_id': 'A1', 'task_id': 6, 'cost': 17}, {'agent_id': 'A1', 'task_id': 7, 'cost': 25}, {'agent_id': 'A1', 'task_id': 8, 'cost': 14}, {'agent_id': 'A1', 'task_id': 9, 'cost': 23}, {'agent_id': 'A1', 'task_id': 10, 'cost': 7}, {'agent_id': 'A1', 'task_id': 11, 'cost': 25}, {'agent_id': 'A1', 'task_id': 12, 'cost': 20}, {'agent_id': 'A1', 'task_id': 13, 'cost': 16}, {'agent_id': 'A1', 'task_id': 14, 'cost': 11}, {'agent_id': 'A1', 'task_id': 15, 'cost': 9}, {'agent_id': 'A1', 'task_id': 16, 'cost': 20}, {'agent_id': 'A1', 'task_id': 17, 'cost': 13}, {'agent_id': 'A1', 'task_id': 18, 'cost': 11}, {'agent_id': 'A1', 'task_id': 19, 'cost': 9}, {'agent_id': 'A2', 'task_id': 0, 'cost': 23}, {'agent_id': 'A2', 'task_id': 1, 'cost': 10}, {'agent_id': 'A2', 'task_id': 2, 'cost': 22}, {'agent_id': 'A2', 'task_id': 3, 'cost': 10}, {'agent_id': 'A2', 'task_id': 4, 'cost': 6}, {'agent_id': 'A2', 'task_id': 5, 'cost': 14}, {'agent_id': 'A2', 'task_id': 6, 'cost': 24}, {'agent_id': 'A2', 'task_id': 7, 'cost': 14}, {'agent_id': 'A2', 'task_id': 8, 'cost': 19}, {'agent_id': 'A2', 'task_id': 9, 'cost': 5}, {'agent_id': 'A2', 'task_id': 10, 'cost': 11}, {'agent_id': 'A2', 'task_id': 11, 'cost': 14}, {'agent_id': 'A2', 'task_id': 12, 'cost': 7}, {'agent_id': 'A2', 'task_id': 13, 'cost': 12}, {'agent_id': 'A2', 'task_id': 14, 'cost': 20}, {'agent_id': 'A2', 'task_id': 15, 'cost': 19}, {'agent_id': 'A2', 'task_id': 16, 'cost': 17}, {'agent_id': 'A2', 'task_id': 17, 'cost': 22}, {'agent_id': 'A2', 'task_id': 18, 'cost': 12}, {'agent_id': 'A2', 'task_id': 19, 'cost': 14}, {'agent_id': 'A3', 'task_id': 0, 'cost': 21}, {'agent_id': 'A3', 'task_id': 1, 'cost': 8}, {'agent_id': 'A3', 'task_id': 2, 'cost': 10}, {'agent_id': 'A3', 'task_id': 3, 'cost': 23}, {'agent_id': 'A3', 'task_id': 4, 'cost': 9}, {'agent_id': 'A3', 'task_id': 5, 'cost': 22}, {'agent_id': 'A3', 'task_id': 6, 'cost': 16}, {'agent_id': 'A3', 'task_id': 7, 'cost': 5}, {'agent_id': 'A3', 'task_id': 8, 'cost': 9}, {'agent_id': 'A3', 'task_id': 9, 'cost': 21}, {'agent_id': 'A3', 'task_id': 10, 'cost': 25}, {'agent_id': 'A3', 'task_id': 11, 'cost': 22}, {'agent_id': 'A3', 'task_id': 12, 'cost': 21}, {'agent_id': 'A3', 'task_id': 13, 'cost': 13}, {'agent_id': 'A3', 'task_id': 14, 'cost': 12}, {'agent_id': 'A3', 'task_id': 15, 'cost': 20}, {'agent_id': 'A3', 'task_id': 16, 'cost': 9}, {'agent_id': 'A3', 'task_id': 17, 'cost': 13}, {'agent_id': 'A3', 'task_id': 18, 'cost': 12}, {'agent_id': 'A3', 'task_id': 19, 'cost': 15}, {'agent_id': 'A4', 'task_id': 0, 'cost': 5}, {'agent_id': 'A4', 'task_id': 1, 'cost': 23}, {'agent_id': 'A4', 'task_id': 2, 'cost': 5}, {'agent_id': 'A4', 'task_id': 3, 'cost': 8}, {'agent_id': 'A4', 'task_id': 4, 'cost': 12}, {'agent_id': 'A4', 'task_id': 5, 'cost': 22}, {'agent_id': 'A4', 'task_id': 6, 'cost': 20}, {'agent_id': 'A4', 'task_id': 7, 'cost': 17}, {'agent_id': 'A4', 'task_id': 8, 'cost': 11}, {'agent_id': 'A4', 'task_id': 9, 'cost': 17}, {'agent_id': 'A4', 'task_id': 10, 'cost': 19}, {'agent_id': 'A4', 'task_id': 11, 'cost': 6}, {'agent_id': 'A4', 'task_id': 12, 'cost': 19}, {'agent_id': 'A4', 'task_id': 13, 'cost': 19}, {'agent_id': 'A4', 'task_id': 14, 'cost': 12}, {'agent_id': 'A4', 'task_id': 15, 'cost': 19}, {'agent_id': 'A4', 'task_id': 16, 'cost': 17}, {'agent_id': 'A4', 'task_id': 17, 'cost': 12}, {'agent_id': 'A4', 'task_id': 18, 'cost': 7}, {'agent_id': 'A4', 'task_id': 19, 'cost': 23}, {'agent_id': 'A5', 'task_id': 0, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 10}, {'agent_id': 'A5', 'task_id': 2, 'cost': 22}, {'agent_id': 'A5', 'task_id': 3, 'cost': 18}, {'agent_id': 'A5', 'task_id': 4, 'cost': 10}, {'agent_id': 'A5', 'task_id': 5, 'cost': 14}, {'agent_id': 'A5', 'task_id': 6, 'cost': 24}, {'agent_id': 'A5', 'task_id': 7, 'cost': 11}, {'agent_id': 'A5', 'task_id': 8, 'cost': 12}, {'agent_id': 'A5', 'task_id': 9, 'cost': 7}, {'agent_id': 'A5', 'task_id': 10, 'cost': 13}, {'agent_id': 'A5', 'task_id': 11, 'cost': 18}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 22}, {'agent_id': 'A5', 'task_id': 14, 'cost': 7}, {'agent_id': 'A5', 'task_id': 15, 'cost': 23}, {'agent_id': 'A5', 'task_id': 16, 'cost': 12}, {'agent_id': 'A5', 'task_id': 17, 'cost': 19}, {'agent_id': 'A5', 'task_id': 18, 'cost': 17}, {'agent_id': 'A5', 'task_id': 19, 'cost': 20}, {'agent_id': 'A6', 'task_id': 0, 'cost': 23}, {'agent_id': 'A6', 'task_id': 1, 'cost': 18}, {'agent_id': 'A6', 'task_id': 2, 'cost': 5}, {'agent_id': 'A6', 'task_id': 3, 'cost': 9}, {'agent_id': 'A6', 'task_id': 4, 'cost': 7}, {'agent_id': 'A6', 'task_id': 5, 'cost': 5}, {'agent_id': 'A6', 'task_id': 6, 'cost': 11}, {'agent_id': 'A6', 'task_id': 7, 'cost': 21}, {'agent_id': 'A6', 'task_id': 8, 'cost': 24}, {'agent_id': 'A6', 'task_id': 9, 'cost': 10}, {'agent_id': 'A6', 'task_id': 10, 'cost': 15}, {'agent_id': 'A6', 'task_id': 11, 'cost': 25}, {'agent_id': 'A6', 'task_id': 12, 'cost': 9}, {'agent_id': 'A6', 'task_id': 13, 'cost': 19}, {'agent_id': 'A6', 'task_id': 14, 'cost': 18}, {'agent_id': 'A6', 'task_id': 15, 'cost': 5}, {'agent_id': 'A6', 'task_id': 16, 'cost': 21}, {'agent_id': 'A6', 'task_id': 17, 'cost': 14}, {'agent_id': 'A6', 'task_id': 18, 'cost': 19}, {'agent_id': 'A6', 'task_id': 19, 'cost': 23}]}","['A4', 'A2', 'A6', 'A4', 'A2', 'A6', 'A6', 'A3', 'A3', 'A2', 'A1', 'A4', 'A5', 'A2', 'A5', 'A6', 'A3', 'A1', 'A4', 'A1']",32,json,0 GAP,GAP,"Someone in charge of the studio’s workflow needs to hand off each photograph to exactly one editor — no photo gets forgotten or passed around twice. Each editor asks a different price and needs a different amount of time per photo, and they can take on multiple photos as long as the sum of their editing times doesn’t exceed their available hours. The goal is obvious: arrange the assignments so the combined invoice (the sum of every editor’s fee for the photos they do) is as low as possible while keeping everyone within their time limits. The specific times, prices, and capacities are listed below. There are 8 editors (A1, A2, A3, A4, A5, A6, A7, A8) and 24 photos (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24). | editor_id | available_hours | |---|---| | A1 | 192 | | A2 | 192 | | A3 | 192 | | A4 | 192 | | A5 | 192 | | A6 | 192 | | A7 | 192 | | A8 | 192 | | editor_id | photo_id | edit_time | |---|---|---| | A1 | 1 | 33 | | A1 | 2 | 35 | | A1 | 3 | 13 | | A1 | 4 | 48 | | A1 | 5 | 41 | | A1 | 6 | 23 | | A1 | 7 | 47 | | A1 | 8 | 12 | | A1 | 9 | 35 | | A1 | 10 | 13 | | A1 | 11 | 48 | | A1 | 12 | 46 | | A1 | 13 | 38 | | A1 | 14 | 35 | | A1 | 15 | 49 | | A1 | 16 | 15 | | A1 | 17 | 34 | | A1 | 18 | 21 | | A1 | 19 | 10 | | A1 | 20 | 21 | | A1 | 21 | 31 | | A1 | 22 | 21 | | A1 | 23 | 31 | | A1 | 24 | 37 | | A2 | 1 | 30 | | A2 | 2 | 17 | | A2 | 3 | 47 | | A2 | 4 | 15 | | A2 | 5 | 35 | | A2 | 6 | 40 | | A2 | 7 | 12 | | A2 | 8 | 34 | | A2 | 9 | 37 | | A2 | 10 | 32 | | A2 | 11 | 17 | | A2 | 12 | 35 | | A2 | 13 | 50 | | A2 | 14 | 44 | | A2 | 15 | 33 | | A2 | 16 | 11 | | A2 | 17 | 27 | | A2 | 18 | 33 | | A2 | 19 | 33 | | A2 | 20 | 21 | | A2 | 21 | 47 | | A2 | 22 | 31 | | A2 | 23 | 36 | | A2 | 24 | 48 | | A3 | 1 | 17 | | A3 | 2 | 28 | | A3 | 3 | 15 | | A3 | 4 | 49 | | A3 | 5 | 47 | | A3 | 6 | 16 | | A3 | 7 | 48 | | A3 | 8 | 24 | | A3 | 9 | 44 | | A3 | 10 | 12 | | A3 | 11 | 16 | | A3 | 12 | 49 | | A3 | 13 | 31 | | A3 | 14 | 20 | | A3 | 15 | 46 | | A3 | 16 | 40 | | A3 | 17 | 10 | | A3 | 18 | 22 | | A3 | 19 | 27 | | A3 | 20 | 47 | | A3 | 21 | 19 | | A3 | 22 | 27 | | A3 | 23 | 32 | | A3 | 24 | 22 | | A4 | 1 | 30 | | A4 | 2 | 43 | | A4 | 3 | 30 | | A4 | 4 | 29 | | A4 | 5 | 48 | | A4 | 6 | 10 | | A4 | 7 | 48 | | A4 | 8 | 29 | | A4 | 9 | 49 | | A4 | 10 | 40 | | A4 | 11 | 23 | | A4 | 12 | 28 | | A4 | 13 | 23 | | A4 | 14 | 23 | | A4 | 15 | 42 | | A4 | 16 | 38 | | A4 | 17 | 33 | | A4 | 18 | 24 | | A4 | 19 | 34 | | A4 | 20 | 50 | | A4 | 21 | 19 | | A4 | 22 | 38 | | A4 | 23 | 24 | | A4 | 24 | 26 | | A5 | 1 | 17 | | A5 | 2 | 48 | | A5 | 3 | 32 | | A5 | 4 | 47 | | A5 | 5 | 30 | | A5 | 6 | 38 | | A5 | 7 | 40 | | A5 | 8 | 50 | | A5 | 9 | 25 | | A5 | 10 | 32 | | A5 | 11 | 25 | | A5 | 12 | 28 | | A5 | 13 | 15 | | A5 | 14 | 50 | | A5 | 15 | 25 | | A5 | 16 | 15 | | A5 | 17 | 29 | | A5 | 18 | 34 | | A5 | 19 | 48 | | A5 | 20 | 20 | | A5 | 21 | 31 | | A5 | 22 | 39 | | A5 | 23 | 29 | | A5 | 24 | 33 | | A6 | 1 | 41 | | A6 | 2 | 43 | | A6 | 3 | 16 | | A6 | 4 | 41 | | A6 | 5 | 43 | | A6 | 6 | 14 | | A6 | 7 | 13 | | A6 | 8 | 43 | | A6 | 9 | 26 | | A6 | 10 | 16 | | A6 | 11 | 29 | | A6 | 12 | 20 | | A6 | 13 | 26 | | A6 | 14 | 38 | | A6 | 15 | 28 | | A6 | 16 | 18 | | A6 | 17 | 37 | | A6 | 18 | 13 | | A6 | 19 | 20 | | A6 | 20 | 12 | | A6 | 21 | 18 | | A6 | 22 | 16 | | A6 | 23 | 39 | | A6 | 24 | 49 | | A7 | 1 | 30 | | A7 | 2 | 30 | | A7 | 3 | 23 | | A7 | 4 | 15 | | A7 | 5 | 28 | | A7 | 6 | 27 | | A7 | 7 | 34 | | A7 | 8 | 38 | | A7 | 9 | 49 | | A7 | 10 | 25 | | A7 | 11 | 11 | | A7 | 12 | 16 | | A7 | 13 | 22 | | A7 | 14 | 10 | | A7 | 15 | 12 | | A7 | 16 | 11 | | A7 | 17 | 44 | | A7 | 18 | 12 | | A7 | 19 | 22 | | A7 | 20 | 42 | | A7 | 21 | 27 | | A7 | 22 | 22 | | A7 | 23 | 16 | | A7 | 24 | 25 | | A8 | 1 | 25 | | A8 | 2 | 20 | | A8 | 3 | 41 | | A8 | 4 | 43 | | A8 | 5 | 24 | | A8 | 6 | 31 | | A8 | 7 | 13 | | A8 | 8 | 35 | | A8 | 9 | 44 | | A8 | 10 | 29 | | A8 | 11 | 34 | | A8 | 12 | 22 | | A8 | 13 | 15 | | A8 | 14 | 22 | | A8 | 15 | 27 | | A8 | 16 | 41 | | A8 | 17 | 39 | | A8 | 18 | 34 | | A8 | 19 | 35 | | A8 | 20 | 23 | | A8 | 21 | 23 | | A8 | 22 | 11 | | A8 | 23 | 13 | | A8 | 24 | 41 | | editor_id | photo_id | fee | |---|---|---| | A1 | 1 | 20 | | A1 | 2 | 16 | | A1 | 3 | 22 | | A1 | 4 | 12 | | A1 | 5 | 16 | | A1 | 6 | 17 | | A1 | 7 | 9 | | A1 | 8 | 25 | | A1 | 9 | 8 | | A1 | 10 | 9 | | A1 | 11 | 14 | | A1 | 12 | 9 | | A1 | 13 | 13 | | A1 | 14 | 24 | | A1 | 15 | 24 | | A1 | 16 | 19 | | A1 | 17 | 13 | | A1 | 18 | 14 | | A1 | 19 | 19 | | A1 | 20 | 19 | | A1 | 21 | 25 | | A1 | 22 | 20 | | A1 | 23 | 5 | | A1 | 24 | 21 | | A2 | 1 | 18 | | A2 | 2 | 11 | | A2 | 3 | 19 | | A2 | 4 | 24 | | A2 | 5 | 13 | | A2 | 6 | 8 | | A2 | 7 | 17 | | A2 | 8 | 12 | | A2 | 9 | 22 | | A2 | 10 | 17 | | A2 | 11 | 11 | | A2 | 12 | 21 | | A2 | 13 | 11 | | A2 | 14 | 10 | | A2 | 15 | 13 | | A2 | 16 | 21 | | A2 | 17 | 7 | | A2 | 18 | 24 | | A2 | 19 | 14 | | A2 | 20 | 11 | | A2 | 21 | 10 | | A2 | 22 | 21 | | A2 | 23 | 19 | | A2 | 24 | 18 | | A3 | 1 | 14 | | A3 | 2 | 21 | | A3 | 3 | 5 | | A3 | 4 | 15 | | A3 | 5 | 24 | | A3 | 6 | 9 | | A3 | 7 | 15 | | A3 | 8 | 9 | | A3 | 9 | 5 | | A3 | 10 | 15 | | A3 | 11 | 14 | | A3 | 12 | 12 | | A3 | 13 | 25 | | A3 | 14 | 5 | | A3 | 15 | 16 | | A3 | 16 | 13 | | A3 | 17 | 22 | | A3 | 18 | 21 | | A3 | 19 | 16 | | A3 | 20 | 16 | | A3 | 21 | 18 | | A3 | 22 | 6 | | A3 | 23 | 14 | | A3 | 24 | 9 | | A4 | 1 | 20 | | A4 | 2 | 15 | | A4 | 3 | 10 | | A4 | 4 | 7 | | A4 | 5 | 11 | | A4 | 6 | 22 | | A4 | 7 | 24 | | A4 | 8 | 11 | | A4 | 9 | 11 | | A4 | 10 | 16 | | A4 | 11 | 12 | | A4 | 12 | 25 | | A4 | 13 | 6 | | A4 | 14 | 16 | | A4 | 15 | 18 | | A4 | 16 | 7 | | A4 | 17 | 25 | | A4 | 18 | 21 | | A4 | 19 | 16 | | A4 | 20 | 17 | | A4 | 21 | 22 | | A4 | 22 | 24 | | A4 | 23 | 14 | | A4 | 24 | 24 | | A5 | 1 | 20 | | A5 | 2 | 11 | | A5 | 3 | 15 | | A5 | 4 | 8 | | A5 | 5 | 23 | | A5 | 6 | 18 | | A5 | 7 | 22 | | A5 | 8 | 9 | | A5 | 9 | 10 | | A5 | 10 | 7 | | A5 | 11 | 6 | | A5 | 12 | 5 | | A5 | 13 | 17 | | A5 | 14 | 20 | | A5 | 15 | 11 | | A5 | 16 | 10 | | A5 | 17 | 9 | | A5 | 18 | 25 | | A5 | 19 | 11 | | A5 | 20 | 7 | | A5 | 21 | 14 | | A5 | 22 | 21 | | A5 | 23 | 11 | | A5 | 24 | 10 | | A6 | 1 | 24 | | A6 | 2 | 16 | | A6 | 3 | 7 | | A6 | 4 | 22 | | A6 | 5 | 7 | | A6 | 6 | 8 | | A6 | 7 | 14 | | A6 | 8 | 13 | | A6 | 9 | 12 | | A6 | 10 | 11 | | A6 | 11 | 6 | | A6 | 12 | 12 | | A6 | 13 | 13 | | A6 | 14 | 22 | | A6 | 15 | 20 | | A6 | 16 | 17 | | A6 | 17 | 19 | | A6 | 18 | 15 | | A6 | 19 | 8 | | A6 | 20 | 10 | | A6 | 21 | 17 | | A6 | 22 | 12 | | A6 | 23 | 25 | | A6 | 24 | 14 | | A7 | 1 | 5 | | A7 | 2 | 20 | | A7 | 3 | 6 | | A7 | 4 | 7 | | A7 | 5 | 6 | | A7 | 6 | 13 | | A7 | 7 | 16 | | A7 | 8 | 7 | | A7 | 9 | 23 | | A7 | 10 | 19 | | A7 | 11 | 11 | | A7 | 12 | 6 | | A7 | 13 | 20 | | A7 | 14 | 22 | | A7 | 15 | 22 | | A7 | 16 | 5 | | A7 | 17 | 15 | | A7 | 18 | 22 | | A7 | 19 | 7 | | A7 | 20 | 16 | | A7 | 21 | 18 | | A7 | 22 | 17 | | A7 | 23 | 18 | | A7 | 24 | 22 | | A8 | 1 | 9 | | A8 | 2 | 20 | | A8 | 3 | 23 | | A8 | 4 | 16 | | A8 | 5 | 5 | | A8 | 6 | 8 | | A8 | 7 | 7 | | A8 | 8 | 13 | | A8 | 9 | 22 | | A8 | 10 | 6 | | A8 | 11 | 25 | | A8 | 12 | 19 | | A8 | 13 | 6 | | A8 | 14 | 23 | | A8 | 15 | 12 | | A8 | 16 | 15 | | A8 | 17 | 18 | | A8 | 18 | 5 | | A8 | 19 | 21 | | A8 | 20 | 24 | | A8 | 21 | 17 | | A8 | 22 | 7 | | A8 | 23 | 22 | | A8 | 24 | 18 | The assignments should minimize the total invoice while ensuring each of the 24 photos is assigned to exactly one of the 8 editors within their listed capacities. Also, when you send your assignment back, it's handy if you stick to a simple JSON layout like this: { ""solution"": [ , , ..., ] } Think of ""solution"" as the form field that lists, in order, which editor gets each photo. Each placeholder like is where you'd put the exact editor identifier for the first photo (and so on for the rest). This is just a sketch of the shape I expect, not the actual answer — you'll replace each placeholder with the real identifiers from the instance. Please use the identifiers exactly as they appear in the instance input — do not rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[33, 35, 13, 48, 41, 23, 47, 12, 35, 13, 48, 46, 38, 35, 49, 15, 34, 21, 10, 21, 31, 21, 31, 37], [30, 17, 47, 15, 35, 40, 12, 34, 37, 32, 17, 35, 50, 44, 33, 11, 27, 33, 33, 21, 47, 31, 36, 48], [17, 28, 15, 49, 47, 16, 48, 24, 44, 12, 16, 49, 31, 20, 46, 40, 10, 22, 27, 47, 19, 27, 32, 22], [30, 43, 30, 29, 48, 10, 48, 29, 49, 40, 23, 28, 23, 23, 42, 38, 33, 24, 34, 50, 19, 38, 24, 26], [17, 48, 32, 47, 30, 38, 40, 50, 25, 32, 25, 28, 15, 50, 25, 15, 29, 34, 48, 20, 31, 39, 29, 33], [41, 43, 16, 41, 43, 14, 13, 43, 26, 16, 29, 20, 26, 38, 28, 18, 37, 13, 20, 12, 18, 16, 39, 49], [30, 30, 23, 15, 28, 27, 34, 38, 49, 25, 11, 16, 22, 10, 12, 11, 44, 12, 22, 42, 27, 22, 16, 25], [25, 20, 41, 43, 24, 31, 13, 35, 44, 29, 34, 22, 15, 22, 27, 41, 39, 34, 35, 23, 23, 11, 13, 41]], 'assignment_costs': [[20, 16, 22, 12, 16, 17, 9, 25, 8, 9, 14, 9, 13, 24, 24, 19, 13, 14, 19, 19, 25, 20, 5, 21], [18, 11, 19, 24, 13, 8, 17, 12, 22, 17, 11, 21, 11, 10, 13, 21, 7, 24, 14, 11, 10, 21, 19, 18], [14, 21, 5, 15, 24, 9, 15, 9, 5, 15, 14, 12, 25, 5, 16, 13, 22, 21, 16, 16, 18, 6, 14, 9], [20, 15, 10, 7, 11, 22, 24, 11, 11, 16, 12, 25, 6, 16, 18, 7, 25, 21, 16, 17, 22, 24, 14, 24], [20, 11, 15, 8, 23, 18, 22, 9, 10, 7, 6, 5, 17, 20, 11, 10, 9, 25, 11, 7, 14, 21, 11, 10], [24, 16, 7, 22, 7, 8, 14, 13, 12, 11, 6, 12, 13, 22, 20, 17, 19, 15, 8, 10, 17, 12, 25, 14], [5, 20, 6, 7, 6, 13, 16, 7, 23, 19, 11, 6, 20, 22, 22, 5, 15, 22, 7, 16, 18, 17, 18, 22], [9, 20, 23, 16, 5, 8, 7, 13, 22, 6, 25, 19, 6, 23, 12, 15, 18, 5, 21, 24, 17, 7, 22, 18]], 'capacities': [192, 192, 192, 192, 192, 192, 192, 192], 'objective': 160.0}","[6, 1, 2, 6, 7, 5, 7, 6, 2, 7, 4, 4, 7, 2, 4, 6, 1, 7, 6, 4, 1, 2, 0, 2]",160.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 24, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 192}, {'agent_id': 'A2', 'capacity': 192}, {'agent_id': 'A3', 'capacity': 192}, {'agent_id': 'A4', 'capacity': 192}, {'agent_id': 'A5', 'capacity': 192}, {'agent_id': 'A6', 'capacity': 192}, {'agent_id': 'A7', 'capacity': 192}, {'agent_id': 'A8', 'capacity': 192}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 41}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 20}, {'agent_id': 'A1', 'task_id': 2, 'cost': 16}, {'agent_id': 'A1', 'task_id': 3, 'cost': 22}, {'agent_id': 'A1', 'task_id': 4, 'cost': 12}, {'agent_id': 'A1', 'task_id': 5, 'cost': 16}, {'agent_id': 'A1', 'task_id': 6, 'cost': 17}, {'agent_id': 'A1', 'task_id': 7, 'cost': 9}, {'agent_id': 'A1', 'task_id': 8, 'cost': 25}, {'agent_id': 'A1', 'task_id': 9, 'cost': 8}, {'agent_id': 'A1', 'task_id': 10, 'cost': 9}, {'agent_id': 'A1', 'task_id': 11, 'cost': 14}, {'agent_id': 'A1', 'task_id': 12, 'cost': 9}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 24}, {'agent_id': 'A1', 'task_id': 15, 'cost': 24}, {'agent_id': 'A1', 'task_id': 16, 'cost': 19}, {'agent_id': 'A1', 'task_id': 17, 'cost': 13}, {'agent_id': 'A1', 'task_id': 18, 'cost': 14}, {'agent_id': 'A1', 'task_id': 19, 'cost': 19}, {'agent_id': 'A1', 'task_id': 20, 'cost': 19}, {'agent_id': 'A1', 'task_id': 21, 'cost': 25}, {'agent_id': 'A1', 'task_id': 22, 'cost': 20}, {'agent_id': 'A1', 'task_id': 23, 'cost': 5}, {'agent_id': 'A1', 'task_id': 24, 'cost': 21}, {'agent_id': 'A2', 'task_id': 1, 'cost': 18}, {'agent_id': 'A2', 'task_id': 2, 'cost': 11}, {'agent_id': 'A2', 'task_id': 3, 'cost': 19}, {'agent_id': 'A2', 'task_id': 4, 'cost': 24}, {'agent_id': 'A2', 'task_id': 5, 'cost': 13}, {'agent_id': 'A2', 'task_id': 6, 'cost': 8}, {'agent_id': 'A2', 'task_id': 7, 'cost': 17}, {'agent_id': 'A2', 'task_id': 8, 'cost': 12}, {'agent_id': 'A2', 'task_id': 9, 'cost': 22}, {'agent_id': 'A2', 'task_id': 10, 'cost': 17}, {'agent_id': 'A2', 'task_id': 11, 'cost': 11}, {'agent_id': 'A2', 'task_id': 12, 'cost': 21}, {'agent_id': 'A2', 'task_id': 13, 'cost': 11}, {'agent_id': 'A2', 'task_id': 14, 'cost': 10}, {'agent_id': 'A2', 'task_id': 15, 'cost': 13}, {'agent_id': 'A2', 'task_id': 16, 'cost': 21}, {'agent_id': 'A2', 'task_id': 17, 'cost': 7}, {'agent_id': 'A2', 'task_id': 18, 'cost': 24}, {'agent_id': 'A2', 'task_id': 19, 'cost': 14}, {'agent_id': 'A2', 'task_id': 20, 'cost': 11}, {'agent_id': 'A2', 'task_id': 21, 'cost': 10}, {'agent_id': 'A2', 'task_id': 22, 'cost': 21}, {'agent_id': 'A2', 'task_id': 23, 'cost': 19}, {'agent_id': 'A2', 'task_id': 24, 'cost': 18}, {'agent_id': 'A3', 'task_id': 1, 'cost': 14}, {'agent_id': 'A3', 'task_id': 2, 'cost': 21}, {'agent_id': 'A3', 'task_id': 3, 'cost': 5}, {'agent_id': 'A3', 'task_id': 4, 'cost': 15}, {'agent_id': 'A3', 'task_id': 5, 'cost': 24}, {'agent_id': 'A3', 'task_id': 6, 'cost': 9}, {'agent_id': 'A3', 'task_id': 7, 'cost': 15}, {'agent_id': 'A3', 'task_id': 8, 'cost': 9}, {'agent_id': 'A3', 'task_id': 9, 'cost': 5}, {'agent_id': 'A3', 'task_id': 10, 'cost': 15}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 12}, {'agent_id': 'A3', 'task_id': 13, 'cost': 25}, {'agent_id': 'A3', 'task_id': 14, 'cost': 5}, {'agent_id': 'A3', 'task_id': 15, 'cost': 16}, {'agent_id': 'A3', 'task_id': 16, 'cost': 13}, {'agent_id': 'A3', 'task_id': 17, 'cost': 22}, {'agent_id': 'A3', 'task_id': 18, 'cost': 21}, {'agent_id': 'A3', 'task_id': 19, 'cost': 16}, {'agent_id': 'A3', 'task_id': 20, 'cost': 16}, {'agent_id': 'A3', 'task_id': 21, 'cost': 18}, {'agent_id': 'A3', 'task_id': 22, 'cost': 6}, {'agent_id': 'A3', 'task_id': 23, 'cost': 14}, {'agent_id': 'A3', 'task_id': 24, 'cost': 9}, {'agent_id': 'A4', 'task_id': 1, 'cost': 20}, {'agent_id': 'A4', 'task_id': 2, 'cost': 15}, {'agent_id': 'A4', 'task_id': 3, 'cost': 10}, {'agent_id': 'A4', 'task_id': 4, 'cost': 7}, {'agent_id': 'A4', 'task_id': 5, 'cost': 11}, {'agent_id': 'A4', 'task_id': 6, 'cost': 22}, {'agent_id': 'A4', 'task_id': 7, 'cost': 24}, {'agent_id': 'A4', 'task_id': 8, 'cost': 11}, {'agent_id': 'A4', 'task_id': 9, 'cost': 11}, {'agent_id': 'A4', 'task_id': 10, 'cost': 16}, {'agent_id': 'A4', 'task_id': 11, 'cost': 12}, {'agent_id': 'A4', 'task_id': 12, 'cost': 25}, {'agent_id': 'A4', 'task_id': 13, 'cost': 6}, {'agent_id': 'A4', 'task_id': 14, 'cost': 16}, {'agent_id': 'A4', 'task_id': 15, 'cost': 18}, {'agent_id': 'A4', 'task_id': 16, 'cost': 7}, {'agent_id': 'A4', 'task_id': 17, 'cost': 25}, {'agent_id': 'A4', 'task_id': 18, 'cost': 21}, {'agent_id': 'A4', 'task_id': 19, 'cost': 16}, {'agent_id': 'A4', 'task_id': 20, 'cost': 17}, {'agent_id': 'A4', 'task_id': 21, 'cost': 22}, {'agent_id': 'A4', 'task_id': 22, 'cost': 24}, {'agent_id': 'A4', 'task_id': 23, 'cost': 14}, {'agent_id': 'A4', 'task_id': 24, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 20}, {'agent_id': 'A5', 'task_id': 2, 'cost': 11}, {'agent_id': 'A5', 'task_id': 3, 'cost': 15}, {'agent_id': 'A5', 'task_id': 4, 'cost': 8}, {'agent_id': 'A5', 'task_id': 5, 'cost': 23}, {'agent_id': 'A5', 'task_id': 6, 'cost': 18}, {'agent_id': 'A5', 'task_id': 7, 'cost': 22}, {'agent_id': 'A5', 'task_id': 8, 'cost': 9}, {'agent_id': 'A5', 'task_id': 9, 'cost': 10}, {'agent_id': 'A5', 'task_id': 10, 'cost': 7}, {'agent_id': 'A5', 'task_id': 11, 'cost': 6}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 17}, {'agent_id': 'A5', 'task_id': 14, 'cost': 20}, {'agent_id': 'A5', 'task_id': 15, 'cost': 11}, {'agent_id': 'A5', 'task_id': 16, 'cost': 10}, {'agent_id': 'A5', 'task_id': 17, 'cost': 9}, {'agent_id': 'A5', 'task_id': 18, 'cost': 25}, {'agent_id': 'A5', 'task_id': 19, 'cost': 11}, {'agent_id': 'A5', 'task_id': 20, 'cost': 7}, {'agent_id': 'A5', 'task_id': 21, 'cost': 14}, {'agent_id': 'A5', 'task_id': 22, 'cost': 21}, {'agent_id': 'A5', 'task_id': 23, 'cost': 11}, {'agent_id': 'A5', 'task_id': 24, 'cost': 10}, {'agent_id': 'A6', 'task_id': 1, 'cost': 24}, {'agent_id': 'A6', 'task_id': 2, 'cost': 16}, {'agent_id': 'A6', 'task_id': 3, 'cost': 7}, {'agent_id': 'A6', 'task_id': 4, 'cost': 22}, {'agent_id': 'A6', 'task_id': 5, 'cost': 7}, {'agent_id': 'A6', 'task_id': 6, 'cost': 8}, {'agent_id': 'A6', 'task_id': 7, 'cost': 14}, {'agent_id': 'A6', 'task_id': 8, 'cost': 13}, {'agent_id': 'A6', 'task_id': 9, 'cost': 12}, {'agent_id': 'A6', 'task_id': 10, 'cost': 11}, {'agent_id': 'A6', 'task_id': 11, 'cost': 6}, {'agent_id': 'A6', 'task_id': 12, 'cost': 12}, {'agent_id': 'A6', 'task_id': 13, 'cost': 13}, {'agent_id': 'A6', 'task_id': 14, 'cost': 22}, {'agent_id': 'A6', 'task_id': 15, 'cost': 20}, {'agent_id': 'A6', 'task_id': 16, 'cost': 17}, {'agent_id': 'A6', 'task_id': 17, 'cost': 19}, {'agent_id': 'A6', 'task_id': 18, 'cost': 15}, {'agent_id': 'A6', 'task_id': 19, 'cost': 8}, {'agent_id': 'A6', 'task_id': 20, 'cost': 10}, {'agent_id': 'A6', 'task_id': 21, 'cost': 17}, {'agent_id': 'A6', 'task_id': 22, 'cost': 12}, {'agent_id': 'A6', 'task_id': 23, 'cost': 25}, {'agent_id': 'A6', 'task_id': 24, 'cost': 14}, {'agent_id': 'A7', 'task_id': 1, 'cost': 5}, {'agent_id': 'A7', 'task_id': 2, 'cost': 20}, {'agent_id': 'A7', 'task_id': 3, 'cost': 6}, {'agent_id': 'A7', 'task_id': 4, 'cost': 7}, {'agent_id': 'A7', 'task_id': 5, 'cost': 6}, {'agent_id': 'A7', 'task_id': 6, 'cost': 13}, {'agent_id': 'A7', 'task_id': 7, 'cost': 16}, {'agent_id': 'A7', 'task_id': 8, 'cost': 7}, {'agent_id': 'A7', 'task_id': 9, 'cost': 23}, {'agent_id': 'A7', 'task_id': 10, 'cost': 19}, {'agent_id': 'A7', 'task_id': 11, 'cost': 11}, {'agent_id': 'A7', 'task_id': 12, 'cost': 6}, {'agent_id': 'A7', 'task_id': 13, 'cost': 20}, {'agent_id': 'A7', 'task_id': 14, 'cost': 22}, {'agent_id': 'A7', 'task_id': 15, 'cost': 22}, {'agent_id': 'A7', 'task_id': 16, 'cost': 5}, {'agent_id': 'A7', 'task_id': 17, 'cost': 15}, {'agent_id': 'A7', 'task_id': 18, 'cost': 22}, {'agent_id': 'A7', 'task_id': 19, 'cost': 7}, {'agent_id': 'A7', 'task_id': 20, 'cost': 16}, {'agent_id': 'A7', 'task_id': 21, 'cost': 18}, {'agent_id': 'A7', 'task_id': 22, 'cost': 17}, {'agent_id': 'A7', 'task_id': 23, 'cost': 18}, {'agent_id': 'A7', 'task_id': 24, 'cost': 22}, {'agent_id': 'A8', 'task_id': 1, 'cost': 9}, {'agent_id': 'A8', 'task_id': 2, 'cost': 20}, {'agent_id': 'A8', 'task_id': 3, 'cost': 23}, {'agent_id': 'A8', 'task_id': 4, 'cost': 16}, {'agent_id': 'A8', 'task_id': 5, 'cost': 5}, {'agent_id': 'A8', 'task_id': 6, 'cost': 8}, {'agent_id': 'A8', 'task_id': 7, 'cost': 7}, {'agent_id': 'A8', 'task_id': 8, 'cost': 13}, {'agent_id': 'A8', 'task_id': 9, 'cost': 22}, {'agent_id': 'A8', 'task_id': 10, 'cost': 6}, {'agent_id': 'A8', 'task_id': 11, 'cost': 25}, {'agent_id': 'A8', 'task_id': 12, 'cost': 19}, {'agent_id': 'A8', 'task_id': 13, 'cost': 6}, {'agent_id': 'A8', 'task_id': 14, 'cost': 23}, {'agent_id': 'A8', 'task_id': 15, 'cost': 12}, {'agent_id': 'A8', 'task_id': 16, 'cost': 15}, {'agent_id': 'A8', 'task_id': 17, 'cost': 18}, {'agent_id': 'A8', 'task_id': 18, 'cost': 5}, {'agent_id': 'A8', 'task_id': 19, 'cost': 21}, {'agent_id': 'A8', 'task_id': 20, 'cost': 24}, {'agent_id': 'A8', 'task_id': 21, 'cost': 17}, {'agent_id': 'A8', 'task_id': 22, 'cost': 7}, {'agent_id': 'A8', 'task_id': 23, 'cost': 22}, {'agent_id': 'A8', 'task_id': 24, 'cost': 18}]}","['A7', 'A2', 'A3', 'A7', 'A8', 'A6', 'A8', 'A7', 'A3', 'A8', 'A5', 'A5', 'A8', 'A3', 'A5', 'A7', 'A2', 'A8', 'A7', 'A5', 'A2', 'A3', 'A1', 'A3']",33,markdown_table,1 GAP,GAP,"Someone on the planning team noticed that each vendor’s pickup could be handled by different carriers, each costing a different amount and using different amounts of truck space. The task is to hand each vendor request to a single carrier (no doubles, no misses), make sure none of the carriers get more than they can carry, and keep the entire event’s service charges as small as possible — just sum the fees for all assigned requests and choose the combination with the smallest sum. The detailed list of requests, space usages, and fees is shown below. There are 7 carriers (A1, A2, A3, A4, A5, A6, A7) and 21 vendor requests (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) listed below. Carrier A1 has vehicle space 365 available. Carrier A2 has vehicle space 365 available. Carrier A3 has vehicle space 365 available. Carrier A4 has vehicle space 365 available. Carrier A5 has vehicle space 365 available. Carrier A6 has vehicle space 365 available. Carrier A7 has vehicle space 365 available. If carrier A1 handles vendor request 0, it consumes 25 space and charges 22. If carrier A1 handles vendor request 1, it consumes 10 space and charges 22. If carrier A1 handles vendor request 2, it consumes 15 space and charges 21. If carrier A1 handles vendor request 3, it consumes 45 space and charges 13. If carrier A1 handles vendor request 4, it consumes 47 space and charges 11. If carrier A1 handles vendor request 5, it consumes 42 space and charges 16. If carrier A1 handles vendor request 6, it consumes 25 space and charges 10. If carrier A1 handles vendor request 7, it consumes 19 space and charges 13. If carrier A1 handles vendor request 8, it consumes 15 space and charges 17. If carrier A1 handles vendor request 9, it consumes 22 space and charges 22. If carrier A1 handles vendor request 10, it consumes 20 space and charges 22. If carrier A1 handles vendor request 11, it consumes 36 space and charges 7. If carrier A1 handles vendor request 12, it consumes 13 space and charges 22. If carrier A1 handles vendor request 13, it consumes 16 space and charges 13. If carrier A1 handles vendor request 14, it consumes 41 space and charges 10. If carrier A1 handles vendor request 15, it consumes 14 space and charges 20. If carrier A1 handles vendor request 16, it consumes 24 space and charges 17. If carrier A1 handles vendor request 17, it consumes 46 space and charges 22. If carrier A1 handles vendor request 18, it consumes 34 space and charges 17. If carrier A1 handles vendor request 19, it consumes 23 space and charges 19. If carrier A1 handles vendor request 20, it consumes 33 space and charges 12. If carrier A2 handles vendor request 0, it consumes 45 space and charges 19. If carrier A2 handles vendor request 1, it consumes 26 space and charges 16. If carrier A2 handles vendor request 2, it consumes 49 space and charges 19. If carrier A2 handles vendor request 3, it consumes 36 space and charges 5. If carrier A2 handles vendor request 4, it consumes 34 space and charges 16. If carrier A2 handles vendor request 5, it consumes 22 space and charges 7. If carrier A2 handles vendor request 6, it consumes 35 space and charges 7. If carrier A2 handles vendor request 7, it consumes 10 space and charges 13. If carrier A2 handles vendor request 8, it consumes 19 space and charges 21. If carrier A2 handles vendor request 9, it consumes 35 space and charges 14. If carrier A2 handles vendor request 10, it consumes 29 space and charges 6. If carrier A2 handles vendor request 11, it consumes 29 space and charges 15. If carrier A2 handles vendor request 12, it consumes 41 space and charges 11. If carrier A2 handles vendor request 13, it consumes 11 space and charges 18. If carrier A2 handles vendor request 14, it consumes 31 space and charges 16. If carrier A2 handles vendor request 15, it consumes 27 space and charges 19. If carrier A2 handles vendor request 16, it consumes 21 space and charges 22. If carrier A2 handles vendor request 17, it consumes 21 space and charges 25. If carrier A2 handles vendor request 18, it consumes 12 space and charges 6. If carrier A2 handles vendor request 19, it consumes 20 space and charges 24. If carrier A2 handles vendor request 20, it consumes 47 space and charges 15. If carrier A3 handles vendor request 0, it consumes 15 space and charges 20. If carrier A3 handles vendor request 1, it consumes 16 space and charges 24. If carrier A3 handles vendor request 2, it consumes 16 space and charges 24. If carrier A3 handles vendor request 3, it consumes 13 space and charges 20. If carrier A3 handles vendor request 4, it consumes 40 space and charges 6. If carrier A3 handles vendor request 5, it consumes 50 space and charges 5. If carrier A3 handles vendor request 6, it consumes 33 space and charges 17. If carrier A3 handles vendor request 7, it consumes 45 space and charges 23. If carrier A3 handles vendor request 8, it consumes 36 space and charges 19. If carrier A3 handles vendor request 9, it consumes 16 space and charges 12. If carrier A3 handles vendor request 10, it consumes 49 space and charges 15. If carrier A3 handles vendor request 11, it consumes 50 space and charges 20. If carrier A3 handles vendor request 12, it consumes 18 space and charges 20. If carrier A3 handles vendor request 13, it consumes 47 space and charges 17. If carrier A3 handles vendor request 14, it consumes 36 space and charges 23. If carrier A3 handles vendor request 15, it consumes 50 space and charges 24. If carrier A3 handles vendor request 16, it consumes 30 space and charges 12. If carrier A3 handles vendor request 17, it consumes 27 space and charges 13. If carrier A3 handles vendor request 18, it consumes 20 space and charges 7. If carrier A3 handles vendor request 19, it consumes 28 space and charges 20. If carrier A3 handles vendor request 20, it consumes 22 space and charges 5. If carrier A4 handles vendor request 0, it consumes 35 space and charges 24. If carrier A4 handles vendor request 1, it consumes 38 space and charges 16. If carrier A4 handles vendor request 2, it consumes 38 space and charges 19. If carrier A4 handles vendor request 3, it consumes 36 space and charges 7. If carrier A4 handles vendor request 4, it consumes 11 space and charges 17. If carrier A4 handles vendor request 5, it consumes 46 space and charges 11. If carrier A4 handles vendor request 6, it consumes 19 space and charges 19. If carrier A4 handles vendor request 7, it consumes 18 space and charges 13. If carrier A4 handles vendor request 8, it consumes 19 space and charges 25. If carrier A4 handles vendor request 9, it consumes 40 space and charges 11. If carrier A4 handles vendor request 10, it consumes 49 space and charges 6. If carrier A4 handles vendor request 11, it consumes 19 space and charges 23. If carrier A4 handles vendor request 12, it consumes 19 space and charges 21. If carrier A4 handles vendor request 13, it consumes 13 space and charges 5. If carrier A4 handles vendor request 14, it consumes 18 space and charges 22. If carrier A4 handles vendor request 15, it consumes 13 space and charges 17. If carrier A4 handles vendor request 16, it consumes 25 space and charges 20. If carrier A4 handles vendor request 17, it consumes 32 space and charges 18. If carrier A4 handles vendor request 18, it consumes 40 space and charges 15. If carrier A4 handles vendor request 19, it consumes 10 space and charges 18. If carrier A4 handles vendor request 20, it consumes 10 space and charges 22. If carrier A5 handles vendor request 0, it consumes 20 space and charges 9. If carrier A5 handles vendor request 1, it consumes 10 space and charges 8. If carrier A5 handles vendor request 2, it consumes 30 space and charges 24. If carrier A5 handles vendor request 3, it consumes 27 space and charges 17. If carrier A5 handles vendor request 4, it consumes 27 space and charges 17. If carrier A5 handles vendor request 5, it consumes 33 space and charges 25. If carrier A5 handles vendor request 6, it consumes 37 space and charges 14. If carrier A5 handles vendor request 7, it consumes 38 space and charges 20. If carrier A5 handles vendor request 8, it consumes 35 space and charges 22. If carrier A5 handles vendor request 9, it consumes 33 space and charges 6. If carrier A5 handles vendor request 10, it consumes 19 space and charges 11. If carrier A5 handles vendor request 11, it consumes 12 space and charges 18. If carrier A5 handles vendor request 12, it consumes 22 space and charges 7. If carrier A5 handles vendor request 13, it consumes 11 space and charges 5. If carrier A5 handles vendor request 14, it consumes 18 space and charges 6. If carrier A5 handles vendor request 15, it consumes 36 space and charges 22. If carrier A5 handles vendor request 16, it consumes 48 space and charges 22. If carrier A5 handles vendor request 17, it consumes 34 space and charges 17. If carrier A5 handles vendor request 18, it consumes 11 space and charges 9. If carrier A5 handles vendor request 19, it consumes 45 space and charges 20. If carrier A5 handles vendor request 20, it consumes 43 space and charges 22. If carrier A6 handles vendor request 0, it consumes 40 space and charges 15. If carrier A6 handles vendor request 1, it consumes 24 space and charges 19. If carrier A6 handles vendor request 2, it consumes 31 space and charges 17. If carrier A6 handles vendor request 3, it consumes 10 space and charges 6. If carrier A6 handles vendor request 4, it consumes 31 space and charges 25. If carrier A6 handles vendor request 5, it consumes 41 space and charges 6. If carrier A6 handles vendor request 6, it consumes 34 space and charges 11. If carrier A6 handles vendor request 7, it consumes 38 space and charges 14. If carrier A6 handles vendor request 8, it consumes 17 space and charges 8. If carrier A6 handles vendor request 9, it consumes 36 space and charges 14. If carrier A6 handles vendor request 10, it consumes 30 space and charges 23. If carrier A6 handles vendor request 11, it consumes 16 space and charges 22. If carrier A6 handles vendor request 12, it consumes 19 space and charges 15. If carrier A6 handles vendor request 13, it consumes 49 space and charges 18. If carrier A6 handles vendor request 14, it consumes 13 space and charges 22. If carrier A6 handles vendor request 15, it consumes 13 space and charges 19. If carrier A6 handles vendor request 16, it consumes 21 space and charges 7. If carrier A6 handles vendor request 17, it consumes 42 space and charges 22. If carrier A6 handles vendor request 18, it consumes 12 space and charges 24. If carrier A6 handles vendor request 19, it consumes 49 space and charges 14. If carrier A6 handles vendor request 20, it consumes 21 space and charges 19. If carrier A7 handles vendor request 0, it consumes 24 space and charges 15. If carrier A7 handles vendor request 1, it consumes 13 space and charges 14. If carrier A7 handles vendor request 2, it consumes 48 space and charges 20. If carrier A7 handles vendor request 3, it consumes 38 space and charges 23. If carrier A7 handles vendor request 4, it consumes 36 space and charges 21. If carrier A7 handles vendor request 5, it consumes 12 space and charges 14. If carrier A7 handles vendor request 6, it consumes 36 space and charges 25. If carrier A7 handles vendor request 7, it consumes 20 space and charges 15. If carrier A7 handles vendor request 8, it consumes 33 space and charges 17. If carrier A7 handles vendor request 9, it consumes 47 space and charges 13. If carrier A7 handles vendor request 10, it consumes 50 space and charges 8. If carrier A7 handles vendor request 11, it consumes 30 space and charges 24. If carrier A7 handles vendor request 12, it consumes 21 space and charges 6. If carrier A7 handles vendor request 13, it consumes 39 space and charges 10. If carrier A7 handles vendor request 14, it consumes 30 space and charges 12. If carrier A7 handles vendor request 15, it consumes 34 space and charges 11. If carrier A7 handles vendor request 16, it consumes 48 space and charges 23. If carrier A7 handles vendor request 17, it consumes 27 space and charges 15. If carrier A7 handles vendor request 18, it consumes 44 space and charges 23. If carrier A7 handles vendor request 19, it consumes 17 space and charges 12. If carrier A7 handles vendor request 20, it consumes 16 space and charges 24. Proceed to assign each vendor request to a single carrier without exceeding any carrier's vehicle capacity and while minimizing the total service fees. If you want to hand me the final picks in a tidy form, just drop them in this little JSON shape — nothing fancy, just a plain list of who handles which pickup: { ""solution"": [ , , ..., ] } Think of the JSON like a short form: the solution array is the ordered list of carriers, where each entry is the carrier chosen for that vendor pickup (first entry → first request, second → second request, and so on). It's just a sketch of the shape I expect, not the actual filled-in answer. Please use the exact identifiers from the instance input — do not rename them or invent new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[25, 10, 15, 45, 47, 42, 25, 19, 15, 22, 20, 36, 13, 16, 41, 14, 24, 46, 34, 23, 33], [45, 26, 49, 36, 34, 22, 35, 10, 19, 35, 29, 29, 41, 11, 31, 27, 21, 21, 12, 20, 47], [15, 16, 16, 13, 40, 50, 33, 45, 36, 16, 49, 50, 18, 47, 36, 50, 30, 27, 20, 28, 22], [35, 38, 38, 36, 11, 46, 19, 18, 19, 40, 49, 19, 19, 13, 18, 13, 25, 32, 40, 10, 10], [20, 10, 30, 27, 27, 33, 37, 38, 35, 33, 19, 12, 22, 11, 18, 36, 48, 34, 11, 45, 43], [40, 24, 31, 10, 31, 41, 34, 38, 17, 36, 30, 16, 19, 49, 13, 13, 21, 42, 12, 49, 21], [24, 13, 48, 38, 36, 12, 36, 20, 33, 47, 50, 30, 21, 39, 30, 34, 48, 27, 44, 17, 16]], 'assignment_costs': [[22, 22, 21, 13, 11, 16, 10, 13, 17, 22, 22, 7, 22, 13, 10, 20, 17, 22, 17, 19, 12], [19, 16, 19, 5, 16, 7, 7, 13, 21, 14, 6, 15, 11, 18, 16, 19, 22, 25, 6, 24, 15], [20, 24, 24, 20, 6, 5, 17, 23, 19, 12, 15, 20, 20, 17, 23, 24, 12, 13, 7, 20, 5], [24, 16, 19, 7, 17, 11, 19, 13, 25, 11, 6, 23, 21, 5, 22, 17, 20, 18, 15, 18, 22], [9, 8, 24, 17, 17, 25, 14, 20, 22, 6, 11, 18, 7, 5, 6, 22, 22, 17, 9, 20, 22], [15, 19, 17, 6, 25, 6, 11, 14, 8, 14, 23, 22, 15, 18, 22, 19, 7, 22, 24, 14, 19], [15, 14, 20, 23, 21, 14, 25, 15, 17, 13, 8, 24, 6, 10, 12, 11, 23, 15, 23, 12, 24]], 'capacities': [365, 365, 365, 365, 365, 365, 365], 'objective': 168.0}","[4, 4, 5, 1, 2, 2, 1, 1, 5, 4, 1, 0, 6, 3, 4, 6, 5, 2, 1, 6, 2]",168.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 365}, {'agent_id': 'A2', 'capacity': 365}, {'agent_id': 'A3', 'capacity': 365}, {'agent_id': 'A4', 'capacity': 365}, {'agent_id': 'A5', 'capacity': 365}, {'agent_id': 'A6', 'capacity': 365}, {'agent_id': 'A7', 'capacity': 365}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 16}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 22}, {'agent_id': 'A1', 'task_id': 1, 'cost': 22}, {'agent_id': 'A1', 'task_id': 2, 'cost': 21}, {'agent_id': 'A1', 'task_id': 3, 'cost': 13}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 16}, {'agent_id': 'A1', 'task_id': 6, 'cost': 10}, {'agent_id': 'A1', 'task_id': 7, 'cost': 13}, {'agent_id': 'A1', 'task_id': 8, 'cost': 17}, {'agent_id': 'A1', 'task_id': 9, 'cost': 22}, {'agent_id': 'A1', 'task_id': 10, 'cost': 22}, {'agent_id': 'A1', 'task_id': 11, 'cost': 7}, {'agent_id': 'A1', 'task_id': 12, 'cost': 22}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 10}, {'agent_id': 'A1', 'task_id': 15, 'cost': 20}, {'agent_id': 'A1', 'task_id': 16, 'cost': 17}, {'agent_id': 'A1', 'task_id': 17, 'cost': 22}, {'agent_id': 'A1', 'task_id': 18, 'cost': 17}, {'agent_id': 'A1', 'task_id': 19, 'cost': 19}, {'agent_id': 'A1', 'task_id': 20, 'cost': 12}, {'agent_id': 'A2', 'task_id': 0, 'cost': 19}, {'agent_id': 'A2', 'task_id': 1, 'cost': 16}, {'agent_id': 'A2', 'task_id': 2, 'cost': 19}, {'agent_id': 'A2', 'task_id': 3, 'cost': 5}, {'agent_id': 'A2', 'task_id': 4, 'cost': 16}, {'agent_id': 'A2', 'task_id': 5, 'cost': 7}, {'agent_id': 'A2', 'task_id': 6, 'cost': 7}, {'agent_id': 'A2', 'task_id': 7, 'cost': 13}, {'agent_id': 'A2', 'task_id': 8, 'cost': 21}, {'agent_id': 'A2', 'task_id': 9, 'cost': 14}, {'agent_id': 'A2', 'task_id': 10, 'cost': 6}, {'agent_id': 'A2', 'task_id': 11, 'cost': 15}, {'agent_id': 'A2', 'task_id': 12, 'cost': 11}, {'agent_id': 'A2', 'task_id': 13, 'cost': 18}, {'agent_id': 'A2', 'task_id': 14, 'cost': 16}, {'agent_id': 'A2', 'task_id': 15, 'cost': 19}, {'agent_id': 'A2', 'task_id': 16, 'cost': 22}, {'agent_id': 'A2', 'task_id': 17, 'cost': 25}, {'agent_id': 'A2', 'task_id': 18, 'cost': 6}, {'agent_id': 'A2', 'task_id': 19, 'cost': 24}, {'agent_id': 'A2', 'task_id': 20, 'cost': 15}, {'agent_id': 'A3', 'task_id': 0, 'cost': 20}, {'agent_id': 'A3', 'task_id': 1, 'cost': 24}, {'agent_id': 'A3', 'task_id': 2, 'cost': 24}, {'agent_id': 'A3', 'task_id': 3, 'cost': 20}, {'agent_id': 'A3', 'task_id': 4, 'cost': 6}, {'agent_id': 'A3', 'task_id': 5, 'cost': 5}, {'agent_id': 'A3', 'task_id': 6, 'cost': 17}, {'agent_id': 'A3', 'task_id': 7, 'cost': 23}, {'agent_id': 'A3', 'task_id': 8, 'cost': 19}, {'agent_id': 'A3', 'task_id': 9, 'cost': 12}, {'agent_id': 'A3', 'task_id': 10, 'cost': 15}, {'agent_id': 'A3', 'task_id': 11, 'cost': 20}, {'agent_id': 'A3', 'task_id': 12, 'cost': 20}, {'agent_id': 'A3', 'task_id': 13, 'cost': 17}, {'agent_id': 'A3', 'task_id': 14, 'cost': 23}, {'agent_id': 'A3', 'task_id': 15, 'cost': 24}, {'agent_id': 'A3', 'task_id': 16, 'cost': 12}, {'agent_id': 'A3', 'task_id': 17, 'cost': 13}, {'agent_id': 'A3', 'task_id': 18, 'cost': 7}, {'agent_id': 'A3', 'task_id': 19, 'cost': 20}, {'agent_id': 'A3', 'task_id': 20, 'cost': 5}, {'agent_id': 'A4', 'task_id': 0, 'cost': 24}, {'agent_id': 'A4', 'task_id': 1, 'cost': 16}, {'agent_id': 'A4', 'task_id': 2, 'cost': 19}, {'agent_id': 'A4', 'task_id': 3, 'cost': 7}, {'agent_id': 'A4', 'task_id': 4, 'cost': 17}, {'agent_id': 'A4', 'task_id': 5, 'cost': 11}, {'agent_id': 'A4', 'task_id': 6, 'cost': 19}, {'agent_id': 'A4', 'task_id': 7, 'cost': 13}, {'agent_id': 'A4', 'task_id': 8, 'cost': 25}, {'agent_id': 'A4', 'task_id': 9, 'cost': 11}, {'agent_id': 'A4', 'task_id': 10, 'cost': 6}, {'agent_id': 'A4', 'task_id': 11, 'cost': 23}, {'agent_id': 'A4', 'task_id': 12, 'cost': 21}, {'agent_id': 'A4', 'task_id': 13, 'cost': 5}, {'agent_id': 'A4', 'task_id': 14, 'cost': 22}, {'agent_id': 'A4', 'task_id': 15, 'cost': 17}, {'agent_id': 'A4', 'task_id': 16, 'cost': 20}, {'agent_id': 'A4', 'task_id': 17, 'cost': 18}, {'agent_id': 'A4', 'task_id': 18, 'cost': 15}, {'agent_id': 'A4', 'task_id': 19, 'cost': 18}, {'agent_id': 'A4', 'task_id': 20, 'cost': 22}, {'agent_id': 'A5', 'task_id': 0, 'cost': 9}, {'agent_id': 'A5', 'task_id': 1, 'cost': 8}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 17}, {'agent_id': 'A5', 'task_id': 4, 'cost': 17}, {'agent_id': 'A5', 'task_id': 5, 'cost': 25}, {'agent_id': 'A5', 'task_id': 6, 'cost': 14}, {'agent_id': 'A5', 'task_id': 7, 'cost': 20}, {'agent_id': 'A5', 'task_id': 8, 'cost': 22}, {'agent_id': 'A5', 'task_id': 9, 'cost': 6}, {'agent_id': 'A5', 'task_id': 10, 'cost': 11}, {'agent_id': 'A5', 'task_id': 11, 'cost': 18}, {'agent_id': 'A5', 'task_id': 12, 'cost': 7}, {'agent_id': 'A5', 'task_id': 13, 'cost': 5}, {'agent_id': 'A5', 'task_id': 14, 'cost': 6}, {'agent_id': 'A5', 'task_id': 15, 'cost': 22}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}, {'agent_id': 'A5', 'task_id': 17, 'cost': 17}, {'agent_id': 'A5', 'task_id': 18, 'cost': 9}, {'agent_id': 'A5', 'task_id': 19, 'cost': 20}, {'agent_id': 'A5', 'task_id': 20, 'cost': 22}, {'agent_id': 'A6', 'task_id': 0, 'cost': 15}, {'agent_id': 'A6', 'task_id': 1, 'cost': 19}, {'agent_id': 'A6', 'task_id': 2, 'cost': 17}, {'agent_id': 'A6', 'task_id': 3, 'cost': 6}, {'agent_id': 'A6', 'task_id': 4, 'cost': 25}, {'agent_id': 'A6', 'task_id': 5, 'cost': 6}, {'agent_id': 'A6', 'task_id': 6, 'cost': 11}, {'agent_id': 'A6', 'task_id': 7, 'cost': 14}, {'agent_id': 'A6', 'task_id': 8, 'cost': 8}, {'agent_id': 'A6', 'task_id': 9, 'cost': 14}, {'agent_id': 'A6', 'task_id': 10, 'cost': 23}, {'agent_id': 'A6', 'task_id': 11, 'cost': 22}, {'agent_id': 'A6', 'task_id': 12, 'cost': 15}, {'agent_id': 'A6', 'task_id': 13, 'cost': 18}, {'agent_id': 'A6', 'task_id': 14, 'cost': 22}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 7}, {'agent_id': 'A6', 'task_id': 17, 'cost': 22}, {'agent_id': 'A6', 'task_id': 18, 'cost': 24}, {'agent_id': 'A6', 'task_id': 19, 'cost': 14}, {'agent_id': 'A6', 'task_id': 20, 'cost': 19}, {'agent_id': 'A7', 'task_id': 0, 'cost': 15}, {'agent_id': 'A7', 'task_id': 1, 'cost': 14}, {'agent_id': 'A7', 'task_id': 2, 'cost': 20}, {'agent_id': 'A7', 'task_id': 3, 'cost': 23}, {'agent_id': 'A7', 'task_id': 4, 'cost': 21}, {'agent_id': 'A7', 'task_id': 5, 'cost': 14}, {'agent_id': 'A7', 'task_id': 6, 'cost': 25}, {'agent_id': 'A7', 'task_id': 7, 'cost': 15}, {'agent_id': 'A7', 'task_id': 8, 'cost': 17}, {'agent_id': 'A7', 'task_id': 9, 'cost': 13}, {'agent_id': 'A7', 'task_id': 10, 'cost': 8}, {'agent_id': 'A7', 'task_id': 11, 'cost': 24}, {'agent_id': 'A7', 'task_id': 12, 'cost': 6}, {'agent_id': 'A7', 'task_id': 13, 'cost': 10}, {'agent_id': 'A7', 'task_id': 14, 'cost': 12}, {'agent_id': 'A7', 'task_id': 15, 'cost': 11}, {'agent_id': 'A7', 'task_id': 16, 'cost': 23}, {'agent_id': 'A7', 'task_id': 17, 'cost': 15}, {'agent_id': 'A7', 'task_id': 18, 'cost': 23}, {'agent_id': 'A7', 'task_id': 19, 'cost': 12}, {'agent_id': 'A7', 'task_id': 20, 'cost': 24}]}","['A5', 'A5', 'A6', 'A2', 'A3', 'A3', 'A2', 'A2', 'A6', 'A5', 'A2', 'A1', 'A7', 'A4', 'A5', 'A7', 'A6', 'A3', 'A2', 'A7', 'A3']",34,nl,0 GAP,GAP,"Many teams face the same juggling act: a set of services must be assigned to available servers, every service must have a single host (can’t be split or copied), and each server has a strict amount of RAM to share. Since each service consumes different RAM and has a different price on each server, the goal is to place all services so memory caps aren’t breached and the combined operating cost — calculated by summing each service’s cost on the server it’s placed on — is as low as possible. The concrete task and server details are listed below. There are 8 servers and 25 services to place; the available server identifiers are A1, A2, A3, A4, A5, A6, A7, A8 and the service identifiers are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24. Server A1 has 120 GB of RAM available. Server A2 has 118 GB of RAM available. Server A3 has 119 GB of RAM available. Server A4 has 123 GB of RAM available. Server A5 has 106 GB of RAM available. Server A6 has 118 GB of RAM available. Server A7 has 119 GB of RAM available. Server A8 has 119 GB of RAM available. If service 0 is placed on server A1 it consumes 25 GB of RAM and incurs an operating cost of 11. If service 1 is placed on server A1 it consumes 28 GB of RAM and incurs an operating cost of 15. If service 2 is placed on server A1 it consumes 41 GB of RAM and incurs an operating cost of 18. If service 3 is placed on server A1 it consumes 33 GB of RAM and incurs an operating cost of 6. If service 4 is placed on server A1 it consumes 33 GB of RAM and incurs an operating cost of 14. If service 5 is placed on server A1 it consumes 24 GB of RAM and incurs an operating cost of 25. If service 6 is placed on server A1 it consumes 16 GB of RAM and incurs an operating cost of 9. If service 7 is placed on server A1 it consumes 30 GB of RAM and incurs an operating cost of 17. If service 8 is placed on server A1 it consumes 34 GB of RAM and incurs an operating cost of 18. If service 9 is placed on server A1 it consumes 34 GB of RAM and incurs an operating cost of 17. If service 10 is placed on server A1 it consumes 12 GB of RAM and incurs an operating cost of 15. If service 11 is placed on server A1 it consumes 32 GB of RAM and incurs an operating cost of 5. If service 12 is placed on server A1 it consumes 49 GB of RAM and incurs an operating cost of 21. If service 13 is placed on server A1 it consumes 12 GB of RAM and incurs an operating cost of 20. If service 14 is placed on server A1 it consumes 17 GB of RAM and incurs an operating cost of 6. If service 15 is placed on server A1 it consumes 17 GB of RAM and incurs an operating cost of 9. If service 16 is placed on server A1 it consumes 38 GB of RAM and incurs an operating cost of 19. If service 17 is placed on server A1 it consumes 47 GB of RAM and incurs an operating cost of 22. If service 18 is placed on server A1 it consumes 44 GB of RAM and incurs an operating cost of 24. If service 19 is placed on server A1 it consumes 20 GB of RAM and incurs an operating cost of 16. If service 20 is placed on server A1 it consumes 41 GB of RAM and incurs an operating cost of 24. If service 21 is placed on server A1 it consumes 15 GB of RAM and incurs an operating cost of 24. If service 22 is placed on server A1 it consumes 16 GB of RAM and incurs an operating cost of 15. If service 23 is placed on server A1 it consumes 38 GB of RAM and incurs an operating cost of 10. If service 24 is placed on server A1 it consumes 28 GB of RAM and incurs an operating cost of 15. If service 0 is placed on server A2 it consumes 25 GB of RAM and incurs an operating cost of 10. If service 1 is placed on server A2 it consumes 17 GB of RAM and incurs an operating cost of 6. If service 2 is placed on server A2 it consumes 21 GB of RAM and incurs an operating cost of 25. If service 3 is placed on server A2 it consumes 20 GB of RAM and incurs an operating cost of 18. If service 4 is placed on server A2 it consumes 41 GB of RAM and incurs an operating cost of 22. If service 5 is placed on server A2 it consumes 50 GB of RAM and incurs an operating cost of 18. If service 6 is placed on server A2 it consumes 46 GB of RAM and incurs an operating cost of 7. If service 7 is placed on server A2 it consumes 31 GB of RAM and incurs an operating cost of 21. If service 8 is placed on server A2 it consumes 35 GB of RAM and incurs an operating cost of 9. If service 9 is placed on server A2 it consumes 11 GB of RAM and incurs an operating cost of 18. If service 10 is placed on server A2 it consumes 42 GB of RAM and incurs an operating cost of 15. If service 11 is placed on server A2 it consumes 46 GB of RAM and incurs an operating cost of 7. If service 12 is placed on server A2 it consumes 18 GB of RAM and incurs an operating cost of 17. If service 13 is placed on server A2 it consumes 31 GB of RAM and incurs an operating cost of 24. If service 14 is placed on server A2 it consumes 33 GB of RAM and incurs an operating cost of 7. If service 15 is placed on server A2 it consumes 25 GB of RAM and incurs an operating cost of 24. If service 16 is placed on server A2 it consumes 35 GB of RAM and incurs an operating cost of 10. If service 17 is placed on server A2 it consumes 31 GB of RAM and incurs an operating cost of 9. If service 18 is placed on server A2 it consumes 20 GB of RAM and incurs an operating cost of 18. If service 19 is placed on server A2 it consumes 40 GB of RAM and incurs an operating cost of 15. If service 20 is placed on server A2 it consumes 41 GB of RAM and incurs an operating cost of 24. If service 21 is placed on server A2 it consumes 44 GB of RAM and incurs an operating cost of 13. If service 22 is placed on server A2 it consumes 36 GB of RAM and incurs an operating cost of 15. If service 23 is placed on server A2 it consumes 38 GB of RAM and incurs an operating cost of 15. If service 24 is placed on server A2 it consumes 14 GB of RAM and incurs an operating cost of 23. If service 0 is placed on server A3 it consumes 22 GB of RAM and incurs an operating cost of 9. If service 1 is placed on server A3 it consumes 19 GB of RAM and incurs an operating cost of 19. If service 2 is placed on server A3 it consumes 32 GB of RAM and incurs an operating cost of 10. If service 3 is placed on server A3 it consumes 44 GB of RAM and incurs an operating cost of 10. If service 4 is placed on server A3 it consumes 33 GB of RAM and incurs an operating cost of 14. If service 5 is placed on server A3 it consumes 45 GB of RAM and incurs an operating cost of 22. If service 6 is placed on server A3 it consumes 41 GB of RAM and incurs an operating cost of 15. If service 7 is placed on server A3 it consumes 14 GB of RAM and incurs an operating cost of 6. If service 8 is placed on server A3 it consumes 47 GB of RAM and incurs an operating cost of 5. If service 9 is placed on server A3 it consumes 47 GB of RAM and incurs an operating cost of 13. If service 10 is placed on server A3 it consumes 19 GB of RAM and incurs an operating cost of 14. If service 11 is placed on server A3 it consumes 44 GB of RAM and incurs an operating cost of 11. If service 12 is placed on server A3 it consumes 27 GB of RAM and incurs an operating cost of 19. If service 13 is placed on server A3 it consumes 38 GB of RAM and incurs an operating cost of 7. If service 14 is placed on server A3 it consumes 49 GB of RAM and incurs an operating cost of 14. If service 15 is placed on server A3 it consumes 38 GB of RAM and incurs an operating cost of 8. If service 16 is placed on server A3 it consumes 40 GB of RAM and incurs an operating cost of 6. If service 17 is placed on server A3 it consumes 10 GB of RAM and incurs an operating cost of 23. If service 18 is placed on server A3 it consumes 12 GB of RAM and incurs an operating cost of 14. If service 19 is placed on server A3 it consumes 50 GB of RAM and incurs an operating cost of 13. If service 20 is placed on server A3 it consumes 39 GB of RAM and incurs an operating cost of 11. If service 21 is placed on server A3 it consumes 43 GB of RAM and incurs an operating cost of 22. If service 22 is placed on server A3 it consumes 17 GB of RAM and incurs an operating cost of 14. If service 23 is placed on server A3 it consumes 32 GB of RAM and incurs an operating cost of 25. If service 24 is placed on server A3 it consumes 22 GB of RAM and incurs an operating cost of 16. If service 0 is placed on server A4 it consumes 34 GB of RAM and incurs an operating cost of 22. If service 1 is placed on server A4 it consumes 39 GB of RAM and incurs an operating cost of 8. If service 2 is placed on server A4 it consumes 17 GB of RAM and incurs an operating cost of 24. If service 3 is placed on server A4 it consumes 37 GB of RAM and incurs an operating cost of 20. If service 4 is placed on server A4 it consumes 44 GB of RAM and incurs an operating cost of 21. If service 5 is placed on server A4 it consumes 18 GB of RAM and incurs an operating cost of 10. If service 6 is placed on server A4 it consumes 13 GB of RAM and incurs an operating cost of 17. If service 7 is placed on server A4 it consumes 26 GB of RAM and incurs an operating cost of 7. If service 8 is placed on server A4 it consumes 20 GB of RAM and incurs an operating cost of 23. If service 9 is placed on server A4 it consumes 43 GB of RAM and incurs an operating cost of 23. If service 10 is placed on server A4 it consumes 25 GB of RAM and incurs an operating cost of 5. If service 11 is placed on server A4 it consumes 18 GB of RAM and incurs an operating cost of 25. If service 12 is placed on server A4 it consumes 48 GB of RAM and incurs an operating cost of 18. If service 13 is placed on server A4 it consumes 43 GB of RAM and incurs an operating cost of 16. If service 14 is placed on server A4 it consumes 14 GB of RAM and incurs an operating cost of 11. If service 15 is placed on server A4 it consumes 26 GB of RAM and incurs an operating cost of 14. If service 16 is placed on server A4 it consumes 21 GB of RAM and incurs an operating cost of 15. If service 17 is placed on server A4 it consumes 43 GB of RAM and incurs an operating cost of 12. If service 18 is placed on server A4 it consumes 19 GB of RAM and incurs an operating cost of 17. If service 19 is placed on server A4 it consumes 30 GB of RAM and incurs an operating cost of 25. If service 20 is placed on server A4 it consumes 30 GB of RAM and incurs an operating cost of 6. If service 21 is placed on server A4 it consumes 32 GB of RAM and incurs an operating cost of 19. If service 22 is placed on server A4 it consumes 29 GB of RAM and incurs an operating cost of 17. If service 23 is placed on server A4 it consumes 13 GB of RAM and incurs an operating cost of 25. If service 24 is placed on server A4 it consumes 10 GB of RAM and incurs an operating cost of 6. If service 0 is placed on server A5 it consumes 49 GB of RAM and incurs an operating cost of 12. If service 1 is placed on server A5 it consumes 41 GB of RAM and incurs an operating cost of 20. If service 2 is placed on server A5 it consumes 41 GB of RAM and incurs an operating cost of 8. If service 3 is placed on server A5 it consumes 14 GB of RAM and incurs an operating cost of 23. If service 4 is placed on server A5 it consumes 21 GB of RAM and incurs an operating cost of 5. If service 5 is placed on server A5 it consumes 34 GB of RAM and incurs an operating cost of 17. If service 6 is placed on server A5 it consumes 11 GB of RAM and incurs an operating cost of 22. If service 7 is placed on server A5 it consumes 39 GB of RAM and incurs an operating cost of 10. If service 8 is placed on server A5 it consumes 39 GB of RAM and incurs an operating cost of 5. If service 9 is placed on server A5 it consumes 34 GB of RAM and incurs an operating cost of 7. If service 10 is placed on server A5 it consumes 37 GB of RAM and incurs an operating cost of 12. If service 11 is placed on server A5 it consumes 10 GB of RAM and incurs an operating cost of 22. If service 12 is placed on server A5 it consumes 14 GB of RAM and incurs an operating cost of 14. If service 13 is placed on server A5 it consumes 11 GB of RAM and incurs an operating cost of 7. If service 14 is placed on server A5 it consumes 42 GB of RAM and incurs an operating cost of 10. If service 15 is placed on server A5 it consumes 15 GB of RAM and incurs an operating cost of 20. If service 16 is placed on server A5 it consumes 11 GB of RAM and incurs an operating cost of 5. If service 17 is placed on server A5 it consumes 47 GB of RAM and incurs an operating cost of 17. If service 18 is placed on server A5 it consumes 41 GB of RAM and incurs an operating cost of 22. If service 19 is placed on server A5 it consumes 38 GB of RAM and incurs an operating cost of 21. If service 20 is placed on server A5 it consumes 11 GB of RAM and incurs an operating cost of 5. If service 21 is placed on server A5 it consumes 26 GB of RAM and incurs an operating cost of 6. If service 22 is placed on server A5 it consumes 45 GB of RAM and incurs an operating cost of 14. If service 23 is placed on server A5 it consumes 40 GB of RAM and incurs an operating cost of 24. If service 24 is placed on server A5 it consumes 50 GB of RAM and incurs an operating cost of 11. If service 0 is placed on server A6 it consumes 36 GB of RAM and incurs an operating cost of 17. If service 1 is placed on server A6 it consumes 32 GB of RAM and incurs an operating cost of 20. If service 2 is placed on server A6 it consumes 10 GB of RAM and incurs an operating cost of 22. If service 3 is placed on server A6 it consumes 28 GB of RAM and incurs an operating cost of 21. If service 4 is placed on server A6 it consumes 31 GB of RAM and incurs an operating cost of 7. If service 5 is placed on server A6 it consumes 13 GB of RAM and incurs an operating cost of 9. If service 6 is placed on server A6 it consumes 36 GB of RAM and incurs an operating cost of 11. If service 7 is placed on server A6 it consumes 26 GB of RAM and incurs an operating cost of 8. If service 8 is placed on server A6 it consumes 24 GB of RAM and incurs an operating cost of 17. If service 9 is placed on server A6 it consumes 15 GB of RAM and incurs an operating cost of 11. If service 10 is placed on server A6 it consumes 28 GB of RAM and incurs an operating cost of 22. If service 11 is placed on server A6 it consumes 32 GB of RAM and incurs an operating cost of 15. If service 12 is placed on server A6 it consumes 44 GB of RAM and incurs an operating cost of 25. If service 13 is placed on server A6 it consumes 17 GB of RAM and incurs an operating cost of 12. If service 14 is placed on server A6 it consumes 22 GB of RAM and incurs an operating cost of 7. If service 15 is placed on server A6 it consumes 47 GB of RAM and incurs an operating cost of 14. If service 16 is placed on server A6 it consumes 50 GB of RAM and incurs an operating cost of 16. If service 17 is placed on server A6 it consumes 50 GB of RAM and incurs an operating cost of 23. If service 18 is placed on server A6 it consumes 11 GB of RAM and incurs an operating cost of 9. If service 19 is placed on server A6 it consumes 17 GB of RAM and incurs an operating cost of 22. If service 20 is placed on server A6 it consumes 17 GB of RAM and incurs an operating cost of 16. If service 21 is placed on server A6 it consumes 48 GB of RAM and incurs an operating cost of 20. If service 22 is placed on server A6 it consumes 10 GB of RAM and incurs an operating cost of 19. If service 23 is placed on server A6 it consumes 44 GB of RAM and incurs an operating cost of 14. If service 24 is placed on server A6 it consumes 31 GB of RAM and incurs an operating cost of 25. If service 0 is placed on server A7 it consumes 16 GB of RAM and incurs an operating cost of 13. If service 1 is placed on server A7 it consumes 24 GB of RAM and incurs an operating cost of 24. If service 2 is placed on server A7 it consumes 44 GB of RAM and incurs an operating cost of 8. If service 3 is placed on server A7 it consumes 29 GB of RAM and incurs an operating cost of 24. If service 4 is placed on server A7 it consumes 16 GB of RAM and incurs an operating cost of 13. If service 5 is placed on server A7 it consumes 29 GB of RAM and incurs an operating cost of 7. If service 6 is placed on server A7 it consumes 12 GB of RAM and incurs an operating cost of 15. If service 7 is placed on server A7 it consumes 28 GB of RAM and incurs an operating cost of 7. If service 8 is placed on server A7 it consumes 35 GB of RAM and incurs an operating cost of 13. If service 9 is placed on server A7 it consumes 21 GB of RAM and incurs an operating cost of 16. If service 10 is placed on server A7 it consumes 42 GB of RAM and incurs an operating cost of 23. If service 11 is placed on server A7 it consumes 50 GB of RAM and incurs an operating cost of 23. If service 12 is placed on server A7 it consumes 37 GB of RAM and incurs an operating cost of 16. If service 13 is placed on server A7 it consumes 38 GB of RAM and incurs an operating cost of 10. If service 14 is placed on server A7 it consumes 39 GB of RAM and incurs an operating cost of 10. If service 15 is placed on server A7 it consumes 36 GB of RAM and incurs an operating cost of 8. If service 16 is placed on server A7 it consumes 50 GB of RAM and incurs an operating cost of 6. If service 17 is placed on server A7 it consumes 50 GB of RAM and incurs an operating cost of 18. If service 18 is placed on server A7 it consumes 21 GB of RAM and incurs an operating cost of 5. If service 19 is placed on server A7 it consumes 11 GB of RAM and incurs an operating cost of 6. If service 20 is placed on server A7 it consumes 50 GB of RAM and incurs an operating cost of 24. If service 21 is placed on server A7 it consumes 19 GB of RAM and incurs an operating cost of 21. If service 22 is placed on server A7 it consumes 39 GB of RAM and incurs an operating cost of 10. If service 23 is placed on server A7 it consumes 39 GB of RAM and incurs an operating cost of 23. If service 24 is placed on server A7 it consumes 32 GB of RAM and incurs an operating cost of 6. If service 0 is placed on server A8 it consumes 46 GB of RAM and incurs an operating cost of 5. If service 1 is placed on server A8 it consumes 31 GB of RAM and incurs an operating cost of 21. If service 2 is placed on server A8 it consumes 26 GB of RAM and incurs an operating cost of 18. If service 3 is placed on server A8 it consumes 29 GB of RAM and incurs an operating cost of 15. If service 4 is placed on server A8 it consumes 18 GB of RAM and incurs an operating cost of 12. If service 5 is placed on server A8 it consumes 41 GB of RAM and incurs an operating cost of 18. If service 6 is placed on server A8 it consumes 23 GB of RAM and incurs an operating cost of 23. If service 7 is placed on server A8 it consumes 29 GB of RAM and incurs an operating cost of 25. If service 8 is placed on server A8 it consumes 22 GB of RAM and incurs an operating cost of 13. If service 9 is placed on server A8 it consumes 13 GB of RAM and incurs an operating cost of 13. If service 10 is placed on server A8 it consumes 33 GB of RAM and incurs an operating cost of 18. If service 11 is placed on server A8 it consumes 36 GB of RAM and incurs an operating cost of 21. If service 12 is placed on server A8 it consumes 26 GB of RAM and incurs an operating cost of 5. If service 13 is placed on server A8 it consumes 11 GB of RAM and incurs an operating cost of 16. If service 14 is placed on server A8 it consumes 12 GB of RAM and incurs an operating cost of 19. If service 15 is placed on server A8 it consumes 49 GB of RAM and incurs an operating cost of 21. If service 16 is placed on server A8 it consumes 35 GB of RAM and incurs an operating cost of 16. If service 17 is placed on server A8 it consumes 49 GB of RAM and incurs an operating cost of 23. If service 18 is placed on server A8 it consumes 19 GB of RAM and incurs an operating cost of 24. If service 19 is placed on server A8 it consumes 30 GB of RAM and incurs an operating cost of 8. If service 20 is placed on server A8 it consumes 36 GB of RAM and incurs an operating cost of 6. If service 21 is placed on server A8 it consumes 11 GB of RAM and incurs an operating cost of 23. If service 22 is placed on server A8 it consumes 47 GB of RAM and incurs an operating cost of 25. If service 23 is placed on server A8 it consumes 28 GB of RAM and incurs an operating cost of 19. If service 24 is placed on server A8 it consumes 38 GB of RAM and incurs an operating cost of 22. Place all 25 services onto the 8 servers without exceeding any server's RAM and while minimizing total operating cost. One more thing — when you send back the placement, please use this simple JSON layout so it's easy to parse: { ""solution"": [ , , ..., ] } Think of it like a form: ""solution"" is the list, and each entry in that list is the exact server (host) you picked for the corresponding service, in the same order the services were listed above. This is just the shape I expect — not the real answer itself. Please use the identifiers exactly as they appear in the instance input — don't invent new names or change them. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[25, 28, 41, 33, 33, 24, 16, 30, 34, 34, 12, 32, 49, 12, 17, 17, 38, 47, 44, 20, 41, 15, 16, 38, 28], [25, 17, 21, 20, 41, 50, 46, 31, 35, 11, 42, 46, 18, 31, 33, 25, 35, 31, 20, 40, 41, 44, 36, 38, 14], [22, 19, 32, 44, 33, 45, 41, 14, 47, 47, 19, 44, 27, 38, 49, 38, 40, 10, 12, 50, 39, 43, 17, 32, 22], [34, 39, 17, 37, 44, 18, 13, 26, 20, 43, 25, 18, 48, 43, 14, 26, 21, 43, 19, 30, 30, 32, 29, 13, 10], [49, 41, 41, 14, 21, 34, 11, 39, 39, 34, 37, 10, 14, 11, 42, 15, 11, 47, 41, 38, 11, 26, 45, 40, 50], [36, 32, 10, 28, 31, 13, 36, 26, 24, 15, 28, 32, 44, 17, 22, 47, 50, 50, 11, 17, 17, 48, 10, 44, 31], [16, 24, 44, 29, 16, 29, 12, 28, 35, 21, 42, 50, 37, 38, 39, 36, 50, 50, 21, 11, 50, 19, 39, 39, 32], [46, 31, 26, 29, 18, 41, 23, 29, 22, 13, 33, 36, 26, 11, 12, 49, 35, 49, 19, 30, 36, 11, 47, 28, 38]], 'assignment_costs': [[11, 15, 18, 6, 14, 25, 9, 17, 18, 17, 15, 5, 21, 20, 6, 9, 19, 22, 24, 16, 24, 24, 15, 10, 15], [10, 6, 25, 18, 22, 18, 7, 21, 9, 18, 15, 7, 17, 24, 7, 24, 10, 9, 18, 15, 24, 13, 15, 15, 23], [9, 19, 10, 10, 14, 22, 15, 6, 5, 13, 14, 11, 19, 7, 14, 8, 6, 23, 14, 13, 11, 22, 14, 25, 16], [22, 8, 24, 20, 21, 10, 17, 7, 23, 23, 5, 25, 18, 16, 11, 14, 15, 12, 17, 25, 6, 19, 17, 25, 6], [12, 20, 8, 23, 5, 17, 22, 10, 5, 7, 12, 22, 14, 7, 10, 20, 5, 17, 22, 21, 5, 6, 14, 24, 11], [17, 20, 22, 21, 7, 9, 11, 8, 17, 11, 22, 15, 25, 12, 7, 14, 16, 23, 9, 22, 16, 20, 19, 14, 25], [13, 24, 8, 24, 13, 7, 15, 7, 13, 16, 23, 23, 16, 10, 10, 8, 6, 18, 5, 6, 24, 21, 10, 23, 6], [5, 21, 18, 15, 12, 18, 23, 25, 13, 13, 18, 21, 5, 16, 19, 21, 16, 23, 24, 8, 6, 23, 25, 19, 22]], 'capacities': [120, 118, 119, 123, 106, 118, 119, 119], 'objective': 163.0}","[7, 1, 6, 0, 4, 5, 1, 2, 2, 4, 3, 0, 7, 4, 0, 2, 4, 1, 6, 6, 3, 4, 6, 0, 3]",163.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 25, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 120}, {'agent_id': 'A2', 'capacity': 118}, {'agent_id': 'A3', 'capacity': 119}, {'agent_id': 'A4', 'capacity': 123}, {'agent_id': 'A5', 'capacity': 106}, {'agent_id': 'A6', 'capacity': 118}, {'agent_id': 'A7', 'capacity': 119}, {'agent_id': 'A8', 'capacity': 119}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 39}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 32}, {'agent_id': 'A8', 'task_id': 0, 'consumption': 46}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 26}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 47}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 28}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 38}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 11}, {'agent_id': 'A1', 'task_id': 1, 'cost': 15}, {'agent_id': 'A1', 'task_id': 2, 'cost': 18}, {'agent_id': 'A1', 'task_id': 3, 'cost': 6}, {'agent_id': 'A1', 'task_id': 4, 'cost': 14}, {'agent_id': 'A1', 'task_id': 5, 'cost': 25}, {'agent_id': 'A1', 'task_id': 6, 'cost': 9}, {'agent_id': 'A1', 'task_id': 7, 'cost': 17}, {'agent_id': 'A1', 'task_id': 8, 'cost': 18}, {'agent_id': 'A1', 'task_id': 9, 'cost': 17}, {'agent_id': 'A1', 'task_id': 10, 'cost': 15}, {'agent_id': 'A1', 'task_id': 11, 'cost': 5}, {'agent_id': 'A1', 'task_id': 12, 'cost': 21}, {'agent_id': 'A1', 'task_id': 13, 'cost': 20}, {'agent_id': 'A1', 'task_id': 14, 'cost': 6}, {'agent_id': 'A1', 'task_id': 15, 'cost': 9}, {'agent_id': 'A1', 'task_id': 16, 'cost': 19}, {'agent_id': 'A1', 'task_id': 17, 'cost': 22}, {'agent_id': 'A1', 'task_id': 18, 'cost': 24}, {'agent_id': 'A1', 'task_id': 19, 'cost': 16}, {'agent_id': 'A1', 'task_id': 20, 'cost': 24}, {'agent_id': 'A1', 'task_id': 21, 'cost': 24}, {'agent_id': 'A1', 'task_id': 22, 'cost': 15}, {'agent_id': 'A1', 'task_id': 23, 'cost': 10}, {'agent_id': 'A1', 'task_id': 24, 'cost': 15}, {'agent_id': 'A2', 'task_id': 0, 'cost': 10}, {'agent_id': 'A2', 'task_id': 1, 'cost': 6}, {'agent_id': 'A2', 'task_id': 2, 'cost': 25}, {'agent_id': 'A2', 'task_id': 3, 'cost': 18}, {'agent_id': 'A2', 'task_id': 4, 'cost': 22}, {'agent_id': 'A2', 'task_id': 5, 'cost': 18}, {'agent_id': 'A2', 'task_id': 6, 'cost': 7}, {'agent_id': 'A2', 'task_id': 7, 'cost': 21}, {'agent_id': 'A2', 'task_id': 8, 'cost': 9}, {'agent_id': 'A2', 'task_id': 9, 'cost': 18}, {'agent_id': 'A2', 'task_id': 10, 'cost': 15}, {'agent_id': 'A2', 'task_id': 11, 'cost': 7}, {'agent_id': 'A2', 'task_id': 12, 'cost': 17}, {'agent_id': 'A2', 'task_id': 13, 'cost': 24}, {'agent_id': 'A2', 'task_id': 14, 'cost': 7}, {'agent_id': 'A2', 'task_id': 15, 'cost': 24}, {'agent_id': 'A2', 'task_id': 16, 'cost': 10}, {'agent_id': 'A2', 'task_id': 17, 'cost': 9}, {'agent_id': 'A2', 'task_id': 18, 'cost': 18}, {'agent_id': 'A2', 'task_id': 19, 'cost': 15}, {'agent_id': 'A2', 'task_id': 20, 'cost': 24}, {'agent_id': 'A2', 'task_id': 21, 'cost': 13}, {'agent_id': 'A2', 'task_id': 22, 'cost': 15}, {'agent_id': 'A2', 'task_id': 23, 'cost': 15}, {'agent_id': 'A2', 'task_id': 24, 'cost': 23}, {'agent_id': 'A3', 'task_id': 0, 'cost': 9}, {'agent_id': 'A3', 'task_id': 1, 'cost': 19}, {'agent_id': 'A3', 'task_id': 2, 'cost': 10}, {'agent_id': 'A3', 'task_id': 3, 'cost': 10}, {'agent_id': 'A3', 'task_id': 4, 'cost': 14}, {'agent_id': 'A3', 'task_id': 5, 'cost': 22}, {'agent_id': 'A3', 'task_id': 6, 'cost': 15}, {'agent_id': 'A3', 'task_id': 7, 'cost': 6}, {'agent_id': 'A3', 'task_id': 8, 'cost': 5}, {'agent_id': 'A3', 'task_id': 9, 'cost': 13}, {'agent_id': 'A3', 'task_id': 10, 'cost': 14}, {'agent_id': 'A3', 'task_id': 11, 'cost': 11}, {'agent_id': 'A3', 'task_id': 12, 'cost': 19}, {'agent_id': 'A3', 'task_id': 13, 'cost': 7}, {'agent_id': 'A3', 'task_id': 14, 'cost': 14}, {'agent_id': 'A3', 'task_id': 15, 'cost': 8}, {'agent_id': 'A3', 'task_id': 16, 'cost': 6}, {'agent_id': 'A3', 'task_id': 17, 'cost': 23}, {'agent_id': 'A3', 'task_id': 18, 'cost': 14}, {'agent_id': 'A3', 'task_id': 19, 'cost': 13}, {'agent_id': 'A3', 'task_id': 20, 'cost': 11}, {'agent_id': 'A3', 'task_id': 21, 'cost': 22}, {'agent_id': 'A3', 'task_id': 22, 'cost': 14}, {'agent_id': 'A3', 'task_id': 23, 'cost': 25}, {'agent_id': 'A3', 'task_id': 24, 'cost': 16}, {'agent_id': 'A4', 'task_id': 0, 'cost': 22}, {'agent_id': 'A4', 'task_id': 1, 'cost': 8}, {'agent_id': 'A4', 'task_id': 2, 'cost': 24}, {'agent_id': 'A4', 'task_id': 3, 'cost': 20}, {'agent_id': 'A4', 'task_id': 4, 'cost': 21}, {'agent_id': 'A4', 'task_id': 5, 'cost': 10}, {'agent_id': 'A4', 'task_id': 6, 'cost': 17}, {'agent_id': 'A4', 'task_id': 7, 'cost': 7}, {'agent_id': 'A4', 'task_id': 8, 'cost': 23}, {'agent_id': 'A4', 'task_id': 9, 'cost': 23}, {'agent_id': 'A4', 'task_id': 10, 'cost': 5}, {'agent_id': 'A4', 'task_id': 11, 'cost': 25}, {'agent_id': 'A4', 'task_id': 12, 'cost': 18}, {'agent_id': 'A4', 'task_id': 13, 'cost': 16}, {'agent_id': 'A4', 'task_id': 14, 'cost': 11}, {'agent_id': 'A4', 'task_id': 15, 'cost': 14}, {'agent_id': 'A4', 'task_id': 16, 'cost': 15}, {'agent_id': 'A4', 'task_id': 17, 'cost': 12}, {'agent_id': 'A4', 'task_id': 18, 'cost': 17}, {'agent_id': 'A4', 'task_id': 19, 'cost': 25}, {'agent_id': 'A4', 'task_id': 20, 'cost': 6}, {'agent_id': 'A4', 'task_id': 21, 'cost': 19}, {'agent_id': 'A4', 'task_id': 22, 'cost': 17}, {'agent_id': 'A4', 'task_id': 23, 'cost': 25}, {'agent_id': 'A4', 'task_id': 24, 'cost': 6}, {'agent_id': 'A5', 'task_id': 0, 'cost': 12}, {'agent_id': 'A5', 'task_id': 1, 'cost': 20}, {'agent_id': 'A5', 'task_id': 2, 'cost': 8}, {'agent_id': 'A5', 'task_id': 3, 'cost': 23}, {'agent_id': 'A5', 'task_id': 4, 'cost': 5}, {'agent_id': 'A5', 'task_id': 5, 'cost': 17}, {'agent_id': 'A5', 'task_id': 6, 'cost': 22}, {'agent_id': 'A5', 'task_id': 7, 'cost': 10}, {'agent_id': 'A5', 'task_id': 8, 'cost': 5}, {'agent_id': 'A5', 'task_id': 9, 'cost': 7}, {'agent_id': 'A5', 'task_id': 10, 'cost': 12}, {'agent_id': 'A5', 'task_id': 11, 'cost': 22}, {'agent_id': 'A5', 'task_id': 12, 'cost': 14}, {'agent_id': 'A5', 'task_id': 13, 'cost': 7}, {'agent_id': 'A5', 'task_id': 14, 'cost': 10}, {'agent_id': 'A5', 'task_id': 15, 'cost': 20}, {'agent_id': 'A5', 'task_id': 16, 'cost': 5}, {'agent_id': 'A5', 'task_id': 17, 'cost': 17}, {'agent_id': 'A5', 'task_id': 18, 'cost': 22}, {'agent_id': 'A5', 'task_id': 19, 'cost': 21}, {'agent_id': 'A5', 'task_id': 20, 'cost': 5}, {'agent_id': 'A5', 'task_id': 21, 'cost': 6}, {'agent_id': 'A5', 'task_id': 22, 'cost': 14}, {'agent_id': 'A5', 'task_id': 23, 'cost': 24}, {'agent_id': 'A5', 'task_id': 24, 'cost': 11}, {'agent_id': 'A6', 'task_id': 0, 'cost': 17}, {'agent_id': 'A6', 'task_id': 1, 'cost': 20}, {'agent_id': 'A6', 'task_id': 2, 'cost': 22}, {'agent_id': 'A6', 'task_id': 3, 'cost': 21}, {'agent_id': 'A6', 'task_id': 4, 'cost': 7}, {'agent_id': 'A6', 'task_id': 5, 'cost': 9}, {'agent_id': 'A6', 'task_id': 6, 'cost': 11}, {'agent_id': 'A6', 'task_id': 7, 'cost': 8}, {'agent_id': 'A6', 'task_id': 8, 'cost': 17}, {'agent_id': 'A6', 'task_id': 9, 'cost': 11}, {'agent_id': 'A6', 'task_id': 10, 'cost': 22}, {'agent_id': 'A6', 'task_id': 11, 'cost': 15}, {'agent_id': 'A6', 'task_id': 12, 'cost': 25}, {'agent_id': 'A6', 'task_id': 13, 'cost': 12}, {'agent_id': 'A6', 'task_id': 14, 'cost': 7}, {'agent_id': 'A6', 'task_id': 15, 'cost': 14}, {'agent_id': 'A6', 'task_id': 16, 'cost': 16}, {'agent_id': 'A6', 'task_id': 17, 'cost': 23}, {'agent_id': 'A6', 'task_id': 18, 'cost': 9}, {'agent_id': 'A6', 'task_id': 19, 'cost': 22}, {'agent_id': 'A6', 'task_id': 20, 'cost': 16}, {'agent_id': 'A6', 'task_id': 21, 'cost': 20}, {'agent_id': 'A6', 'task_id': 22, 'cost': 19}, {'agent_id': 'A6', 'task_id': 23, 'cost': 14}, {'agent_id': 'A6', 'task_id': 24, 'cost': 25}, {'agent_id': 'A7', 'task_id': 0, 'cost': 13}, {'agent_id': 'A7', 'task_id': 1, 'cost': 24}, {'agent_id': 'A7', 'task_id': 2, 'cost': 8}, {'agent_id': 'A7', 'task_id': 3, 'cost': 24}, {'agent_id': 'A7', 'task_id': 4, 'cost': 13}, {'agent_id': 'A7', 'task_id': 5, 'cost': 7}, {'agent_id': 'A7', 'task_id': 6, 'cost': 15}, {'agent_id': 'A7', 'task_id': 7, 'cost': 7}, {'agent_id': 'A7', 'task_id': 8, 'cost': 13}, {'agent_id': 'A7', 'task_id': 9, 'cost': 16}, {'agent_id': 'A7', 'task_id': 10, 'cost': 23}, {'agent_id': 'A7', 'task_id': 11, 'cost': 23}, {'agent_id': 'A7', 'task_id': 12, 'cost': 16}, {'agent_id': 'A7', 'task_id': 13, 'cost': 10}, {'agent_id': 'A7', 'task_id': 14, 'cost': 10}, {'agent_id': 'A7', 'task_id': 15, 'cost': 8}, {'agent_id': 'A7', 'task_id': 16, 'cost': 6}, {'agent_id': 'A7', 'task_id': 17, 'cost': 18}, {'agent_id': 'A7', 'task_id': 18, 'cost': 5}, {'agent_id': 'A7', 'task_id': 19, 'cost': 6}, {'agent_id': 'A7', 'task_id': 20, 'cost': 24}, {'agent_id': 'A7', 'task_id': 21, 'cost': 21}, {'agent_id': 'A7', 'task_id': 22, 'cost': 10}, {'agent_id': 'A7', 'task_id': 23, 'cost': 23}, {'agent_id': 'A7', 'task_id': 24, 'cost': 6}, {'agent_id': 'A8', 'task_id': 0, 'cost': 5}, {'agent_id': 'A8', 'task_id': 1, 'cost': 21}, {'agent_id': 'A8', 'task_id': 2, 'cost': 18}, {'agent_id': 'A8', 'task_id': 3, 'cost': 15}, {'agent_id': 'A8', 'task_id': 4, 'cost': 12}, {'agent_id': 'A8', 'task_id': 5, 'cost': 18}, {'agent_id': 'A8', 'task_id': 6, 'cost': 23}, {'agent_id': 'A8', 'task_id': 7, 'cost': 25}, {'agent_id': 'A8', 'task_id': 8, 'cost': 13}, {'agent_id': 'A8', 'task_id': 9, 'cost': 13}, {'agent_id': 'A8', 'task_id': 10, 'cost': 18}, {'agent_id': 'A8', 'task_id': 11, 'cost': 21}, {'agent_id': 'A8', 'task_id': 12, 'cost': 5}, {'agent_id': 'A8', 'task_id': 13, 'cost': 16}, {'agent_id': 'A8', 'task_id': 14, 'cost': 19}, {'agent_id': 'A8', 'task_id': 15, 'cost': 21}, {'agent_id': 'A8', 'task_id': 16, 'cost': 16}, {'agent_id': 'A8', 'task_id': 17, 'cost': 23}, {'agent_id': 'A8', 'task_id': 18, 'cost': 24}, {'agent_id': 'A8', 'task_id': 19, 'cost': 8}, {'agent_id': 'A8', 'task_id': 20, 'cost': 6}, {'agent_id': 'A8', 'task_id': 21, 'cost': 23}, {'agent_id': 'A8', 'task_id': 22, 'cost': 25}, {'agent_id': 'A8', 'task_id': 23, 'cost': 19}, {'agent_id': 'A8', 'task_id': 24, 'cost': 22}]}","['A8', 'A2', 'A7', 'A1', 'A5', 'A6', 'A2', 'A3', 'A3', 'A5', 'A4', 'A1', 'A8', 'A5', 'A1', 'A3', 'A5', 'A2', 'A7', 'A7', 'A4', 'A5', 'A7', 'A1', 'A4']",35,nl,0 GAP,GAP,"Many moves come down to a simple balancing act: put each item on one truck, never twice and never forgotten. Since trucks differ in how much room an item eats up and how much they’ll bill for hauling it, the job is to keep every truck under its capacity while making the total moving charges (add every item’s assigned charge together) as small as possible. The specific item-to-truck space usages and fees are shown below. # num_trucks=7 # num_items=22 # truck_ids=A1, A2, A3, A4, A5, A6, A7 # item_ids=0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 truck_id,truck_capacity A1,248 A2,241 A3,240 A4,238 A5,243 A6,239 A7,233 truck_id,item_id,space_consumption A1,0,42 A1,1,42 A1,2,43 A1,3,18 A1,4,37 A1,5,23 A1,6,47 A1,7,34 A1,8,50 A1,9,30 A1,10,24 A1,11,42 A1,12,48 A1,13,17 A1,14,30 A1,15,48 A1,16,33 A1,17,46 A1,18,37 A1,19,19 A1,20,31 A1,21,26 A2,0,48 A2,1,20 A2,2,37 A2,3,17 A2,4,10 A2,5,15 A2,6,38 A2,7,30 A2,8,46 A2,9,26 A2,10,14 A2,11,36 A2,12,28 A2,13,28 A2,14,48 A2,15,35 A2,16,20 A2,17,23 A2,18,35 A2,19,30 A2,20,34 A2,21,31 A3,0,14 A3,1,11 A3,2,13 A3,3,25 A3,4,31 A3,5,43 A3,6,34 A3,7,15 A3,8,45 A3,9,44 A3,10,16 A3,11,14 A3,12,20 A3,13,25 A3,14,18 A3,15,13 A3,16,33 A3,17,32 A3,18,21 A3,19,42 A3,20,40 A3,21,13 A4,0,40 A4,1,14 A4,2,14 A4,3,27 A4,4,38 A4,5,15 A4,6,36 A4,7,49 A4,8,12 A4,9,20 A4,10,25 A4,11,38 A4,12,15 A4,13,33 A4,14,34 A4,15,35 A4,16,48 A4,17,45 A4,18,47 A4,19,42 A4,20,37 A4,21,32 A5,0,33 A5,1,36 A5,2,10 A5,3,34 A5,4,11 A5,5,12 A5,6,28 A5,7,11 A5,8,27 A5,9,41 A5,10,41 A5,11,21 A5,12,46 A5,13,10 A5,14,36 A5,15,11 A5,16,33 A5,17,50 A5,18,40 A5,19,12 A5,20,19 A5,21,19 A6,0,49 A6,1,47 A6,2,18 A6,3,49 A6,4,15 A6,5,46 A6,6,44 A6,7,27 A6,8,43 A6,9,10 A6,10,16 A6,11,48 A6,12,28 A6,13,47 A6,14,23 A6,15,31 A6,16,34 A6,17,25 A6,18,44 A6,19,16 A6,20,23 A6,21,41 A7,0,31 A7,1,19 A7,2,24 A7,3,25 A7,4,31 A7,5,16 A7,6,14 A7,7,50 A7,8,49 A7,9,40 A7,10,48 A7,11,49 A7,12,26 A7,13,37 A7,14,10 A7,15,48 A7,16,20 A7,17,28 A7,18,47 A7,19,30 A7,20,35 A7,21,18 truck_id,item_id,moving_fee A1,0,12 A1,1,22 A1,2,22 A1,3,24 A1,4,8 A1,5,14 A1,6,15 A1,7,13 A1,8,17 A1,9,15 A1,10,11 A1,11,8 A1,12,11 A1,13,18 A1,14,20 A1,15,17 A1,16,23 A1,17,13 A1,18,9 A1,19,24 A1,20,7 A1,21,22 A2,0,10 A2,1,12 A2,2,9 A2,3,12 A2,4,10 A2,5,20 A2,6,25 A2,7,11 A2,8,20 A2,9,19 A2,10,6 A2,11,17 A2,12,12 A2,13,15 A2,14,24 A2,15,22 A2,16,25 A2,17,6 A2,18,10 A2,19,7 A2,20,24 A2,21,7 A3,0,16 A3,1,20 A3,2,25 A3,3,17 A3,4,25 A3,5,10 A3,6,9 A3,7,14 A3,8,18 A3,9,9 A3,10,19 A3,11,20 A3,12,16 A3,13,10 A3,14,9 A3,15,24 A3,16,12 A3,17,24 A3,18,24 A3,19,15 A3,20,14 A3,21,11 A4,0,10 A4,1,10 A4,2,22 A4,3,25 A4,4,11 A4,5,9 A4,6,20 A4,7,14 A4,8,11 A4,9,21 A4,10,14 A4,11,9 A4,12,20 A4,13,19 A4,14,15 A4,15,21 A4,16,19 A4,17,23 A4,18,25 A4,19,9 A4,20,8 A4,21,9 A5,0,18 A5,1,11 A5,2,24 A5,3,15 A5,4,13 A5,5,5 A5,6,22 A5,7,7 A5,8,7 A5,9,16 A5,10,9 A5,11,21 A5,12,22 A5,13,20 A5,14,14 A5,15,17 A5,16,17 A5,17,18 A5,18,19 A5,19,12 A5,20,24 A5,21,17 A6,0,6 A6,1,13 A6,2,8 A6,3,20 A6,4,14 A6,5,19 A6,6,21 A6,7,20 A6,8,5 A6,9,18 A6,10,18 A6,11,10 A6,12,20 A6,13,10 A6,14,5 A6,15,10 A6,16,14 A6,17,10 A6,18,21 A6,19,14 A6,20,19 A6,21,10 A7,0,22 A7,1,22 A7,2,7 A7,3,10 A7,4,22 A7,5,16 A7,6,16 A7,7,5 A7,8,19 A7,9,6 A7,10,15 A7,11,17 A7,12,11 A7,13,15 A7,14,12 A7,15,19 A7,16,12 A7,17,8 A7,18,13 A7,19,11 A7,20,18 A7,21,8 And if you want to hand me the answer in a machine-friendly way, just drop it in a tiny JSON like this — one entry per item, in order: { ""solution"": [ , , ..., ] } This ""solution"" array is just a list that says which truck each item goes on (first array entry = first item, second = second item, and so on). Think of each placeholder as the spot where you'll put the exact truck identifier from the instance. It's just the shape I need, not the actual assignment. Please use the exact identifiers from the instance input — don't rename them or invent new ones. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”"".","{'resource_consumption': [[42, 42, 43, 18, 37, 23, 47, 34, 50, 30, 24, 42, 48, 17, 30, 48, 33, 46, 37, 19, 31, 26], [48, 20, 37, 17, 10, 15, 38, 30, 46, 26, 14, 36, 28, 28, 48, 35, 20, 23, 35, 30, 34, 31], [14, 11, 13, 25, 31, 43, 34, 15, 45, 44, 16, 14, 20, 25, 18, 13, 33, 32, 21, 42, 40, 13], [40, 14, 14, 27, 38, 15, 36, 49, 12, 20, 25, 38, 15, 33, 34, 35, 48, 45, 47, 42, 37, 32], [33, 36, 10, 34, 11, 12, 28, 11, 27, 41, 41, 21, 46, 10, 36, 11, 33, 50, 40, 12, 19, 19], [49, 47, 18, 49, 15, 46, 44, 27, 43, 10, 16, 48, 28, 47, 23, 31, 34, 25, 44, 16, 23, 41], [31, 19, 24, 25, 31, 16, 14, 50, 49, 40, 48, 49, 26, 37, 10, 48, 20, 28, 47, 30, 35, 18]], 'assignment_costs': [[12, 22, 22, 24, 8, 14, 15, 13, 17, 15, 11, 8, 11, 18, 20, 17, 23, 13, 9, 24, 7, 22], [10, 12, 9, 12, 10, 20, 25, 11, 20, 19, 6, 17, 12, 15, 24, 22, 25, 6, 10, 7, 24, 7], [16, 20, 25, 17, 25, 10, 9, 14, 18, 9, 19, 20, 16, 10, 9, 24, 12, 24, 24, 15, 14, 11], [10, 10, 22, 25, 11, 9, 20, 14, 11, 21, 14, 9, 20, 19, 15, 21, 19, 23, 25, 9, 8, 9], [18, 11, 24, 15, 13, 5, 22, 7, 7, 16, 9, 21, 22, 20, 14, 17, 17, 18, 19, 12, 24, 17], [6, 13, 8, 20, 14, 19, 21, 20, 5, 18, 18, 10, 20, 10, 5, 10, 14, 10, 21, 14, 19, 10], [22, 22, 7, 10, 22, 16, 16, 5, 19, 6, 15, 17, 11, 15, 12, 19, 12, 8, 13, 11, 18, 8]], 'capacities': [248, 241, 240, 238, 243, 239, 233], 'objective': 169.0}","[5, 3, 6, 6, 0, 4, 2, 6, 5, 6, 1, 0, 6, 2, 5, 5, 6, 1, 0, 1, 0, 1]",169.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 248}, {'agent_id': 'A2', 'capacity': 241}, {'agent_id': 'A3', 'capacity': 240}, {'agent_id': 'A4', 'capacity': 238}, {'agent_id': 'A5', 'capacity': 243}, {'agent_id': 'A6', 'capacity': 239}, {'agent_id': 'A7', 'capacity': 233}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 18}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 12}, {'agent_id': 'A1', 'task_id': 1, 'cost': 22}, {'agent_id': 'A1', 'task_id': 2, 'cost': 22}, {'agent_id': 'A1', 'task_id': 3, 'cost': 24}, {'agent_id': 'A1', 'task_id': 4, 'cost': 8}, {'agent_id': 'A1', 'task_id': 5, 'cost': 14}, {'agent_id': 'A1', 'task_id': 6, 'cost': 15}, {'agent_id': 'A1', 'task_id': 7, 'cost': 13}, {'agent_id': 'A1', 'task_id': 8, 'cost': 17}, {'agent_id': 'A1', 'task_id': 9, 'cost': 15}, {'agent_id': 'A1', 'task_id': 10, 'cost': 11}, {'agent_id': 'A1', 'task_id': 11, 'cost': 8}, {'agent_id': 'A1', 'task_id': 12, 'cost': 11}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 20}, {'agent_id': 'A1', 'task_id': 15, 'cost': 17}, {'agent_id': 'A1', 'task_id': 16, 'cost': 23}, {'agent_id': 'A1', 'task_id': 17, 'cost': 13}, {'agent_id': 'A1', 'task_id': 18, 'cost': 9}, {'agent_id': 'A1', 'task_id': 19, 'cost': 24}, {'agent_id': 'A1', 'task_id': 20, 'cost': 7}, {'agent_id': 'A1', 'task_id': 21, 'cost': 22}, {'agent_id': 'A2', 'task_id': 0, 'cost': 10}, {'agent_id': 'A2', 'task_id': 1, 'cost': 12}, {'agent_id': 'A2', 'task_id': 2, 'cost': 9}, {'agent_id': 'A2', 'task_id': 3, 'cost': 12}, {'agent_id': 'A2', 'task_id': 4, 'cost': 10}, {'agent_id': 'A2', 'task_id': 5, 'cost': 20}, {'agent_id': 'A2', 'task_id': 6, 'cost': 25}, {'agent_id': 'A2', 'task_id': 7, 'cost': 11}, {'agent_id': 'A2', 'task_id': 8, 'cost': 20}, {'agent_id': 'A2', 'task_id': 9, 'cost': 19}, {'agent_id': 'A2', 'task_id': 10, 'cost': 6}, {'agent_id': 'A2', 'task_id': 11, 'cost': 17}, {'agent_id': 'A2', 'task_id': 12, 'cost': 12}, {'agent_id': 'A2', 'task_id': 13, 'cost': 15}, {'agent_id': 'A2', 'task_id': 14, 'cost': 24}, {'agent_id': 'A2', 'task_id': 15, 'cost': 22}, {'agent_id': 'A2', 'task_id': 16, 'cost': 25}, {'agent_id': 'A2', 'task_id': 17, 'cost': 6}, {'agent_id': 'A2', 'task_id': 18, 'cost': 10}, {'agent_id': 'A2', 'task_id': 19, 'cost': 7}, {'agent_id': 'A2', 'task_id': 20, 'cost': 24}, {'agent_id': 'A2', 'task_id': 21, 'cost': 7}, {'agent_id': 'A3', 'task_id': 0, 'cost': 16}, {'agent_id': 'A3', 'task_id': 1, 'cost': 20}, {'agent_id': 'A3', 'task_id': 2, 'cost': 25}, {'agent_id': 'A3', 'task_id': 3, 'cost': 17}, {'agent_id': 'A3', 'task_id': 4, 'cost': 25}, {'agent_id': 'A3', 'task_id': 5, 'cost': 10}, {'agent_id': 'A3', 'task_id': 6, 'cost': 9}, {'agent_id': 'A3', 'task_id': 7, 'cost': 14}, {'agent_id': 'A3', 'task_id': 8, 'cost': 18}, {'agent_id': 'A3', 'task_id': 9, 'cost': 9}, {'agent_id': 'A3', 'task_id': 10, 'cost': 19}, {'agent_id': 'A3', 'task_id': 11, 'cost': 20}, {'agent_id': 'A3', 'task_id': 12, 'cost': 16}, {'agent_id': 'A3', 'task_id': 13, 'cost': 10}, {'agent_id': 'A3', 'task_id': 14, 'cost': 9}, {'agent_id': 'A3', 'task_id': 15, 'cost': 24}, {'agent_id': 'A3', 'task_id': 16, 'cost': 12}, {'agent_id': 'A3', 'task_id': 17, 'cost': 24}, {'agent_id': 'A3', 'task_id': 18, 'cost': 24}, {'agent_id': 'A3', 'task_id': 19, 'cost': 15}, {'agent_id': 'A3', 'task_id': 20, 'cost': 14}, {'agent_id': 'A3', 'task_id': 21, 'cost': 11}, {'agent_id': 'A4', 'task_id': 0, 'cost': 10}, {'agent_id': 'A4', 'task_id': 1, 'cost': 10}, {'agent_id': 'A4', 'task_id': 2, 'cost': 22}, {'agent_id': 'A4', 'task_id': 3, 'cost': 25}, {'agent_id': 'A4', 'task_id': 4, 'cost': 11}, {'agent_id': 'A4', 'task_id': 5, 'cost': 9}, {'agent_id': 'A4', 'task_id': 6, 'cost': 20}, {'agent_id': 'A4', 'task_id': 7, 'cost': 14}, {'agent_id': 'A4', 'task_id': 8, 'cost': 11}, {'agent_id': 'A4', 'task_id': 9, 'cost': 21}, {'agent_id': 'A4', 'task_id': 10, 'cost': 14}, {'agent_id': 'A4', 'task_id': 11, 'cost': 9}, {'agent_id': 'A4', 'task_id': 12, 'cost': 20}, {'agent_id': 'A4', 'task_id': 13, 'cost': 19}, {'agent_id': 'A4', 'task_id': 14, 'cost': 15}, {'agent_id': 'A4', 'task_id': 15, 'cost': 21}, {'agent_id': 'A4', 'task_id': 16, 'cost': 19}, {'agent_id': 'A4', 'task_id': 17, 'cost': 23}, {'agent_id': 'A4', 'task_id': 18, 'cost': 25}, {'agent_id': 'A4', 'task_id': 19, 'cost': 9}, {'agent_id': 'A4', 'task_id': 20, 'cost': 8}, {'agent_id': 'A4', 'task_id': 21, 'cost': 9}, {'agent_id': 'A5', 'task_id': 0, 'cost': 18}, {'agent_id': 'A5', 'task_id': 1, 'cost': 11}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 15}, {'agent_id': 'A5', 'task_id': 4, 'cost': 13}, {'agent_id': 'A5', 'task_id': 5, 'cost': 5}, {'agent_id': 'A5', 'task_id': 6, 'cost': 22}, {'agent_id': 'A5', 'task_id': 7, 'cost': 7}, {'agent_id': 'A5', 'task_id': 8, 'cost': 7}, {'agent_id': 'A5', 'task_id': 9, 'cost': 16}, {'agent_id': 'A5', 'task_id': 10, 'cost': 9}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 22}, {'agent_id': 'A5', 'task_id': 13, 'cost': 20}, {'agent_id': 'A5', 'task_id': 14, 'cost': 14}, {'agent_id': 'A5', 'task_id': 15, 'cost': 17}, {'agent_id': 'A5', 'task_id': 16, 'cost': 17}, {'agent_id': 'A5', 'task_id': 17, 'cost': 18}, {'agent_id': 'A5', 'task_id': 18, 'cost': 19}, {'agent_id': 'A5', 'task_id': 19, 'cost': 12}, {'agent_id': 'A5', 'task_id': 20, 'cost': 24}, {'agent_id': 'A5', 'task_id': 21, 'cost': 17}, {'agent_id': 'A6', 'task_id': 0, 'cost': 6}, {'agent_id': 'A6', 'task_id': 1, 'cost': 13}, {'agent_id': 'A6', 'task_id': 2, 'cost': 8}, {'agent_id': 'A6', 'task_id': 3, 'cost': 20}, {'agent_id': 'A6', 'task_id': 4, 'cost': 14}, {'agent_id': 'A6', 'task_id': 5, 'cost': 19}, {'agent_id': 'A6', 'task_id': 6, 'cost': 21}, {'agent_id': 'A6', 'task_id': 7, 'cost': 20}, {'agent_id': 'A6', 'task_id': 8, 'cost': 5}, {'agent_id': 'A6', 'task_id': 9, 'cost': 18}, {'agent_id': 'A6', 'task_id': 10, 'cost': 18}, {'agent_id': 'A6', 'task_id': 11, 'cost': 10}, {'agent_id': 'A6', 'task_id': 12, 'cost': 20}, {'agent_id': 'A6', 'task_id': 13, 'cost': 10}, {'agent_id': 'A6', 'task_id': 14, 'cost': 5}, {'agent_id': 'A6', 'task_id': 15, 'cost': 10}, {'agent_id': 'A6', 'task_id': 16, 'cost': 14}, {'agent_id': 'A6', 'task_id': 17, 'cost': 10}, {'agent_id': 'A6', 'task_id': 18, 'cost': 21}, {'agent_id': 'A6', 'task_id': 19, 'cost': 14}, {'agent_id': 'A6', 'task_id': 20, 'cost': 19}, {'agent_id': 'A6', 'task_id': 21, 'cost': 10}, {'agent_id': 'A7', 'task_id': 0, 'cost': 22}, {'agent_id': 'A7', 'task_id': 1, 'cost': 22}, {'agent_id': 'A7', 'task_id': 2, 'cost': 7}, {'agent_id': 'A7', 'task_id': 3, 'cost': 10}, {'agent_id': 'A7', 'task_id': 4, 'cost': 22}, {'agent_id': 'A7', 'task_id': 5, 'cost': 16}, {'agent_id': 'A7', 'task_id': 6, 'cost': 16}, {'agent_id': 'A7', 'task_id': 7, 'cost': 5}, {'agent_id': 'A7', 'task_id': 8, 'cost': 19}, {'agent_id': 'A7', 'task_id': 9, 'cost': 6}, {'agent_id': 'A7', 'task_id': 10, 'cost': 15}, {'agent_id': 'A7', 'task_id': 11, 'cost': 17}, {'agent_id': 'A7', 'task_id': 12, 'cost': 11}, {'agent_id': 'A7', 'task_id': 13, 'cost': 15}, {'agent_id': 'A7', 'task_id': 14, 'cost': 12}, {'agent_id': 'A7', 'task_id': 15, 'cost': 19}, {'agent_id': 'A7', 'task_id': 16, 'cost': 12}, {'agent_id': 'A7', 'task_id': 17, 'cost': 8}, {'agent_id': 'A7', 'task_id': 18, 'cost': 13}, {'agent_id': 'A7', 'task_id': 19, 'cost': 11}, {'agent_id': 'A7', 'task_id': 20, 'cost': 18}, {'agent_id': 'A7', 'task_id': 21, 'cost': 8}]}","['A6', 'A4', 'A7', 'A7', 'A1', 'A5', 'A3', 'A7', 'A6', 'A7', 'A2', 'A1', 'A7', 'A3', 'A6', 'A6', 'A7', 'A2', 'A1', 'A2', 'A1', 'A2']",36,csv,0 GAP,GAP,"Someone at the library needs to sort out a batch of returned books by sending each title to one repair shop so nothing is missed or duplicated. Each shop uses a different amount of repair time on different books and charges different parts prices, and every shop only has a limited number of repair hours, so the sum of times for the books sent there can’t go over that limit. The idea is to minimize the overall repair bill — calculated by adding up the parts cost for every book where it’s sent — while making sure every book is assigned and no shop’s hours are exceeded. The full breakdown of books, times, costs, and shop hour limits is shown below. There are 8 repair shops and 24 returned books; the shops are A1, A2, A3, A4, A5, A6, A7, A8 and the books are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24. Repair shop A1 has 68 repair hours available for this batch. Repair shop A2 has 68 repair hours available for this batch. Repair shop A3 has 68 repair hours available for this batch. Repair shop A4 has 68 repair hours available for this batch. Repair shop A5 has 68 repair hours available for this batch. Repair shop A6 has 68 repair hours available for this batch. Repair shop A7 has 68 repair hours available for this batch. Repair shop A8 has 68 repair hours available for this batch. Sending book 1 to shop A1 consumes 15 repair hours and incurs 14 in parts cost. Sending book 2 to shop A1 consumes 45 repair hours and incurs 13 in parts cost. Sending book 3 to shop A1 consumes 35 repair hours and incurs 13 in parts cost. Sending book 4 to shop A1 consumes 43 repair hours and incurs 8 in parts cost. Sending book 5 to shop A1 consumes 16 repair hours and incurs 13 in parts cost. Sending book 6 to shop A1 consumes 45 repair hours and incurs 15 in parts cost. Sending book 7 to shop A1 consumes 26 repair hours and incurs 6 in parts cost. Sending book 8 to shop A1 consumes 20 repair hours and incurs 11 in parts cost. Sending book 9 to shop A1 consumes 41 repair hours and incurs 19 in parts cost. Sending book 10 to shop A1 consumes 33 repair hours and incurs 15 in parts cost. Sending book 11 to shop A1 consumes 11 repair hours and incurs 20 in parts cost. Sending book 12 to shop A1 consumes 43 repair hours and incurs 24 in parts cost. Sending book 13 to shop A1 consumes 34 repair hours and incurs 18 in parts cost. Sending book 14 to shop A1 consumes 31 repair hours and incurs 11 in parts cost. Sending book 15 to shop A1 consumes 11 repair hours and incurs 18 in parts cost. Sending book 16 to shop A1 consumes 26 repair hours and incurs 9 in parts cost. Sending book 17 to shop A1 consumes 19 repair hours and incurs 8 in parts cost. Sending book 18 to shop A1 consumes 45 repair hours and incurs 20 in parts cost. Sending book 19 to shop A1 consumes 48 repair hours and incurs 16 in parts cost. Sending book 20 to shop A1 consumes 40 repair hours and incurs 12 in parts cost. Sending book 21 to shop A1 consumes 39 repair hours and incurs 23 in parts cost. Sending book 22 to shop A1 consumes 21 repair hours and incurs 14 in parts cost. Sending book 23 to shop A1 consumes 20 repair hours and incurs 5 in parts cost. Sending book 24 to shop A1 consumes 35 repair hours and incurs 21 in parts cost. Sending book 1 to shop A2 consumes 28 repair hours and incurs 7 in parts cost. Sending book 2 to shop A2 consumes 30 repair hours and incurs 7 in parts cost. Sending book 3 to shop A2 consumes 15 repair hours and incurs 25 in parts cost. Sending book 4 to shop A2 consumes 32 repair hours and incurs 16 in parts cost. Sending book 5 to shop A2 consumes 14 repair hours and incurs 11 in parts cost. Sending book 6 to shop A2 consumes 47 repair hours and incurs 14 in parts cost. Sending book 7 to shop A2 consumes 46 repair hours and incurs 21 in parts cost. Sending book 8 to shop A2 consumes 12 repair hours and incurs 25 in parts cost. Sending book 9 to shop A2 consumes 39 repair hours and incurs 22 in parts cost. Sending book 10 to shop A2 consumes 25 repair hours and incurs 19 in parts cost. Sending book 11 to shop A2 consumes 50 repair hours and incurs 19 in parts cost. Sending book 12 to shop A2 consumes 38 repair hours and incurs 18 in parts cost. Sending book 13 to shop A2 consumes 31 repair hours and incurs 24 in parts cost. Sending book 14 to shop A2 consumes 19 repair hours and incurs 6 in parts cost. Sending book 15 to shop A2 consumes 30 repair hours and incurs 7 in parts cost. Sending book 16 to shop A2 consumes 22 repair hours and incurs 23 in parts cost. Sending book 17 to shop A2 consumes 45 repair hours and incurs 24 in parts cost. Sending book 18 to shop A2 consumes 49 repair hours and incurs 11 in parts cost. Sending book 19 to shop A2 consumes 49 repair hours and incurs 9 in parts cost. Sending book 20 to shop A2 consumes 31 repair hours and incurs 15 in parts cost. Sending book 21 to shop A2 consumes 38 repair hours and incurs 9 in parts cost. Sending book 22 to shop A2 consumes 44 repair hours and incurs 16 in parts cost. Sending book 23 to shop A2 consumes 24 repair hours and incurs 10 in parts cost. Sending book 24 to shop A2 consumes 43 repair hours and incurs 15 in parts cost. Sending book 1 to shop A3 consumes 19 repair hours and incurs 18 in parts cost. Sending book 2 to shop A3 consumes 43 repair hours and incurs 22 in parts cost. Sending book 3 to shop A3 consumes 37 repair hours and incurs 17 in parts cost. Sending book 4 to shop A3 consumes 10 repair hours and incurs 17 in parts cost. Sending book 5 to shop A3 consumes 40 repair hours and incurs 9 in parts cost. Sending book 6 to shop A3 consumes 10 repair hours and incurs 16 in parts cost. Sending book 7 to shop A3 consumes 48 repair hours and incurs 6 in parts cost. Sending book 8 to shop A3 consumes 18 repair hours and incurs 20 in parts cost. Sending book 9 to shop A3 consumes 34 repair hours and incurs 8 in parts cost. Sending book 10 to shop A3 consumes 16 repair hours and incurs 24 in parts cost. Sending book 11 to shop A3 consumes 10 repair hours and incurs 17 in parts cost. Sending book 12 to shop A3 consumes 31 repair hours and incurs 13 in parts cost. Sending book 13 to shop A3 consumes 29 repair hours and incurs 17 in parts cost. Sending book 14 to shop A3 consumes 26 repair hours and incurs 5 in parts cost. Sending book 15 to shop A3 consumes 39 repair hours and incurs 22 in parts cost. Sending book 16 to shop A3 consumes 40 repair hours and incurs 13 in parts cost. Sending book 17 to shop A3 consumes 29 repair hours and incurs 18 in parts cost. Sending book 18 to shop A3 consumes 13 repair hours and incurs 23 in parts cost. Sending book 19 to shop A3 consumes 36 repair hours and incurs 8 in parts cost. Sending book 20 to shop A3 consumes 47 repair hours and incurs 13 in parts cost. Sending book 21 to shop A3 consumes 30 repair hours and incurs 13 in parts cost. Sending book 22 to shop A3 consumes 22 repair hours and incurs 7 in parts cost. Sending book 23 to shop A3 consumes 44 repair hours and incurs 9 in parts cost. Sending book 24 to shop A3 consumes 19 repair hours and incurs 20 in parts cost. Sending book 1 to shop A4 consumes 25 repair hours and incurs 9 in parts cost. Sending book 2 to shop A4 consumes 28 repair hours and incurs 6 in parts cost. Sending book 3 to shop A4 consumes 48 repair hours and incurs 7 in parts cost. Sending book 4 to shop A4 consumes 47 repair hours and incurs 6 in parts cost. Sending book 5 to shop A4 consumes 11 repair hours and incurs 16 in parts cost. Sending book 6 to shop A4 consumes 25 repair hours and incurs 6 in parts cost. Sending book 7 to shop A4 consumes 43 repair hours and incurs 21 in parts cost. Sending book 8 to shop A4 consumes 37 repair hours and incurs 13 in parts cost. Sending book 9 to shop A4 consumes 12 repair hours and incurs 10 in parts cost. Sending book 10 to shop A4 consumes 42 repair hours and incurs 6 in parts cost. Sending book 11 to shop A4 consumes 45 repair hours and incurs 15 in parts cost. Sending book 12 to shop A4 consumes 47 repair hours and incurs 12 in parts cost. Sending book 13 to shop A4 consumes 28 repair hours and incurs 20 in parts cost. Sending book 14 to shop A4 consumes 43 repair hours and incurs 15 in parts cost. Sending book 15 to shop A4 consumes 12 repair hours and incurs 6 in parts cost. Sending book 16 to shop A4 consumes 16 repair hours and incurs 7 in parts cost. Sending book 17 to shop A4 consumes 41 repair hours and incurs 16 in parts cost. Sending book 18 to shop A4 consumes 19 repair hours and incurs 5 in parts cost. Sending book 19 to shop A4 consumes 36 repair hours and incurs 9 in parts cost. Sending book 20 to shop A4 consumes 14 repair hours and incurs 24 in parts cost. Sending book 21 to shop A4 consumes 38 repair hours and incurs 23 in parts cost. Sending book 22 to shop A4 consumes 41 repair hours and incurs 25 in parts cost. Sending book 23 to shop A4 consumes 31 repair hours and incurs 13 in parts cost. Sending book 24 to shop A4 consumes 41 repair hours and incurs 13 in parts cost. Sending book 1 to shop A5 consumes 38 repair hours and incurs 19 in parts cost. Sending book 2 to shop A5 consumes 16 repair hours and incurs 15 in parts cost. Sending book 3 to shop A5 consumes 20 repair hours and incurs 13 in parts cost. Sending book 4 to shop A5 consumes 20 repair hours and incurs 19 in parts cost. Sending book 5 to shop A5 consumes 39 repair hours and incurs 13 in parts cost. Sending book 6 to shop A5 consumes 23 repair hours and incurs 18 in parts cost. Sending book 7 to shop A5 consumes 30 repair hours and incurs 10 in parts cost. Sending book 8 to shop A5 consumes 15 repair hours and incurs 16 in parts cost. Sending book 9 to shop A5 consumes 20 repair hours and incurs 6 in parts cost. Sending book 10 to shop A5 consumes 47 repair hours and incurs 16 in parts cost. Sending book 11 to shop A5 consumes 24 repair hours and incurs 13 in parts cost. Sending book 12 to shop A5 consumes 13 repair hours and incurs 5 in parts cost. Sending book 13 to shop A5 consumes 32 repair hours and incurs 13 in parts cost. Sending book 14 to shop A5 consumes 25 repair hours and incurs 25 in parts cost. Sending book 15 to shop A5 consumes 33 repair hours and incurs 23 in parts cost. Sending book 16 to shop A5 consumes 30 repair hours and incurs 20 in parts cost. Sending book 17 to shop A5 consumes 27 repair hours and incurs 23 in parts cost. Sending book 18 to shop A5 consumes 32 repair hours and incurs 22 in parts cost. Sending book 19 to shop A5 consumes 13 repair hours and incurs 10 in parts cost. Sending book 20 to shop A5 consumes 11 repair hours and incurs 11 in parts cost. Sending book 21 to shop A5 consumes 13 repair hours and incurs 12 in parts cost. Sending book 22 to shop A5 consumes 17 repair hours and incurs 7 in parts cost. Sending book 23 to shop A5 consumes 33 repair hours and incurs 5 in parts cost. Sending book 24 to shop A5 consumes 45 repair hours and incurs 7 in parts cost. Sending book 1 to shop A6 consumes 40 repair hours and incurs 23 in parts cost. Sending book 2 to shop A6 consumes 13 repair hours and incurs 16 in parts cost. Sending book 3 to shop A6 consumes 23 repair hours and incurs 24 in parts cost. Sending book 4 to shop A6 consumes 22 repair hours and incurs 12 in parts cost. Sending book 5 to shop A6 consumes 17 repair hours and incurs 16 in parts cost. Sending book 6 to shop A6 consumes 15 repair hours and incurs 23 in parts cost. Sending book 7 to shop A6 consumes 39 repair hours and incurs 25 in parts cost. Sending book 8 to shop A6 consumes 12 repair hours and incurs 23 in parts cost. Sending book 9 to shop A6 consumes 20 repair hours and incurs 14 in parts cost. Sending book 10 to shop A6 consumes 29 repair hours and incurs 17 in parts cost. Sending book 11 to shop A6 consumes 46 repair hours and incurs 23 in parts cost. Sending book 12 to shop A6 consumes 11 repair hours and incurs 15 in parts cost. Sending book 13 to shop A6 consumes 29 repair hours and incurs 20 in parts cost. Sending book 14 to shop A6 consumes 12 repair hours and incurs 25 in parts cost. Sending book 15 to shop A6 consumes 26 repair hours and incurs 5 in parts cost. Sending book 16 to shop A6 consumes 35 repair hours and incurs 23 in parts cost. Sending book 17 to shop A6 consumes 28 repair hours and incurs 24 in parts cost. Sending book 18 to shop A6 consumes 40 repair hours and incurs 22 in parts cost. Sending book 19 to shop A6 consumes 34 repair hours and incurs 14 in parts cost. Sending book 20 to shop A6 consumes 34 repair hours and incurs 25 in parts cost. Sending book 21 to shop A6 consumes 40 repair hours and incurs 19 in parts cost. Sending book 22 to shop A6 consumes 39 repair hours and incurs 25 in parts cost. Sending book 23 to shop A6 consumes 34 repair hours and incurs 18 in parts cost. Sending book 24 to shop A6 consumes 24 repair hours and incurs 13 in parts cost. Sending book 1 to shop A7 consumes 20 repair hours and incurs 19 in parts cost. Sending book 2 to shop A7 consumes 30 repair hours and incurs 12 in parts cost. Sending book 3 to shop A7 consumes 25 repair hours and incurs 23 in parts cost. Sending book 4 to shop A7 consumes 48 repair hours and incurs 17 in parts cost. Sending book 5 to shop A7 consumes 27 repair hours and incurs 17 in parts cost. Sending book 6 to shop A7 consumes 14 repair hours and incurs 22 in parts cost. Sending book 7 to shop A7 consumes 34 repair hours and incurs 11 in parts cost. Sending book 8 to shop A7 consumes 38 repair hours and incurs 19 in parts cost. Sending book 9 to shop A7 consumes 36 repair hours and incurs 7 in parts cost. Sending book 10 to shop A7 consumes 16 repair hours and incurs 6 in parts cost. Sending book 11 to shop A7 consumes 11 repair hours and incurs 8 in parts cost. Sending book 12 to shop A7 consumes 34 repair hours and incurs 20 in parts cost. Sending book 13 to shop A7 consumes 12 repair hours and incurs 11 in parts cost. Sending book 14 to shop A7 consumes 47 repair hours and incurs 17 in parts cost. Sending book 15 to shop A7 consumes 14 repair hours and incurs 24 in parts cost. Sending book 16 to shop A7 consumes 16 repair hours and incurs 9 in parts cost. Sending book 17 to shop A7 consumes 15 repair hours and incurs 23 in parts cost. Sending book 18 to shop A7 consumes 17 repair hours and incurs 14 in parts cost. Sending book 19 to shop A7 consumes 49 repair hours and incurs 8 in parts cost. Sending book 20 to shop A7 consumes 31 repair hours and incurs 16 in parts cost. Sending book 21 to shop A7 consumes 41 repair hours and incurs 21 in parts cost. Sending book 22 to shop A7 consumes 20 repair hours and incurs 9 in parts cost. Sending book 23 to shop A7 consumes 19 repair hours and incurs 12 in parts cost. Sending book 24 to shop A7 consumes 39 repair hours and incurs 21 in parts cost. Sending book 1 to shop A8 consumes 47 repair hours and incurs 19 in parts cost. Sending book 2 to shop A8 consumes 12 repair hours and incurs 18 in parts cost. Sending book 3 to shop A8 consumes 14 repair hours and incurs 6 in parts cost. Sending book 4 to shop A8 consumes 19 repair hours and incurs 22 in parts cost. Sending book 5 to shop A8 consumes 17 repair hours and incurs 20 in parts cost. Sending book 6 to shop A8 consumes 43 repair hours and incurs 11 in parts cost. Sending book 7 to shop A8 consumes 13 repair hours and incurs 12 in parts cost. Sending book 8 to shop A8 consumes 31 repair hours and incurs 15 in parts cost. Sending book 9 to shop A8 consumes 48 repair hours and incurs 14 in parts cost. Sending book 10 to shop A8 consumes 19 repair hours and incurs 9 in parts cost. Sending book 11 to shop A8 consumes 15 repair hours and incurs 20 in parts cost. Sending book 12 to shop A8 consumes 18 repair hours and incurs 9 in parts cost. Sending book 13 to shop A8 consumes 24 repair hours and incurs 23 in parts cost. Sending book 14 to shop A8 consumes 21 repair hours and incurs 12 in parts cost. Sending book 15 to shop A8 consumes 20 repair hours and incurs 12 in parts cost. Sending book 16 to shop A8 consumes 18 repair hours and incurs 9 in parts cost. Sending book 17 to shop A8 consumes 14 repair hours and incurs 9 in parts cost. Sending book 18 to shop A8 consumes 31 repair hours and incurs 5 in parts cost. Sending book 19 to shop A8 consumes 48 repair hours and incurs 18 in parts cost. Sending book 20 to shop A8 consumes 15 repair hours and incurs 17 in parts cost. Sending book 21 to shop A8 consumes 48 repair hours and incurs 17 in parts cost. Sending book 22 to shop A8 consumes 20 repair hours and incurs 19 in parts cost. Sending book 23 to shop A8 consumes 44 repair hours and incurs 23 in parts cost. Sending book 24 to shop A8 consumes 36 repair hours and incurs 13 in parts cost. Assign each book to exactly one shop, keeping within each shop's available hours and minimizing the total parts cost. If you want to hand me the final assignment in a tidy, machine-friendly way, just use this simple JSON layout so it's clear which shop each book goes to: { ""solution"": [ , , ..., ] } This little sketch means: the ""solution"" array lists, in order, which repair shop each returned book should be sent to — the first entry is the shop for the first book, the second entry is the shop for the second book, and so on. It's just the shape I expect, not the actual assignment. Please make sure to use the exact identifiers from the instance input — don't rename them or introduce new labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[15, 45, 35, 43, 16, 45, 26, 20, 41, 33, 11, 43, 34, 31, 11, 26, 19, 45, 48, 40, 39, 21, 20, 35], [28, 30, 15, 32, 14, 47, 46, 12, 39, 25, 50, 38, 31, 19, 30, 22, 45, 49, 49, 31, 38, 44, 24, 43], [19, 43, 37, 10, 40, 10, 48, 18, 34, 16, 10, 31, 29, 26, 39, 40, 29, 13, 36, 47, 30, 22, 44, 19], [25, 28, 48, 47, 11, 25, 43, 37, 12, 42, 45, 47, 28, 43, 12, 16, 41, 19, 36, 14, 38, 41, 31, 41], [38, 16, 20, 20, 39, 23, 30, 15, 20, 47, 24, 13, 32, 25, 33, 30, 27, 32, 13, 11, 13, 17, 33, 45], [40, 13, 23, 22, 17, 15, 39, 12, 20, 29, 46, 11, 29, 12, 26, 35, 28, 40, 34, 34, 40, 39, 34, 24], [20, 30, 25, 48, 27, 14, 34, 38, 36, 16, 11, 34, 12, 47, 14, 16, 15, 17, 49, 31, 41, 20, 19, 39], [47, 12, 14, 19, 17, 43, 13, 31, 48, 19, 15, 18, 24, 21, 20, 18, 14, 31, 48, 15, 48, 20, 44, 36]], 'assignment_costs': [[14, 13, 13, 8, 13, 15, 6, 11, 19, 15, 20, 24, 18, 11, 18, 9, 8, 20, 16, 12, 23, 14, 5, 21], [7, 7, 25, 16, 11, 14, 21, 25, 22, 19, 19, 18, 24, 6, 7, 23, 24, 11, 9, 15, 9, 16, 10, 15], [18, 22, 17, 17, 9, 16, 6, 20, 8, 24, 17, 13, 17, 5, 22, 13, 18, 23, 8, 13, 13, 7, 9, 20], [9, 6, 7, 6, 16, 6, 21, 13, 10, 6, 15, 12, 20, 15, 6, 7, 16, 5, 9, 24, 23, 25, 13, 13], [19, 15, 13, 19, 13, 18, 10, 16, 6, 16, 13, 5, 13, 25, 23, 20, 23, 22, 10, 11, 12, 7, 5, 7], [23, 16, 24, 12, 16, 23, 25, 23, 14, 17, 23, 15, 20, 25, 5, 23, 24, 22, 14, 25, 19, 25, 18, 13], [19, 12, 23, 17, 17, 22, 11, 19, 7, 6, 8, 20, 11, 17, 24, 9, 23, 14, 8, 16, 21, 9, 12, 21], [19, 18, 6, 22, 20, 11, 12, 15, 14, 9, 20, 9, 23, 12, 12, 9, 9, 5, 18, 17, 17, 19, 23, 13]], 'capacities': [68, 68, 68, 68, 68, 68, 68, 68], 'objective': 192.0}","[1, 3, 7, 5, 1, 3, 0, 0, 4, 6, 6, 4, 6, 1, 3, 6, 7, 7, 2, 4, 4, 2, 0, 5]",192.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 24, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 68}, {'agent_id': 'A2', 'capacity': 68}, {'agent_id': 'A3', 'capacity': 68}, {'agent_id': 'A4', 'capacity': 68}, {'agent_id': 'A5', 'capacity': 68}, {'agent_id': 'A6', 'capacity': 68}, {'agent_id': 'A7', 'capacity': 68}, {'agent_id': 'A8', 'capacity': 68}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 39}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 14}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 20}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 36}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 14}, {'agent_id': 'A1', 'task_id': 2, 'cost': 13}, {'agent_id': 'A1', 'task_id': 3, 'cost': 13}, {'agent_id': 'A1', 'task_id': 4, 'cost': 8}, {'agent_id': 'A1', 'task_id': 5, 'cost': 13}, {'agent_id': 'A1', 'task_id': 6, 'cost': 15}, {'agent_id': 'A1', 'task_id': 7, 'cost': 6}, {'agent_id': 'A1', 'task_id': 8, 'cost': 11}, {'agent_id': 'A1', 'task_id': 9, 'cost': 19}, {'agent_id': 'A1', 'task_id': 10, 'cost': 15}, {'agent_id': 'A1', 'task_id': 11, 'cost': 20}, {'agent_id': 'A1', 'task_id': 12, 'cost': 24}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 11}, {'agent_id': 'A1', 'task_id': 15, 'cost': 18}, {'agent_id': 'A1', 'task_id': 16, 'cost': 9}, {'agent_id': 'A1', 'task_id': 17, 'cost': 8}, {'agent_id': 'A1', 'task_id': 18, 'cost': 20}, {'agent_id': 'A1', 'task_id': 19, 'cost': 16}, {'agent_id': 'A1', 'task_id': 20, 'cost': 12}, {'agent_id': 'A1', 'task_id': 21, 'cost': 23}, {'agent_id': 'A1', 'task_id': 22, 'cost': 14}, {'agent_id': 'A1', 'task_id': 23, 'cost': 5}, {'agent_id': 'A1', 'task_id': 24, 'cost': 21}, {'agent_id': 'A2', 'task_id': 1, 'cost': 7}, {'agent_id': 'A2', 'task_id': 2, 'cost': 7}, {'agent_id': 'A2', 'task_id': 3, 'cost': 25}, {'agent_id': 'A2', 'task_id': 4, 'cost': 16}, {'agent_id': 'A2', 'task_id': 5, 'cost': 11}, {'agent_id': 'A2', 'task_id': 6, 'cost': 14}, {'agent_id': 'A2', 'task_id': 7, 'cost': 21}, {'agent_id': 'A2', 'task_id': 8, 'cost': 25}, {'agent_id': 'A2', 'task_id': 9, 'cost': 22}, {'agent_id': 'A2', 'task_id': 10, 'cost': 19}, {'agent_id': 'A2', 'task_id': 11, 'cost': 19}, {'agent_id': 'A2', 'task_id': 12, 'cost': 18}, {'agent_id': 'A2', 'task_id': 13, 'cost': 24}, {'agent_id': 'A2', 'task_id': 14, 'cost': 6}, {'agent_id': 'A2', 'task_id': 15, 'cost': 7}, {'agent_id': 'A2', 'task_id': 16, 'cost': 23}, {'agent_id': 'A2', 'task_id': 17, 'cost': 24}, {'agent_id': 'A2', 'task_id': 18, 'cost': 11}, {'agent_id': 'A2', 'task_id': 19, 'cost': 9}, {'agent_id': 'A2', 'task_id': 20, 'cost': 15}, {'agent_id': 'A2', 'task_id': 21, 'cost': 9}, {'agent_id': 'A2', 'task_id': 22, 'cost': 16}, {'agent_id': 'A2', 'task_id': 23, 'cost': 10}, {'agent_id': 'A2', 'task_id': 24, 'cost': 15}, {'agent_id': 'A3', 'task_id': 1, 'cost': 18}, {'agent_id': 'A3', 'task_id': 2, 'cost': 22}, {'agent_id': 'A3', 'task_id': 3, 'cost': 17}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 9}, {'agent_id': 'A3', 'task_id': 6, 'cost': 16}, {'agent_id': 'A3', 'task_id': 7, 'cost': 6}, {'agent_id': 'A3', 'task_id': 8, 'cost': 20}, {'agent_id': 'A3', 'task_id': 9, 'cost': 8}, {'agent_id': 'A3', 'task_id': 10, 'cost': 24}, {'agent_id': 'A3', 'task_id': 11, 'cost': 17}, {'agent_id': 'A3', 'task_id': 12, 'cost': 13}, {'agent_id': 'A3', 'task_id': 13, 'cost': 17}, {'agent_id': 'A3', 'task_id': 14, 'cost': 5}, {'agent_id': 'A3', 'task_id': 15, 'cost': 22}, {'agent_id': 'A3', 'task_id': 16, 'cost': 13}, {'agent_id': 'A3', 'task_id': 17, 'cost': 18}, {'agent_id': 'A3', 'task_id': 18, 'cost': 23}, {'agent_id': 'A3', 'task_id': 19, 'cost': 8}, {'agent_id': 'A3', 'task_id': 20, 'cost': 13}, {'agent_id': 'A3', 'task_id': 21, 'cost': 13}, {'agent_id': 'A3', 'task_id': 22, 'cost': 7}, {'agent_id': 'A3', 'task_id': 23, 'cost': 9}, {'agent_id': 'A3', 'task_id': 24, 'cost': 20}, {'agent_id': 'A4', 'task_id': 1, 'cost': 9}, {'agent_id': 'A4', 'task_id': 2, 'cost': 6}, {'agent_id': 'A4', 'task_id': 3, 'cost': 7}, {'agent_id': 'A4', 'task_id': 4, 'cost': 6}, {'agent_id': 'A4', 'task_id': 5, 'cost': 16}, {'agent_id': 'A4', 'task_id': 6, 'cost': 6}, {'agent_id': 'A4', 'task_id': 7, 'cost': 21}, {'agent_id': 'A4', 'task_id': 8, 'cost': 13}, {'agent_id': 'A4', 'task_id': 9, 'cost': 10}, {'agent_id': 'A4', 'task_id': 10, 'cost': 6}, {'agent_id': 'A4', 'task_id': 11, 'cost': 15}, {'agent_id': 'A4', 'task_id': 12, 'cost': 12}, {'agent_id': 'A4', 'task_id': 13, 'cost': 20}, {'agent_id': 'A4', 'task_id': 14, 'cost': 15}, {'agent_id': 'A4', 'task_id': 15, 'cost': 6}, {'agent_id': 'A4', 'task_id': 16, 'cost': 7}, {'agent_id': 'A4', 'task_id': 17, 'cost': 16}, {'agent_id': 'A4', 'task_id': 18, 'cost': 5}, {'agent_id': 'A4', 'task_id': 19, 'cost': 9}, {'agent_id': 'A4', 'task_id': 20, 'cost': 24}, {'agent_id': 'A4', 'task_id': 21, 'cost': 23}, {'agent_id': 'A4', 'task_id': 22, 'cost': 25}, {'agent_id': 'A4', 'task_id': 23, 'cost': 13}, {'agent_id': 'A4', 'task_id': 24, 'cost': 13}, {'agent_id': 'A5', 'task_id': 1, 'cost': 19}, {'agent_id': 'A5', 'task_id': 2, 'cost': 15}, {'agent_id': 'A5', 'task_id': 3, 'cost': 13}, {'agent_id': 'A5', 'task_id': 4, 'cost': 19}, {'agent_id': 'A5', 'task_id': 5, 'cost': 13}, {'agent_id': 'A5', 'task_id': 6, 'cost': 18}, {'agent_id': 'A5', 'task_id': 7, 'cost': 10}, {'agent_id': 'A5', 'task_id': 8, 'cost': 16}, {'agent_id': 'A5', 'task_id': 9, 'cost': 6}, {'agent_id': 'A5', 'task_id': 10, 'cost': 16}, {'agent_id': 'A5', 'task_id': 11, 'cost': 13}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 13}, {'agent_id': 'A5', 'task_id': 14, 'cost': 25}, {'agent_id': 'A5', 'task_id': 15, 'cost': 23}, {'agent_id': 'A5', 'task_id': 16, 'cost': 20}, {'agent_id': 'A5', 'task_id': 17, 'cost': 23}, {'agent_id': 'A5', 'task_id': 18, 'cost': 22}, {'agent_id': 'A5', 'task_id': 19, 'cost': 10}, {'agent_id': 'A5', 'task_id': 20, 'cost': 11}, {'agent_id': 'A5', 'task_id': 21, 'cost': 12}, {'agent_id': 'A5', 'task_id': 22, 'cost': 7}, {'agent_id': 'A5', 'task_id': 23, 'cost': 5}, {'agent_id': 'A5', 'task_id': 24, 'cost': 7}, {'agent_id': 'A6', 'task_id': 1, 'cost': 23}, {'agent_id': 'A6', 'task_id': 2, 'cost': 16}, {'agent_id': 'A6', 'task_id': 3, 'cost': 24}, {'agent_id': 'A6', 'task_id': 4, 'cost': 12}, {'agent_id': 'A6', 'task_id': 5, 'cost': 16}, {'agent_id': 'A6', 'task_id': 6, 'cost': 23}, {'agent_id': 'A6', 'task_id': 7, 'cost': 25}, {'agent_id': 'A6', 'task_id': 8, 'cost': 23}, {'agent_id': 'A6', 'task_id': 9, 'cost': 14}, {'agent_id': 'A6', 'task_id': 10, 'cost': 17}, {'agent_id': 'A6', 'task_id': 11, 'cost': 23}, {'agent_id': 'A6', 'task_id': 12, 'cost': 15}, {'agent_id': 'A6', 'task_id': 13, 'cost': 20}, {'agent_id': 'A6', 'task_id': 14, 'cost': 25}, {'agent_id': 'A6', 'task_id': 15, 'cost': 5}, {'agent_id': 'A6', 'task_id': 16, 'cost': 23}, {'agent_id': 'A6', 'task_id': 17, 'cost': 24}, {'agent_id': 'A6', 'task_id': 18, 'cost': 22}, {'agent_id': 'A6', 'task_id': 19, 'cost': 14}, {'agent_id': 'A6', 'task_id': 20, 'cost': 25}, {'agent_id': 'A6', 'task_id': 21, 'cost': 19}, {'agent_id': 'A6', 'task_id': 22, 'cost': 25}, {'agent_id': 'A6', 'task_id': 23, 'cost': 18}, {'agent_id': 'A6', 'task_id': 24, 'cost': 13}, {'agent_id': 'A7', 'task_id': 1, 'cost': 19}, {'agent_id': 'A7', 'task_id': 2, 'cost': 12}, {'agent_id': 'A7', 'task_id': 3, 'cost': 23}, {'agent_id': 'A7', 'task_id': 4, 'cost': 17}, {'agent_id': 'A7', 'task_id': 5, 'cost': 17}, {'agent_id': 'A7', 'task_id': 6, 'cost': 22}, {'agent_id': 'A7', 'task_id': 7, 'cost': 11}, {'agent_id': 'A7', 'task_id': 8, 'cost': 19}, {'agent_id': 'A7', 'task_id': 9, 'cost': 7}, {'agent_id': 'A7', 'task_id': 10, 'cost': 6}, {'agent_id': 'A7', 'task_id': 11, 'cost': 8}, {'agent_id': 'A7', 'task_id': 12, 'cost': 20}, {'agent_id': 'A7', 'task_id': 13, 'cost': 11}, {'agent_id': 'A7', 'task_id': 14, 'cost': 17}, {'agent_id': 'A7', 'task_id': 15, 'cost': 24}, {'agent_id': 'A7', 'task_id': 16, 'cost': 9}, {'agent_id': 'A7', 'task_id': 17, 'cost': 23}, {'agent_id': 'A7', 'task_id': 18, 'cost': 14}, {'agent_id': 'A7', 'task_id': 19, 'cost': 8}, {'agent_id': 'A7', 'task_id': 20, 'cost': 16}, {'agent_id': 'A7', 'task_id': 21, 'cost': 21}, {'agent_id': 'A7', 'task_id': 22, 'cost': 9}, {'agent_id': 'A7', 'task_id': 23, 'cost': 12}, {'agent_id': 'A7', 'task_id': 24, 'cost': 21}, {'agent_id': 'A8', 'task_id': 1, 'cost': 19}, {'agent_id': 'A8', 'task_id': 2, 'cost': 18}, {'agent_id': 'A8', 'task_id': 3, 'cost': 6}, {'agent_id': 'A8', 'task_id': 4, 'cost': 22}, {'agent_id': 'A8', 'task_id': 5, 'cost': 20}, {'agent_id': 'A8', 'task_id': 6, 'cost': 11}, {'agent_id': 'A8', 'task_id': 7, 'cost': 12}, {'agent_id': 'A8', 'task_id': 8, 'cost': 15}, {'agent_id': 'A8', 'task_id': 9, 'cost': 14}, {'agent_id': 'A8', 'task_id': 10, 'cost': 9}, {'agent_id': 'A8', 'task_id': 11, 'cost': 20}, {'agent_id': 'A8', 'task_id': 12, 'cost': 9}, {'agent_id': 'A8', 'task_id': 13, 'cost': 23}, {'agent_id': 'A8', 'task_id': 14, 'cost': 12}, {'agent_id': 'A8', 'task_id': 15, 'cost': 12}, {'agent_id': 'A8', 'task_id': 16, 'cost': 9}, {'agent_id': 'A8', 'task_id': 17, 'cost': 9}, {'agent_id': 'A8', 'task_id': 18, 'cost': 5}, {'agent_id': 'A8', 'task_id': 19, 'cost': 18}, {'agent_id': 'A8', 'task_id': 20, 'cost': 17}, {'agent_id': 'A8', 'task_id': 21, 'cost': 17}, {'agent_id': 'A8', 'task_id': 22, 'cost': 19}, {'agent_id': 'A8', 'task_id': 23, 'cost': 23}, {'agent_id': 'A8', 'task_id': 24, 'cost': 13}]}","['A2', 'A4', 'A8', 'A6', 'A2', 'A4', 'A1', 'A1', 'A5', 'A7', 'A7', 'A5', 'A7', 'A2', 'A4', 'A7', 'A8', 'A8', 'A3', 'A5', 'A5', 'A3', 'A1', 'A6']",37,nl,1 GAP,GAP,"There’s this juggling act at the shop: every customer order has to be handed to exactly one fulfillment partner, and different partners use different amounts of their packing space and charge different fees for the same order. The goal is straightforward — pick partners so the sum of all those fees is as small as possible (just add up each assigned order’s fee). But while chasing lower bills, there’s a practical limit: the total packing space taken by the orders sent to any one partner can’t go past their available space, and no order can be skipped or shipped twice. The full order-by-partner details are shown below. There are 7 partners and 20 orders; partners: A1, A2, A3, A4, A5, A6, A7; orders: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19. Partner A1 has 355 available packing space. Partner A2 has 358 available packing space. Partner A3 has 356 available packing space. Partner A4 has 361 available packing space. Partner A5 has 359 available packing space. Partner A6 has 364 available packing space. Partner A7 has 365 available packing space. For partner A1 and order 0, the order would use 23 packing space and incur a fee of 10. For partner A1 and order 1, the order would use 42 packing space and incur a fee of 18. For partner A1 and order 2, the order would use 37 packing space and incur a fee of 23. For partner A1 and order 3, the order would use 28 packing space and incur a fee of 12. For partner A1 and order 4, the order would use 22 packing space and incur a fee of 17. For partner A1 and order 5, the order would use 10 packing space and incur a fee of 16. For partner A1 and order 6, the order would use 20 packing space and incur a fee of 6. For partner A1 and order 7, the order would use 29 packing space and incur a fee of 15. For partner A1 and order 8, the order would use 28 packing space and incur a fee of 25. For partner A1 and order 9, the order would use 28 packing space and incur a fee of 5. For partner A1 and order 10, the order would use 16 packing space and incur a fee of 20. For partner A1 and order 11, the order would use 41 packing space and incur a fee of 23. For partner A1 and order 12, the order would use 26 packing space and incur a fee of 19. For partner A1 and order 13, the order would use 45 packing space and incur a fee of 8. For partner A1 and order 14, the order would use 17 packing space and incur a fee of 24. For partner A1 and order 15, the order would use 43 packing space and incur a fee of 21. For partner A1 and order 16, the order would use 35 packing space and incur a fee of 12. For partner A1 and order 17, the order would use 49 packing space and incur a fee of 21. For partner A1 and order 18, the order would use 13 packing space and incur a fee of 17. For partner A1 and order 19, the order would use 20 packing space and incur a fee of 6. For partner A2 and order 0, the order would use 31 packing space and incur a fee of 16. For partner A2 and order 1, the order would use 45 packing space and incur a fee of 6. For partner A2 and order 2, the order would use 34 packing space and incur a fee of 20. For partner A2 and order 3, the order would use 30 packing space and incur a fee of 14. For partner A2 and order 4, the order would use 42 packing space and incur a fee of 5. For partner A2 and order 5, the order would use 16 packing space and incur a fee of 17. For partner A2 and order 6, the order would use 39 packing space and incur a fee of 8. For partner A2 and order 7, the order would use 39 packing space and incur a fee of 22. For partner A2 and order 8, the order would use 48 packing space and incur a fee of 15. For partner A2 and order 9, the order would use 25 packing space and incur a fee of 24. For partner A2 and order 10, the order would use 46 packing space and incur a fee of 23. For partner A2 and order 11, the order would use 22 packing space and incur a fee of 16. For partner A2 and order 12, the order would use 15 packing space and incur a fee of 13. For partner A2 and order 13, the order would use 28 packing space and incur a fee of 8. For partner A2 and order 14, the order would use 17 packing space and incur a fee of 17. For partner A2 and order 15, the order would use 18 packing space and incur a fee of 11. For partner A2 and order 16, the order would use 34 packing space and incur a fee of 7. For partner A2 and order 17, the order would use 12 packing space and incur a fee of 5. For partner A2 and order 18, the order would use 41 packing space and incur a fee of 20. For partner A2 and order 19, the order would use 44 packing space and incur a fee of 14. For partner A3 and order 0, the order would use 14 packing space and incur a fee of 25. For partner A3 and order 1, the order would use 40 packing space and incur a fee of 17. For partner A3 and order 2, the order would use 50 packing space and incur a fee of 11. For partner A3 and order 3, the order would use 50 packing space and incur a fee of 7. For partner A3 and order 4, the order would use 16 packing space and incur a fee of 13. For partner A3 and order 5, the order would use 18 packing space and incur a fee of 7. For partner A3 and order 6, the order would use 18 packing space and incur a fee of 5. For partner A3 and order 7, the order would use 17 packing space and incur a fee of 21. For partner A3 and order 8, the order would use 15 packing space and incur a fee of 25. For partner A3 and order 9, the order would use 41 packing space and incur a fee of 10. For partner A3 and order 10, the order would use 32 packing space and incur a fee of 22. For partner A3 and order 11, the order would use 48 packing space and incur a fee of 25. For partner A3 and order 12, the order would use 39 packing space and incur a fee of 11. For partner A3 and order 13, the order would use 40 packing space and incur a fee of 20. For partner A3 and order 14, the order would use 24 packing space and incur a fee of 14. For partner A3 and order 15, the order would use 34 packing space and incur a fee of 13. For partner A3 and order 16, the order would use 17 packing space and incur a fee of 11. For partner A3 and order 17, the order would use 44 packing space and incur a fee of 6. For partner A3 and order 18, the order would use 47 packing space and incur a fee of 7. For partner A3 and order 19, the order would use 23 packing space and incur a fee of 16. For partner A4 and order 0, the order would use 42 packing space and incur a fee of 25. For partner A4 and order 1, the order would use 29 packing space and incur a fee of 22. For partner A4 and order 2, the order would use 35 packing space and incur a fee of 14. For partner A4 and order 3, the order would use 47 packing space and incur a fee of 25. For partner A4 and order 4, the order would use 17 packing space and incur a fee of 25. For partner A4 and order 5, the order would use 28 packing space and incur a fee of 20. For partner A4 and order 6, the order would use 20 packing space and incur a fee of 19. For partner A4 and order 7, the order would use 33 packing space and incur a fee of 12. For partner A4 and order 8, the order would use 34 packing space and incur a fee of 24. For partner A4 and order 9, the order would use 34 packing space and incur a fee of 11. For partner A4 and order 10, the order would use 13 packing space and incur a fee of 18. For partner A4 and order 11, the order would use 47 packing space and incur a fee of 18. For partner A4 and order 12, the order would use 24 packing space and incur a fee of 8. For partner A4 and order 13, the order would use 23 packing space and incur a fee of 18. For partner A4 and order 14, the order would use 38 packing space and incur a fee of 19. For partner A4 and order 15, the order would use 42 packing space and incur a fee of 11. For partner A4 and order 16, the order would use 47 packing space and incur a fee of 13. For partner A4 and order 17, the order would use 40 packing space and incur a fee of 19. For partner A4 and order 18, the order would use 13 packing space and incur a fee of 6. For partner A4 and order 19, the order would use 46 packing space and incur a fee of 16. For partner A5 and order 0, the order would use 10 packing space and incur a fee of 12. For partner A5 and order 1, the order would use 23 packing space and incur a fee of 6. For partner A5 and order 2, the order would use 12 packing space and incur a fee of 17. For partner A5 and order 3, the order would use 17 packing space and incur a fee of 23. For partner A5 and order 4, the order would use 25 packing space and incur a fee of 10. For partner A5 and order 5, the order would use 50 packing space and incur a fee of 24. For partner A5 and order 6, the order would use 31 packing space and incur a fee of 19. For partner A5 and order 7, the order would use 39 packing space and incur a fee of 15. For partner A5 and order 8, the order would use 38 packing space and incur a fee of 10. For partner A5 and order 9, the order would use 36 packing space and incur a fee of 5. For partner A5 and order 10, the order would use 41 packing space and incur a fee of 15. For partner A5 and order 11, the order would use 38 packing space and incur a fee of 21. For partner A5 and order 12, the order would use 10 packing space and incur a fee of 21. For partner A5 and order 13, the order would use 44 packing space and incur a fee of 16. For partner A5 and order 14, the order would use 20 packing space and incur a fee of 8. For partner A5 and order 15, the order would use 25 packing space and incur a fee of 17. For partner A5 and order 16, the order would use 23 packing space and incur a fee of 9. For partner A5 and order 17, the order would use 40 packing space and incur a fee of 16. For partner A5 and order 18, the order would use 31 packing space and incur a fee of 14. For partner A5 and order 19, the order would use 36 packing space and incur a fee of 9. For partner A6 and order 0, the order would use 12 packing space and incur a fee of 23. For partner A6 and order 1, the order would use 37 packing space and incur a fee of 23. For partner A6 and order 2, the order would use 24 packing space and incur a fee of 12. For partner A6 and order 3, the order would use 47 packing space and incur a fee of 24. For partner A6 and order 4, the order would use 14 packing space and incur a fee of 15. For partner A6 and order 5, the order would use 39 packing space and incur a fee of 17. For partner A6 and order 6, the order would use 46 packing space and incur a fee of 22. For partner A6 and order 7, the order would use 19 packing space and incur a fee of 7. For partner A6 and order 8, the order would use 12 packing space and incur a fee of 25. For partner A6 and order 9, the order would use 44 packing space and incur a fee of 20. For partner A6 and order 10, the order would use 45 packing space and incur a fee of 11. For partner A6 and order 11, the order would use 30 packing space and incur a fee of 25. For partner A6 and order 12, the order would use 25 packing space and incur a fee of 6. For partner A6 and order 13, the order would use 11 packing space and incur a fee of 17. For partner A6 and order 14, the order would use 29 packing space and incur a fee of 10. For partner A6 and order 15, the order would use 47 packing space and incur a fee of 6. For partner A6 and order 16, the order would use 19 packing space and incur a fee of 5. For partner A6 and order 17, the order would use 44 packing space and incur a fee of 14. For partner A6 and order 18, the order would use 13 packing space and incur a fee of 10. For partner A6 and order 19, the order would use 30 packing space and incur a fee of 17. For partner A7 and order 0, the order would use 31 packing space and incur a fee of 12. For partner A7 and order 1, the order would use 10 packing space and incur a fee of 7. For partner A7 and order 2, the order would use 32 packing space and incur a fee of 6. For partner A7 and order 3, the order would use 32 packing space and incur a fee of 21. For partner A7 and order 4, the order would use 37 packing space and incur a fee of 13. For partner A7 and order 5, the order would use 15 packing space and incur a fee of 20. For partner A7 and order 6, the order would use 23 packing space and incur a fee of 23. For partner A7 and order 7, the order would use 34 packing space and incur a fee of 10. For partner A7 and order 8, the order would use 33 packing space and incur a fee of 22. For partner A7 and order 9, the order would use 32 packing space and incur a fee of 7. For partner A7 and order 10, the order would use 25 packing space and incur a fee of 24. For partner A7 and order 11, the order would use 36 packing space and incur a fee of 12. For partner A7 and order 12, the order would use 35 packing space and incur a fee of 13. For partner A7 and order 13, the order would use 48 packing space and incur a fee of 13. For partner A7 and order 14, the order would use 12 packing space and incur a fee of 13. For partner A7 and order 15, the order would use 13 packing space and incur a fee of 25. For partner A7 and order 16, the order would use 15 packing space and incur a fee of 14. For partner A7 and order 17, the order would use 39 packing space and incur a fee of 23. For partner A7 and order 18, the order would use 10 packing space and incur a fee of 24. For partner A7 and order 19, the order would use 20 packing space and incur a fee of 8. Assign each order exactly once and keep every partner's assigned space within their available packing space. Oh, and when you send the assignment back, just stick to a tiny JSON sketch like this so it's easy to parse: { ""solution"": [ , , ..., ] } Here ""solution"" is just a list that says, in order, which fulfillment partner handles each order — the first entry is the partner for the first order, the second for the second order, and so on. Think of it like filling out a simple sign-up sheet: one partner name per order, in the order the orders were listed. This JSON is just the expected shape — not the actual assignment. Please use the exact identifiers from the problem input when you fill it in: no renaming, no invented labels. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[23, 42, 37, 28, 22, 10, 20, 29, 28, 28, 16, 41, 26, 45, 17, 43, 35, 49, 13, 20], [31, 45, 34, 30, 42, 16, 39, 39, 48, 25, 46, 22, 15, 28, 17, 18, 34, 12, 41, 44], [14, 40, 50, 50, 16, 18, 18, 17, 15, 41, 32, 48, 39, 40, 24, 34, 17, 44, 47, 23], [42, 29, 35, 47, 17, 28, 20, 33, 34, 34, 13, 47, 24, 23, 38, 42, 47, 40, 13, 46], [10, 23, 12, 17, 25, 50, 31, 39, 38, 36, 41, 38, 10, 44, 20, 25, 23, 40, 31, 36], [12, 37, 24, 47, 14, 39, 46, 19, 12, 44, 45, 30, 25, 11, 29, 47, 19, 44, 13, 30], [31, 10, 32, 32, 37, 15, 23, 34, 33, 32, 25, 36, 35, 48, 12, 13, 15, 39, 10, 20]], 'assignment_costs': [[10, 18, 23, 12, 17, 16, 6, 15, 25, 5, 20, 23, 19, 8, 24, 21, 12, 21, 17, 6], [16, 6, 20, 14, 5, 17, 8, 22, 15, 24, 23, 16, 13, 8, 17, 11, 7, 5, 20, 14], [25, 17, 11, 7, 13, 7, 5, 21, 25, 10, 22, 25, 11, 20, 14, 13, 11, 6, 7, 16], [25, 22, 14, 25, 25, 20, 19, 12, 24, 11, 18, 18, 8, 18, 19, 11, 13, 19, 6, 16], [12, 6, 17, 23, 10, 24, 19, 15, 10, 5, 15, 21, 21, 16, 8, 17, 9, 16, 14, 9], [23, 23, 12, 24, 15, 17, 22, 7, 25, 20, 11, 25, 6, 17, 10, 6, 5, 14, 10, 17], [12, 7, 6, 21, 13, 20, 23, 10, 22, 7, 24, 12, 13, 13, 13, 25, 14, 23, 24, 8]], 'capacities': [355, 358, 356, 361, 359, 364, 365], 'objective': 141.0}","[0, 4, 6, 2, 1, 2, 2, 5, 4, 0, 5, 6, 5, 1, 4, 5, 5, 1, 3, 0]",141.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 20, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 355}, {'agent_id': 'A2', 'capacity': 358}, {'agent_id': 'A3', 'capacity': 356}, {'agent_id': 'A4', 'capacity': 361}, {'agent_id': 'A5', 'capacity': 359}, {'agent_id': 'A6', 'capacity': 364}, {'agent_id': 'A7', 'capacity': 365}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 20}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 10}, {'agent_id': 'A1', 'task_id': 1, 'cost': 18}, {'agent_id': 'A1', 'task_id': 2, 'cost': 23}, {'agent_id': 'A1', 'task_id': 3, 'cost': 12}, {'agent_id': 'A1', 'task_id': 4, 'cost': 17}, {'agent_id': 'A1', 'task_id': 5, 'cost': 16}, {'agent_id': 'A1', 'task_id': 6, 'cost': 6}, {'agent_id': 'A1', 'task_id': 7, 'cost': 15}, {'agent_id': 'A1', 'task_id': 8, 'cost': 25}, {'agent_id': 'A1', 'task_id': 9, 'cost': 5}, {'agent_id': 'A1', 'task_id': 10, 'cost': 20}, {'agent_id': 'A1', 'task_id': 11, 'cost': 23}, {'agent_id': 'A1', 'task_id': 12, 'cost': 19}, {'agent_id': 'A1', 'task_id': 13, 'cost': 8}, {'agent_id': 'A1', 'task_id': 14, 'cost': 24}, {'agent_id': 'A1', 'task_id': 15, 'cost': 21}, {'agent_id': 'A1', 'task_id': 16, 'cost': 12}, {'agent_id': 'A1', 'task_id': 17, 'cost': 21}, {'agent_id': 'A1', 'task_id': 18, 'cost': 17}, {'agent_id': 'A1', 'task_id': 19, 'cost': 6}, {'agent_id': 'A2', 'task_id': 0, 'cost': 16}, {'agent_id': 'A2', 'task_id': 1, 'cost': 6}, {'agent_id': 'A2', 'task_id': 2, 'cost': 20}, {'agent_id': 'A2', 'task_id': 3, 'cost': 14}, {'agent_id': 'A2', 'task_id': 4, 'cost': 5}, {'agent_id': 'A2', 'task_id': 5, 'cost': 17}, {'agent_id': 'A2', 'task_id': 6, 'cost': 8}, {'agent_id': 'A2', 'task_id': 7, 'cost': 22}, {'agent_id': 'A2', 'task_id': 8, 'cost': 15}, {'agent_id': 'A2', 'task_id': 9, 'cost': 24}, {'agent_id': 'A2', 'task_id': 10, 'cost': 23}, {'agent_id': 'A2', 'task_id': 11, 'cost': 16}, {'agent_id': 'A2', 'task_id': 12, 'cost': 13}, {'agent_id': 'A2', 'task_id': 13, 'cost': 8}, {'agent_id': 'A2', 'task_id': 14, 'cost': 17}, {'agent_id': 'A2', 'task_id': 15, 'cost': 11}, {'agent_id': 'A2', 'task_id': 16, 'cost': 7}, {'agent_id': 'A2', 'task_id': 17, 'cost': 5}, {'agent_id': 'A2', 'task_id': 18, 'cost': 20}, {'agent_id': 'A2', 'task_id': 19, 'cost': 14}, {'agent_id': 'A3', 'task_id': 0, 'cost': 25}, {'agent_id': 'A3', 'task_id': 1, 'cost': 17}, {'agent_id': 'A3', 'task_id': 2, 'cost': 11}, {'agent_id': 'A3', 'task_id': 3, 'cost': 7}, {'agent_id': 'A3', 'task_id': 4, 'cost': 13}, {'agent_id': 'A3', 'task_id': 5, 'cost': 7}, {'agent_id': 'A3', 'task_id': 6, 'cost': 5}, {'agent_id': 'A3', 'task_id': 7, 'cost': 21}, {'agent_id': 'A3', 'task_id': 8, 'cost': 25}, {'agent_id': 'A3', 'task_id': 9, 'cost': 10}, {'agent_id': 'A3', 'task_id': 10, 'cost': 22}, {'agent_id': 'A3', 'task_id': 11, 'cost': 25}, {'agent_id': 'A3', 'task_id': 12, 'cost': 11}, {'agent_id': 'A3', 'task_id': 13, 'cost': 20}, {'agent_id': 'A3', 'task_id': 14, 'cost': 14}, {'agent_id': 'A3', 'task_id': 15, 'cost': 13}, {'agent_id': 'A3', 'task_id': 16, 'cost': 11}, {'agent_id': 'A3', 'task_id': 17, 'cost': 6}, {'agent_id': 'A3', 'task_id': 18, 'cost': 7}, {'agent_id': 'A3', 'task_id': 19, 'cost': 16}, {'agent_id': 'A4', 'task_id': 0, 'cost': 25}, {'agent_id': 'A4', 'task_id': 1, 'cost': 22}, {'agent_id': 'A4', 'task_id': 2, 'cost': 14}, {'agent_id': 'A4', 'task_id': 3, 'cost': 25}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 20}, {'agent_id': 'A4', 'task_id': 6, 'cost': 19}, {'agent_id': 'A4', 'task_id': 7, 'cost': 12}, {'agent_id': 'A4', 'task_id': 8, 'cost': 24}, {'agent_id': 'A4', 'task_id': 9, 'cost': 11}, {'agent_id': 'A4', 'task_id': 10, 'cost': 18}, {'agent_id': 'A4', 'task_id': 11, 'cost': 18}, {'agent_id': 'A4', 'task_id': 12, 'cost': 8}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 19}, {'agent_id': 'A4', 'task_id': 15, 'cost': 11}, {'agent_id': 'A4', 'task_id': 16, 'cost': 13}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A4', 'task_id': 18, 'cost': 6}, {'agent_id': 'A4', 'task_id': 19, 'cost': 16}, {'agent_id': 'A5', 'task_id': 0, 'cost': 12}, {'agent_id': 'A5', 'task_id': 1, 'cost': 6}, {'agent_id': 'A5', 'task_id': 2, 'cost': 17}, {'agent_id': 'A5', 'task_id': 3, 'cost': 23}, {'agent_id': 'A5', 'task_id': 4, 'cost': 10}, {'agent_id': 'A5', 'task_id': 5, 'cost': 24}, {'agent_id': 'A5', 'task_id': 6, 'cost': 19}, {'agent_id': 'A5', 'task_id': 7, 'cost': 15}, {'agent_id': 'A5', 'task_id': 8, 'cost': 10}, {'agent_id': 'A5', 'task_id': 9, 'cost': 5}, {'agent_id': 'A5', 'task_id': 10, 'cost': 15}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 21}, {'agent_id': 'A5', 'task_id': 13, 'cost': 16}, {'agent_id': 'A5', 'task_id': 14, 'cost': 8}, {'agent_id': 'A5', 'task_id': 15, 'cost': 17}, {'agent_id': 'A5', 'task_id': 16, 'cost': 9}, {'agent_id': 'A5', 'task_id': 17, 'cost': 16}, {'agent_id': 'A5', 'task_id': 18, 'cost': 14}, {'agent_id': 'A5', 'task_id': 19, 'cost': 9}, {'agent_id': 'A6', 'task_id': 0, 'cost': 23}, {'agent_id': 'A6', 'task_id': 1, 'cost': 23}, {'agent_id': 'A6', 'task_id': 2, 'cost': 12}, {'agent_id': 'A6', 'task_id': 3, 'cost': 24}, {'agent_id': 'A6', 'task_id': 4, 'cost': 15}, {'agent_id': 'A6', 'task_id': 5, 'cost': 17}, {'agent_id': 'A6', 'task_id': 6, 'cost': 22}, {'agent_id': 'A6', 'task_id': 7, 'cost': 7}, {'agent_id': 'A6', 'task_id': 8, 'cost': 25}, {'agent_id': 'A6', 'task_id': 9, 'cost': 20}, {'agent_id': 'A6', 'task_id': 10, 'cost': 11}, {'agent_id': 'A6', 'task_id': 11, 'cost': 25}, {'agent_id': 'A6', 'task_id': 12, 'cost': 6}, {'agent_id': 'A6', 'task_id': 13, 'cost': 17}, {'agent_id': 'A6', 'task_id': 14, 'cost': 10}, {'agent_id': 'A6', 'task_id': 15, 'cost': 6}, {'agent_id': 'A6', 'task_id': 16, 'cost': 5}, {'agent_id': 'A6', 'task_id': 17, 'cost': 14}, {'agent_id': 'A6', 'task_id': 18, 'cost': 10}, {'agent_id': 'A6', 'task_id': 19, 'cost': 17}, {'agent_id': 'A7', 'task_id': 0, 'cost': 12}, {'agent_id': 'A7', 'task_id': 1, 'cost': 7}, {'agent_id': 'A7', 'task_id': 2, 'cost': 6}, {'agent_id': 'A7', 'task_id': 3, 'cost': 21}, {'agent_id': 'A7', 'task_id': 4, 'cost': 13}, {'agent_id': 'A7', 'task_id': 5, 'cost': 20}, {'agent_id': 'A7', 'task_id': 6, 'cost': 23}, {'agent_id': 'A7', 'task_id': 7, 'cost': 10}, {'agent_id': 'A7', 'task_id': 8, 'cost': 22}, {'agent_id': 'A7', 'task_id': 9, 'cost': 7}, {'agent_id': 'A7', 'task_id': 10, 'cost': 24}, {'agent_id': 'A7', 'task_id': 11, 'cost': 12}, {'agent_id': 'A7', 'task_id': 12, 'cost': 13}, {'agent_id': 'A7', 'task_id': 13, 'cost': 13}, {'agent_id': 'A7', 'task_id': 14, 'cost': 13}, {'agent_id': 'A7', 'task_id': 15, 'cost': 25}, {'agent_id': 'A7', 'task_id': 16, 'cost': 14}, {'agent_id': 'A7', 'task_id': 17, 'cost': 23}, {'agent_id': 'A7', 'task_id': 18, 'cost': 24}, {'agent_id': 'A7', 'task_id': 19, 'cost': 8}]}","['A1', 'A5', 'A7', 'A3', 'A2', 'A3', 'A3', 'A6', 'A5', 'A1', 'A6', 'A7', 'A6', 'A2', 'A5', 'A6', 'A6', 'A2', 'A4', 'A1']",38,nl,0 GAP,GAP,"I run the fleet’s maintenance planning and have to hand out a stack of repair jobs to the mechanics so that every job gets done and none are duplicated. Each mechanic takes different amounts of shop time on each job and charges different labor rates, and every mechanic only has a certain number of hours available that day. A better plan is simply the one that leads to the smallest total labor bill — add up the charge for each job under whoever is assigned, and pick the assignment with the lowest sum — but never leave a job unassigned or give the same job to two people, and don’t give anyone more hours than they actually have. The exact job times and rates are shown below. { ""num_mechanics"": 6, ""num_jobs"": 17, ""mechanics"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"" ], ""jobs"": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ], ""capacities"": [ { ""mechanic_id"": ""A1"", ""available_hours"": 362 }, { ""mechanic_id"": ""A2"", ""available_hours"": 360 }, { ""mechanic_id"": ""A3"", ""available_hours"": 366 }, { ""mechanic_id"": ""A4"", ""available_hours"": 358 }, { ""mechanic_id"": ""A5"", ""available_hours"": 361 }, { ""mechanic_id"": ""A6"", ""available_hours"": 365 } ], ""resource"": [ { ""mechanic_id"": ""A1"", ""job_id"": 1, ""hours_required"": 43 }, { ""mechanic_id"": ""A1"", ""job_id"": 2, ""hours_required"": 31 }, { ""mechanic_id"": ""A1"", ""job_id"": 3, ""hours_required"": 13 }, { ""mechanic_id"": ""A1"", ""job_id"": 4, ""hours_required"": 25 }, { ""mechanic_id"": ""A1"", ""job_id"": 5, ""hours_required"": 34 }, { ""mechanic_id"": ""A1"", ""job_id"": 6, ""hours_required"": 24 }, { ""mechanic_id"": ""A1"", ""job_id"": 7, ""hours_required"": 25 }, { ""mechanic_id"": ""A1"", ""job_id"": 8, ""hours_required"": 17 }, { ""mechanic_id"": ""A1"", ""job_id"": 9, ""hours_required"": 29 }, { ""mechanic_id"": ""A1"", ""job_id"": 10, ""hours_required"": 32 }, { ""mechanic_id"": ""A1"", ""job_id"": 11, ""hours_required"": 28 }, { ""mechanic_id"": ""A1"", ""job_id"": 12, ""hours_required"": 18 }, { ""mechanic_id"": ""A1"", ""job_id"": 13, ""hours_required"": 28 }, { ""mechanic_id"": ""A1"", ""job_id"": 14, ""hours_required"": 41 }, { ""mechanic_id"": ""A1"", ""job_id"": 15, ""hours_required"": 28 }, { ""mechanic_id"": ""A1"", ""job_id"": 16, ""hours_required"": 44 }, { ""mechanic_id"": ""A1"", ""job_id"": 17, ""hours_required"": 27 }, { ""mechanic_id"": ""A2"", ""job_id"": 1, ""hours_required"": 26 }, { ""mechanic_id"": ""A2"", ""job_id"": 2, ""hours_required"": 40 }, { ""mechanic_id"": ""A2"", ""job_id"": 3, ""hours_required"": 20 }, { ""mechanic_id"": ""A2"", ""job_id"": 4, ""hours_required"": 18 }, { ""mechanic_id"": ""A2"", ""job_id"": 5, ""hours_required"": 15 }, { ""mechanic_id"": ""A2"", ""job_id"": 6, ""hours_required"": 11 }, { ""mechanic_id"": ""A2"", ""job_id"": 7, ""hours_required"": 40 }, { ""mechanic_id"": ""A2"", ""job_id"": 8, ""hours_required"": 48 }, { ""mechanic_id"": ""A2"", ""job_id"": 9, ""hours_required"": 23 }, { ""mechanic_id"": ""A2"", ""job_id"": 10, ""hours_required"": 17 }, { ""mechanic_id"": ""A2"", ""job_id"": 11, ""hours_required"": 35 }, { ""mechanic_id"": ""A2"", ""job_id"": 12, ""hours_required"": 29 }, { ""mechanic_id"": ""A2"", ""job_id"": 13, ""hours_required"": 40 }, { ""mechanic_id"": ""A2"", ""job_id"": 14, ""hours_required"": 46 }, { ""mechanic_id"": ""A2"", ""job_id"": 15, ""hours_required"": 45 }, { ""mechanic_id"": ""A2"", ""job_id"": 16, ""hours_required"": 43 }, { ""mechanic_id"": ""A2"", ""job_id"": 17, ""hours_required"": 28 }, { ""mechanic_id"": ""A3"", ""job_id"": 1, ""hours_required"": 26 }, { ""mechanic_id"": ""A3"", ""job_id"": 2, ""hours_required"": 45 }, { ""mechanic_id"": ""A3"", ""job_id"": 3, ""hours_required"": 13 }, { ""mechanic_id"": ""A3"", ""job_id"": 4, ""hours_required"": 32 }, { ""mechanic_id"": ""A3"", ""job_id"": 5, ""hours_required"": 12 }, { ""mechanic_id"": ""A3"", ""job_id"": 6, ""hours_required"": 13 }, { ""mechanic_id"": ""A3"", ""job_id"": 7, ""hours_required"": 48 }, { ""mechanic_id"": ""A3"", ""job_id"": 8, ""hours_required"": 42 }, { ""mechanic_id"": ""A3"", ""job_id"": 9, ""hours_required"": 47 }, { ""mechanic_id"": ""A3"", ""job_id"": 10, ""hours_required"": 42 }, { ""mechanic_id"": ""A3"", ""job_id"": 11, ""hours_required"": 49 }, { ""mechanic_id"": ""A3"", ""job_id"": 12, ""hours_required"": 10 }, { ""mechanic_id"": ""A3"", ""job_id"": 13, ""hours_required"": 25 }, { ""mechanic_id"": ""A3"", ""job_id"": 14, ""hours_required"": 29 }, { ""mechanic_id"": ""A3"", ""job_id"": 15, ""hours_required"": 26 }, { ""mechanic_id"": ""A3"", ""job_id"": 16, ""hours_required"": 45 }, { ""mechanic_id"": ""A3"", ""job_id"": 17, ""hours_required"": 19 }, { ""mechanic_id"": ""A4"", ""job_id"": 1, ""hours_required"": 25 }, { ""mechanic_id"": ""A4"", ""job_id"": 2, ""hours_required"": 38 }, { ""mechanic_id"": ""A4"", ""job_id"": 3, ""hours_required"": 26 }, { ""mechanic_id"": ""A4"", ""job_id"": 4, ""hours_required"": 17 }, { ""mechanic_id"": ""A4"", ""job_id"": 5, ""hours_required"": 50 }, { ""mechanic_id"": ""A4"", ""job_id"": 6, ""hours_required"": 27 }, { ""mechanic_id"": ""A4"", ""job_id"": 7, ""hours_required"": 23 }, { ""mechanic_id"": ""A4"", ""job_id"": 8, ""hours_required"": 11 }, { ""mechanic_id"": ""A4"", ""job_id"": 9, ""hours_required"": 18 }, { ""mechanic_id"": ""A4"", ""job_id"": 10, ""hours_required"": 13 }, { ""mechanic_id"": ""A4"", ""job_id"": 11, ""hours_required"": 21 }, { ""mechanic_id"": ""A4"", ""job_id"": 12, ""hours_required"": 12 }, { ""mechanic_id"": ""A4"", ""job_id"": 13, ""hours_required"": 44 }, { ""mechanic_id"": ""A4"", ""job_id"": 14, ""hours_required"": 21 }, { ""mechanic_id"": ""A4"", ""job_id"": 15, ""hours_required"": 15 }, { ""mechanic_id"": ""A4"", ""job_id"": 16, ""hours_required"": 17 }, { ""mechanic_id"": ""A4"", ""job_id"": 17, ""hours_required"": 47 }, { ""mechanic_id"": ""A5"", ""job_id"": 1, ""hours_required"": 20 }, { ""mechanic_id"": ""A5"", ""job_id"": 2, ""hours_required"": 40 }, { ""mechanic_id"": ""A5"", ""job_id"": 3, ""hours_required"": 44 }, { ""mechanic_id"": ""A5"", ""job_id"": 4, ""hours_required"": 44 }, { ""mechanic_id"": ""A5"", ""job_id"": 5, ""hours_required"": 35 }, { ""mechanic_id"": ""A5"", ""job_id"": 6, ""hours_required"": 20 }, { ""mechanic_id"": ""A5"", ""job_id"": 7, ""hours_required"": 10 }, { ""mechanic_id"": ""A5"", ""job_id"": 8, ""hours_required"": 27 }, { ""mechanic_id"": ""A5"", ""job_id"": 9, ""hours_required"": 35 }, { ""mechanic_id"": ""A5"", ""job_id"": 10, ""hours_required"": 40 }, { ""mechanic_id"": ""A5"", ""job_id"": 11, ""hours_required"": 13 }, { ""mechanic_id"": ""A5"", ""job_id"": 12, ""hours_required"": 27 }, { ""mechanic_id"": ""A5"", ""job_id"": 13, ""hours_required"": 34 }, { ""mechanic_id"": ""A5"", ""job_id"": 14, ""hours_required"": 24 }, { ""mechanic_id"": ""A5"", ""job_id"": 15, ""hours_required"": 46 }, { ""mechanic_id"": ""A5"", ""job_id"": 16, ""hours_required"": 47 }, { ""mechanic_id"": ""A5"", ""job_id"": 17, ""hours_required"": 13 }, { ""mechanic_id"": ""A6"", ""job_id"": 1, ""hours_required"": 25 }, { ""mechanic_id"": ""A6"", ""job_id"": 2, ""hours_required"": 31 }, { ""mechanic_id"": ""A6"", ""job_id"": 3, ""hours_required"": 50 }, { ""mechanic_id"": ""A6"", ""job_id"": 4, ""hours_required"": 45 }, { ""mechanic_id"": ""A6"", ""job_id"": 5, ""hours_required"": 34 }, { ""mechanic_id"": ""A6"", ""job_id"": 6, ""hours_required"": 39 }, { ""mechanic_id"": ""A6"", ""job_id"": 7, ""hours_required"": 36 }, { ""mechanic_id"": ""A6"", ""job_id"": 8, ""hours_required"": 43 }, { ""mechanic_id"": ""A6"", ""job_id"": 9, ""hours_required"": 18 }, { ""mechanic_id"": ""A6"", ""job_id"": 10, ""hours_required"": 18 }, { ""mechanic_id"": ""A6"", ""job_id"": 11, ""hours_required"": 40 }, { ""mechanic_id"": ""A6"", ""job_id"": 12, ""hours_required"": 22 }, { ""mechanic_id"": ""A6"", ""job_id"": 13, ""hours_required"": 19 }, { ""mechanic_id"": ""A6"", ""job_id"": 14, ""hours_required"": 29 }, { ""mechanic_id"": ""A6"", ""job_id"": 15, ""hours_required"": 31 }, { ""mechanic_id"": ""A6"", ""job_id"": 16, ""hours_required"": 24 }, { ""mechanic_id"": ""A6"", ""job_id"": 17, ""hours_required"": 24 } ], ""cost"": [ { ""mechanic_id"": ""A1"", ""job_id"": 1, ""labor_cost"": 18 }, { ""mechanic_id"": ""A1"", ""job_id"": 2, ""labor_cost"": 5 }, { ""mechanic_id"": ""A1"", ""job_id"": 3, ""labor_cost"": 22 }, { ""mechanic_id"": ""A1"", ""job_id"": 4, ""labor_cost"": 7 }, { ""mechanic_id"": ""A1"", ""job_id"": 5, ""labor_cost"": 14 }, { ""mechanic_id"": ""A1"", ""job_id"": 6, ""labor_cost"": 24 }, { ""mechanic_id"": ""A1"", ""job_id"": 7, ""labor_cost"": 19 }, { ""mechanic_id"": ""A1"", ""job_id"": 8, ""labor_cost"": 19 }, { ""mechanic_id"": ""A1"", ""job_id"": 9, ""labor_cost"": 25 }, { ""mechanic_id"": ""A1"", ""job_id"": 10, ""labor_cost"": 9 }, { ""mechanic_id"": ""A1"", ""job_id"": 11, ""labor_cost"": 25 }, { ""mechanic_id"": ""A1"", ""job_id"": 12, ""labor_cost"": 9 }, { ""mechanic_id"": ""A1"", ""job_id"": 13, ""labor_cost"": 11 }, { ""mechanic_id"": ""A1"", ""job_id"": 14, ""labor_cost"": 23 }, { ""mechanic_id"": ""A1"", ""job_id"": 15, ""labor_cost"": 19 }, { ""mechanic_id"": ""A1"", ""job_id"": 16, ""labor_cost"": 18 }, { ""mechanic_id"": ""A1"", ""job_id"": 17, ""labor_cost"": 10 }, { ""mechanic_id"": ""A2"", ""job_id"": 1, ""labor_cost"": 18 }, { ""mechanic_id"": ""A2"", ""job_id"": 2, ""labor_cost"": 15 }, { ""mechanic_id"": ""A2"", ""job_id"": 3, ""labor_cost"": 13 }, { ""mechanic_id"": ""A2"", ""job_id"": 4, ""labor_cost"": 17 }, { ""mechanic_id"": ""A2"", ""job_id"": 5, ""labor_cost"": 24 }, { ""mechanic_id"": ""A2"", ""job_id"": 6, ""labor_cost"": 17 }, { ""mechanic_id"": ""A2"", ""job_id"": 7, ""labor_cost"": 22 }, { ""mechanic_id"": ""A2"", ""job_id"": 8, ""labor_cost"": 8 }, { ""mechanic_id"": ""A2"", ""job_id"": 9, ""labor_cost"": 22 }, { ""mechanic_id"": ""A2"", ""job_id"": 10, ""labor_cost"": 13 }, { ""mechanic_id"": ""A2"", ""job_id"": 11, ""labor_cost"": 20 }, { ""mechanic_id"": ""A2"", ""job_id"": 12, ""labor_cost"": 19 }, { ""mechanic_id"": ""A2"", ""job_id"": 13, ""labor_cost"": 6 }, { ""mechanic_id"": ""A2"", ""job_id"": 14, ""labor_cost"": 13 }, { ""mechanic_id"": ""A2"", ""job_id"": 15, ""labor_cost"": 21 }, { ""mechanic_id"": ""A2"", ""job_id"": 16, ""labor_cost"": 14 }, { ""mechanic_id"": ""A2"", ""job_id"": 17, ""labor_cost"": 8 }, { ""mechanic_id"": ""A3"", ""job_id"": 1, ""labor_cost"": 16 }, { ""mechanic_id"": ""A3"", ""job_id"": 2, ""labor_cost"": 23 }, { ""mechanic_id"": ""A3"", ""job_id"": 3, ""labor_cost"": 20 }, { ""mechanic_id"": ""A3"", ""job_id"": 4, ""labor_cost"": 17 }, { ""mechanic_id"": ""A3"", ""job_id"": 5, ""labor_cost"": 18 }, { ""mechanic_id"": ""A3"", ""job_id"": 6, ""labor_cost"": 10 }, { ""mechanic_id"": ""A3"", ""job_id"": 7, ""labor_cost"": 24 }, { ""mechanic_id"": ""A3"", ""job_id"": 8, ""labor_cost"": 15 }, { ""mechanic_id"": ""A3"", ""job_id"": 9, ""labor_cost"": 13 }, { ""mechanic_id"": ""A3"", ""job_id"": 10, ""labor_cost"": 6 }, { ""mechanic_id"": ""A3"", ""job_id"": 11, ""labor_cost"": 16 }, { ""mechanic_id"": ""A3"", ""job_id"": 12, ""labor_cost"": 17 }, { ""mechanic_id"": ""A3"", ""job_id"": 13, ""labor_cost"": 22 }, { ""mechanic_id"": ""A3"", ""job_id"": 14, ""labor_cost"": 8 }, { ""mechanic_id"": ""A3"", ""job_id"": 15, ""labor_cost"": 20 }, { ""mechanic_id"": ""A3"", ""job_id"": 16, ""labor_cost"": 18 }, { ""mechanic_id"": ""A3"", ""job_id"": 17, ""labor_cost"": 14 }, { ""mechanic_id"": ""A4"", ""job_id"": 1, ""labor_cost"": 22 }, { ""mechanic_id"": ""A4"", ""job_id"": 2, ""labor_cost"": 7 }, { ""mechanic_id"": ""A4"", ""job_id"": 3, ""labor_cost"": 16 }, { ""mechanic_id"": ""A4"", ""job_id"": 4, ""labor_cost"": 13 }, { ""mechanic_id"": ""A4"", ""job_id"": 5, ""labor_cost"": 25 }, { ""mechanic_id"": ""A4"", ""job_id"": 6, ""labor_cost"": 10 }, { ""mechanic_id"": ""A4"", ""job_id"": 7, ""labor_cost"": 18 }, { ""mechanic_id"": ""A4"", ""job_id"": 8, ""labor_cost"": 24 }, { ""mechanic_id"": ""A4"", ""job_id"": 9, ""labor_cost"": 20 }, { ""mechanic_id"": ""A4"", ""job_id"": 10, ""labor_cost"": 22 }, { ""mechanic_id"": ""A4"", ""job_id"": 11, ""labor_cost"": 22 }, { ""mechanic_id"": ""A4"", ""job_id"": 12, ""labor_cost"": 10 }, { ""mechanic_id"": ""A4"", ""job_id"": 13, ""labor_cost"": 5 }, { ""mechanic_id"": ""A4"", ""job_id"": 14, ""labor_cost"": 7 }, { ""mechanic_id"": ""A4"", ""job_id"": 15, ""labor_cost"": 7 }, { ""mechanic_id"": ""A4"", ""job_id"": 16, ""labor_cost"": 14 }, { ""mechanic_id"": ""A4"", ""job_id"": 17, ""labor_cost"": 19 }, { ""mechanic_id"": ""A5"", ""job_id"": 1, ""labor_cost"": 11 }, { ""mechanic_id"": ""A5"", ""job_id"": 2, ""labor_cost"": 8 }, { ""mechanic_id"": ""A5"", ""job_id"": 3, ""labor_cost"": 5 }, { ""mechanic_id"": ""A5"", ""job_id"": 4, ""labor_cost"": 14 }, { ""mechanic_id"": ""A5"", ""job_id"": 5, ""labor_cost"": 10 }, { ""mechanic_id"": ""A5"", ""job_id"": 6, ""labor_cost"": 17 }, { ""mechanic_id"": ""A5"", ""job_id"": 7, ""labor_cost"": 19 }, { ""mechanic_id"": ""A5"", ""job_id"": 8, ""labor_cost"": 15 }, { ""mechanic_id"": ""A5"", ""job_id"": 9, ""labor_cost"": 10 }, { ""mechanic_id"": ""A5"", ""job_id"": 10, ""labor_cost"": 22 }, { ""mechanic_id"": ""A5"", ""job_id"": 11, ""labor_cost"": 6 }, { ""mechanic_id"": ""A5"", ""job_id"": 12, ""labor_cost"": 5 }, { ""mechanic_id"": ""A5"", ""job_id"": 13, ""labor_cost"": 24 }, { ""mechanic_id"": ""A5"", ""job_id"": 14, ""labor_cost"": 8 }, { ""mechanic_id"": ""A5"", ""job_id"": 15, ""labor_cost"": 10 }, { ""mechanic_id"": ""A5"", ""job_id"": 16, ""labor_cost"": 18 }, { ""mechanic_id"": ""A5"", ""job_id"": 17, ""labor_cost"": 21 }, { ""mechanic_id"": ""A6"", ""job_id"": 1, ""labor_cost"": 8 }, { ""mechanic_id"": ""A6"", ""job_id"": 2, ""labor_cost"": 24 }, { ""mechanic_id"": ""A6"", ""job_id"": 3, ""labor_cost"": 24 }, { ""mechanic_id"": ""A6"", ""job_id"": 4, ""labor_cost"": 19 }, { ""mechanic_id"": ""A6"", ""job_id"": 5, ""labor_cost"": 9 }, { ""mechanic_id"": ""A6"", ""job_id"": 6, ""labor_cost"": 13 }, { ""mechanic_id"": ""A6"", ""job_id"": 7, ""labor_cost"": 20 }, { ""mechanic_id"": ""A6"", ""job_id"": 8, ""labor_cost"": 8 }, { ""mechanic_id"": ""A6"", ""job_id"": 9, ""labor_cost"": 15 }, { ""mechanic_id"": ""A6"", ""job_id"": 10, ""labor_cost"": 18 }, { ""mechanic_id"": ""A6"", ""job_id"": 11, ""labor_cost"": 14 }, { ""mechanic_id"": ""A6"", ""job_id"": 12, ""labor_cost"": 7 }, { ""mechanic_id"": ""A6"", ""job_id"": 13, ""labor_cost"": 13 }, { ""mechanic_id"": ""A6"", ""job_id"": 14, ""labor_cost"": 21 }, { ""mechanic_id"": ""A6"", ""job_id"": 15, ""labor_cost"": 20 }, { ""mechanic_id"": ""A6"", ""job_id"": 16, ""labor_cost"": 8 }, { ""mechanic_id"": ""A6"", ""job_id"": 17, ""labor_cost"": 8 } ] } ...and to make it easy for me to consume your answer, just drop the assignment into a tiny JSON snippet like this. { ""solution"": [ , , ..., ] } The ""solution"" array is just the ordered list of who does each job — first element = who takes the first repair job, second = who takes the second, and so on. The angle-bracket items above are placeholders showing the shape; when you fill it in, put the actual mechanic IDs from the instance. This JSON is only a sketch of the shape I expect, not the actual assignment itself. Please make sure to use the exact identifiers from the instance input — no renaming and no new labels. For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[43, 31, 13, 25, 34, 24, 25, 17, 29, 32, 28, 18, 28, 41, 28, 44, 27], [26, 40, 20, 18, 15, 11, 40, 48, 23, 17, 35, 29, 40, 46, 45, 43, 28], [26, 45, 13, 32, 12, 13, 48, 42, 47, 42, 49, 10, 25, 29, 26, 45, 19], [25, 38, 26, 17, 50, 27, 23, 11, 18, 13, 21, 12, 44, 21, 15, 17, 47], [20, 40, 44, 44, 35, 20, 10, 27, 35, 40, 13, 27, 34, 24, 46, 47, 13], [25, 31, 50, 45, 34, 39, 36, 43, 18, 18, 40, 22, 19, 29, 31, 24, 24]], 'assignment_costs': [[18, 5, 22, 7, 14, 24, 19, 19, 25, 9, 25, 9, 11, 23, 19, 18, 10], [18, 15, 13, 17, 24, 17, 22, 8, 22, 13, 20, 19, 6, 13, 21, 14, 8], [16, 23, 20, 17, 18, 10, 24, 15, 13, 6, 16, 17, 22, 8, 20, 18, 14], [22, 7, 16, 13, 25, 10, 18, 24, 20, 22, 22, 10, 5, 7, 7, 14, 19], [11, 8, 5, 14, 10, 17, 19, 15, 10, 22, 6, 5, 24, 8, 10, 18, 21], [8, 24, 24, 19, 9, 13, 20, 8, 15, 18, 14, 7, 13, 21, 20, 8, 8]], 'capacities': [362, 360, 366, 358, 361, 365], 'objective': 132.0}","[5, 0, 4, 0, 5, 2, 3, 1, 4, 2, 4, 4, 3, 3, 3, 5, 1]",132.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 17, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 362}, {'agent_id': 'A2', 'capacity': 360}, {'agent_id': 'A3', 'capacity': 366}, {'agent_id': 'A4', 'capacity': 358}, {'agent_id': 'A5', 'capacity': 361}, {'agent_id': 'A6', 'capacity': 365}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 24}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 18}, {'agent_id': 'A1', 'task_id': 2, 'cost': 5}, {'agent_id': 'A1', 'task_id': 3, 'cost': 22}, {'agent_id': 'A1', 'task_id': 4, 'cost': 7}, {'agent_id': 'A1', 'task_id': 5, 'cost': 14}, {'agent_id': 'A1', 'task_id': 6, 'cost': 24}, {'agent_id': 'A1', 'task_id': 7, 'cost': 19}, {'agent_id': 'A1', 'task_id': 8, 'cost': 19}, {'agent_id': 'A1', 'task_id': 9, 'cost': 25}, {'agent_id': 'A1', 'task_id': 10, 'cost': 9}, {'agent_id': 'A1', 'task_id': 11, 'cost': 25}, {'agent_id': 'A1', 'task_id': 12, 'cost': 9}, {'agent_id': 'A1', 'task_id': 13, 'cost': 11}, {'agent_id': 'A1', 'task_id': 14, 'cost': 23}, {'agent_id': 'A1', 'task_id': 15, 'cost': 19}, {'agent_id': 'A1', 'task_id': 16, 'cost': 18}, {'agent_id': 'A1', 'task_id': 17, 'cost': 10}, {'agent_id': 'A2', 'task_id': 1, 'cost': 18}, {'agent_id': 'A2', 'task_id': 2, 'cost': 15}, {'agent_id': 'A2', 'task_id': 3, 'cost': 13}, {'agent_id': 'A2', 'task_id': 4, 'cost': 17}, {'agent_id': 'A2', 'task_id': 5, 'cost': 24}, {'agent_id': 'A2', 'task_id': 6, 'cost': 17}, {'agent_id': 'A2', 'task_id': 7, 'cost': 22}, {'agent_id': 'A2', 'task_id': 8, 'cost': 8}, {'agent_id': 'A2', 'task_id': 9, 'cost': 22}, {'agent_id': 'A2', 'task_id': 10, 'cost': 13}, {'agent_id': 'A2', 'task_id': 11, 'cost': 20}, {'agent_id': 'A2', 'task_id': 12, 'cost': 19}, {'agent_id': 'A2', 'task_id': 13, 'cost': 6}, {'agent_id': 'A2', 'task_id': 14, 'cost': 13}, {'agent_id': 'A2', 'task_id': 15, 'cost': 21}, {'agent_id': 'A2', 'task_id': 16, 'cost': 14}, {'agent_id': 'A2', 'task_id': 17, 'cost': 8}, {'agent_id': 'A3', 'task_id': 1, 'cost': 16}, {'agent_id': 'A3', 'task_id': 2, 'cost': 23}, {'agent_id': 'A3', 'task_id': 3, 'cost': 20}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 18}, {'agent_id': 'A3', 'task_id': 6, 'cost': 10}, {'agent_id': 'A3', 'task_id': 7, 'cost': 24}, {'agent_id': 'A3', 'task_id': 8, 'cost': 15}, {'agent_id': 'A3', 'task_id': 9, 'cost': 13}, {'agent_id': 'A3', 'task_id': 10, 'cost': 6}, {'agent_id': 'A3', 'task_id': 11, 'cost': 16}, {'agent_id': 'A3', 'task_id': 12, 'cost': 17}, {'agent_id': 'A3', 'task_id': 13, 'cost': 22}, {'agent_id': 'A3', 'task_id': 14, 'cost': 8}, {'agent_id': 'A3', 'task_id': 15, 'cost': 20}, {'agent_id': 'A3', 'task_id': 16, 'cost': 18}, {'agent_id': 'A3', 'task_id': 17, 'cost': 14}, {'agent_id': 'A4', 'task_id': 1, 'cost': 22}, {'agent_id': 'A4', 'task_id': 2, 'cost': 7}, {'agent_id': 'A4', 'task_id': 3, 'cost': 16}, {'agent_id': 'A4', 'task_id': 4, 'cost': 13}, {'agent_id': 'A4', 'task_id': 5, 'cost': 25}, {'agent_id': 'A4', 'task_id': 6, 'cost': 10}, {'agent_id': 'A4', 'task_id': 7, 'cost': 18}, {'agent_id': 'A4', 'task_id': 8, 'cost': 24}, {'agent_id': 'A4', 'task_id': 9, 'cost': 20}, {'agent_id': 'A4', 'task_id': 10, 'cost': 22}, {'agent_id': 'A4', 'task_id': 11, 'cost': 22}, {'agent_id': 'A4', 'task_id': 12, 'cost': 10}, {'agent_id': 'A4', 'task_id': 13, 'cost': 5}, {'agent_id': 'A4', 'task_id': 14, 'cost': 7}, {'agent_id': 'A4', 'task_id': 15, 'cost': 7}, {'agent_id': 'A4', 'task_id': 16, 'cost': 14}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A5', 'task_id': 1, 'cost': 11}, {'agent_id': 'A5', 'task_id': 2, 'cost': 8}, {'agent_id': 'A5', 'task_id': 3, 'cost': 5}, {'agent_id': 'A5', 'task_id': 4, 'cost': 14}, {'agent_id': 'A5', 'task_id': 5, 'cost': 10}, {'agent_id': 'A5', 'task_id': 6, 'cost': 17}, {'agent_id': 'A5', 'task_id': 7, 'cost': 19}, {'agent_id': 'A5', 'task_id': 8, 'cost': 15}, {'agent_id': 'A5', 'task_id': 9, 'cost': 10}, {'agent_id': 'A5', 'task_id': 10, 'cost': 22}, {'agent_id': 'A5', 'task_id': 11, 'cost': 6}, {'agent_id': 'A5', 'task_id': 12, 'cost': 5}, {'agent_id': 'A5', 'task_id': 13, 'cost': 24}, {'agent_id': 'A5', 'task_id': 14, 'cost': 8}, {'agent_id': 'A5', 'task_id': 15, 'cost': 10}, {'agent_id': 'A5', 'task_id': 16, 'cost': 18}, {'agent_id': 'A5', 'task_id': 17, 'cost': 21}, {'agent_id': 'A6', 'task_id': 1, 'cost': 8}, {'agent_id': 'A6', 'task_id': 2, 'cost': 24}, {'agent_id': 'A6', 'task_id': 3, 'cost': 24}, {'agent_id': 'A6', 'task_id': 4, 'cost': 19}, {'agent_id': 'A6', 'task_id': 5, 'cost': 9}, {'agent_id': 'A6', 'task_id': 6, 'cost': 13}, {'agent_id': 'A6', 'task_id': 7, 'cost': 20}, {'agent_id': 'A6', 'task_id': 8, 'cost': 8}, {'agent_id': 'A6', 'task_id': 9, 'cost': 15}, {'agent_id': 'A6', 'task_id': 10, 'cost': 18}, {'agent_id': 'A6', 'task_id': 11, 'cost': 14}, {'agent_id': 'A6', 'task_id': 12, 'cost': 7}, {'agent_id': 'A6', 'task_id': 13, 'cost': 13}, {'agent_id': 'A6', 'task_id': 14, 'cost': 21}, {'agent_id': 'A6', 'task_id': 15, 'cost': 20}, {'agent_id': 'A6', 'task_id': 16, 'cost': 8}, {'agent_id': 'A6', 'task_id': 17, 'cost': 8}]}","['A6', 'A1', 'A5', 'A1', 'A6', 'A3', 'A4', 'A2', 'A5', 'A3', 'A5', 'A5', 'A4', 'A4', 'A4', 'A6', 'A2']",39,json,1 GAP,GAP,"Someone on the planning team is trying to fit all the acts into venue slots, making sure each act appears once and only once. Each act–slot pairing uses up some of the slot’s limited resources and has its own rental charge; a single slot can take on several acts but only up to its capacity. The aim is to choose a slot for every act so that when the rental charges for each choice are added up the overall bill is as low as it can be, and no slot’s total resource use goes past its limit. The concrete details are listed below. There are 7 venue slots and 23 performances, listed as A1, A2, A3, A4, A5, A6, A7 and 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22. | slot_id | slot_resource_capacity | |---|---| | A1 | 100 | | A2 | 100 | | A3 | 100 | | A4 | 100 | | A5 | 100 | | A6 | 100 | | A7 | 100 | | slot_id | performance_id | slot_resource_usage | |---|---|---| | A1 | 0 | 43 | | A1 | 1 | 48 | | A1 | 2 | 33 | | A1 | 3 | 26 | | A1 | 4 | 25 | | A1 | 5 | 36 | | A1 | 6 | 28 | | A1 | 7 | 16 | | A1 | 8 | 14 | | A1 | 9 | 50 | | A1 | 10 | 35 | | A1 | 11 | 44 | | A1 | 12 | 40 | | A1 | 13 | 47 | | A1 | 14 | 36 | | A1 | 15 | 37 | | A1 | 16 | 30 | | A1 | 17 | 49 | | A1 | 18 | 48 | | A1 | 19 | 22 | | A1 | 20 | 15 | | A1 | 21 | 29 | | A1 | 22 | 44 | | A2 | 0 | 28 | | A2 | 1 | 17 | | A2 | 2 | 28 | | A2 | 3 | 13 | | A2 | 4 | 33 | | A2 | 5 | 39 | | A2 | 6 | 25 | | A2 | 7 | 13 | | A2 | 8 | 29 | | A2 | 9 | 23 | | A2 | 10 | 44 | | A2 | 11 | 19 | | A2 | 12 | 16 | | A2 | 13 | 28 | | A2 | 14 | 48 | | A2 | 15 | 40 | | A2 | 16 | 34 | | A2 | 17 | 19 | | A2 | 18 | 47 | | A2 | 19 | 34 | | A2 | 20 | 14 | | A2 | 21 | 16 | | A2 | 22 | 37 | | A3 | 0 | 43 | | A3 | 1 | 12 | | A3 | 2 | 18 | | A3 | 3 | 19 | | A3 | 4 | 30 | | A3 | 5 | 47 | | A3 | 6 | 26 | | A3 | 7 | 36 | | A3 | 8 | 13 | | A3 | 9 | 32 | | A3 | 10 | 10 | | A3 | 11 | 21 | | A3 | 12 | 11 | | A3 | 13 | 24 | | A3 | 14 | 13 | | A3 | 15 | 11 | | A3 | 16 | 36 | | A3 | 17 | 16 | | A3 | 18 | 13 | | A3 | 19 | 39 | | A3 | 20 | 33 | | A3 | 21 | 40 | | A3 | 22 | 14 | | A4 | 0 | 31 | | A4 | 1 | 44 | | A4 | 2 | 40 | | A4 | 3 | 28 | | A4 | 4 | 38 | | A4 | 5 | 23 | | A4 | 6 | 33 | | A4 | 7 | 27 | | A4 | 8 | 18 | | A4 | 9 | 25 | | A4 | 10 | 41 | | A4 | 11 | 18 | | A4 | 12 | 13 | | A4 | 13 | 20 | | A4 | 14 | 15 | | A4 | 15 | 46 | | A4 | 16 | 19 | | A4 | 17 | 23 | | A4 | 18 | 32 | | A4 | 19 | 48 | | A4 | 20 | 36 | | A4 | 21 | 11 | | A4 | 22 | 22 | | A5 | 0 | 46 | | A5 | 1 | 35 | | A5 | 2 | 19 | | A5 | 3 | 42 | | A5 | 4 | 23 | | A5 | 5 | 35 | | A5 | 6 | 46 | | A5 | 7 | 25 | | A5 | 8 | 47 | | A5 | 9 | 34 | | A5 | 10 | 21 | | A5 | 11 | 38 | | A5 | 12 | 46 | | A5 | 13 | 28 | | A5 | 14 | 17 | | A5 | 15 | 47 | | A5 | 16 | 19 | | A5 | 17 | 37 | | A5 | 18 | 29 | | A5 | 19 | 49 | | A5 | 20 | 38 | | A5 | 21 | 21 | | A5 | 22 | 33 | | A6 | 0 | 27 | | A6 | 1 | 50 | | A6 | 2 | 27 | | A6 | 3 | 37 | | A6 | 4 | 47 | | A6 | 5 | 15 | | A6 | 6 | 19 | | A6 | 7 | 48 | | A6 | 8 | 24 | | A6 | 9 | 15 | | A6 | 10 | 21 | | A6 | 11 | 34 | | A6 | 12 | 16 | | A6 | 13 | 20 | | A6 | 14 | 47 | | A6 | 15 | 48 | | A6 | 16 | 40 | | A6 | 17 | 10 | | A6 | 18 | 41 | | A6 | 19 | 45 | | A6 | 20 | 34 | | A6 | 21 | 13 | | A6 | 22 | 21 | | A7 | 0 | 48 | | A7 | 1 | 48 | | A7 | 2 | 33 | | A7 | 3 | 42 | | A7 | 4 | 21 | | A7 | 5 | 50 | | A7 | 6 | 37 | | A7 | 7 | 10 | | A7 | 8 | 32 | | A7 | 9 | 41 | | A7 | 10 | 29 | | A7 | 11 | 50 | | A7 | 12 | 41 | | A7 | 13 | 41 | | A7 | 14 | 32 | | A7 | 15 | 44 | | A7 | 16 | 26 | | A7 | 17 | 29 | | A7 | 18 | 47 | | A7 | 19 | 34 | | A7 | 20 | 12 | | A7 | 21 | 27 | | A7 | 22 | 30 | | slot_id | performance_id | rental_cost | |---|---|---| | A1 | 0 | 14 | | A1 | 1 | 24 | | A1 | 2 | 9 | | A1 | 3 | 5 | | A1 | 4 | 24 | | A1 | 5 | 10 | | A1 | 6 | 21 | | A1 | 7 | 13 | | A1 | 8 | 7 | | A1 | 9 | 8 | | A1 | 10 | 16 | | A1 | 11 | 5 | | A1 | 12 | 23 | | A1 | 13 | 13 | | A1 | 14 | 6 | | A1 | 15 | 6 | | A1 | 16 | 23 | | A1 | 17 | 6 | | A1 | 18 | 5 | | A1 | 19 | 21 | | A1 | 20 | 9 | | A1 | 21 | 15 | | A1 | 22 | 8 | | A2 | 0 | 22 | | A2 | 1 | 18 | | A2 | 2 | 5 | | A2 | 3 | 17 | | A2 | 4 | 10 | | A2 | 5 | 16 | | A2 | 6 | 19 | | A2 | 7 | 24 | | A2 | 8 | 8 | | A2 | 9 | 5 | | A2 | 10 | 18 | | A2 | 11 | 16 | | A2 | 12 | 12 | | A2 | 13 | 6 | | A2 | 14 | 5 | | A2 | 15 | 15 | | A2 | 16 | 8 | | A2 | 17 | 13 | | A2 | 18 | 15 | | A2 | 19 | 7 | | A2 | 20 | 6 | | A2 | 21 | 19 | | A2 | 22 | 20 | | A3 | 0 | 21 | | A3 | 1 | 19 | | A3 | 2 | 9 | | A3 | 3 | 22 | | A3 | 4 | 21 | | A3 | 5 | 11 | | A3 | 6 | 23 | | A3 | 7 | 17 | | A3 | 8 | 9 | | A3 | 9 | 21 | | A3 | 10 | 24 | | A3 | 11 | 24 | | A3 | 12 | 23 | | A3 | 13 | 7 | | A3 | 14 | 5 | | A3 | 15 | 8 | | A3 | 16 | 16 | | A3 | 17 | 9 | | A3 | 18 | 9 | | A3 | 19 | 7 | | A3 | 20 | 12 | | A3 | 21 | 23 | | A3 | 22 | 6 | | A4 | 0 | 15 | | A4 | 1 | 13 | | A4 | 2 | 19 | | A4 | 3 | 5 | | A4 | 4 | 17 | | A4 | 5 | 14 | | A4 | 6 | 13 | | A4 | 7 | 5 | | A4 | 8 | 5 | | A4 | 9 | 23 | | A4 | 10 | 16 | | A4 | 11 | 7 | | A4 | 12 | 14 | | A4 | 13 | 14 | | A4 | 14 | 12 | | A4 | 15 | 14 | | A4 | 16 | 9 | | A4 | 17 | 15 | | A4 | 18 | 8 | | A4 | 19 | 23 | | A4 | 20 | 9 | | A4 | 21 | 10 | | A4 | 22 | 23 | | A5 | 0 | 24 | | A5 | 1 | 8 | | A5 | 2 | 24 | | A5 | 3 | 7 | | A5 | 4 | 19 | | A5 | 5 | 16 | | A5 | 6 | 15 | | A5 | 7 | 23 | | A5 | 8 | 23 | | A5 | 9 | 14 | | A5 | 10 | 6 | | A5 | 11 | 14 | | A5 | 12 | 20 | | A5 | 13 | 7 | | A5 | 14 | 7 | | A5 | 15 | 21 | | A5 | 16 | 19 | | A5 | 17 | 24 | | A5 | 18 | 16 | | A5 | 19 | 21 | | A5 | 20 | 14 | | A5 | 21 | 23 | | A5 | 22 | 9 | | A6 | 0 | 21 | | A6 | 1 | 9 | | A6 | 2 | 9 | | A6 | 3 | 23 | | A6 | 4 | 13 | | A6 | 5 | 23 | | A6 | 6 | 20 | | A6 | 7 | 20 | | A6 | 8 | 13 | | A6 | 9 | 19 | | A6 | 10 | 5 | | A6 | 11 | 10 | | A6 | 12 | 5 | | A6 | 13 | 25 | | A6 | 14 | 17 | | A6 | 15 | 7 | | A6 | 16 | 11 | | A6 | 17 | 20 | | A6 | 18 | 14 | | A6 | 19 | 11 | | A6 | 20 | 7 | | A6 | 21 | 18 | | A6 | 22 | 7 | | A7 | 0 | 13 | | A7 | 1 | 16 | | A7 | 2 | 11 | | A7 | 3 | 11 | | A7 | 4 | 11 | | A7 | 5 | 8 | | A7 | 6 | 24 | | A7 | 7 | 23 | | A7 | 8 | 9 | | A7 | 9 | 5 | | A7 | 10 | 17 | | A7 | 11 | 20 | | A7 | 12 | 18 | | A7 | 13 | 24 | | A7 | 14 | 5 | | A7 | 15 | 10 | | A7 | 16 | 23 | | A7 | 17 | 7 | | A7 | 18 | 19 | | A7 | 19 | 22 | | A7 | 20 | 6 | | A7 | 21 | 20 | | A7 | 22 | 23 | Assign each of the 23 performances once among the 7 slots so no slot's total resource use exceeds its capacity and the summed rental charges are minimized. Also, when you send back the assignment, please use this simple JSON layout so it's easy to parse and check: { ""solution"": [ , , ..., ] } This just lists, in order, which slot each act is assigned to — the first entry is the slot for the first act, the next is the slot for the second act, and so on. Think of it like filling out a little form: one slot identifier per act. This is just a sketch of the shape I need, not the real answer. Please make sure to use the exact identifiers from the instance input — don't rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[43, 48, 33, 26, 25, 36, 28, 16, 14, 50, 35, 44, 40, 47, 36, 37, 30, 49, 48, 22, 15, 29, 44], [28, 17, 28, 13, 33, 39, 25, 13, 29, 23, 44, 19, 16, 28, 48, 40, 34, 19, 47, 34, 14, 16, 37], [43, 12, 18, 19, 30, 47, 26, 36, 13, 32, 10, 21, 11, 24, 13, 11, 36, 16, 13, 39, 33, 40, 14], [31, 44, 40, 28, 38, 23, 33, 27, 18, 25, 41, 18, 13, 20, 15, 46, 19, 23, 32, 48, 36, 11, 22], [46, 35, 19, 42, 23, 35, 46, 25, 47, 34, 21, 38, 46, 28, 17, 47, 19, 37, 29, 49, 38, 21, 33], [27, 50, 27, 37, 47, 15, 19, 48, 24, 15, 21, 34, 16, 20, 47, 48, 40, 10, 41, 45, 34, 13, 21], [48, 48, 33, 42, 21, 50, 37, 10, 32, 41, 29, 50, 41, 41, 32, 44, 26, 29, 47, 34, 12, 27, 30]], 'assignment_costs': [[14, 24, 9, 5, 24, 10, 21, 13, 7, 8, 16, 5, 23, 13, 6, 6, 23, 6, 5, 21, 9, 15, 8], [22, 18, 5, 17, 10, 16, 19, 24, 8, 5, 18, 16, 12, 6, 5, 15, 8, 13, 15, 7, 6, 19, 20], [21, 19, 9, 22, 21, 11, 23, 17, 9, 21, 24, 24, 23, 7, 5, 8, 16, 9, 9, 7, 12, 23, 6], [15, 13, 19, 5, 17, 14, 13, 5, 5, 23, 16, 7, 14, 14, 12, 14, 9, 15, 8, 23, 9, 10, 23], [24, 8, 24, 7, 19, 16, 15, 23, 23, 14, 6, 14, 20, 7, 7, 21, 19, 24, 16, 21, 14, 23, 9], [21, 9, 9, 23, 13, 23, 20, 20, 13, 19, 5, 10, 5, 25, 17, 7, 11, 20, 14, 11, 7, 18, 7], [13, 16, 11, 11, 11, 8, 24, 23, 9, 5, 17, 20, 18, 24, 5, 10, 23, 7, 19, 22, 6, 20, 23]], 'capacities': [100, 100, 100, 100, 100, 100, 100], 'objective': 169.0}","[6, 4, 1, 0, 1, 6, 3, 3, 0, 1, 5, 0, 5, 4, 2, 5, 3, 2, 2, 2, 1, 3, 2]",169.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 100}, {'agent_id': 'A2', 'capacity': 100}, {'agent_id': 'A3', 'capacity': 100}, {'agent_id': 'A4', 'capacity': 100}, {'agent_id': 'A5', 'capacity': 100}, {'agent_id': 'A6', 'capacity': 100}, {'agent_id': 'A7', 'capacity': 100}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 37}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 30}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 14}, {'agent_id': 'A1', 'task_id': 1, 'cost': 24}, {'agent_id': 'A1', 'task_id': 2, 'cost': 9}, {'agent_id': 'A1', 'task_id': 3, 'cost': 5}, {'agent_id': 'A1', 'task_id': 4, 'cost': 24}, {'agent_id': 'A1', 'task_id': 5, 'cost': 10}, {'agent_id': 'A1', 'task_id': 6, 'cost': 21}, {'agent_id': 'A1', 'task_id': 7, 'cost': 13}, {'agent_id': 'A1', 'task_id': 8, 'cost': 7}, {'agent_id': 'A1', 'task_id': 9, 'cost': 8}, {'agent_id': 'A1', 'task_id': 10, 'cost': 16}, {'agent_id': 'A1', 'task_id': 11, 'cost': 5}, {'agent_id': 'A1', 'task_id': 12, 'cost': 23}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 6}, {'agent_id': 'A1', 'task_id': 15, 'cost': 6}, {'agent_id': 'A1', 'task_id': 16, 'cost': 23}, {'agent_id': 'A1', 'task_id': 17, 'cost': 6}, {'agent_id': 'A1', 'task_id': 18, 'cost': 5}, {'agent_id': 'A1', 'task_id': 19, 'cost': 21}, {'agent_id': 'A1', 'task_id': 20, 'cost': 9}, {'agent_id': 'A1', 'task_id': 21, 'cost': 15}, {'agent_id': 'A1', 'task_id': 22, 'cost': 8}, {'agent_id': 'A2', 'task_id': 0, 'cost': 22}, {'agent_id': 'A2', 'task_id': 1, 'cost': 18}, {'agent_id': 'A2', 'task_id': 2, 'cost': 5}, {'agent_id': 'A2', 'task_id': 3, 'cost': 17}, {'agent_id': 'A2', 'task_id': 4, 'cost': 10}, {'agent_id': 'A2', 'task_id': 5, 'cost': 16}, {'agent_id': 'A2', 'task_id': 6, 'cost': 19}, {'agent_id': 'A2', 'task_id': 7, 'cost': 24}, {'agent_id': 'A2', 'task_id': 8, 'cost': 8}, {'agent_id': 'A2', 'task_id': 9, 'cost': 5}, {'agent_id': 'A2', 'task_id': 10, 'cost': 18}, {'agent_id': 'A2', 'task_id': 11, 'cost': 16}, {'agent_id': 'A2', 'task_id': 12, 'cost': 12}, {'agent_id': 'A2', 'task_id': 13, 'cost': 6}, {'agent_id': 'A2', 'task_id': 14, 'cost': 5}, {'agent_id': 'A2', 'task_id': 15, 'cost': 15}, {'agent_id': 'A2', 'task_id': 16, 'cost': 8}, {'agent_id': 'A2', 'task_id': 17, 'cost': 13}, {'agent_id': 'A2', 'task_id': 18, 'cost': 15}, {'agent_id': 'A2', 'task_id': 19, 'cost': 7}, {'agent_id': 'A2', 'task_id': 20, 'cost': 6}, {'agent_id': 'A2', 'task_id': 21, 'cost': 19}, {'agent_id': 'A2', 'task_id': 22, 'cost': 20}, {'agent_id': 'A3', 'task_id': 0, 'cost': 21}, {'agent_id': 'A3', 'task_id': 1, 'cost': 19}, {'agent_id': 'A3', 'task_id': 2, 'cost': 9}, {'agent_id': 'A3', 'task_id': 3, 'cost': 22}, {'agent_id': 'A3', 'task_id': 4, 'cost': 21}, {'agent_id': 'A3', 'task_id': 5, 'cost': 11}, {'agent_id': 'A3', 'task_id': 6, 'cost': 23}, {'agent_id': 'A3', 'task_id': 7, 'cost': 17}, {'agent_id': 'A3', 'task_id': 8, 'cost': 9}, {'agent_id': 'A3', 'task_id': 9, 'cost': 21}, {'agent_id': 'A3', 'task_id': 10, 'cost': 24}, {'agent_id': 'A3', 'task_id': 11, 'cost': 24}, {'agent_id': 'A3', 'task_id': 12, 'cost': 23}, {'agent_id': 'A3', 'task_id': 13, 'cost': 7}, {'agent_id': 'A3', 'task_id': 14, 'cost': 5}, {'agent_id': 'A3', 'task_id': 15, 'cost': 8}, {'agent_id': 'A3', 'task_id': 16, 'cost': 16}, {'agent_id': 'A3', 'task_id': 17, 'cost': 9}, {'agent_id': 'A3', 'task_id': 18, 'cost': 9}, {'agent_id': 'A3', 'task_id': 19, 'cost': 7}, {'agent_id': 'A3', 'task_id': 20, 'cost': 12}, {'agent_id': 'A3', 'task_id': 21, 'cost': 23}, {'agent_id': 'A3', 'task_id': 22, 'cost': 6}, {'agent_id': 'A4', 'task_id': 0, 'cost': 15}, {'agent_id': 'A4', 'task_id': 1, 'cost': 13}, {'agent_id': 'A4', 'task_id': 2, 'cost': 19}, {'agent_id': 'A4', 'task_id': 3, 'cost': 5}, {'agent_id': 'A4', 'task_id': 4, 'cost': 17}, {'agent_id': 'A4', 'task_id': 5, 'cost': 14}, {'agent_id': 'A4', 'task_id': 6, 'cost': 13}, {'agent_id': 'A4', 'task_id': 7, 'cost': 5}, {'agent_id': 'A4', 'task_id': 8, 'cost': 5}, {'agent_id': 'A4', 'task_id': 9, 'cost': 23}, {'agent_id': 'A4', 'task_id': 10, 'cost': 16}, {'agent_id': 'A4', 'task_id': 11, 'cost': 7}, {'agent_id': 'A4', 'task_id': 12, 'cost': 14}, {'agent_id': 'A4', 'task_id': 13, 'cost': 14}, {'agent_id': 'A4', 'task_id': 14, 'cost': 12}, {'agent_id': 'A4', 'task_id': 15, 'cost': 14}, {'agent_id': 'A4', 'task_id': 16, 'cost': 9}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A4', 'task_id': 18, 'cost': 8}, {'agent_id': 'A4', 'task_id': 19, 'cost': 23}, {'agent_id': 'A4', 'task_id': 20, 'cost': 9}, {'agent_id': 'A4', 'task_id': 21, 'cost': 10}, {'agent_id': 'A4', 'task_id': 22, 'cost': 23}, {'agent_id': 'A5', 'task_id': 0, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 8}, {'agent_id': 'A5', 'task_id': 2, 'cost': 24}, {'agent_id': 'A5', 'task_id': 3, 'cost': 7}, {'agent_id': 'A5', 'task_id': 4, 'cost': 19}, {'agent_id': 'A5', 'task_id': 5, 'cost': 16}, {'agent_id': 'A5', 'task_id': 6, 'cost': 15}, {'agent_id': 'A5', 'task_id': 7, 'cost': 23}, {'agent_id': 'A5', 'task_id': 8, 'cost': 23}, {'agent_id': 'A5', 'task_id': 9, 'cost': 14}, {'agent_id': 'A5', 'task_id': 10, 'cost': 6}, {'agent_id': 'A5', 'task_id': 11, 'cost': 14}, {'agent_id': 'A5', 'task_id': 12, 'cost': 20}, {'agent_id': 'A5', 'task_id': 13, 'cost': 7}, {'agent_id': 'A5', 'task_id': 14, 'cost': 7}, {'agent_id': 'A5', 'task_id': 15, 'cost': 21}, {'agent_id': 'A5', 'task_id': 16, 'cost': 19}, {'agent_id': 'A5', 'task_id': 17, 'cost': 24}, {'agent_id': 'A5', 'task_id': 18, 'cost': 16}, {'agent_id': 'A5', 'task_id': 19, 'cost': 21}, {'agent_id': 'A5', 'task_id': 20, 'cost': 14}, {'agent_id': 'A5', 'task_id': 21, 'cost': 23}, {'agent_id': 'A5', 'task_id': 22, 'cost': 9}, {'agent_id': 'A6', 'task_id': 0, 'cost': 21}, {'agent_id': 'A6', 'task_id': 1, 'cost': 9}, {'agent_id': 'A6', 'task_id': 2, 'cost': 9}, {'agent_id': 'A6', 'task_id': 3, 'cost': 23}, {'agent_id': 'A6', 'task_id': 4, 'cost': 13}, {'agent_id': 'A6', 'task_id': 5, 'cost': 23}, {'agent_id': 'A6', 'task_id': 6, 'cost': 20}, {'agent_id': 'A6', 'task_id': 7, 'cost': 20}, {'agent_id': 'A6', 'task_id': 8, 'cost': 13}, {'agent_id': 'A6', 'task_id': 9, 'cost': 19}, {'agent_id': 'A6', 'task_id': 10, 'cost': 5}, {'agent_id': 'A6', 'task_id': 11, 'cost': 10}, {'agent_id': 'A6', 'task_id': 12, 'cost': 5}, {'agent_id': 'A6', 'task_id': 13, 'cost': 25}, {'agent_id': 'A6', 'task_id': 14, 'cost': 17}, {'agent_id': 'A6', 'task_id': 15, 'cost': 7}, {'agent_id': 'A6', 'task_id': 16, 'cost': 11}, {'agent_id': 'A6', 'task_id': 17, 'cost': 20}, {'agent_id': 'A6', 'task_id': 18, 'cost': 14}, {'agent_id': 'A6', 'task_id': 19, 'cost': 11}, {'agent_id': 'A6', 'task_id': 20, 'cost': 7}, {'agent_id': 'A6', 'task_id': 21, 'cost': 18}, {'agent_id': 'A6', 'task_id': 22, 'cost': 7}, {'agent_id': 'A7', 'task_id': 0, 'cost': 13}, {'agent_id': 'A7', 'task_id': 1, 'cost': 16}, {'agent_id': 'A7', 'task_id': 2, 'cost': 11}, {'agent_id': 'A7', 'task_id': 3, 'cost': 11}, {'agent_id': 'A7', 'task_id': 4, 'cost': 11}, {'agent_id': 'A7', 'task_id': 5, 'cost': 8}, {'agent_id': 'A7', 'task_id': 6, 'cost': 24}, {'agent_id': 'A7', 'task_id': 7, 'cost': 23}, {'agent_id': 'A7', 'task_id': 8, 'cost': 9}, {'agent_id': 'A7', 'task_id': 9, 'cost': 5}, {'agent_id': 'A7', 'task_id': 10, 'cost': 17}, {'agent_id': 'A7', 'task_id': 11, 'cost': 20}, {'agent_id': 'A7', 'task_id': 12, 'cost': 18}, {'agent_id': 'A7', 'task_id': 13, 'cost': 24}, {'agent_id': 'A7', 'task_id': 14, 'cost': 5}, {'agent_id': 'A7', 'task_id': 15, 'cost': 10}, {'agent_id': 'A7', 'task_id': 16, 'cost': 23}, {'agent_id': 'A7', 'task_id': 17, 'cost': 7}, {'agent_id': 'A7', 'task_id': 18, 'cost': 19}, {'agent_id': 'A7', 'task_id': 19, 'cost': 22}, {'agent_id': 'A7', 'task_id': 20, 'cost': 6}, {'agent_id': 'A7', 'task_id': 21, 'cost': 20}, {'agent_id': 'A7', 'task_id': 22, 'cost': 23}]}","['A7', 'A5', 'A2', 'A1', 'A2', 'A7', 'A4', 'A4', 'A1', 'A2', 'A6', 'A1', 'A6', 'A5', 'A3', 'A6', 'A4', 'A3', 'A3', 'A3', 'A2', 'A4', 'A3']",40,markdown_table,0 GAP,GAP,"On a busy day the fulfillment team has to match every product listing to a single warehouse so all listings are stocked but none are stocked twice. For each product-warehouse pairing there's a known storage footprint and a known cost to handle and store that product there; the overall goal is just to lower the total bill — add up every chosen product’s handling and storage fees to get that total — while making sure no warehouse is asked to hold more than its available space. The detailed numbers for capacity, per-item space use, and per-item cost are listed below. # num_warehouses=9 # num_listings=25 # warehouses=A1, A2, A3, A4, A5, A6, A7, A8, A9 # listings=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 warehouse_id,storage_capacity A1,362 A2,357 A3,366 A4,356 A5,363 A6,364 A7,361 A8,357 A9,365 warehouse_id,listing_id,storage_footprint A1,1,50 A1,2,10 A1,3,14 A1,4,13 A1,5,40 A1,6,15 A1,7,48 A1,8,26 A1,9,29 A1,10,35 A1,11,22 A1,12,38 A1,13,42 A1,14,13 A1,15,40 A1,16,35 A1,17,33 A1,18,36 A1,19,35 A1,20,42 A1,21,15 A1,22,28 A1,23,34 A1,24,13 A1,25,39 A2,1,42 A2,2,24 A2,3,46 A2,4,40 A2,5,39 A2,6,32 A2,7,40 A2,8,34 A2,9,45 A2,10,41 A2,11,43 A2,12,19 A2,13,17 A2,14,15 A2,15,18 A2,16,32 A2,17,25 A2,18,39 A2,19,23 A2,20,47 A2,21,20 A2,22,12 A2,23,12 A2,24,46 A2,25,22 A3,1,26 A3,2,14 A3,3,19 A3,4,23 A3,5,48 A3,6,34 A3,7,34 A3,8,24 A3,9,17 A3,10,22 A3,11,13 A3,12,41 A3,13,29 A3,14,23 A3,15,50 A3,16,13 A3,17,29 A3,18,38 A3,19,28 A3,20,14 A3,21,29 A3,22,39 A3,23,20 A3,24,11 A3,25,38 A4,1,44 A4,2,48 A4,3,30 A4,4,36 A4,5,17 A4,6,31 A4,7,17 A4,8,37 A4,9,30 A4,10,34 A4,11,10 A4,12,29 A4,13,48 A4,14,24 A4,15,24 A4,16,43 A4,17,20 A4,18,35 A4,19,14 A4,20,34 A4,21,20 A4,22,12 A4,23,17 A4,24,18 A4,25,12 A5,1,25 A5,2,48 A5,3,34 A5,4,18 A5,5,36 A5,6,24 A5,7,50 A5,8,21 A5,9,22 A5,10,13 A5,11,38 A5,12,22 A5,13,20 A5,14,46 A5,15,27 A5,16,34 A5,17,35 A5,18,18 A5,19,50 A5,20,26 A5,21,42 A5,22,30 A5,23,35 A5,24,26 A5,25,11 A6,1,28 A6,2,46 A6,3,44 A6,4,16 A6,5,36 A6,6,22 A6,7,35 A6,8,37 A6,9,20 A6,10,13 A6,11,41 A6,12,23 A6,13,10 A6,14,35 A6,15,11 A6,16,18 A6,17,18 A6,18,39 A6,19,22 A6,20,42 A6,21,23 A6,22,29 A6,23,14 A6,24,39 A6,25,38 A7,1,34 A7,2,23 A7,3,29 A7,4,22 A7,5,22 A7,6,30 A7,7,13 A7,8,11 A7,9,46 A7,10,16 A7,11,27 A7,12,49 A7,13,50 A7,14,46 A7,15,29 A7,16,22 A7,17,33 A7,18,14 A7,19,19 A7,20,47 A7,21,35 A7,22,27 A7,23,26 A7,24,19 A7,25,37 A8,1,22 A8,2,23 A8,3,41 A8,4,44 A8,5,49 A8,6,48 A8,7,10 A8,8,42 A8,9,23 A8,10,32 A8,11,11 A8,12,35 A8,13,10 A8,14,43 A8,15,23 A8,16,34 A8,17,15 A8,18,36 A8,19,38 A8,20,31 A8,21,27 A8,22,43 A8,23,12 A8,24,15 A8,25,22 A9,1,33 A9,2,37 A9,3,49 A9,4,31 A9,5,50 A9,6,32 A9,7,45 A9,8,45 A9,9,46 A9,10,49 A9,11,35 A9,12,30 A9,13,29 A9,14,46 A9,15,45 A9,16,39 A9,17,39 A9,18,48 A9,19,43 A9,20,34 A9,21,35 A9,22,29 A9,23,18 A9,24,13 A9,25,27 warehouse_id,listing_id,handling_and_storage_cost A1,1,16 A1,2,12 A1,3,11 A1,4,9 A1,5,22 A1,6,21 A1,7,15 A1,8,20 A1,9,10 A1,10,20 A1,11,23 A1,12,6 A1,13,13 A1,14,8 A1,15,5 A1,16,25 A1,17,23 A1,18,17 A1,19,7 A1,20,21 A1,21,10 A1,22,13 A1,23,11 A1,24,6 A1,25,19 A2,1,16 A2,2,22 A2,3,25 A2,4,18 A2,5,8 A2,6,17 A2,7,25 A2,8,12 A2,9,21 A2,10,24 A2,11,17 A2,12,16 A2,13,5 A2,14,12 A2,15,8 A2,16,16 A2,17,19 A2,18,16 A2,19,10 A2,20,22 A2,21,7 A2,22,7 A2,23,20 A2,24,8 A2,25,24 A3,1,14 A3,2,16 A3,3,23 A3,4,18 A3,5,23 A3,6,21 A3,7,9 A3,8,19 A3,9,22 A3,10,15 A3,11,14 A3,12,13 A3,13,8 A3,14,10 A3,15,7 A3,16,11 A3,17,18 A3,18,11 A3,19,15 A3,20,5 A3,21,24 A3,22,11 A3,23,19 A3,24,20 A3,25,25 A4,1,9 A4,2,10 A4,3,8 A4,4,25 A4,5,20 A4,6,7 A4,7,10 A4,8,14 A4,9,10 A4,10,7 A4,11,22 A4,12,8 A4,13,11 A4,14,23 A4,15,11 A4,16,15 A4,17,19 A4,18,11 A4,19,17 A4,20,19 A4,21,9 A4,22,17 A4,23,9 A4,24,20 A4,25,23 A5,1,5 A5,2,7 A5,3,25 A5,4,20 A5,5,17 A5,6,22 A5,7,17 A5,8,9 A5,9,5 A5,10,11 A5,11,14 A5,12,22 A5,13,7 A5,14,19 A5,15,21 A5,16,12 A5,17,5 A5,18,19 A5,19,7 A5,20,10 A5,21,6 A5,22,14 A5,23,17 A5,24,24 A5,25,24 A6,1,18 A6,2,17 A6,3,15 A6,4,19 A6,5,14 A6,6,14 A6,7,8 A6,8,8 A6,9,8 A6,10,19 A6,11,16 A6,12,8 A6,13,13 A6,14,20 A6,15,21 A6,16,25 A6,17,13 A6,18,9 A6,19,17 A6,20,12 A6,21,19 A6,22,22 A6,23,9 A6,24,16 A6,25,21 A7,1,8 A7,2,5 A7,3,12 A7,4,7 A7,5,5 A7,6,22 A7,7,14 A7,8,6 A7,9,13 A7,10,8 A7,11,10 A7,12,6 A7,13,13 A7,14,12 A7,15,15 A7,16,20 A7,17,5 A7,18,23 A7,19,13 A7,20,23 A7,21,6 A7,22,7 A7,23,22 A7,24,13 A7,25,13 A8,1,17 A8,2,12 A8,3,22 A8,4,23 A8,5,5 A8,6,14 A8,7,21 A8,8,23 A8,9,22 A8,10,8 A8,11,6 A8,12,25 A8,13,16 A8,14,13 A8,15,22 A8,16,14 A8,17,10 A8,18,5 A8,19,19 A8,20,16 A8,21,6 A8,22,5 A8,23,10 A8,24,18 A8,25,19 A9,1,25 A9,2,24 A9,3,5 A9,4,23 A9,5,5 A9,6,15 A9,7,20 A9,8,13 A9,9,6 A9,10,13 A9,11,20 A9,12,18 A9,13,17 A9,14,25 A9,15,24 A9,16,23 A9,17,19 A9,18,14 A9,19,23 A9,20,23 A9,21,8 A9,22,17 A9,23,10 A9,24,20 A9,25,12 If you want to hand the answer back in a tidy, machine-friendly way, you can just use a small JSON sketch like this: { ""solution"": [ , , ..., ] } Think of ""solution"" as a simple list: the first entry is the warehouse chosen for the first product listing, the second entry is the warehouse for the second product listing, and so on down the line. The angle-bracket placeholders are where you would put the actual warehouse identifiers from the instance. This is only a sketch of the shape I expect, not the final assignment itself. Please make sure to use the exact identifiers from the input — do not rename them or invent new ones. Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.","{'resource_consumption': [[50, 10, 14, 13, 40, 15, 48, 26, 29, 35, 22, 38, 42, 13, 40, 35, 33, 36, 35, 42, 15, 28, 34, 13, 39], [42, 24, 46, 40, 39, 32, 40, 34, 45, 41, 43, 19, 17, 15, 18, 32, 25, 39, 23, 47, 20, 12, 12, 46, 22], [26, 14, 19, 23, 48, 34, 34, 24, 17, 22, 13, 41, 29, 23, 50, 13, 29, 38, 28, 14, 29, 39, 20, 11, 38], [44, 48, 30, 36, 17, 31, 17, 37, 30, 34, 10, 29, 48, 24, 24, 43, 20, 35, 14, 34, 20, 12, 17, 18, 12], [25, 48, 34, 18, 36, 24, 50, 21, 22, 13, 38, 22, 20, 46, 27, 34, 35, 18, 50, 26, 42, 30, 35, 26, 11], [28, 46, 44, 16, 36, 22, 35, 37, 20, 13, 41, 23, 10, 35, 11, 18, 18, 39, 22, 42, 23, 29, 14, 39, 38], [34, 23, 29, 22, 22, 30, 13, 11, 46, 16, 27, 49, 50, 46, 29, 22, 33, 14, 19, 47, 35, 27, 26, 19, 37], [22, 23, 41, 44, 49, 48, 10, 42, 23, 32, 11, 35, 10, 43, 23, 34, 15, 36, 38, 31, 27, 43, 12, 15, 22], [33, 37, 49, 31, 50, 32, 45, 45, 46, 49, 35, 30, 29, 46, 45, 39, 39, 48, 43, 34, 35, 29, 18, 13, 27]], 'assignment_costs': [[16, 12, 11, 9, 22, 21, 15, 20, 10, 20, 23, 6, 13, 8, 5, 25, 23, 17, 7, 21, 10, 13, 11, 6, 19], [16, 22, 25, 18, 8, 17, 25, 12, 21, 24, 17, 16, 5, 12, 8, 16, 19, 16, 10, 22, 7, 7, 20, 8, 24], [14, 16, 23, 18, 23, 21, 9, 19, 22, 15, 14, 13, 8, 10, 7, 11, 18, 11, 15, 5, 24, 11, 19, 20, 25], [9, 10, 8, 25, 20, 7, 10, 14, 10, 7, 22, 8, 11, 23, 11, 15, 19, 11, 17, 19, 9, 17, 9, 20, 23], [5, 7, 25, 20, 17, 22, 17, 9, 5, 11, 14, 22, 7, 19, 21, 12, 5, 19, 7, 10, 6, 14, 17, 24, 24], [18, 17, 15, 19, 14, 14, 8, 8, 8, 19, 16, 8, 13, 20, 21, 25, 13, 9, 17, 12, 19, 22, 9, 16, 21], [8, 5, 12, 7, 5, 22, 14, 6, 13, 8, 10, 6, 13, 12, 15, 20, 5, 23, 13, 23, 6, 7, 22, 13, 13], [17, 12, 22, 23, 5, 14, 21, 23, 22, 8, 6, 25, 16, 13, 22, 14, 10, 5, 19, 16, 6, 5, 10, 18, 19], [25, 24, 5, 23, 5, 15, 20, 13, 6, 13, 20, 18, 17, 25, 24, 23, 19, 14, 23, 23, 8, 17, 10, 20, 12]], 'capacities': [362, 357, 366, 356, 363, 364, 361, 357, 365], 'objective': 161.0}","[4, 6, 8, 6, 6, 3, 5, 6, 4, 3, 7, 0, 1, 0, 0, 2, 4, 7, 0, 2, 7, 7, 5, 0, 8]",161.0,"{'problem_type': 'GAP', 'num_agents': 9, 'num_tasks': 25, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9'], 'tasks': [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], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 362}, {'agent_id': 'A2', 'capacity': 357}, {'agent_id': 'A3', 'capacity': 366}, {'agent_id': 'A4', 'capacity': 356}, {'agent_id': 'A5', 'capacity': 363}, {'agent_id': 'A6', 'capacity': 364}, {'agent_id': 'A7', 'capacity': 361}, {'agent_id': 'A8', 'capacity': 357}, {'agent_id': 'A9', 'capacity': 365}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 23, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 24, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 25, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 23, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 24, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 25, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 50}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 23, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 24, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 25, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 35}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 23, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 24, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 25, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 23, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 24, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 25, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 23, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 24, 'consumption': 39}, {'agent_id': 'A6', 'task_id': 25, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 23, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 24, 'consumption': 19}, {'agent_id': 'A7', 'task_id': 25, 'consumption': 37}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 22}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 44}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 35}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 23}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 36}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 38}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 31}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 27}, {'agent_id': 'A8', 'task_id': 22, 'consumption': 43}, {'agent_id': 'A8', 'task_id': 23, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 24, 'consumption': 15}, {'agent_id': 'A8', 'task_id': 25, 'consumption': 22}, {'agent_id': 'A9', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A9', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A9', 'task_id': 3, 'consumption': 49}, {'agent_id': 'A9', 'task_id': 4, 'consumption': 31}, {'agent_id': 'A9', 'task_id': 5, 'consumption': 50}, {'agent_id': 'A9', 'task_id': 6, 'consumption': 32}, {'agent_id': 'A9', 'task_id': 7, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 8, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A9', 'task_id': 10, 'consumption': 49}, {'agent_id': 'A9', 'task_id': 11, 'consumption': 35}, {'agent_id': 'A9', 'task_id': 12, 'consumption': 30}, {'agent_id': 'A9', 'task_id': 13, 'consumption': 29}, {'agent_id': 'A9', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A9', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A9', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A9', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A9', 'task_id': 18, 'consumption': 48}, {'agent_id': 'A9', 'task_id': 19, 'consumption': 43}, {'agent_id': 'A9', 'task_id': 20, 'consumption': 34}, {'agent_id': 'A9', 'task_id': 21, 'consumption': 35}, {'agent_id': 'A9', 'task_id': 22, 'consumption': 29}, {'agent_id': 'A9', 'task_id': 23, 'consumption': 18}, {'agent_id': 'A9', 'task_id': 24, 'consumption': 13}, {'agent_id': 'A9', 'task_id': 25, 'consumption': 27}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 16}, {'agent_id': 'A1', 'task_id': 2, 'cost': 12}, {'agent_id': 'A1', 'task_id': 3, 'cost': 11}, {'agent_id': 'A1', 'task_id': 4, 'cost': 9}, {'agent_id': 'A1', 'task_id': 5, 'cost': 22}, {'agent_id': 'A1', 'task_id': 6, 'cost': 21}, {'agent_id': 'A1', 'task_id': 7, 'cost': 15}, {'agent_id': 'A1', 'task_id': 8, 'cost': 20}, {'agent_id': 'A1', 'task_id': 9, 'cost': 10}, {'agent_id': 'A1', 'task_id': 10, 'cost': 20}, {'agent_id': 'A1', 'task_id': 11, 'cost': 23}, {'agent_id': 'A1', 'task_id': 12, 'cost': 6}, {'agent_id': 'A1', 'task_id': 13, 'cost': 13}, {'agent_id': 'A1', 'task_id': 14, 'cost': 8}, {'agent_id': 'A1', 'task_id': 15, 'cost': 5}, {'agent_id': 'A1', 'task_id': 16, 'cost': 25}, {'agent_id': 'A1', 'task_id': 17, 'cost': 23}, {'agent_id': 'A1', 'task_id': 18, 'cost': 17}, {'agent_id': 'A1', 'task_id': 19, 'cost': 7}, {'agent_id': 'A1', 'task_id': 20, 'cost': 21}, {'agent_id': 'A1', 'task_id': 21, 'cost': 10}, {'agent_id': 'A1', 'task_id': 22, 'cost': 13}, {'agent_id': 'A1', 'task_id': 23, 'cost': 11}, {'agent_id': 'A1', 'task_id': 24, 'cost': 6}, {'agent_id': 'A1', 'task_id': 25, 'cost': 19}, {'agent_id': 'A2', 'task_id': 1, 'cost': 16}, {'agent_id': 'A2', 'task_id': 2, 'cost': 22}, {'agent_id': 'A2', 'task_id': 3, 'cost': 25}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 8}, {'agent_id': 'A2', 'task_id': 6, 'cost': 17}, {'agent_id': 'A2', 'task_id': 7, 'cost': 25}, {'agent_id': 'A2', 'task_id': 8, 'cost': 12}, {'agent_id': 'A2', 'task_id': 9, 'cost': 21}, {'agent_id': 'A2', 'task_id': 10, 'cost': 24}, {'agent_id': 'A2', 'task_id': 11, 'cost': 17}, {'agent_id': 'A2', 'task_id': 12, 'cost': 16}, {'agent_id': 'A2', 'task_id': 13, 'cost': 5}, {'agent_id': 'A2', 'task_id': 14, 'cost': 12}, {'agent_id': 'A2', 'task_id': 15, 'cost': 8}, {'agent_id': 'A2', 'task_id': 16, 'cost': 16}, {'agent_id': 'A2', 'task_id': 17, 'cost': 19}, {'agent_id': 'A2', 'task_id': 18, 'cost': 16}, {'agent_id': 'A2', 'task_id': 19, 'cost': 10}, {'agent_id': 'A2', 'task_id': 20, 'cost': 22}, {'agent_id': 'A2', 'task_id': 21, 'cost': 7}, {'agent_id': 'A2', 'task_id': 22, 'cost': 7}, {'agent_id': 'A2', 'task_id': 23, 'cost': 20}, {'agent_id': 'A2', 'task_id': 24, 'cost': 8}, {'agent_id': 'A2', 'task_id': 25, 'cost': 24}, {'agent_id': 'A3', 'task_id': 1, 'cost': 14}, {'agent_id': 'A3', 'task_id': 2, 'cost': 16}, {'agent_id': 'A3', 'task_id': 3, 'cost': 23}, {'agent_id': 'A3', 'task_id': 4, 'cost': 18}, {'agent_id': 'A3', 'task_id': 5, 'cost': 23}, {'agent_id': 'A3', 'task_id': 6, 'cost': 21}, {'agent_id': 'A3', 'task_id': 7, 'cost': 9}, {'agent_id': 'A3', 'task_id': 8, 'cost': 19}, {'agent_id': 'A3', 'task_id': 9, 'cost': 22}, {'agent_id': 'A3', 'task_id': 10, 'cost': 15}, {'agent_id': 'A3', 'task_id': 11, 'cost': 14}, {'agent_id': 'A3', 'task_id': 12, 'cost': 13}, {'agent_id': 'A3', 'task_id': 13, 'cost': 8}, {'agent_id': 'A3', 'task_id': 14, 'cost': 10}, {'agent_id': 'A3', 'task_id': 15, 'cost': 7}, {'agent_id': 'A3', 'task_id': 16, 'cost': 11}, {'agent_id': 'A3', 'task_id': 17, 'cost': 18}, {'agent_id': 'A3', 'task_id': 18, 'cost': 11}, {'agent_id': 'A3', 'task_id': 19, 'cost': 15}, {'agent_id': 'A3', 'task_id': 20, 'cost': 5}, {'agent_id': 'A3', 'task_id': 21, 'cost': 24}, {'agent_id': 'A3', 'task_id': 22, 'cost': 11}, {'agent_id': 'A3', 'task_id': 23, 'cost': 19}, {'agent_id': 'A3', 'task_id': 24, 'cost': 20}, {'agent_id': 'A3', 'task_id': 25, 'cost': 25}, {'agent_id': 'A4', 'task_id': 1, 'cost': 9}, {'agent_id': 'A4', 'task_id': 2, 'cost': 10}, {'agent_id': 'A4', 'task_id': 3, 'cost': 8}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 20}, {'agent_id': 'A4', 'task_id': 6, 'cost': 7}, {'agent_id': 'A4', 'task_id': 7, 'cost': 10}, {'agent_id': 'A4', 'task_id': 8, 'cost': 14}, {'agent_id': 'A4', 'task_id': 9, 'cost': 10}, {'agent_id': 'A4', 'task_id': 10, 'cost': 7}, {'agent_id': 'A4', 'task_id': 11, 'cost': 22}, {'agent_id': 'A4', 'task_id': 12, 'cost': 8}, {'agent_id': 'A4', 'task_id': 13, 'cost': 11}, {'agent_id': 'A4', 'task_id': 14, 'cost': 23}, {'agent_id': 'A4', 'task_id': 15, 'cost': 11}, {'agent_id': 'A4', 'task_id': 16, 'cost': 15}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A4', 'task_id': 18, 'cost': 11}, {'agent_id': 'A4', 'task_id': 19, 'cost': 17}, {'agent_id': 'A4', 'task_id': 20, 'cost': 19}, {'agent_id': 'A4', 'task_id': 21, 'cost': 9}, {'agent_id': 'A4', 'task_id': 22, 'cost': 17}, {'agent_id': 'A4', 'task_id': 23, 'cost': 9}, {'agent_id': 'A4', 'task_id': 24, 'cost': 20}, {'agent_id': 'A4', 'task_id': 25, 'cost': 23}, {'agent_id': 'A5', 'task_id': 1, 'cost': 5}, {'agent_id': 'A5', 'task_id': 2, 'cost': 7}, {'agent_id': 'A5', 'task_id': 3, 'cost': 25}, {'agent_id': 'A5', 'task_id': 4, 'cost': 20}, {'agent_id': 'A5', 'task_id': 5, 'cost': 17}, {'agent_id': 'A5', 'task_id': 6, 'cost': 22}, {'agent_id': 'A5', 'task_id': 7, 'cost': 17}, {'agent_id': 'A5', 'task_id': 8, 'cost': 9}, {'agent_id': 'A5', 'task_id': 9, 'cost': 5}, {'agent_id': 'A5', 'task_id': 10, 'cost': 11}, {'agent_id': 'A5', 'task_id': 11, 'cost': 14}, {'agent_id': 'A5', 'task_id': 12, 'cost': 22}, {'agent_id': 'A5', 'task_id': 13, 'cost': 7}, {'agent_id': 'A5', 'task_id': 14, 'cost': 19}, {'agent_id': 'A5', 'task_id': 15, 'cost': 21}, {'agent_id': 'A5', 'task_id': 16, 'cost': 12}, {'agent_id': 'A5', 'task_id': 17, 'cost': 5}, {'agent_id': 'A5', 'task_id': 18, 'cost': 19}, {'agent_id': 'A5', 'task_id': 19, 'cost': 7}, {'agent_id': 'A5', 'task_id': 20, 'cost': 10}, {'agent_id': 'A5', 'task_id': 21, 'cost': 6}, {'agent_id': 'A5', 'task_id': 22, 'cost': 14}, {'agent_id': 'A5', 'task_id': 23, 'cost': 17}, {'agent_id': 'A5', 'task_id': 24, 'cost': 24}, {'agent_id': 'A5', 'task_id': 25, 'cost': 24}, {'agent_id': 'A6', 'task_id': 1, 'cost': 18}, {'agent_id': 'A6', 'task_id': 2, 'cost': 17}, {'agent_id': 'A6', 'task_id': 3, 'cost': 15}, {'agent_id': 'A6', 'task_id': 4, 'cost': 19}, {'agent_id': 'A6', 'task_id': 5, 'cost': 14}, {'agent_id': 'A6', 'task_id': 6, 'cost': 14}, {'agent_id': 'A6', 'task_id': 7, 'cost': 8}, {'agent_id': 'A6', 'task_id': 8, 'cost': 8}, {'agent_id': 'A6', 'task_id': 9, 'cost': 8}, {'agent_id': 'A6', 'task_id': 10, 'cost': 19}, {'agent_id': 'A6', 'task_id': 11, 'cost': 16}, {'agent_id': 'A6', 'task_id': 12, 'cost': 8}, {'agent_id': 'A6', 'task_id': 13, 'cost': 13}, {'agent_id': 'A6', 'task_id': 14, 'cost': 20}, {'agent_id': 'A6', 'task_id': 15, 'cost': 21}, {'agent_id': 'A6', 'task_id': 16, 'cost': 25}, {'agent_id': 'A6', 'task_id': 17, 'cost': 13}, {'agent_id': 'A6', 'task_id': 18, 'cost': 9}, {'agent_id': 'A6', 'task_id': 19, 'cost': 17}, {'agent_id': 'A6', 'task_id': 20, 'cost': 12}, {'agent_id': 'A6', 'task_id': 21, 'cost': 19}, {'agent_id': 'A6', 'task_id': 22, 'cost': 22}, {'agent_id': 'A6', 'task_id': 23, 'cost': 9}, {'agent_id': 'A6', 'task_id': 24, 'cost': 16}, {'agent_id': 'A6', 'task_id': 25, 'cost': 21}, {'agent_id': 'A7', 'task_id': 1, 'cost': 8}, {'agent_id': 'A7', 'task_id': 2, 'cost': 5}, {'agent_id': 'A7', 'task_id': 3, 'cost': 12}, {'agent_id': 'A7', 'task_id': 4, 'cost': 7}, {'agent_id': 'A7', 'task_id': 5, 'cost': 5}, {'agent_id': 'A7', 'task_id': 6, 'cost': 22}, {'agent_id': 'A7', 'task_id': 7, 'cost': 14}, {'agent_id': 'A7', 'task_id': 8, 'cost': 6}, {'agent_id': 'A7', 'task_id': 9, 'cost': 13}, {'agent_id': 'A7', 'task_id': 10, 'cost': 8}, {'agent_id': 'A7', 'task_id': 11, 'cost': 10}, {'agent_id': 'A7', 'task_id': 12, 'cost': 6}, {'agent_id': 'A7', 'task_id': 13, 'cost': 13}, {'agent_id': 'A7', 'task_id': 14, 'cost': 12}, {'agent_id': 'A7', 'task_id': 15, 'cost': 15}, {'agent_id': 'A7', 'task_id': 16, 'cost': 20}, {'agent_id': 'A7', 'task_id': 17, 'cost': 5}, {'agent_id': 'A7', 'task_id': 18, 'cost': 23}, {'agent_id': 'A7', 'task_id': 19, 'cost': 13}, {'agent_id': 'A7', 'task_id': 20, 'cost': 23}, {'agent_id': 'A7', 'task_id': 21, 'cost': 6}, {'agent_id': 'A7', 'task_id': 22, 'cost': 7}, {'agent_id': 'A7', 'task_id': 23, 'cost': 22}, {'agent_id': 'A7', 'task_id': 24, 'cost': 13}, {'agent_id': 'A7', 'task_id': 25, 'cost': 13}, {'agent_id': 'A8', 'task_id': 1, 'cost': 17}, {'agent_id': 'A8', 'task_id': 2, 'cost': 12}, {'agent_id': 'A8', 'task_id': 3, 'cost': 22}, {'agent_id': 'A8', 'task_id': 4, 'cost': 23}, {'agent_id': 'A8', 'task_id': 5, 'cost': 5}, {'agent_id': 'A8', 'task_id': 6, 'cost': 14}, {'agent_id': 'A8', 'task_id': 7, 'cost': 21}, {'agent_id': 'A8', 'task_id': 8, 'cost': 23}, {'agent_id': 'A8', 'task_id': 9, 'cost': 22}, {'agent_id': 'A8', 'task_id': 10, 'cost': 8}, {'agent_id': 'A8', 'task_id': 11, 'cost': 6}, {'agent_id': 'A8', 'task_id': 12, 'cost': 25}, {'agent_id': 'A8', 'task_id': 13, 'cost': 16}, {'agent_id': 'A8', 'task_id': 14, 'cost': 13}, {'agent_id': 'A8', 'task_id': 15, 'cost': 22}, {'agent_id': 'A8', 'task_id': 16, 'cost': 14}, {'agent_id': 'A8', 'task_id': 17, 'cost': 10}, {'agent_id': 'A8', 'task_id': 18, 'cost': 5}, {'agent_id': 'A8', 'task_id': 19, 'cost': 19}, {'agent_id': 'A8', 'task_id': 20, 'cost': 16}, {'agent_id': 'A8', 'task_id': 21, 'cost': 6}, {'agent_id': 'A8', 'task_id': 22, 'cost': 5}, {'agent_id': 'A8', 'task_id': 23, 'cost': 10}, {'agent_id': 'A8', 'task_id': 24, 'cost': 18}, {'agent_id': 'A8', 'task_id': 25, 'cost': 19}, {'agent_id': 'A9', 'task_id': 1, 'cost': 25}, {'agent_id': 'A9', 'task_id': 2, 'cost': 24}, {'agent_id': 'A9', 'task_id': 3, 'cost': 5}, {'agent_id': 'A9', 'task_id': 4, 'cost': 23}, {'agent_id': 'A9', 'task_id': 5, 'cost': 5}, {'agent_id': 'A9', 'task_id': 6, 'cost': 15}, {'agent_id': 'A9', 'task_id': 7, 'cost': 20}, {'agent_id': 'A9', 'task_id': 8, 'cost': 13}, {'agent_id': 'A9', 'task_id': 9, 'cost': 6}, {'agent_id': 'A9', 'task_id': 10, 'cost': 13}, {'agent_id': 'A9', 'task_id': 11, 'cost': 20}, {'agent_id': 'A9', 'task_id': 12, 'cost': 18}, {'agent_id': 'A9', 'task_id': 13, 'cost': 17}, {'agent_id': 'A9', 'task_id': 14, 'cost': 25}, {'agent_id': 'A9', 'task_id': 15, 'cost': 24}, {'agent_id': 'A9', 'task_id': 16, 'cost': 23}, {'agent_id': 'A9', 'task_id': 17, 'cost': 19}, {'agent_id': 'A9', 'task_id': 18, 'cost': 14}, {'agent_id': 'A9', 'task_id': 19, 'cost': 23}, {'agent_id': 'A9', 'task_id': 20, 'cost': 23}, {'agent_id': 'A9', 'task_id': 21, 'cost': 8}, {'agent_id': 'A9', 'task_id': 22, 'cost': 17}, {'agent_id': 'A9', 'task_id': 23, 'cost': 10}, {'agent_id': 'A9', 'task_id': 24, 'cost': 20}, {'agent_id': 'A9', 'task_id': 25, 'cost': 12}]}","['A5', 'A7', 'A9', 'A7', 'A7', 'A4', 'A6', 'A7', 'A5', 'A4', 'A8', 'A1', 'A2', 'A1', 'A1', 'A3', 'A5', 'A8', 'A1', 'A3', 'A8', 'A8', 'A6', 'A1', 'A9']",41,csv,1 GAP,GAP,"I helped organize a cluster of home repairs around town: there’s a list of jobs and a handful of local contractors. The choice to make is which contractor gets which job — every repair must go to exactly one contractor, no job gets skipped or handed to two people. Each contractor can take on several jobs, but the hours they’ll spend on their assigned jobs can’t add up to more than the time they’ve got available. The aim is to keep the total bill as small as possible — that’s just the sum of the prices for each job under the contractor chosen for it. The exact hours each contractor would need for each job and their prices are shown below. I listed 6 contractors (A1, A2, A3, A4, A5, A6) and 18 jobs (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17). I noted contractor A1 has 120 hours available. I noted contractor A2 has 121 hours available. I noted contractor A3 has 112 hours available. I noted contractor A4 has 118 hours available. I noted contractor A5 has 119 hours available. I noted contractor A6 has 119 hours available. I recorded that contractor A1 would take job 0 in 41 hours for a price of 18. I recorded that contractor A1 would take job 1 in 33 hours for a price of 6. I recorded that contractor A1 would take job 2 in 34 hours for a price of 24. I recorded that contractor A1 would take job 3 in 20 hours for a price of 22. I recorded that contractor A1 would take job 4 in 49 hours for a price of 15. I recorded that contractor A1 would take job 5 in 29 hours for a price of 23. I recorded that contractor A1 would take job 6 in 13 hours for a price of 18. I recorded that contractor A1 would take job 7 in 12 hours for a price of 15. I recorded that contractor A1 would take job 8 in 28 hours for a price of 8. I recorded that contractor A1 would take job 9 in 21 hours for a price of 15. I recorded that contractor A1 would take job 10 in 27 hours for a price of 9. I recorded that contractor A1 would take job 11 in 19 hours for a price of 13. I recorded that contractor A1 would take job 12 in 15 hours for a price of 17. I recorded that contractor A1 would take job 13 in 50 hours for a price of 18. I recorded that contractor A1 would take job 14 in 28 hours for a price of 12. I recorded that contractor A1 would take job 15 in 26 hours for a price of 17. I recorded that contractor A1 would take job 16 in 39 hours for a price of 17. I recorded that contractor A1 would take job 17 in 18 hours for a price of 10. I recorded that contractor A2 would take job 0 in 11 hours for a price of 8. I recorded that contractor A2 would take job 1 in 35 hours for a price of 24. I recorded that contractor A2 would take job 2 in 49 hours for a price of 25. I recorded that contractor A2 would take job 3 in 20 hours for a price of 25. I recorded that contractor A2 would take job 4 in 13 hours for a price of 25. I recorded that contractor A2 would take job 5 in 39 hours for a price of 24. I recorded that contractor A2 would take job 6 in 10 hours for a price of 10. I recorded that contractor A2 would take job 7 in 29 hours for a price of 7. I recorded that contractor A2 would take job 8 in 45 hours for a price of 5. I recorded that contractor A2 would take job 9 in 38 hours for a price of 8. I recorded that contractor A2 would take job 10 in 39 hours for a price of 13. I recorded that contractor A2 would take job 11 in 22 hours for a price of 20. I recorded that contractor A2 would take job 12 in 22 hours for a price of 22. I recorded that contractor A2 would take job 13 in 50 hours for a price of 7. I recorded that contractor A2 would take job 14 in 14 hours for a price of 11. I recorded that contractor A2 would take job 15 in 47 hours for a price of 21. I recorded that contractor A2 would take job 16 in 18 hours for a price of 10. I recorded that contractor A2 would take job 17 in 34 hours for a price of 17. I recorded that contractor A3 would take job 0 in 42 hours for a price of 6. I recorded that contractor A3 would take job 1 in 32 hours for a price of 20. I recorded that contractor A3 would take job 2 in 14 hours for a price of 11. I recorded that contractor A3 would take job 3 in 12 hours for a price of 7. I recorded that contractor A3 would take job 4 in 43 hours for a price of 11. I recorded that contractor A3 would take job 5 in 41 hours for a price of 13. I recorded that contractor A3 would take job 6 in 16 hours for a price of 9. I recorded that contractor A3 would take job 7 in 17 hours for a price of 8. I recorded that contractor A3 would take job 8 in 11 hours for a price of 8. I recorded that contractor A3 would take job 9 in 20 hours for a price of 9. I recorded that contractor A3 would take job 10 in 23 hours for a price of 9. I recorded that contractor A3 would take job 11 in 40 hours for a price of 8. I recorded that contractor A3 would take job 12 in 30 hours for a price of 17. I recorded that contractor A3 would take job 13 in 46 hours for a price of 20. I recorded that contractor A3 would take job 14 in 15 hours for a price of 23. I recorded that contractor A3 would take job 15 in 35 hours for a price of 11. I recorded that contractor A3 would take job 16 in 19 hours for a price of 25. I recorded that contractor A3 would take job 17 in 22 hours for a price of 7. I recorded that contractor A4 would take job 0 in 10 hours for a price of 22. I recorded that contractor A4 would take job 1 in 28 hours for a price of 21. I recorded that contractor A4 would take job 2 in 10 hours for a price of 8. I recorded that contractor A4 would take job 3 in 33 hours for a price of 14. I recorded that contractor A4 would take job 4 in 32 hours for a price of 8. I recorded that contractor A4 would take job 5 in 14 hours for a price of 9. I recorded that contractor A4 would take job 6 in 28 hours for a price of 23. I recorded that contractor A4 would take job 7 in 28 hours for a price of 22. I recorded that contractor A4 would take job 8 in 49 hours for a price of 8. I recorded that contractor A4 would take job 9 in 32 hours for a price of 20. I recorded that contractor A4 would take job 10 in 50 hours for a price of 23. I recorded that contractor A4 would take job 11 in 11 hours for a price of 17. I recorded that contractor A4 would take job 12 in 50 hours for a price of 18. I recorded that contractor A4 would take job 13 in 45 hours for a price of 22. I recorded that contractor A4 would take job 14 in 50 hours for a price of 6. I recorded that contractor A4 would take job 15 in 18 hours for a price of 14. I recorded that contractor A4 would take job 16 in 14 hours for a price of 12. I recorded that contractor A4 would take job 17 in 33 hours for a price of 19. I recorded that contractor A5 would take job 0 in 44 hours for a price of 8. I recorded that contractor A5 would take job 1 in 29 hours for a price of 24. I recorded that contractor A5 would take job 2 in 10 hours for a price of 5. I recorded that contractor A5 would take job 3 in 35 hours for a price of 16. I recorded that contractor A5 would take job 4 in 33 hours for a price of 15. I recorded that contractor A5 would take job 5 in 23 hours for a price of 21. I recorded that contractor A5 would take job 6 in 12 hours for a price of 20. I recorded that contractor A5 would take job 7 in 42 hours for a price of 23. I recorded that contractor A5 would take job 8 in 40 hours for a price of 18. I recorded that contractor A5 would take job 9 in 12 hours for a price of 23. I recorded that contractor A5 would take job 10 in 47 hours for a price of 23. I recorded that contractor A5 would take job 11 in 41 hours for a price of 11. I recorded that contractor A5 would take job 12 in 15 hours for a price of 10. I recorded that contractor A5 would take job 13 in 49 hours for a price of 9. I recorded that contractor A5 would take job 14 in 36 hours for a price of 15. I recorded that contractor A5 would take job 15 in 40 hours for a price of 25. I recorded that contractor A5 would take job 16 in 32 hours for a price of 14. I recorded that contractor A5 would take job 17 in 31 hours for a price of 20. I recorded that contractor A6 would take job 0 in 26 hours for a price of 18. I recorded that contractor A6 would take job 1 in 29 hours for a price of 15. I recorded that contractor A6 would take job 2 in 12 hours for a price of 17. I recorded that contractor A6 would take job 3 in 29 hours for a price of 22. I recorded that contractor A6 would take job 4 in 17 hours for a price of 8. I recorded that contractor A6 would take job 5 in 21 hours for a price of 6. I recorded that contractor A6 would take job 6 in 40 hours for a price of 19. I recorded that contractor A6 would take job 7 in 33 hours for a price of 18. I recorded that contractor A6 would take job 8 in 16 hours for a price of 21. I recorded that contractor A6 would take job 9 in 25 hours for a price of 18. I recorded that contractor A6 would take job 10 in 31 hours for a price of 15. I recorded that contractor A6 would take job 11 in 28 hours for a price of 9. I recorded that contractor A6 would take job 12 in 40 hours for a price of 24. I recorded that contractor A6 would take job 13 in 16 hours for a price of 16. I recorded that contractor A6 would take job 14 in 45 hours for a price of 7. I recorded that contractor A6 would take job 15 in 38 hours for a price of 19. I recorded that contractor A6 would take job 16 in 32 hours for a price of 13. I recorded that contractor A6 would take job 17 in 20 hours for a price of 16. I want every job assigned to one contractor without exceeding available hours, and the total bill kept as low as possible. I'll send the final assignment back in a tiny JSON sketch so it's easy to read and paste — something like this: { ""solution"": [ , , ..., ] } This just shows the shape I need: ""solution"" is a list where each entry names which contractor gets the corresponding job (first entry → first job, second → second job, and so on). It's just a sketch of the shape, not the actual assignment. Please use the exact identifiers from the instance input when you fill this in — don't rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[41, 33, 34, 20, 49, 29, 13, 12, 28, 21, 27, 19, 15, 50, 28, 26, 39, 18], [11, 35, 49, 20, 13, 39, 10, 29, 45, 38, 39, 22, 22, 50, 14, 47, 18, 34], [42, 32, 14, 12, 43, 41, 16, 17, 11, 20, 23, 40, 30, 46, 15, 35, 19, 22], [10, 28, 10, 33, 32, 14, 28, 28, 49, 32, 50, 11, 50, 45, 50, 18, 14, 33], [44, 29, 10, 35, 33, 23, 12, 42, 40, 12, 47, 41, 15, 49, 36, 40, 32, 31], [26, 29, 12, 29, 17, 21, 40, 33, 16, 25, 31, 28, 40, 16, 45, 38, 32, 20]], 'assignment_costs': [[18, 6, 24, 22, 15, 23, 18, 15, 8, 15, 9, 13, 17, 18, 12, 17, 17, 10], [8, 24, 25, 25, 25, 24, 10, 7, 5, 8, 13, 20, 22, 7, 11, 21, 10, 17], [6, 20, 11, 7, 11, 13, 9, 8, 8, 9, 9, 8, 17, 20, 23, 11, 25, 7], [22, 21, 8, 14, 8, 9, 23, 22, 8, 20, 23, 17, 18, 22, 6, 14, 12, 19], [8, 24, 5, 16, 15, 21, 20, 23, 18, 23, 23, 11, 10, 9, 15, 25, 14, 20], [18, 15, 17, 22, 8, 6, 19, 18, 21, 18, 15, 9, 24, 16, 7, 19, 13, 16]], 'capacities': [120, 121, 112, 118, 119, 119], 'objective': 141.0}","[1, 0, 4, 2, 3, 5, 2, 2, 1, 1, 0, 5, 4, 4, 3, 2, 1, 2]",141.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 18, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 120}, {'agent_id': 'A2', 'capacity': 121}, {'agent_id': 'A3', 'capacity': 112}, {'agent_id': 'A4', 'capacity': 118}, {'agent_id': 'A5', 'capacity': 119}, {'agent_id': 'A6', 'capacity': 119}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 27}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 22}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 26}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 20}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 18}, {'agent_id': 'A1', 'task_id': 1, 'cost': 6}, {'agent_id': 'A1', 'task_id': 2, 'cost': 24}, {'agent_id': 'A1', 'task_id': 3, 'cost': 22}, {'agent_id': 'A1', 'task_id': 4, 'cost': 15}, {'agent_id': 'A1', 'task_id': 5, 'cost': 23}, {'agent_id': 'A1', 'task_id': 6, 'cost': 18}, {'agent_id': 'A1', 'task_id': 7, 'cost': 15}, {'agent_id': 'A1', 'task_id': 8, 'cost': 8}, {'agent_id': 'A1', 'task_id': 9, 'cost': 15}, {'agent_id': 'A1', 'task_id': 10, 'cost': 9}, {'agent_id': 'A1', 'task_id': 11, 'cost': 13}, {'agent_id': 'A1', 'task_id': 12, 'cost': 17}, {'agent_id': 'A1', 'task_id': 13, 'cost': 18}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 17}, {'agent_id': 'A1', 'task_id': 16, 'cost': 17}, {'agent_id': 'A1', 'task_id': 17, 'cost': 10}, {'agent_id': 'A2', 'task_id': 0, 'cost': 8}, {'agent_id': 'A2', 'task_id': 1, 'cost': 24}, {'agent_id': 'A2', 'task_id': 2, 'cost': 25}, {'agent_id': 'A2', 'task_id': 3, 'cost': 25}, {'agent_id': 'A2', 'task_id': 4, 'cost': 25}, {'agent_id': 'A2', 'task_id': 5, 'cost': 24}, {'agent_id': 'A2', 'task_id': 6, 'cost': 10}, {'agent_id': 'A2', 'task_id': 7, 'cost': 7}, {'agent_id': 'A2', 'task_id': 8, 'cost': 5}, {'agent_id': 'A2', 'task_id': 9, 'cost': 8}, {'agent_id': 'A2', 'task_id': 10, 'cost': 13}, {'agent_id': 'A2', 'task_id': 11, 'cost': 20}, {'agent_id': 'A2', 'task_id': 12, 'cost': 22}, {'agent_id': 'A2', 'task_id': 13, 'cost': 7}, {'agent_id': 'A2', 'task_id': 14, 'cost': 11}, {'agent_id': 'A2', 'task_id': 15, 'cost': 21}, {'agent_id': 'A2', 'task_id': 16, 'cost': 10}, {'agent_id': 'A2', 'task_id': 17, 'cost': 17}, {'agent_id': 'A3', 'task_id': 0, 'cost': 6}, {'agent_id': 'A3', 'task_id': 1, 'cost': 20}, {'agent_id': 'A3', 'task_id': 2, 'cost': 11}, {'agent_id': 'A3', 'task_id': 3, 'cost': 7}, {'agent_id': 'A3', 'task_id': 4, 'cost': 11}, {'agent_id': 'A3', 'task_id': 5, 'cost': 13}, {'agent_id': 'A3', 'task_id': 6, 'cost': 9}, {'agent_id': 'A3', 'task_id': 7, 'cost': 8}, {'agent_id': 'A3', 'task_id': 8, 'cost': 8}, {'agent_id': 'A3', 'task_id': 9, 'cost': 9}, {'agent_id': 'A3', 'task_id': 10, 'cost': 9}, {'agent_id': 'A3', 'task_id': 11, 'cost': 8}, {'agent_id': 'A3', 'task_id': 12, 'cost': 17}, {'agent_id': 'A3', 'task_id': 13, 'cost': 20}, {'agent_id': 'A3', 'task_id': 14, 'cost': 23}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 25}, {'agent_id': 'A3', 'task_id': 17, 'cost': 7}, {'agent_id': 'A4', 'task_id': 0, 'cost': 22}, {'agent_id': 'A4', 'task_id': 1, 'cost': 21}, {'agent_id': 'A4', 'task_id': 2, 'cost': 8}, {'agent_id': 'A4', 'task_id': 3, 'cost': 14}, {'agent_id': 'A4', 'task_id': 4, 'cost': 8}, {'agent_id': 'A4', 'task_id': 5, 'cost': 9}, {'agent_id': 'A4', 'task_id': 6, 'cost': 23}, {'agent_id': 'A4', 'task_id': 7, 'cost': 22}, {'agent_id': 'A4', 'task_id': 8, 'cost': 8}, {'agent_id': 'A4', 'task_id': 9, 'cost': 20}, {'agent_id': 'A4', 'task_id': 10, 'cost': 23}, {'agent_id': 'A4', 'task_id': 11, 'cost': 17}, {'agent_id': 'A4', 'task_id': 12, 'cost': 18}, {'agent_id': 'A4', 'task_id': 13, 'cost': 22}, {'agent_id': 'A4', 'task_id': 14, 'cost': 6}, {'agent_id': 'A4', 'task_id': 15, 'cost': 14}, {'agent_id': 'A4', 'task_id': 16, 'cost': 12}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A5', 'task_id': 0, 'cost': 8}, {'agent_id': 'A5', 'task_id': 1, 'cost': 24}, {'agent_id': 'A5', 'task_id': 2, 'cost': 5}, {'agent_id': 'A5', 'task_id': 3, 'cost': 16}, {'agent_id': 'A5', 'task_id': 4, 'cost': 15}, {'agent_id': 'A5', 'task_id': 5, 'cost': 21}, {'agent_id': 'A5', 'task_id': 6, 'cost': 20}, {'agent_id': 'A5', 'task_id': 7, 'cost': 23}, {'agent_id': 'A5', 'task_id': 8, 'cost': 18}, {'agent_id': 'A5', 'task_id': 9, 'cost': 23}, {'agent_id': 'A5', 'task_id': 10, 'cost': 23}, {'agent_id': 'A5', 'task_id': 11, 'cost': 11}, {'agent_id': 'A5', 'task_id': 12, 'cost': 10}, {'agent_id': 'A5', 'task_id': 13, 'cost': 9}, {'agent_id': 'A5', 'task_id': 14, 'cost': 15}, {'agent_id': 'A5', 'task_id': 15, 'cost': 25}, {'agent_id': 'A5', 'task_id': 16, 'cost': 14}, {'agent_id': 'A5', 'task_id': 17, 'cost': 20}, {'agent_id': 'A6', 'task_id': 0, 'cost': 18}, {'agent_id': 'A6', 'task_id': 1, 'cost': 15}, {'agent_id': 'A6', 'task_id': 2, 'cost': 17}, {'agent_id': 'A6', 'task_id': 3, 'cost': 22}, {'agent_id': 'A6', 'task_id': 4, 'cost': 8}, {'agent_id': 'A6', 'task_id': 5, 'cost': 6}, {'agent_id': 'A6', 'task_id': 6, 'cost': 19}, {'agent_id': 'A6', 'task_id': 7, 'cost': 18}, {'agent_id': 'A6', 'task_id': 8, 'cost': 21}, {'agent_id': 'A6', 'task_id': 9, 'cost': 18}, {'agent_id': 'A6', 'task_id': 10, 'cost': 15}, {'agent_id': 'A6', 'task_id': 11, 'cost': 9}, {'agent_id': 'A6', 'task_id': 12, 'cost': 24}, {'agent_id': 'A6', 'task_id': 13, 'cost': 16}, {'agent_id': 'A6', 'task_id': 14, 'cost': 7}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 13}, {'agent_id': 'A6', 'task_id': 17, 'cost': 16}]}","['A2', 'A1', 'A5', 'A3', 'A4', 'A6', 'A3', 'A3', 'A2', 'A2', 'A1', 'A6', 'A5', 'A5', 'A4', 'A3', 'A2', 'A3']",42,nl,0 GAP,GAP,"Many households juggle routines and favoritism when deciding chores, but here the plan is clear: every chore gets exactly one person, and no one is given more cumulative work than they can handle. Since each person will take different amounts of time and ask for different rewards for the same chores, the aim is to keep the total payout for all chores as low as possible — just add up each person’s reward for the chores they end up doing and compare totals, with the smallest total being the win. The specific chores, who can do them, time costs, and their reward requests are listed below. { ""num_family_members"": 7, ""num_chores"": 23, ""family_members"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"" ], ""chores"": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 ], ""capacities"": [ { ""family_member_id"": ""A1"", ""available_time"": 100 }, { ""family_member_id"": ""A2"", ""available_time"": 100 }, { ""family_member_id"": ""A3"", ""available_time"": 100 }, { ""family_member_id"": ""A4"", ""available_time"": 100 }, { ""family_member_id"": ""A5"", ""available_time"": 100 }, { ""family_member_id"": ""A6"", ""available_time"": 100 }, { ""family_member_id"": ""A7"", ""available_time"": 100 } ], ""resource"": [ { ""family_member_id"": ""A1"", ""chore_id"": 0, ""time_required"": 20 }, { ""family_member_id"": ""A1"", ""chore_id"": 1, ""time_required"": 38 }, { ""family_member_id"": ""A1"", ""chore_id"": 2, ""time_required"": 35 }, { ""family_member_id"": ""A1"", ""chore_id"": 3, ""time_required"": 33 }, { ""family_member_id"": ""A1"", ""chore_id"": 4, ""time_required"": 30 }, { ""family_member_id"": ""A1"", ""chore_id"": 5, ""time_required"": 35 }, { ""family_member_id"": ""A1"", ""chore_id"": 6, ""time_required"": 13 }, { ""family_member_id"": ""A1"", ""chore_id"": 7, ""time_required"": 31 }, { ""family_member_id"": ""A1"", ""chore_id"": 8, ""time_required"": 12 }, { ""family_member_id"": ""A1"", ""chore_id"": 9, ""time_required"": 29 }, { ""family_member_id"": ""A1"", ""chore_id"": 10, ""time_required"": 32 }, { ""family_member_id"": ""A1"", ""chore_id"": 11, ""time_required"": 23 }, { ""family_member_id"": ""A1"", ""chore_id"": 12, ""time_required"": 25 }, { ""family_member_id"": ""A1"", ""chore_id"": 13, ""time_required"": 31 }, { ""family_member_id"": ""A1"", ""chore_id"": 14, ""time_required"": 46 }, { ""family_member_id"": ""A1"", ""chore_id"": 15, ""time_required"": 22 }, { ""family_member_id"": ""A1"", ""chore_id"": 16, ""time_required"": 41 }, { ""family_member_id"": ""A1"", ""chore_id"": 17, ""time_required"": 49 }, { ""family_member_id"": ""A1"", ""chore_id"": 18, ""time_required"": 30 }, { ""family_member_id"": ""A1"", ""chore_id"": 19, ""time_required"": 41 }, { ""family_member_id"": ""A1"", ""chore_id"": 20, ""time_required"": 48 }, { ""family_member_id"": ""A1"", ""chore_id"": 21, ""time_required"": 39 }, { ""family_member_id"": ""A1"", ""chore_id"": 22, ""time_required"": 45 }, { ""family_member_id"": ""A2"", ""chore_id"": 0, ""time_required"": 20 }, { ""family_member_id"": ""A2"", ""chore_id"": 1, ""time_required"": 16 }, { ""family_member_id"": ""A2"", ""chore_id"": 2, ""time_required"": 14 }, { ""family_member_id"": ""A2"", ""chore_id"": 3, ""time_required"": 17 }, { ""family_member_id"": ""A2"", ""chore_id"": 4, ""time_required"": 18 }, { ""family_member_id"": ""A2"", ""chore_id"": 5, ""time_required"": 11 }, { ""family_member_id"": ""A2"", ""chore_id"": 6, ""time_required"": 28 }, { ""family_member_id"": ""A2"", ""chore_id"": 7, ""time_required"": 46 }, { ""family_member_id"": ""A2"", ""chore_id"": 8, ""time_required"": 37 }, { ""family_member_id"": ""A2"", ""chore_id"": 9, ""time_required"": 25 }, { ""family_member_id"": ""A2"", ""chore_id"": 10, ""time_required"": 24 }, { ""family_member_id"": ""A2"", ""chore_id"": 11, ""time_required"": 43 }, { ""family_member_id"": ""A2"", ""chore_id"": 12, ""time_required"": 28 }, { ""family_member_id"": ""A2"", ""chore_id"": 13, ""time_required"": 44 }, { ""family_member_id"": ""A2"", ""chore_id"": 14, ""time_required"": 14 }, { ""family_member_id"": ""A2"", ""chore_id"": 15, ""time_required"": 39 }, { ""family_member_id"": ""A2"", ""chore_id"": 16, ""time_required"": 26 }, { ""family_member_id"": ""A2"", ""chore_id"": 17, ""time_required"": 46 }, { ""family_member_id"": ""A2"", ""chore_id"": 18, ""time_required"": 21 }, { ""family_member_id"": ""A2"", ""chore_id"": 19, ""time_required"": 43 }, { ""family_member_id"": ""A2"", ""chore_id"": 20, ""time_required"": 30 }, { ""family_member_id"": ""A2"", ""chore_id"": 21, ""time_required"": 15 }, { ""family_member_id"": ""A2"", ""chore_id"": 22, ""time_required"": 49 }, { ""family_member_id"": ""A3"", ""chore_id"": 0, ""time_required"": 21 }, { ""family_member_id"": ""A3"", ""chore_id"": 1, ""time_required"": 33 }, { ""family_member_id"": ""A3"", ""chore_id"": 2, ""time_required"": 47 }, { ""family_member_id"": ""A3"", ""chore_id"": 3, ""time_required"": 17 }, { ""family_member_id"": ""A3"", ""chore_id"": 4, ""time_required"": 32 }, { ""family_member_id"": ""A3"", ""chore_id"": 5, ""time_required"": 44 }, { ""family_member_id"": ""A3"", ""chore_id"": 6, ""time_required"": 22 }, { ""family_member_id"": ""A3"", ""chore_id"": 7, ""time_required"": 12 }, { ""family_member_id"": ""A3"", ""chore_id"": 8, ""time_required"": 41 }, { ""family_member_id"": ""A3"", ""chore_id"": 9, ""time_required"": 26 }, { ""family_member_id"": ""A3"", ""chore_id"": 10, ""time_required"": 44 }, { ""family_member_id"": ""A3"", ""chore_id"": 11, ""time_required"": 48 }, { ""family_member_id"": ""A3"", ""chore_id"": 12, ""time_required"": 28 }, { ""family_member_id"": ""A3"", ""chore_id"": 13, ""time_required"": 47 }, { ""family_member_id"": ""A3"", ""chore_id"": 14, ""time_required"": 39 }, { ""family_member_id"": ""A3"", ""chore_id"": 15, ""time_required"": 33 }, { ""family_member_id"": ""A3"", ""chore_id"": 16, ""time_required"": 39 }, { ""family_member_id"": ""A3"", ""chore_id"": 17, ""time_required"": 49 }, { ""family_member_id"": ""A3"", ""chore_id"": 18, ""time_required"": 14 }, { ""family_member_id"": ""A3"", ""chore_id"": 19, ""time_required"": 16 }, { ""family_member_id"": ""A3"", ""chore_id"": 20, ""time_required"": 32 }, { ""family_member_id"": ""A3"", ""chore_id"": 21, ""time_required"": 12 }, { ""family_member_id"": ""A3"", ""chore_id"": 22, ""time_required"": 20 }, { ""family_member_id"": ""A4"", ""chore_id"": 0, ""time_required"": 17 }, { ""family_member_id"": ""A4"", ""chore_id"": 1, ""time_required"": 32 }, { ""family_member_id"": ""A4"", ""chore_id"": 2, ""time_required"": 45 }, { ""family_member_id"": ""A4"", ""chore_id"": 3, ""time_required"": 33 }, { ""family_member_id"": ""A4"", ""chore_id"": 4, ""time_required"": 25 }, { ""family_member_id"": ""A4"", ""chore_id"": 5, ""time_required"": 42 }, { ""family_member_id"": ""A4"", ""chore_id"": 6, ""time_required"": 17 }, { ""family_member_id"": ""A4"", ""chore_id"": 7, ""time_required"": 34 }, { ""family_member_id"": ""A4"", ""chore_id"": 8, ""time_required"": 42 }, { ""family_member_id"": ""A4"", ""chore_id"": 9, ""time_required"": 43 }, { ""family_member_id"": ""A4"", ""chore_id"": 10, ""time_required"": 40 }, { ""family_member_id"": ""A4"", ""chore_id"": 11, ""time_required"": 29 }, { ""family_member_id"": ""A4"", ""chore_id"": 12, ""time_required"": 50 }, { ""family_member_id"": ""A4"", ""chore_id"": 13, ""time_required"": 43 }, { ""family_member_id"": ""A4"", ""chore_id"": 14, ""time_required"": 33 }, { ""family_member_id"": ""A4"", ""chore_id"": 15, ""time_required"": 31 }, { ""family_member_id"": ""A4"", ""chore_id"": 16, ""time_required"": 12 }, { ""family_member_id"": ""A4"", ""chore_id"": 17, ""time_required"": 41 }, { ""family_member_id"": ""A4"", ""chore_id"": 18, ""time_required"": 27 }, { ""family_member_id"": ""A4"", ""chore_id"": 19, ""time_required"": 49 }, { ""family_member_id"": ""A4"", ""chore_id"": 20, ""time_required"": 33 }, { ""family_member_id"": ""A4"", ""chore_id"": 21, ""time_required"": 16 }, { ""family_member_id"": ""A4"", ""chore_id"": 22, ""time_required"": 36 }, { ""family_member_id"": ""A5"", ""chore_id"": 0, ""time_required"": 39 }, { ""family_member_id"": ""A5"", ""chore_id"": 1, ""time_required"": 45 }, { ""family_member_id"": ""A5"", ""chore_id"": 2, ""time_required"": 11 }, { ""family_member_id"": ""A5"", ""chore_id"": 3, ""time_required"": 11 }, { ""family_member_id"": ""A5"", ""chore_id"": 4, ""time_required"": 43 }, { ""family_member_id"": ""A5"", ""chore_id"": 5, ""time_required"": 24 }, { ""family_member_id"": ""A5"", ""chore_id"": 6, ""time_required"": 48 }, { ""family_member_id"": ""A5"", ""chore_id"": 7, ""time_required"": 50 }, { ""family_member_id"": ""A5"", ""chore_id"": 8, ""time_required"": 35 }, { ""family_member_id"": ""A5"", ""chore_id"": 9, ""time_required"": 14 }, { ""family_member_id"": ""A5"", ""chore_id"": 10, ""time_required"": 42 }, { ""family_member_id"": ""A5"", ""chore_id"": 11, ""time_required"": 28 }, { ""family_member_id"": ""A5"", ""chore_id"": 12, ""time_required"": 25 }, { ""family_member_id"": ""A5"", ""chore_id"": 13, ""time_required"": 24 }, { ""family_member_id"": ""A5"", ""chore_id"": 14, ""time_required"": 24 }, { ""family_member_id"": ""A5"", ""chore_id"": 15, ""time_required"": 16 }, { ""family_member_id"": ""A5"", ""chore_id"": 16, ""time_required"": 23 }, { ""family_member_id"": ""A5"", ""chore_id"": 17, ""time_required"": 35 }, { ""family_member_id"": ""A5"", ""chore_id"": 18, ""time_required"": 13 }, { ""family_member_id"": ""A5"", ""chore_id"": 19, ""time_required"": 28 }, { ""family_member_id"": ""A5"", ""chore_id"": 20, ""time_required"": 43 }, { ""family_member_id"": ""A5"", ""chore_id"": 21, ""time_required"": 29 }, { ""family_member_id"": ""A5"", ""chore_id"": 22, ""time_required"": 11 }, { ""family_member_id"": ""A6"", ""chore_id"": 0, ""time_required"": 33 }, { ""family_member_id"": ""A6"", ""chore_id"": 1, ""time_required"": 37 }, { ""family_member_id"": ""A6"", ""chore_id"": 2, ""time_required"": 32 }, { ""family_member_id"": ""A6"", ""chore_id"": 3, ""time_required"": 50 }, { ""family_member_id"": ""A6"", ""chore_id"": 4, ""time_required"": 35 }, { ""family_member_id"": ""A6"", ""chore_id"": 5, ""time_required"": 47 }, { ""family_member_id"": ""A6"", ""chore_id"": 6, ""time_required"": 14 }, { ""family_member_id"": ""A6"", ""chore_id"": 7, ""time_required"": 50 }, { ""family_member_id"": ""A6"", ""chore_id"": 8, ""time_required"": 10 }, { ""family_member_id"": ""A6"", ""chore_id"": 9, ""time_required"": 15 }, { ""family_member_id"": ""A6"", ""chore_id"": 10, ""time_required"": 21 }, { ""family_member_id"": ""A6"", ""chore_id"": 11, ""time_required"": 47 }, { ""family_member_id"": ""A6"", ""chore_id"": 12, ""time_required"": 43 }, { ""family_member_id"": ""A6"", ""chore_id"": 13, ""time_required"": 44 }, { ""family_member_id"": ""A6"", ""chore_id"": 14, ""time_required"": 44 }, { ""family_member_id"": ""A6"", ""chore_id"": 15, ""time_required"": 11 }, { ""family_member_id"": ""A6"", ""chore_id"": 16, ""time_required"": 20 }, { ""family_member_id"": ""A6"", ""chore_id"": 17, ""time_required"": 15 }, { ""family_member_id"": ""A6"", ""chore_id"": 18, ""time_required"": 34 }, { ""family_member_id"": ""A6"", ""chore_id"": 19, ""time_required"": 13 }, { ""family_member_id"": ""A6"", ""chore_id"": 20, ""time_required"": 10 }, { ""family_member_id"": ""A6"", ""chore_id"": 21, ""time_required"": 14 }, { ""family_member_id"": ""A6"", ""chore_id"": 22, ""time_required"": 24 }, { ""family_member_id"": ""A7"", ""chore_id"": 0, ""time_required"": 45 }, { ""family_member_id"": ""A7"", ""chore_id"": 1, ""time_required"": 34 }, { ""family_member_id"": ""A7"", ""chore_id"": 2, ""time_required"": 18 }, { ""family_member_id"": ""A7"", ""chore_id"": 3, ""time_required"": 48 }, { ""family_member_id"": ""A7"", ""chore_id"": 4, ""time_required"": 24 }, { ""family_member_id"": ""A7"", ""chore_id"": 5, ""time_required"": 25 }, { ""family_member_id"": ""A7"", ""chore_id"": 6, ""time_required"": 32 }, { ""family_member_id"": ""A7"", ""chore_id"": 7, ""time_required"": 12 }, { ""family_member_id"": ""A7"", ""chore_id"": 8, ""time_required"": 25 }, { ""family_member_id"": ""A7"", ""chore_id"": 9, ""time_required"": 17 }, { ""family_member_id"": ""A7"", ""chore_id"": 10, ""time_required"": 29 }, { ""family_member_id"": ""A7"", ""chore_id"": 11, ""time_required"": 32 }, { ""family_member_id"": ""A7"", ""chore_id"": 12, ""time_required"": 23 }, { ""family_member_id"": ""A7"", ""chore_id"": 13, ""time_required"": 41 }, { ""family_member_id"": ""A7"", ""chore_id"": 14, ""time_required"": 32 }, { ""family_member_id"": ""A7"", ""chore_id"": 15, ""time_required"": 44 }, { ""family_member_id"": ""A7"", ""chore_id"": 16, ""time_required"": 40 }, { ""family_member_id"": ""A7"", ""chore_id"": 17, ""time_required"": 34 }, { ""family_member_id"": ""A7"", ""chore_id"": 18, ""time_required"": 12 }, { ""family_member_id"": ""A7"", ""chore_id"": 19, ""time_required"": 27 }, { ""family_member_id"": ""A7"", ""chore_id"": 20, ""time_required"": 32 }, { ""family_member_id"": ""A7"", ""chore_id"": 21, ""time_required"": 28 }, { ""family_member_id"": ""A7"", ""chore_id"": 22, ""time_required"": 32 } ], ""cost"": [ { ""family_member_id"": ""A1"", ""chore_id"": 0, ""reward_requested"": 5 }, { ""family_member_id"": ""A1"", ""chore_id"": 1, ""reward_requested"": 23 }, { ""family_member_id"": ""A1"", ""chore_id"": 2, ""reward_requested"": 10 }, { ""family_member_id"": ""A1"", ""chore_id"": 3, ""reward_requested"": 18 }, { ""family_member_id"": ""A1"", ""chore_id"": 4, ""reward_requested"": 20 }, { ""family_member_id"": ""A1"", ""chore_id"": 5, ""reward_requested"": 24 }, { ""family_member_id"": ""A1"", ""chore_id"": 6, ""reward_requested"": 16 }, { ""family_member_id"": ""A1"", ""chore_id"": 7, ""reward_requested"": 6 }, { ""family_member_id"": ""A1"", ""chore_id"": 8, ""reward_requested"": 17 }, { ""family_member_id"": ""A1"", ""chore_id"": 9, ""reward_requested"": 8 }, { ""family_member_id"": ""A1"", ""chore_id"": 10, ""reward_requested"": 11 }, { ""family_member_id"": ""A1"", ""chore_id"": 11, ""reward_requested"": 21 }, { ""family_member_id"": ""A1"", ""chore_id"": 12, ""reward_requested"": 13 }, { ""family_member_id"": ""A1"", ""chore_id"": 13, ""reward_requested"": 7 }, { ""family_member_id"": ""A1"", ""chore_id"": 14, ""reward_requested"": 18 }, { ""family_member_id"": ""A1"", ""chore_id"": 15, ""reward_requested"": 9 }, { ""family_member_id"": ""A1"", ""chore_id"": 16, ""reward_requested"": 10 }, { ""family_member_id"": ""A1"", ""chore_id"": 17, ""reward_requested"": 20 }, { ""family_member_id"": ""A1"", ""chore_id"": 18, ""reward_requested"": 17 }, { ""family_member_id"": ""A1"", ""chore_id"": 19, ""reward_requested"": 11 }, { ""family_member_id"": ""A1"", ""chore_id"": 20, ""reward_requested"": 21 }, { ""family_member_id"": ""A1"", ""chore_id"": 21, ""reward_requested"": 12 }, { ""family_member_id"": ""A1"", ""chore_id"": 22, ""reward_requested"": 5 }, { ""family_member_id"": ""A2"", ""chore_id"": 0, ""reward_requested"": 13 }, { ""family_member_id"": ""A2"", ""chore_id"": 1, ""reward_requested"": 20 }, { ""family_member_id"": ""A2"", ""chore_id"": 2, ""reward_requested"": 13 }, { ""family_member_id"": ""A2"", ""chore_id"": 3, ""reward_requested"": 24 }, { ""family_member_id"": ""A2"", ""chore_id"": 4, ""reward_requested"": 25 }, { ""family_member_id"": ""A2"", ""chore_id"": 5, ""reward_requested"": 13 }, { ""family_member_id"": ""A2"", ""chore_id"": 6, ""reward_requested"": 14 }, { ""family_member_id"": ""A2"", ""chore_id"": 7, ""reward_requested"": 25 }, { ""family_member_id"": ""A2"", ""chore_id"": 8, ""reward_requested"": 19 }, { ""family_member_id"": ""A2"", ""chore_id"": 9, ""reward_requested"": 8 }, { ""family_member_id"": ""A2"", ""chore_id"": 10, ""reward_requested"": 7 }, { ""family_member_id"": ""A2"", ""chore_id"": 11, ""reward_requested"": 19 }, { ""family_member_id"": ""A2"", ""chore_id"": 12, ""reward_requested"": 8 }, { ""family_member_id"": ""A2"", ""chore_id"": 13, ""reward_requested"": 8 }, { ""family_member_id"": ""A2"", ""chore_id"": 14, ""reward_requested"": 22 }, { ""family_member_id"": ""A2"", ""chore_id"": 15, ""reward_requested"": 11 }, { ""family_member_id"": ""A2"", ""chore_id"": 16, ""reward_requested"": 22 }, { ""family_member_id"": ""A2"", ""chore_id"": 17, ""reward_requested"": 20 }, { ""family_member_id"": ""A2"", ""chore_id"": 18, ""reward_requested"": 25 }, { ""family_member_id"": ""A2"", ""chore_id"": 19, ""reward_requested"": 14 }, { ""family_member_id"": ""A2"", ""chore_id"": 20, ""reward_requested"": 23 }, { ""family_member_id"": ""A2"", ""chore_id"": 21, ""reward_requested"": 9 }, { ""family_member_id"": ""A2"", ""chore_id"": 22, ""reward_requested"": 15 }, { ""family_member_id"": ""A3"", ""chore_id"": 0, ""reward_requested"": 19 }, { ""family_member_id"": ""A3"", ""chore_id"": 1, ""reward_requested"": 10 }, { ""family_member_id"": ""A3"", ""chore_id"": 2, ""reward_requested"": 19 }, { ""family_member_id"": ""A3"", ""chore_id"": 3, ""reward_requested"": 18 }, { ""family_member_id"": ""A3"", ""chore_id"": 4, ""reward_requested"": 15 }, { ""family_member_id"": ""A3"", ""chore_id"": 5, ""reward_requested"": 24 }, { ""family_member_id"": ""A3"", ""chore_id"": 6, ""reward_requested"": 11 }, { ""family_member_id"": ""A3"", ""chore_id"": 7, ""reward_requested"": 17 }, { ""family_member_id"": ""A3"", ""chore_id"": 8, ""reward_requested"": 17 }, { ""family_member_id"": ""A3"", ""chore_id"": 9, ""reward_requested"": 14 }, { ""family_member_id"": ""A3"", ""chore_id"": 10, ""reward_requested"": 18 }, { ""family_member_id"": ""A3"", ""chore_id"": 11, ""reward_requested"": 5 }, { ""family_member_id"": ""A3"", ""chore_id"": 12, ""reward_requested"": 8 }, { ""family_member_id"": ""A3"", ""chore_id"": 13, ""reward_requested"": 23 }, { ""family_member_id"": ""A3"", ""chore_id"": 14, ""reward_requested"": 6 }, { ""family_member_id"": ""A3"", ""chore_id"": 15, ""reward_requested"": 9 }, { ""family_member_id"": ""A3"", ""chore_id"": 16, ""reward_requested"": 5 }, { ""family_member_id"": ""A3"", ""chore_id"": 17, ""reward_requested"": 17 }, { ""family_member_id"": ""A3"", ""chore_id"": 18, ""reward_requested"": 6 }, { ""family_member_id"": ""A3"", ""chore_id"": 19, ""reward_requested"": 19 }, { ""family_member_id"": ""A3"", ""chore_id"": 20, ""reward_requested"": 21 }, { ""family_member_id"": ""A3"", ""chore_id"": 21, ""reward_requested"": 16 }, { ""family_member_id"": ""A3"", ""chore_id"": 22, ""reward_requested"": 19 }, { ""family_member_id"": ""A4"", ""chore_id"": 0, ""reward_requested"": 20 }, { ""family_member_id"": ""A4"", ""chore_id"": 1, ""reward_requested"": 25 }, { ""family_member_id"": ""A4"", ""chore_id"": 2, ""reward_requested"": 12 }, { ""family_member_id"": ""A4"", ""chore_id"": 3, ""reward_requested"": 19 }, { ""family_member_id"": ""A4"", ""chore_id"": 4, ""reward_requested"": 12 }, { ""family_member_id"": ""A4"", ""chore_id"": 5, ""reward_requested"": 7 }, { ""family_member_id"": ""A4"", ""chore_id"": 6, ""reward_requested"": 12 }, { ""family_member_id"": ""A4"", ""chore_id"": 7, ""reward_requested"": 22 }, { ""family_member_id"": ""A4"", ""chore_id"": 8, ""reward_requested"": 20 }, { ""family_member_id"": ""A4"", ""chore_id"": 9, ""reward_requested"": 15 }, { ""family_member_id"": ""A4"", ""chore_id"": 10, ""reward_requested"": 6 }, { ""family_member_id"": ""A4"", ""chore_id"": 11, ""reward_requested"": 14 }, { ""family_member_id"": ""A4"", ""chore_id"": 12, ""reward_requested"": 22 }, { ""family_member_id"": ""A4"", ""chore_id"": 13, ""reward_requested"": 18 }, { ""family_member_id"": ""A4"", ""chore_id"": 14, ""reward_requested"": 13 }, { ""family_member_id"": ""A4"", ""chore_id"": 15, ""reward_requested"": 23 }, { ""family_member_id"": ""A4"", ""chore_id"": 16, ""reward_requested"": 7 }, { ""family_member_id"": ""A4"", ""chore_id"": 17, ""reward_requested"": 9 }, { ""family_member_id"": ""A4"", ""chore_id"": 18, ""reward_requested"": 8 }, { ""family_member_id"": ""A4"", ""chore_id"": 19, ""reward_requested"": 11 }, { ""family_member_id"": ""A4"", ""chore_id"": 20, ""reward_requested"": 20 }, { ""family_member_id"": ""A4"", ""chore_id"": 21, ""reward_requested"": 19 }, { ""family_member_id"": ""A4"", ""chore_id"": 22, ""reward_requested"": 17 }, { ""family_member_id"": ""A5"", ""chore_id"": 0, ""reward_requested"": 24 }, { ""family_member_id"": ""A5"", ""chore_id"": 1, ""reward_requested"": 15 }, { ""family_member_id"": ""A5"", ""chore_id"": 2, ""reward_requested"": 25 }, { ""family_member_id"": ""A5"", ""chore_id"": 3, ""reward_requested"": 18 }, { ""family_member_id"": ""A5"", ""chore_id"": 4, ""reward_requested"": 16 }, { ""family_member_id"": ""A5"", ""chore_id"": 5, ""reward_requested"": 9 }, { ""family_member_id"": ""A5"", ""chore_id"": 6, ""reward_requested"": 14 }, { ""family_member_id"": ""A5"", ""chore_id"": 7, ""reward_requested"": 6 }, { ""family_member_id"": ""A5"", ""chore_id"": 8, ""reward_requested"": 11 }, { ""family_member_id"": ""A5"", ""chore_id"": 9, ""reward_requested"": 9 }, { ""family_member_id"": ""A5"", ""chore_id"": 10, ""reward_requested"": 17 }, { ""family_member_id"": ""A5"", ""chore_id"": 11, ""reward_requested"": 20 }, { ""family_member_id"": ""A5"", ""chore_id"": 12, ""reward_requested"": 25 }, { ""family_member_id"": ""A5"", ""chore_id"": 13, ""reward_requested"": 8 }, { ""family_member_id"": ""A5"", ""chore_id"": 14, ""reward_requested"": 20 }, { ""family_member_id"": ""A5"", ""chore_id"": 15, ""reward_requested"": 17 }, { ""family_member_id"": ""A5"", ""chore_id"": 16, ""reward_requested"": 12 }, { ""family_member_id"": ""A5"", ""chore_id"": 17, ""reward_requested"": 14 }, { ""family_member_id"": ""A5"", ""chore_id"": 18, ""reward_requested"": 25 }, { ""family_member_id"": ""A5"", ""chore_id"": 19, ""reward_requested"": 7 }, { ""family_member_id"": ""A5"", ""chore_id"": 20, ""reward_requested"": 12 }, { ""family_member_id"": ""A5"", ""chore_id"": 21, ""reward_requested"": 7 }, { ""family_member_id"": ""A5"", ""chore_id"": 22, ""reward_requested"": 25 }, { ""family_member_id"": ""A6"", ""chore_id"": 0, ""reward_requested"": 24 }, { ""family_member_id"": ""A6"", ""chore_id"": 1, ""reward_requested"": 19 }, { ""family_member_id"": ""A6"", ""chore_id"": 2, ""reward_requested"": 14 }, { ""family_member_id"": ""A6"", ""chore_id"": 3, ""reward_requested"": 9 }, { ""family_member_id"": ""A6"", ""chore_id"": 4, ""reward_requested"": 20 }, { ""family_member_id"": ""A6"", ""chore_id"": 5, ""reward_requested"": 24 }, { ""family_member_id"": ""A6"", ""chore_id"": 6, ""reward_requested"": 20 }, { ""family_member_id"": ""A6"", ""chore_id"": 7, ""reward_requested"": 11 }, { ""family_member_id"": ""A6"", ""chore_id"": 8, ""reward_requested"": 17 }, { ""family_member_id"": ""A6"", ""chore_id"": 9, ""reward_requested"": 25 }, { ""family_member_id"": ""A6"", ""chore_id"": 10, ""reward_requested"": 5 }, { ""family_member_id"": ""A6"", ""chore_id"": 11, ""reward_requested"": 17 }, { ""family_member_id"": ""A6"", ""chore_id"": 12, ""reward_requested"": 19 }, { ""family_member_id"": ""A6"", ""chore_id"": 13, ""reward_requested"": 11 }, { ""family_member_id"": ""A6"", ""chore_id"": 14, ""reward_requested"": 15 }, { ""family_member_id"": ""A6"", ""chore_id"": 15, ""reward_requested"": 19 }, { ""family_member_id"": ""A6"", ""chore_id"": 16, ""reward_requested"": 11 }, { ""family_member_id"": ""A6"", ""chore_id"": 17, ""reward_requested"": 10 }, { ""family_member_id"": ""A6"", ""chore_id"": 18, ""reward_requested"": 7 }, { ""family_member_id"": ""A6"", ""chore_id"": 19, ""reward_requested"": 18 }, { ""family_member_id"": ""A6"", ""chore_id"": 20, ""reward_requested"": 15 }, { ""family_member_id"": ""A6"", ""chore_id"": 21, ""reward_requested"": 19 }, { ""family_member_id"": ""A6"", ""chore_id"": 22, ""reward_requested"": 12 }, { ""family_member_id"": ""A7"", ""chore_id"": 0, ""reward_requested"": 10 }, { ""family_member_id"": ""A7"", ""chore_id"": 1, ""reward_requested"": 25 }, { ""family_member_id"": ""A7"", ""chore_id"": 2, ""reward_requested"": 18 }, { ""family_member_id"": ""A7"", ""chore_id"": 3, ""reward_requested"": 16 }, { ""family_member_id"": ""A7"", ""chore_id"": 4, ""reward_requested"": 10 }, { ""family_member_id"": ""A7"", ""chore_id"": 5, ""reward_requested"": 22 }, { ""family_member_id"": ""A7"", ""chore_id"": 6, ""reward_requested"": 7 }, { ""family_member_id"": ""A7"", ""chore_id"": 7, ""reward_requested"": 11 }, { ""family_member_id"": ""A7"", ""chore_id"": 8, ""reward_requested"": 16 }, { ""family_member_id"": ""A7"", ""chore_id"": 9, ""reward_requested"": 6 }, { ""family_member_id"": ""A7"", ""chore_id"": 10, ""reward_requested"": 17 }, { ""family_member_id"": ""A7"", ""chore_id"": 11, ""reward_requested"": 5 }, { ""family_member_id"": ""A7"", ""chore_id"": 12, ""reward_requested"": 11 }, { ""family_member_id"": ""A7"", ""chore_id"": 13, ""reward_requested"": 10 }, { ""family_member_id"": ""A7"", ""chore_id"": 14, ""reward_requested"": 8 }, { ""family_member_id"": ""A7"", ""chore_id"": 15, ""reward_requested"": 25 }, { ""family_member_id"": ""A7"", ""chore_id"": 16, ""reward_requested"": 19 }, { ""family_member_id"": ""A7"", ""chore_id"": 17, ""reward_requested"": 20 }, { ""family_member_id"": ""A7"", ""chore_id"": 18, ""reward_requested"": 6 }, { ""family_member_id"": ""A7"", ""chore_id"": 19, ""reward_requested"": 20 }, { ""family_member_id"": ""A7"", ""chore_id"": 20, ""reward_requested"": 21 }, { ""family_member_id"": ""A7"", ""chore_id"": 21, ""reward_requested"": 18 }, { ""family_member_id"": ""A7"", ""chore_id"": 22, ""reward_requested"": 21 } ] } Oh, and just so everything gets handed back in the right shape, please use this little JSON layout for your reply — just a simple list showing who does each chore. { ""solution"": [ , , ..., ] } Think of that as a form: the ""solution"" array has one entry per chore in the exact order the chores were listed, and each placeholder is where you put the identifier of the person doing that chore. The placeholders are just a sketch of the shape I expect; when you fill it in, use the exact identifiers from the instance. Please don't rename or invent identifiers — use them exactly as they appear in the problem input. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”."" Remember: that JSON is just the expected format, not the answer itself.","{'resource_consumption': [[20, 38, 35, 33, 30, 35, 13, 31, 12, 29, 32, 23, 25, 31, 46, 22, 41, 49, 30, 41, 48, 39, 45], [20, 16, 14, 17, 18, 11, 28, 46, 37, 25, 24, 43, 28, 44, 14, 39, 26, 46, 21, 43, 30, 15, 49], [21, 33, 47, 17, 32, 44, 22, 12, 41, 26, 44, 48, 28, 47, 39, 33, 39, 49, 14, 16, 32, 12, 20], [17, 32, 45, 33, 25, 42, 17, 34, 42, 43, 40, 29, 50, 43, 33, 31, 12, 41, 27, 49, 33, 16, 36], [39, 45, 11, 11, 43, 24, 48, 50, 35, 14, 42, 28, 25, 24, 24, 16, 23, 35, 13, 28, 43, 29, 11], [33, 37, 32, 50, 35, 47, 14, 50, 10, 15, 21, 47, 43, 44, 44, 11, 20, 15, 34, 13, 10, 14, 24], [45, 34, 18, 48, 24, 25, 32, 12, 25, 17, 29, 32, 23, 41, 32, 44, 40, 34, 12, 27, 32, 28, 32]], 'assignment_costs': [[5, 23, 10, 18, 20, 24, 16, 6, 17, 8, 11, 21, 13, 7, 18, 9, 10, 20, 17, 11, 21, 12, 5], [13, 20, 13, 24, 25, 13, 14, 25, 19, 8, 7, 19, 8, 8, 22, 11, 22, 20, 25, 14, 23, 9, 15], [19, 10, 19, 18, 15, 24, 11, 17, 17, 14, 18, 5, 8, 23, 6, 9, 5, 17, 6, 19, 21, 16, 19], [20, 25, 12, 19, 12, 7, 12, 22, 20, 15, 6, 14, 22, 18, 13, 23, 7, 9, 8, 11, 20, 19, 17], [24, 15, 25, 18, 16, 9, 14, 6, 11, 9, 17, 20, 25, 8, 20, 17, 12, 14, 25, 7, 12, 7, 25], [24, 19, 14, 9, 20, 24, 20, 11, 17, 25, 5, 17, 19, 11, 15, 19, 11, 10, 7, 18, 15, 19, 12], [10, 25, 18, 16, 10, 22, 7, 11, 16, 6, 17, 5, 11, 10, 8, 25, 19, 20, 6, 20, 21, 18, 21]], 'capacities': [100, 100, 100, 100, 100, 100, 100], 'objective': 186.0}","[0, 2, 1, 5, 3, 3, 6, 0, 4, 6, 5, 6, 2, 1, 2, 1, 3, 5, 6, 4, 5, 4, 0]",186.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 100}, {'agent_id': 'A2', 'capacity': 100}, {'agent_id': 'A3', 'capacity': 100}, {'agent_id': 'A4', 'capacity': 100}, {'agent_id': 'A5', 'capacity': 100}, {'agent_id': 'A6', 'capacity': 100}, {'agent_id': 'A7', 'capacity': 100}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 0, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 1, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 22, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 0, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 25}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 43}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 22, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 0, 'consumption': 21}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 22, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 0, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 32}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 22, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 0, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 28}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 22, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 0, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 22, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 0, 'consumption': 45}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 24}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 34}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 28}, {'agent_id': 'A7', 'task_id': 22, 'consumption': 32}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 0, 'cost': 5}, {'agent_id': 'A1', 'task_id': 1, 'cost': 23}, {'agent_id': 'A1', 'task_id': 2, 'cost': 10}, {'agent_id': 'A1', 'task_id': 3, 'cost': 18}, {'agent_id': 'A1', 'task_id': 4, 'cost': 20}, {'agent_id': 'A1', 'task_id': 5, 'cost': 24}, {'agent_id': 'A1', 'task_id': 6, 'cost': 16}, {'agent_id': 'A1', 'task_id': 7, 'cost': 6}, {'agent_id': 'A1', 'task_id': 8, 'cost': 17}, {'agent_id': 'A1', 'task_id': 9, 'cost': 8}, {'agent_id': 'A1', 'task_id': 10, 'cost': 11}, {'agent_id': 'A1', 'task_id': 11, 'cost': 21}, {'agent_id': 'A1', 'task_id': 12, 'cost': 13}, {'agent_id': 'A1', 'task_id': 13, 'cost': 7}, {'agent_id': 'A1', 'task_id': 14, 'cost': 18}, {'agent_id': 'A1', 'task_id': 15, 'cost': 9}, {'agent_id': 'A1', 'task_id': 16, 'cost': 10}, {'agent_id': 'A1', 'task_id': 17, 'cost': 20}, {'agent_id': 'A1', 'task_id': 18, 'cost': 17}, {'agent_id': 'A1', 'task_id': 19, 'cost': 11}, {'agent_id': 'A1', 'task_id': 20, 'cost': 21}, {'agent_id': 'A1', 'task_id': 21, 'cost': 12}, {'agent_id': 'A1', 'task_id': 22, 'cost': 5}, {'agent_id': 'A2', 'task_id': 0, 'cost': 13}, {'agent_id': 'A2', 'task_id': 1, 'cost': 20}, {'agent_id': 'A2', 'task_id': 2, 'cost': 13}, {'agent_id': 'A2', 'task_id': 3, 'cost': 24}, {'agent_id': 'A2', 'task_id': 4, 'cost': 25}, {'agent_id': 'A2', 'task_id': 5, 'cost': 13}, {'agent_id': 'A2', 'task_id': 6, 'cost': 14}, {'agent_id': 'A2', 'task_id': 7, 'cost': 25}, {'agent_id': 'A2', 'task_id': 8, 'cost': 19}, {'agent_id': 'A2', 'task_id': 9, 'cost': 8}, {'agent_id': 'A2', 'task_id': 10, 'cost': 7}, {'agent_id': 'A2', 'task_id': 11, 'cost': 19}, {'agent_id': 'A2', 'task_id': 12, 'cost': 8}, {'agent_id': 'A2', 'task_id': 13, 'cost': 8}, {'agent_id': 'A2', 'task_id': 14, 'cost': 22}, {'agent_id': 'A2', 'task_id': 15, 'cost': 11}, {'agent_id': 'A2', 'task_id': 16, 'cost': 22}, {'agent_id': 'A2', 'task_id': 17, 'cost': 20}, {'agent_id': 'A2', 'task_id': 18, 'cost': 25}, {'agent_id': 'A2', 'task_id': 19, 'cost': 14}, {'agent_id': 'A2', 'task_id': 20, 'cost': 23}, {'agent_id': 'A2', 'task_id': 21, 'cost': 9}, {'agent_id': 'A2', 'task_id': 22, 'cost': 15}, {'agent_id': 'A3', 'task_id': 0, 'cost': 19}, {'agent_id': 'A3', 'task_id': 1, 'cost': 10}, {'agent_id': 'A3', 'task_id': 2, 'cost': 19}, {'agent_id': 'A3', 'task_id': 3, 'cost': 18}, {'agent_id': 'A3', 'task_id': 4, 'cost': 15}, {'agent_id': 'A3', 'task_id': 5, 'cost': 24}, {'agent_id': 'A3', 'task_id': 6, 'cost': 11}, {'agent_id': 'A3', 'task_id': 7, 'cost': 17}, {'agent_id': 'A3', 'task_id': 8, 'cost': 17}, {'agent_id': 'A3', 'task_id': 9, 'cost': 14}, {'agent_id': 'A3', 'task_id': 10, 'cost': 18}, {'agent_id': 'A3', 'task_id': 11, 'cost': 5}, {'agent_id': 'A3', 'task_id': 12, 'cost': 8}, {'agent_id': 'A3', 'task_id': 13, 'cost': 23}, {'agent_id': 'A3', 'task_id': 14, 'cost': 6}, {'agent_id': 'A3', 'task_id': 15, 'cost': 9}, {'agent_id': 'A3', 'task_id': 16, 'cost': 5}, {'agent_id': 'A3', 'task_id': 17, 'cost': 17}, {'agent_id': 'A3', 'task_id': 18, 'cost': 6}, {'agent_id': 'A3', 'task_id': 19, 'cost': 19}, {'agent_id': 'A3', 'task_id': 20, 'cost': 21}, {'agent_id': 'A3', 'task_id': 21, 'cost': 16}, {'agent_id': 'A3', 'task_id': 22, 'cost': 19}, {'agent_id': 'A4', 'task_id': 0, 'cost': 20}, {'agent_id': 'A4', 'task_id': 1, 'cost': 25}, {'agent_id': 'A4', 'task_id': 2, 'cost': 12}, {'agent_id': 'A4', 'task_id': 3, 'cost': 19}, {'agent_id': 'A4', 'task_id': 4, 'cost': 12}, {'agent_id': 'A4', 'task_id': 5, 'cost': 7}, {'agent_id': 'A4', 'task_id': 6, 'cost': 12}, {'agent_id': 'A4', 'task_id': 7, 'cost': 22}, {'agent_id': 'A4', 'task_id': 8, 'cost': 20}, {'agent_id': 'A4', 'task_id': 9, 'cost': 15}, {'agent_id': 'A4', 'task_id': 10, 'cost': 6}, {'agent_id': 'A4', 'task_id': 11, 'cost': 14}, {'agent_id': 'A4', 'task_id': 12, 'cost': 22}, {'agent_id': 'A4', 'task_id': 13, 'cost': 18}, {'agent_id': 'A4', 'task_id': 14, 'cost': 13}, {'agent_id': 'A4', 'task_id': 15, 'cost': 23}, {'agent_id': 'A4', 'task_id': 16, 'cost': 7}, {'agent_id': 'A4', 'task_id': 17, 'cost': 9}, {'agent_id': 'A4', 'task_id': 18, 'cost': 8}, {'agent_id': 'A4', 'task_id': 19, 'cost': 11}, {'agent_id': 'A4', 'task_id': 20, 'cost': 20}, {'agent_id': 'A4', 'task_id': 21, 'cost': 19}, {'agent_id': 'A4', 'task_id': 22, 'cost': 17}, {'agent_id': 'A5', 'task_id': 0, 'cost': 24}, {'agent_id': 'A5', 'task_id': 1, 'cost': 15}, {'agent_id': 'A5', 'task_id': 2, 'cost': 25}, {'agent_id': 'A5', 'task_id': 3, 'cost': 18}, {'agent_id': 'A5', 'task_id': 4, 'cost': 16}, {'agent_id': 'A5', 'task_id': 5, 'cost': 9}, {'agent_id': 'A5', 'task_id': 6, 'cost': 14}, {'agent_id': 'A5', 'task_id': 7, 'cost': 6}, {'agent_id': 'A5', 'task_id': 8, 'cost': 11}, {'agent_id': 'A5', 'task_id': 9, 'cost': 9}, {'agent_id': 'A5', 'task_id': 10, 'cost': 17}, {'agent_id': 'A5', 'task_id': 11, 'cost': 20}, {'agent_id': 'A5', 'task_id': 12, 'cost': 25}, {'agent_id': 'A5', 'task_id': 13, 'cost': 8}, {'agent_id': 'A5', 'task_id': 14, 'cost': 20}, {'agent_id': 'A5', 'task_id': 15, 'cost': 17}, {'agent_id': 'A5', 'task_id': 16, 'cost': 12}, {'agent_id': 'A5', 'task_id': 17, 'cost': 14}, {'agent_id': 'A5', 'task_id': 18, 'cost': 25}, {'agent_id': 'A5', 'task_id': 19, 'cost': 7}, {'agent_id': 'A5', 'task_id': 20, 'cost': 12}, {'agent_id': 'A5', 'task_id': 21, 'cost': 7}, {'agent_id': 'A5', 'task_id': 22, 'cost': 25}, {'agent_id': 'A6', 'task_id': 0, 'cost': 24}, {'agent_id': 'A6', 'task_id': 1, 'cost': 19}, {'agent_id': 'A6', 'task_id': 2, 'cost': 14}, {'agent_id': 'A6', 'task_id': 3, 'cost': 9}, {'agent_id': 'A6', 'task_id': 4, 'cost': 20}, {'agent_id': 'A6', 'task_id': 5, 'cost': 24}, {'agent_id': 'A6', 'task_id': 6, 'cost': 20}, {'agent_id': 'A6', 'task_id': 7, 'cost': 11}, {'agent_id': 'A6', 'task_id': 8, 'cost': 17}, {'agent_id': 'A6', 'task_id': 9, 'cost': 25}, {'agent_id': 'A6', 'task_id': 10, 'cost': 5}, {'agent_id': 'A6', 'task_id': 11, 'cost': 17}, {'agent_id': 'A6', 'task_id': 12, 'cost': 19}, {'agent_id': 'A6', 'task_id': 13, 'cost': 11}, {'agent_id': 'A6', 'task_id': 14, 'cost': 15}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 11}, {'agent_id': 'A6', 'task_id': 17, 'cost': 10}, {'agent_id': 'A6', 'task_id': 18, 'cost': 7}, {'agent_id': 'A6', 'task_id': 19, 'cost': 18}, {'agent_id': 'A6', 'task_id': 20, 'cost': 15}, {'agent_id': 'A6', 'task_id': 21, 'cost': 19}, {'agent_id': 'A6', 'task_id': 22, 'cost': 12}, {'agent_id': 'A7', 'task_id': 0, 'cost': 10}, {'agent_id': 'A7', 'task_id': 1, 'cost': 25}, {'agent_id': 'A7', 'task_id': 2, 'cost': 18}, {'agent_id': 'A7', 'task_id': 3, 'cost': 16}, {'agent_id': 'A7', 'task_id': 4, 'cost': 10}, {'agent_id': 'A7', 'task_id': 5, 'cost': 22}, {'agent_id': 'A7', 'task_id': 6, 'cost': 7}, {'agent_id': 'A7', 'task_id': 7, 'cost': 11}, {'agent_id': 'A7', 'task_id': 8, 'cost': 16}, {'agent_id': 'A7', 'task_id': 9, 'cost': 6}, {'agent_id': 'A7', 'task_id': 10, 'cost': 17}, {'agent_id': 'A7', 'task_id': 11, 'cost': 5}, {'agent_id': 'A7', 'task_id': 12, 'cost': 11}, {'agent_id': 'A7', 'task_id': 13, 'cost': 10}, {'agent_id': 'A7', 'task_id': 14, 'cost': 8}, {'agent_id': 'A7', 'task_id': 15, 'cost': 25}, {'agent_id': 'A7', 'task_id': 16, 'cost': 19}, {'agent_id': 'A7', 'task_id': 17, 'cost': 20}, {'agent_id': 'A7', 'task_id': 18, 'cost': 6}, {'agent_id': 'A7', 'task_id': 19, 'cost': 20}, {'agent_id': 'A7', 'task_id': 20, 'cost': 21}, {'agent_id': 'A7', 'task_id': 21, 'cost': 18}, {'agent_id': 'A7', 'task_id': 22, 'cost': 21}]}","['A1', 'A3', 'A2', 'A6', 'A4', 'A4', 'A7', 'A1', 'A5', 'A7', 'A6', 'A7', 'A3', 'A2', 'A3', 'A2', 'A4', 'A6', 'A7', 'A5', 'A6', 'A5', 'A1']",43,json,0 GAP,GAP,"Someone managing the routes has to decide how to spread out the day’s parcels across the fleet. Each parcel must go on exactly one van; vans may carry multiple parcels but the sum of their space or weight must stay inside that van’s allowance. What makes one decision better than another is the total delivery expense — add up the cost for each parcel’s chosen van to get that total — and the lower that sum, the better. Nothing is allowed to be left behind or duplicated, and no van may exceed its limits. The detailed list is below. { ""num_vans"": 7, ""num_parcels"": 23, ""van_ids"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"" ], ""parcel_ids"": [ ""A"", ""B"", ""C"", ""D"", ""E"", ""F"", ""G"", ""H"", ""I"", ""J"", ""K"", ""L"", ""M"", ""N"", ""O"", ""P"", ""Q"", ""R"", ""S"", ""T"", ""U"", ""V"", ""W"" ], ""capacities"": [ { ""van_id"": ""A1"", ""van_capacity"": 243 }, { ""van_id"": ""A2"", ""van_capacity"": 243 }, { ""van_id"": ""A3"", ""van_capacity"": 243 }, { ""van_id"": ""A4"", ""van_capacity"": 243 }, { ""van_id"": ""A5"", ""van_capacity"": 243 }, { ""van_id"": ""A6"", ""van_capacity"": 243 }, { ""van_id"": ""A7"", ""van_capacity"": 243 } ], ""resource"": [ { ""van_id"": ""A1"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A1"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A1"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 45 }, { ""van_id"": ""A1"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 14 }, { ""van_id"": ""A1"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 44 }, { ""van_id"": ""A1"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 44 }, { ""van_id"": ""A1"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 25 }, { ""van_id"": ""A1"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A1"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 33 }, { ""van_id"": ""A1"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A1"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A1"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A1"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 34 }, { ""van_id"": ""A1"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 24 }, { ""van_id"": ""A1"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 47 }, { ""van_id"": ""A1"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 25 }, { ""van_id"": ""A1"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 10 }, { ""van_id"": ""A1"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 33 }, { ""van_id"": ""A1"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 10 }, { ""van_id"": ""A1"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A1"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 40 }, { ""van_id"": ""A1"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A1"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 14 }, { ""van_id"": ""A2"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A2"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A2"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 48 }, { ""van_id"": ""A2"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A2"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 11 }, { ""van_id"": ""A2"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 17 }, { ""van_id"": ""A2"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 17 }, { ""van_id"": ""A2"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 24 }, { ""van_id"": ""A2"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 35 }, { ""van_id"": ""A2"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A2"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A2"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A2"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 22 }, { ""van_id"": ""A2"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 18 }, { ""van_id"": ""A2"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A2"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 24 }, { ""van_id"": ""A2"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A2"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 18 }, { ""van_id"": ""A2"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A2"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 24 }, { ""van_id"": ""A2"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 44 }, { ""van_id"": ""A2"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 28 }, { ""van_id"": ""A2"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 17 }, { ""van_id"": ""A3"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 34 }, { ""van_id"": ""A3"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 14 }, { ""van_id"": ""A3"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A3"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A3"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 37 }, { ""van_id"": ""A3"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A3"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 22 }, { ""van_id"": ""A3"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 16 }, { ""van_id"": ""A3"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A3"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A3"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 35 }, { ""van_id"": ""A3"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A3"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 32 }, { ""van_id"": ""A3"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A3"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 10 }, { ""van_id"": ""A3"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 28 }, { ""van_id"": ""A3"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 29 }, { ""van_id"": ""A3"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 41 }, { ""van_id"": ""A3"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A3"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 19 }, { ""van_id"": ""A3"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 32 }, { ""van_id"": ""A3"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 49 }, { ""van_id"": ""A3"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A4"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A4"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A4"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 14 }, { ""van_id"": ""A4"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A4"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 12 }, { ""van_id"": ""A4"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A4"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A4"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 41 }, { ""van_id"": ""A4"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 45 }, { ""van_id"": ""A4"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 22 }, { ""van_id"": ""A4"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A4"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 37 }, { ""van_id"": ""A4"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A4"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 45 }, { ""van_id"": ""A4"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 27 }, { ""van_id"": ""A4"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A4"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 14 }, { ""van_id"": ""A4"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A4"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A4"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A4"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A4"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 10 }, { ""van_id"": ""A4"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A5"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 18 }, { ""van_id"": ""A5"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 27 }, { ""van_id"": ""A5"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 11 }, { ""van_id"": ""A5"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 25 }, { ""van_id"": ""A5"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 21 }, { ""van_id"": ""A5"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 21 }, { ""van_id"": ""A5"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 48 }, { ""van_id"": ""A5"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A5"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A5"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 37 }, { ""van_id"": ""A5"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 10 }, { ""van_id"": ""A5"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 33 }, { ""van_id"": ""A5"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A5"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 50 }, { ""van_id"": ""A5"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 15 }, { ""van_id"": ""A5"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 45 }, { ""van_id"": ""A5"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 39 }, { ""van_id"": ""A5"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 32 }, { ""van_id"": ""A5"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 42 }, { ""van_id"": ""A5"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 30 }, { ""van_id"": ""A5"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A5"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 21 }, { ""van_id"": ""A5"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A6"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 40 }, { ""van_id"": ""A6"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A6"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A6"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A6"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 37 }, { ""van_id"": ""A6"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A6"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 35 }, { ""van_id"": ""A6"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 22 }, { ""van_id"": ""A6"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A6"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A6"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 22 }, { ""van_id"": ""A6"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 15 }, { ""van_id"": ""A6"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 21 }, { ""van_id"": ""A6"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 34 }, { ""van_id"": ""A6"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 27 }, { ""van_id"": ""A6"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 35 }, { ""van_id"": ""A6"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 31 }, { ""van_id"": ""A6"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 45 }, { ""van_id"": ""A6"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A6"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 47 }, { ""van_id"": ""A6"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 25 }, { ""van_id"": ""A6"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 29 }, { ""van_id"": ""A6"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 38 }, { ""van_id"": ""A7"", ""parcel_id"": ""A"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A7"", ""parcel_id"": ""B"", ""parcel_consumption_on_van"": 28 }, { ""van_id"": ""A7"", ""parcel_id"": ""C"", ""parcel_consumption_on_van"": 18 }, { ""van_id"": ""A7"", ""parcel_id"": ""D"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A7"", ""parcel_id"": ""E"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A7"", ""parcel_id"": ""F"", ""parcel_consumption_on_van"": 41 }, { ""van_id"": ""A7"", ""parcel_id"": ""G"", ""parcel_consumption_on_van"": 35 }, { ""van_id"": ""A7"", ""parcel_id"": ""H"", ""parcel_consumption_on_van"": 20 }, { ""van_id"": ""A7"", ""parcel_id"": ""I"", ""parcel_consumption_on_van"": 13 }, { ""van_id"": ""A7"", ""parcel_id"": ""J"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A7"", ""parcel_id"": ""K"", ""parcel_consumption_on_van"": 44 }, { ""van_id"": ""A7"", ""parcel_id"": ""L"", ""parcel_consumption_on_van"": 33 }, { ""van_id"": ""A7"", ""parcel_id"": ""M"", ""parcel_consumption_on_van"": 27 }, { ""van_id"": ""A7"", ""parcel_id"": ""N"", ""parcel_consumption_on_van"": 36 }, { ""van_id"": ""A7"", ""parcel_id"": ""O"", ""parcel_consumption_on_van"": 23 }, { ""van_id"": ""A7"", ""parcel_id"": ""P"", ""parcel_consumption_on_van"": 34 }, { ""van_id"": ""A7"", ""parcel_id"": ""Q"", ""parcel_consumption_on_van"": 46 }, { ""van_id"": ""A7"", ""parcel_id"": ""R"", ""parcel_consumption_on_van"": 25 }, { ""van_id"": ""A7"", ""parcel_id"": ""S"", ""parcel_consumption_on_van"": 33 }, { ""van_id"": ""A7"", ""parcel_id"": ""T"", ""parcel_consumption_on_van"": 11 }, { ""van_id"": ""A7"", ""parcel_id"": ""U"", ""parcel_consumption_on_van"": 26 }, { ""van_id"": ""A7"", ""parcel_id"": ""V"", ""parcel_consumption_on_van"": 43 }, { ""van_id"": ""A7"", ""parcel_id"": ""W"", ""parcel_consumption_on_van"": 37 } ], ""cost"": [ { ""van_id"": ""A1"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A1"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A1"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 13 }, { ""van_id"": ""A1"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A1"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A1"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A1"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A1"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A1"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 17 }, { ""van_id"": ""A1"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A1"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A1"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A1"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A1"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 7 }, { ""van_id"": ""A1"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 14 }, { ""van_id"": ""A1"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A1"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A1"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 14 }, { ""van_id"": ""A1"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A1"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A1"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A1"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A1"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A2"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A2"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A2"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A2"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A2"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A2"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A2"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A2"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A2"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A2"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 7 }, { ""van_id"": ""A2"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A2"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A2"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 7 }, { ""van_id"": ""A2"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A2"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A2"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A2"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A2"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A2"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A2"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A2"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 13 }, { ""van_id"": ""A2"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A2"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A3"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A3"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A3"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A3"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A3"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A3"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A3"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 14 }, { ""van_id"": ""A3"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A3"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A3"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A3"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A3"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A3"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A3"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A3"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A3"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A3"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A3"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A3"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A3"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A3"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A3"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A3"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A4"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A4"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A4"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A4"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A4"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A4"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A4"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A4"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A4"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 15 }, { ""van_id"": ""A4"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A4"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A4"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A4"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A4"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A4"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A4"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A4"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A4"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 7 }, { ""van_id"": ""A4"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A4"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A4"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A4"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A4"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A5"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A5"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A5"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 13 }, { ""van_id"": ""A5"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A5"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A5"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A5"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 25 }, { ""van_id"": ""A5"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A5"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A5"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A5"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A5"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A5"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 17 }, { ""van_id"": ""A5"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A5"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A5"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A5"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A5"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 11 }, { ""van_id"": ""A5"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A5"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A5"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A5"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A5"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 17 }, { ""van_id"": ""A6"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 14 }, { ""van_id"": ""A6"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A6"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A6"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A6"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 14 }, { ""van_id"": ""A6"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 17 }, { ""van_id"": ""A6"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A6"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A6"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A6"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A6"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A6"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A6"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 8 }, { ""van_id"": ""A6"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A6"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 16 }, { ""van_id"": ""A6"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A6"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 17 }, { ""van_id"": ""A6"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 7 }, { ""van_id"": ""A6"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A6"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 6 }, { ""van_id"": ""A6"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A6"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A6"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A7"", ""parcel_id"": ""A"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A7"", ""parcel_id"": ""B"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A7"", ""parcel_id"": ""C"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A7"", ""parcel_id"": ""D"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A7"", ""parcel_id"": ""E"", ""parcel_cost_on_van"": 5 }, { ""van_id"": ""A7"", ""parcel_id"": ""F"", ""parcel_cost_on_van"": 12 }, { ""van_id"": ""A7"", ""parcel_id"": ""G"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A7"", ""parcel_id"": ""H"", ""parcel_cost_on_van"": 18 }, { ""van_id"": ""A7"", ""parcel_id"": ""I"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A7"", ""parcel_id"": ""J"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A7"", ""parcel_id"": ""K"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A7"", ""parcel_id"": ""L"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A7"", ""parcel_id"": ""M"", ""parcel_cost_on_van"": 9 }, { ""van_id"": ""A7"", ""parcel_id"": ""N"", ""parcel_cost_on_van"": 10 }, { ""van_id"": ""A7"", ""parcel_id"": ""O"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A7"", ""parcel_id"": ""P"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A7"", ""parcel_id"": ""Q"", ""parcel_cost_on_van"": 22 }, { ""van_id"": ""A7"", ""parcel_id"": ""R"", ""parcel_cost_on_van"": 19 }, { ""van_id"": ""A7"", ""parcel_id"": ""S"", ""parcel_cost_on_van"": 21 }, { ""van_id"": ""A7"", ""parcel_id"": ""T"", ""parcel_cost_on_van"": 20 }, { ""van_id"": ""A7"", ""parcel_id"": ""U"", ""parcel_cost_on_van"": 24 }, { ""van_id"": ""A7"", ""parcel_id"": ""V"", ""parcel_cost_on_van"": 23 }, { ""van_id"": ""A7"", ""parcel_id"": ""W"", ""parcel_cost_on_van"": 8 } ] } And one more thing — when you send back the assignment, please use this little JSON shape so I can read it automatically: { ""solution"": [ , , ..., ] } This just means ""solution"" should be a list where each entry names which van takes that parcel (first entry = first parcel, second = second parcel, etc.). Keep it casual: each placeholder stands for the van identifier you choose for that parcel, in order. The block above is just the shape I expect, not the actual answer. Please also make sure to use the exact identifiers from the instance input — don't rename them or invent new ones. For example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[38, 50, 45, 14, 44, 44, 25, 36, 33, 50, 36, 13, 34, 24, 47, 25, 10, 33, 10, 50, 40, 31, 14], [26, 30, 48, 50, 11, 17, 17, 24, 35, 30, 43, 30, 22, 18, 26, 24, 46, 18, 23, 24, 44, 28, 17], [34, 14, 13, 26, 37, 50, 22, 16, 38, 36, 35, 31, 32, 31, 10, 28, 29, 41, 46, 19, 32, 49, 30], [38, 13, 14, 38, 12, 43, 13, 41, 45, 22, 30, 37, 26, 45, 27, 43, 14, 23, 26, 30, 23, 10, 13], [18, 27, 11, 25, 21, 21, 48, 43, 38, 37, 10, 33, 23, 50, 15, 45, 39, 32, 42, 30, 36, 21, 46], [40, 46, 31, 26, 37, 31, 35, 22, 43, 23, 22, 15, 21, 34, 27, 35, 31, 45, 38, 47, 25, 29, 38], [36, 28, 18, 13, 43, 41, 35, 20, 13, 46, 44, 33, 27, 36, 23, 34, 46, 25, 33, 11, 26, 43, 37]], 'assignment_costs': [[11, 15, 13, 12, 23, 16, 21, 20, 17, 21, 10, 18, 8, 7, 14, 6, 9, 14, 15, 15, 23, 11, 24], [21, 5, 5, 25, 18, 5, 19, 16, 21, 7, 12, 9, 7, 8, 9, 9, 22, 8, 6, 15, 13, 21, 6], [6, 22, 18, 24, 21, 21, 14, 22, 16, 15, 19, 19, 18, 12, 11, 6, 21, 25, 16, 10, 24, 6, 22], [20, 19, 9, 25, 6, 6, 9, 6, 15, 6, 6, 18, 5, 18, 21, 23, 16, 7, 16, 25, 25, 5, 10], [11, 8, 13, 21, 20, 20, 25, 11, 24, 6, 16, 16, 17, 8, 12, 22, 16, 11, 21, 18, 12, 23, 17], [14, 18, 12, 10, 14, 17, 18, 24, 16, 16, 10, 12, 8, 20, 16, 6, 17, 7, 19, 6, 10, 9, 9], [18, 20, 20, 24, 5, 12, 23, 18, 24, 10, 23, 24, 9, 10, 22, 23, 22, 19, 21, 20, 24, 23, 8]], 'capacities': [243, 243, 243, 243, 243, 243, 243], 'objective': 163.0}","[2, 1, 1, 5, 6, 1, 3, 3, 3, 3, 3, 1, 3, 0, 1, 0, 0, 3, 1, 5, 5, 3, 1]",163.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 23, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 243}, {'agent_id': 'A2', 'capacity': 243}, {'agent_id': 'A3', 'capacity': 243}, {'agent_id': 'A4', 'capacity': 243}, {'agent_id': 'A5', 'capacity': 243}, {'agent_id': 'A6', 'capacity': 243}, {'agent_id': 'A7', 'capacity': 243}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 38}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 44}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 44}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 13}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 24}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 10}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 10}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 50}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'V', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'W', 'consumption': 14}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 26}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 22}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 18}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 26}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 46}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 18}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'V', 'consumption': 28}, {'agent_id': 'A2', 'task_id': 'W', 'consumption': 17}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 14}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 13}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 26}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 37}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 50}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 36}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 35}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 32}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 29}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 41}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 19}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 32}, {'agent_id': 'A3', 'task_id': 'V', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'W', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 38}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 13}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 38}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 13}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'V', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'W', 'consumption': 13}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 11}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 25}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 37}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 23}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 50}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 45}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 39}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 42}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 30}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 36}, {'agent_id': 'A5', 'task_id': 'V', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'W', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 46}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 26}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 15}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 34}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 45}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'V', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'W', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 28}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 18}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 20}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 46}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 23}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 46}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 25}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 33}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 11}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 26}, {'agent_id': 'A7', 'task_id': 'V', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'W', 'consumption': 37}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'V', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'W', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 8}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'V', 'cost': 21}, {'agent_id': 'A2', 'task_id': 'W', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 18}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 11}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'V', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'W', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 25}, {'agent_id': 'A4', 'task_id': 'V', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'W', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 25}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'W', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 6}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'V', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'W', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'W', 'cost': 8}]}","['A3', 'A2', 'A2', 'A6', 'A7', 'A2', 'A4', 'A4', 'A4', 'A4', 'A4', 'A2', 'A4', 'A1', 'A2', 'A1', 'A1', 'A4', 'A2', 'A6', 'A6', 'A4', 'A2']",44,json,names GAP,GAP,"I’m picturing a busy term where a pile of student projects needs grading and a handful of teaching assistants are available to do the reviews. Each project has to be handed to one TA — no project gets skipped and no project gets split between people — and each TA can take on several reviews as long as the total time or effort they’d need for those reviews doesn’t exceed what they can realistically handle. For every possible pairing, it’s already known how much work that project would be for that TA and how much the TA would charge. The goal is simple: keep the overall grading bill as small as possible by assigning every project to exactly one TA, adding up the fee for each assigned review to get the total cost, and choosing assignments that make that total as low as possible while making sure no TA is overloaded. The exact project loads, TA capacities, and fees are listed below. { ""num_tas"": 8, ""num_projects"": 21, ""tas"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"", ""A7"", ""A8"" ], ""projects"": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ], ""capacities"": [ { ""ta_id"": ""A1"", ""ta_available_capacity"": 115 }, { ""ta_id"": ""A2"", ""ta_available_capacity"": 111 }, { ""ta_id"": ""A3"", ""ta_available_capacity"": 121 }, { ""ta_id"": ""A4"", ""ta_available_capacity"": 121 }, { ""ta_id"": ""A5"", ""ta_available_capacity"": 120 }, { ""ta_id"": ""A6"", ""ta_available_capacity"": 114 }, { ""ta_id"": ""A7"", ""ta_available_capacity"": 112 }, { ""ta_id"": ""A8"", ""ta_available_capacity"": 126 } ], ""resource"": [ { ""ta_id"": ""A1"", ""project_id"": 1, ""grading_effort"": 25 }, { ""ta_id"": ""A1"", ""project_id"": 2, ""grading_effort"": 35 }, { ""ta_id"": ""A1"", ""project_id"": 3, ""grading_effort"": 39 }, { ""ta_id"": ""A1"", ""project_id"": 4, ""grading_effort"": 37 }, { ""ta_id"": ""A1"", ""project_id"": 5, ""grading_effort"": 39 }, { ""ta_id"": ""A1"", ""project_id"": 6, ""grading_effort"": 28 }, { ""ta_id"": ""A1"", ""project_id"": 7, ""grading_effort"": 19 }, { ""ta_id"": ""A1"", ""project_id"": 8, ""grading_effort"": 28 }, { ""ta_id"": ""A1"", ""project_id"": 9, ""grading_effort"": 47 }, { ""ta_id"": ""A1"", ""project_id"": 10, ""grading_effort"": 43 }, { ""ta_id"": ""A1"", ""project_id"": 11, ""grading_effort"": 14 }, { ""ta_id"": ""A1"", ""project_id"": 12, ""grading_effort"": 45 }, { ""ta_id"": ""A1"", ""project_id"": 13, ""grading_effort"": 44 }, { ""ta_id"": ""A1"", ""project_id"": 14, ""grading_effort"": 33 }, { ""ta_id"": ""A1"", ""project_id"": 15, ""grading_effort"": 35 }, { ""ta_id"": ""A1"", ""project_id"": 16, ""grading_effort"": 17 }, { ""ta_id"": ""A1"", ""project_id"": 17, ""grading_effort"": 36 }, { ""ta_id"": ""A1"", ""project_id"": 18, ""grading_effort"": 31 }, { ""ta_id"": ""A1"", ""project_id"": 19, ""grading_effort"": 38 }, { ""ta_id"": ""A1"", ""project_id"": 20, ""grading_effort"": 36 }, { ""ta_id"": ""A1"", ""project_id"": 21, ""grading_effort"": 14 }, { ""ta_id"": ""A2"", ""project_id"": 1, ""grading_effort"": 17 }, { ""ta_id"": ""A2"", ""project_id"": 2, ""grading_effort"": 37 }, { ""ta_id"": ""A2"", ""project_id"": 3, ""grading_effort"": 24 }, { ""ta_id"": ""A2"", ""project_id"": 4, ""grading_effort"": 30 }, { ""ta_id"": ""A2"", ""project_id"": 5, ""grading_effort"": 37 }, { ""ta_id"": ""A2"", ""project_id"": 6, ""grading_effort"": 15 }, { ""ta_id"": ""A2"", ""project_id"": 7, ""grading_effort"": 16 }, { ""ta_id"": ""A2"", ""project_id"": 8, ""grading_effort"": 11 }, { ""ta_id"": ""A2"", ""project_id"": 9, ""grading_effort"": 21 }, { ""ta_id"": ""A2"", ""project_id"": 10, ""grading_effort"": 34 }, { ""ta_id"": ""A2"", ""project_id"": 11, ""grading_effort"": 35 }, { ""ta_id"": ""A2"", ""project_id"": 12, ""grading_effort"": 32 }, { ""ta_id"": ""A2"", ""project_id"": 13, ""grading_effort"": 10 }, { ""ta_id"": ""A2"", ""project_id"": 14, ""grading_effort"": 31 }, { ""ta_id"": ""A2"", ""project_id"": 15, ""grading_effort"": 33 }, { ""ta_id"": ""A2"", ""project_id"": 16, ""grading_effort"": 30 }, { ""ta_id"": ""A2"", ""project_id"": 17, ""grading_effort"": 41 }, { ""ta_id"": ""A2"", ""project_id"": 18, ""grading_effort"": 45 }, { ""ta_id"": ""A2"", ""project_id"": 19, ""grading_effort"": 20 }, { ""ta_id"": ""A2"", ""project_id"": 20, ""grading_effort"": 50 }, { ""ta_id"": ""A2"", ""project_id"": 21, ""grading_effort"": 49 }, { ""ta_id"": ""A3"", ""project_id"": 1, ""grading_effort"": 49 }, { ""ta_id"": ""A3"", ""project_id"": 2, ""grading_effort"": 39 }, { ""ta_id"": ""A3"", ""project_id"": 3, ""grading_effort"": 35 }, { ""ta_id"": ""A3"", ""project_id"": 4, ""grading_effort"": 12 }, { ""ta_id"": ""A3"", ""project_id"": 5, ""grading_effort"": 16 }, { ""ta_id"": ""A3"", ""project_id"": 6, ""grading_effort"": 44 }, { ""ta_id"": ""A3"", ""project_id"": 7, ""grading_effort"": 24 }, { ""ta_id"": ""A3"", ""project_id"": 8, ""grading_effort"": 29 }, { ""ta_id"": ""A3"", ""project_id"": 9, ""grading_effort"": 11 }, { ""ta_id"": ""A3"", ""project_id"": 10, ""grading_effort"": 18 }, { ""ta_id"": ""A3"", ""project_id"": 11, ""grading_effort"": 37 }, { ""ta_id"": ""A3"", ""project_id"": 12, ""grading_effort"": 13 }, { ""ta_id"": ""A3"", ""project_id"": 13, ""grading_effort"": 25 }, { ""ta_id"": ""A3"", ""project_id"": 14, ""grading_effort"": 22 }, { ""ta_id"": ""A3"", ""project_id"": 15, ""grading_effort"": 29 }, { ""ta_id"": ""A3"", ""project_id"": 16, ""grading_effort"": 32 }, { ""ta_id"": ""A3"", ""project_id"": 17, ""grading_effort"": 48 }, { ""ta_id"": ""A3"", ""project_id"": 18, ""grading_effort"": 40 }, { ""ta_id"": ""A3"", ""project_id"": 19, ""grading_effort"": 19 }, { ""ta_id"": ""A3"", ""project_id"": 20, ""grading_effort"": 30 }, { ""ta_id"": ""A3"", ""project_id"": 21, ""grading_effort"": 46 }, { ""ta_id"": ""A4"", ""project_id"": 1, ""grading_effort"": 11 }, { ""ta_id"": ""A4"", ""project_id"": 2, ""grading_effort"": 37 }, { ""ta_id"": ""A4"", ""project_id"": 3, ""grading_effort"": 50 }, { ""ta_id"": ""A4"", ""project_id"": 4, ""grading_effort"": 11 }, { ""ta_id"": ""A4"", ""project_id"": 5, ""grading_effort"": 24 }, { ""ta_id"": ""A4"", ""project_id"": 6, ""grading_effort"": 14 }, { ""ta_id"": ""A4"", ""project_id"": 7, ""grading_effort"": 28 }, { ""ta_id"": ""A4"", ""project_id"": 8, ""grading_effort"": 21 }, { ""ta_id"": ""A4"", ""project_id"": 9, ""grading_effort"": 40 }, { ""ta_id"": ""A4"", ""project_id"": 10, ""grading_effort"": 21 }, { ""ta_id"": ""A4"", ""project_id"": 11, ""grading_effort"": 44 }, { ""ta_id"": ""A4"", ""project_id"": 12, ""grading_effort"": 18 }, { ""ta_id"": ""A4"", ""project_id"": 13, ""grading_effort"": 28 }, { ""ta_id"": ""A4"", ""project_id"": 14, ""grading_effort"": 20 }, { ""ta_id"": ""A4"", ""project_id"": 15, ""grading_effort"": 40 }, { ""ta_id"": ""A4"", ""project_id"": 16, ""grading_effort"": 27 }, { ""ta_id"": ""A4"", ""project_id"": 17, ""grading_effort"": 44 }, { ""ta_id"": ""A4"", ""project_id"": 18, ""grading_effort"": 49 }, { ""ta_id"": ""A4"", ""project_id"": 19, ""grading_effort"": 27 }, { ""ta_id"": ""A4"", ""project_id"": 20, ""grading_effort"": 46 }, { ""ta_id"": ""A4"", ""project_id"": 21, ""grading_effort"": 13 }, { ""ta_id"": ""A5"", ""project_id"": 1, ""grading_effort"": 20 }, { ""ta_id"": ""A5"", ""project_id"": 2, ""grading_effort"": 31 }, { ""ta_id"": ""A5"", ""project_id"": 3, ""grading_effort"": 32 }, { ""ta_id"": ""A5"", ""project_id"": 4, ""grading_effort"": 46 }, { ""ta_id"": ""A5"", ""project_id"": 5, ""grading_effort"": 34 }, { ""ta_id"": ""A5"", ""project_id"": 6, ""grading_effort"": 47 }, { ""ta_id"": ""A5"", ""project_id"": 7, ""grading_effort"": 43 }, { ""ta_id"": ""A5"", ""project_id"": 8, ""grading_effort"": 20 }, { ""ta_id"": ""A5"", ""project_id"": 9, ""grading_effort"": 46 }, { ""ta_id"": ""A5"", ""project_id"": 10, ""grading_effort"": 10 }, { ""ta_id"": ""A5"", ""project_id"": 11, ""grading_effort"": 29 }, { ""ta_id"": ""A5"", ""project_id"": 12, ""grading_effort"": 49 }, { ""ta_id"": ""A5"", ""project_id"": 13, ""grading_effort"": 19 }, { ""ta_id"": ""A5"", ""project_id"": 14, ""grading_effort"": 35 }, { ""ta_id"": ""A5"", ""project_id"": 15, ""grading_effort"": 29 }, { ""ta_id"": ""A5"", ""project_id"": 16, ""grading_effort"": 16 }, { ""ta_id"": ""A5"", ""project_id"": 17, ""grading_effort"": 47 }, { ""ta_id"": ""A5"", ""project_id"": 18, ""grading_effort"": 46 }, { ""ta_id"": ""A5"", ""project_id"": 19, ""grading_effort"": 11 }, { ""ta_id"": ""A5"", ""project_id"": 20, ""grading_effort"": 44 }, { ""ta_id"": ""A5"", ""project_id"": 21, ""grading_effort"": 34 }, { ""ta_id"": ""A6"", ""project_id"": 1, ""grading_effort"": 27 }, { ""ta_id"": ""A6"", ""project_id"": 2, ""grading_effort"": 40 }, { ""ta_id"": ""A6"", ""project_id"": 3, ""grading_effort"": 35 }, { ""ta_id"": ""A6"", ""project_id"": 4, ""grading_effort"": 16 }, { ""ta_id"": ""A6"", ""project_id"": 5, ""grading_effort"": 18 }, { ""ta_id"": ""A6"", ""project_id"": 6, ""grading_effort"": 28 }, { ""ta_id"": ""A6"", ""project_id"": 7, ""grading_effort"": 46 }, { ""ta_id"": ""A6"", ""project_id"": 8, ""grading_effort"": 10 }, { ""ta_id"": ""A6"", ""project_id"": 9, ""grading_effort"": 41 }, { ""ta_id"": ""A6"", ""project_id"": 10, ""grading_effort"": 38 }, { ""ta_id"": ""A6"", ""project_id"": 11, ""grading_effort"": 44 }, { ""ta_id"": ""A6"", ""project_id"": 12, ""grading_effort"": 29 }, { ""ta_id"": ""A6"", ""project_id"": 13, ""grading_effort"": 49 }, { ""ta_id"": ""A6"", ""project_id"": 14, ""grading_effort"": 14 }, { ""ta_id"": ""A6"", ""project_id"": 15, ""grading_effort"": 10 }, { ""ta_id"": ""A6"", ""project_id"": 16, ""grading_effort"": 18 }, { ""ta_id"": ""A6"", ""project_id"": 17, ""grading_effort"": 25 }, { ""ta_id"": ""A6"", ""project_id"": 18, ""grading_effort"": 10 }, { ""ta_id"": ""A6"", ""project_id"": 19, ""grading_effort"": 44 }, { ""ta_id"": ""A6"", ""project_id"": 20, ""grading_effort"": 38 }, { ""ta_id"": ""A6"", ""project_id"": 21, ""grading_effort"": 20 }, { ""ta_id"": ""A7"", ""project_id"": 1, ""grading_effort"": 10 }, { ""ta_id"": ""A7"", ""project_id"": 2, ""grading_effort"": 38 }, { ""ta_id"": ""A7"", ""project_id"": 3, ""grading_effort"": 31 }, { ""ta_id"": ""A7"", ""project_id"": 4, ""grading_effort"": 18 }, { ""ta_id"": ""A7"", ""project_id"": 5, ""grading_effort"": 23 }, { ""ta_id"": ""A7"", ""project_id"": 6, ""grading_effort"": 16 }, { ""ta_id"": ""A7"", ""project_id"": 7, ""grading_effort"": 43 }, { ""ta_id"": ""A7"", ""project_id"": 8, ""grading_effort"": 30 }, { ""ta_id"": ""A7"", ""project_id"": 9, ""grading_effort"": 43 }, { ""ta_id"": ""A7"", ""project_id"": 10, ""grading_effort"": 40 }, { ""ta_id"": ""A7"", ""project_id"": 11, ""grading_effort"": 31 }, { ""ta_id"": ""A7"", ""project_id"": 12, ""grading_effort"": 46 }, { ""ta_id"": ""A7"", ""project_id"": 13, ""grading_effort"": 13 }, { ""ta_id"": ""A7"", ""project_id"": 14, ""grading_effort"": 38 }, { ""ta_id"": ""A7"", ""project_id"": 15, ""grading_effort"": 37 }, { ""ta_id"": ""A7"", ""project_id"": 16, ""grading_effort"": 30 }, { ""ta_id"": ""A7"", ""project_id"": 17, ""grading_effort"": 12 }, { ""ta_id"": ""A7"", ""project_id"": 18, ""grading_effort"": 23 }, { ""ta_id"": ""A7"", ""project_id"": 19, ""grading_effort"": 16 }, { ""ta_id"": ""A7"", ""project_id"": 20, ""grading_effort"": 32 }, { ""ta_id"": ""A7"", ""project_id"": 21, ""grading_effort"": 49 }, { ""ta_id"": ""A8"", ""project_id"": 1, ""grading_effort"": 25 }, { ""ta_id"": ""A8"", ""project_id"": 2, ""grading_effort"": 42 }, { ""ta_id"": ""A8"", ""project_id"": 3, ""grading_effort"": 24 }, { ""ta_id"": ""A8"", ""project_id"": 4, ""grading_effort"": 11 }, { ""ta_id"": ""A8"", ""project_id"": 5, ""grading_effort"": 19 }, { ""ta_id"": ""A8"", ""project_id"": 6, ""grading_effort"": 33 }, { ""ta_id"": ""A8"", ""project_id"": 7, ""grading_effort"": 11 }, { ""ta_id"": ""A8"", ""project_id"": 8, ""grading_effort"": 29 }, { ""ta_id"": ""A8"", ""project_id"": 9, ""grading_effort"": 16 }, { ""ta_id"": ""A8"", ""project_id"": 10, ""grading_effort"": 21 }, { ""ta_id"": ""A8"", ""project_id"": 11, ""grading_effort"": 12 }, { ""ta_id"": ""A8"", ""project_id"": 12, ""grading_effort"": 34 }, { ""ta_id"": ""A8"", ""project_id"": 13, ""grading_effort"": 46 }, { ""ta_id"": ""A8"", ""project_id"": 14, ""grading_effort"": 17 }, { ""ta_id"": ""A8"", ""project_id"": 15, ""grading_effort"": 18 }, { ""ta_id"": ""A8"", ""project_id"": 16, ""grading_effort"": 12 }, { ""ta_id"": ""A8"", ""project_id"": 17, ""grading_effort"": 50 }, { ""ta_id"": ""A8"", ""project_id"": 18, ""grading_effort"": 25 }, { ""ta_id"": ""A8"", ""project_id"": 19, ""grading_effort"": 24 }, { ""ta_id"": ""A8"", ""project_id"": 20, ""grading_effort"": 25 }, { ""ta_id"": ""A8"", ""project_id"": 21, ""grading_effort"": 38 } ], ""cost"": [ { ""ta_id"": ""A1"", ""project_id"": 1, ""grading_fee"": 7 }, { ""ta_id"": ""A1"", ""project_id"": 2, ""grading_fee"": 22 }, { ""ta_id"": ""A1"", ""project_id"": 3, ""grading_fee"": 6 }, { ""ta_id"": ""A1"", ""project_id"": 4, ""grading_fee"": 11 }, { ""ta_id"": ""A1"", ""project_id"": 5, ""grading_fee"": 21 }, { ""ta_id"": ""A1"", ""project_id"": 6, ""grading_fee"": 6 }, { ""ta_id"": ""A1"", ""project_id"": 7, ""grading_fee"": 25 }, { ""ta_id"": ""A1"", ""project_id"": 8, ""grading_fee"": 19 }, { ""ta_id"": ""A1"", ""project_id"": 9, ""grading_fee"": 21 }, { ""ta_id"": ""A1"", ""project_id"": 10, ""grading_fee"": 5 }, { ""ta_id"": ""A1"", ""project_id"": 11, ""grading_fee"": 25 }, { ""ta_id"": ""A1"", ""project_id"": 12, ""grading_fee"": 18 }, { ""ta_id"": ""A1"", ""project_id"": 13, ""grading_fee"": 19 }, { ""ta_id"": ""A1"", ""project_id"": 14, ""grading_fee"": 12 }, { ""ta_id"": ""A1"", ""project_id"": 15, ""grading_fee"": 10 }, { ""ta_id"": ""A1"", ""project_id"": 16, ""grading_fee"": 14 }, { ""ta_id"": ""A1"", ""project_id"": 17, ""grading_fee"": 16 }, { ""ta_id"": ""A1"", ""project_id"": 18, ""grading_fee"": 13 }, { ""ta_id"": ""A1"", ""project_id"": 19, ""grading_fee"": 21 }, { ""ta_id"": ""A1"", ""project_id"": 20, ""grading_fee"": 23 }, { ""ta_id"": ""A1"", ""project_id"": 21, ""grading_fee"": 7 }, { ""ta_id"": ""A2"", ""project_id"": 1, ""grading_fee"": 15 }, { ""ta_id"": ""A2"", ""project_id"": 2, ""grading_fee"": 8 }, { ""ta_id"": ""A2"", ""project_id"": 3, ""grading_fee"": 7 }, { ""ta_id"": ""A2"", ""project_id"": 4, ""grading_fee"": 18 }, { ""ta_id"": ""A2"", ""project_id"": 5, ""grading_fee"": 14 }, { ""ta_id"": ""A2"", ""project_id"": 6, ""grading_fee"": 12 }, { ""ta_id"": ""A2"", ""project_id"": 7, ""grading_fee"": 17 }, { ""ta_id"": ""A2"", ""project_id"": 8, ""grading_fee"": 6 }, { ""ta_id"": ""A2"", ""project_id"": 9, ""grading_fee"": 14 }, { ""ta_id"": ""A2"", ""project_id"": 10, ""grading_fee"": 16 }, { ""ta_id"": ""A2"", ""project_id"": 11, ""grading_fee"": 17 }, { ""ta_id"": ""A2"", ""project_id"": 12, ""grading_fee"": 11 }, { ""ta_id"": ""A2"", ""project_id"": 13, ""grading_fee"": 21 }, { ""ta_id"": ""A2"", ""project_id"": 14, ""grading_fee"": 13 }, { ""ta_id"": ""A2"", ""project_id"": 15, ""grading_fee"": 12 }, { ""ta_id"": ""A2"", ""project_id"": 16, ""grading_fee"": 25 }, { ""ta_id"": ""A2"", ""project_id"": 17, ""grading_fee"": 5 }, { ""ta_id"": ""A2"", ""project_id"": 18, ""grading_fee"": 9 }, { ""ta_id"": ""A2"", ""project_id"": 19, ""grading_fee"": 16 }, { ""ta_id"": ""A2"", ""project_id"": 20, ""grading_fee"": 22 }, { ""ta_id"": ""A2"", ""project_id"": 21, ""grading_fee"": 11 }, { ""ta_id"": ""A3"", ""project_id"": 1, ""grading_fee"": 13 }, { ""ta_id"": ""A3"", ""project_id"": 2, ""grading_fee"": 22 }, { ""ta_id"": ""A3"", ""project_id"": 3, ""grading_fee"": 5 }, { ""ta_id"": ""A3"", ""project_id"": 4, ""grading_fee"": 17 }, { ""ta_id"": ""A3"", ""project_id"": 5, ""grading_fee"": 11 }, { ""ta_id"": ""A3"", ""project_id"": 6, ""grading_fee"": 9 }, { ""ta_id"": ""A3"", ""project_id"": 7, ""grading_fee"": 20 }, { ""ta_id"": ""A3"", ""project_id"": 8, ""grading_fee"": 21 }, { ""ta_id"": ""A3"", ""project_id"": 9, ""grading_fee"": 17 }, { ""ta_id"": ""A3"", ""project_id"": 10, ""grading_fee"": 5 }, { ""ta_id"": ""A3"", ""project_id"": 11, ""grading_fee"": 15 }, { ""ta_id"": ""A3"", ""project_id"": 12, ""grading_fee"": 22 }, { ""ta_id"": ""A3"", ""project_id"": 13, ""grading_fee"": 22 }, { ""ta_id"": ""A3"", ""project_id"": 14, ""grading_fee"": 24 }, { ""ta_id"": ""A3"", ""project_id"": 15, ""grading_fee"": 16 }, { ""ta_id"": ""A3"", ""project_id"": 16, ""grading_fee"": 13 }, { ""ta_id"": ""A3"", ""project_id"": 17, ""grading_fee"": 6 }, { ""ta_id"": ""A3"", ""project_id"": 18, ""grading_fee"": 11 }, { ""ta_id"": ""A3"", ""project_id"": 19, ""grading_fee"": 21 }, { ""ta_id"": ""A3"", ""project_id"": 20, ""grading_fee"": 16 }, { ""ta_id"": ""A3"", ""project_id"": 21, ""grading_fee"": 6 }, { ""ta_id"": ""A4"", ""project_id"": 1, ""grading_fee"": 10 }, { ""ta_id"": ""A4"", ""project_id"": 2, ""grading_fee"": 14 }, { ""ta_id"": ""A4"", ""project_id"": 3, ""grading_fee"": 19 }, { ""ta_id"": ""A4"", ""project_id"": 4, ""grading_fee"": 17 }, { ""ta_id"": ""A4"", ""project_id"": 5, ""grading_fee"": 10 }, { ""ta_id"": ""A4"", ""project_id"": 6, ""grading_fee"": 17 }, { ""ta_id"": ""A4"", ""project_id"": 7, ""grading_fee"": 15 }, { ""ta_id"": ""A4"", ""project_id"": 8, ""grading_fee"": 7 }, { ""ta_id"": ""A4"", ""project_id"": 9, ""grading_fee"": 15 }, { ""ta_id"": ""A4"", ""project_id"": 10, ""grading_fee"": 14 }, { ""ta_id"": ""A4"", ""project_id"": 11, ""grading_fee"": 21 }, { ""ta_id"": ""A4"", ""project_id"": 12, ""grading_fee"": 23 }, { ""ta_id"": ""A4"", ""project_id"": 13, ""grading_fee"": 7 }, { ""ta_id"": ""A4"", ""project_id"": 14, ""grading_fee"": 22 }, { ""ta_id"": ""A4"", ""project_id"": 15, ""grading_fee"": 9 }, { ""ta_id"": ""A4"", ""project_id"": 16, ""grading_fee"": 15 }, { ""ta_id"": ""A4"", ""project_id"": 17, ""grading_fee"": 15 }, { ""ta_id"": ""A4"", ""project_id"": 18, ""grading_fee"": 12 }, { ""ta_id"": ""A4"", ""project_id"": 19, ""grading_fee"": 15 }, { ""ta_id"": ""A4"", ""project_id"": 20, ""grading_fee"": 16 }, { ""ta_id"": ""A4"", ""project_id"": 21, ""grading_fee"": 6 }, { ""ta_id"": ""A5"", ""project_id"": 1, ""grading_fee"": 24 }, { ""ta_id"": ""A5"", ""project_id"": 2, ""grading_fee"": 21 }, { ""ta_id"": ""A5"", ""project_id"": 3, ""grading_fee"": 6 }, { ""ta_id"": ""A5"", ""project_id"": 4, ""grading_fee"": 22 }, { ""ta_id"": ""A5"", ""project_id"": 5, ""grading_fee"": 8 }, { ""ta_id"": ""A5"", ""project_id"": 6, ""grading_fee"": 6 }, { ""ta_id"": ""A5"", ""project_id"": 7, ""grading_fee"": 18 }, { ""ta_id"": ""A5"", ""project_id"": 8, ""grading_fee"": 5 }, { ""ta_id"": ""A5"", ""project_id"": 9, ""grading_fee"": 21 }, { ""ta_id"": ""A5"", ""project_id"": 10, ""grading_fee"": 18 }, { ""ta_id"": ""A5"", ""project_id"": 11, ""grading_fee"": 21 }, { ""ta_id"": ""A5"", ""project_id"": 12, ""grading_fee"": 23 }, { ""ta_id"": ""A5"", ""project_id"": 13, ""grading_fee"": 15 }, { ""ta_id"": ""A5"", ""project_id"": 14, ""grading_fee"": 14 }, { ""ta_id"": ""A5"", ""project_id"": 15, ""grading_fee"": 6 }, { ""ta_id"": ""A5"", ""project_id"": 16, ""grading_fee"": 14 }, { ""ta_id"": ""A5"", ""project_id"": 17, ""grading_fee"": 25 }, { ""ta_id"": ""A5"", ""project_id"": 18, ""grading_fee"": 19 }, { ""ta_id"": ""A5"", ""project_id"": 19, ""grading_fee"": 12 }, { ""ta_id"": ""A5"", ""project_id"": 20, ""grading_fee"": 23 }, { ""ta_id"": ""A5"", ""project_id"": 21, ""grading_fee"": 14 }, { ""ta_id"": ""A6"", ""project_id"": 1, ""grading_fee"": 18 }, { ""ta_id"": ""A6"", ""project_id"": 2, ""grading_fee"": 7 }, { ""ta_id"": ""A6"", ""project_id"": 3, ""grading_fee"": 6 }, { ""ta_id"": ""A6"", ""project_id"": 4, ""grading_fee"": 23 }, { ""ta_id"": ""A6"", ""project_id"": 5, ""grading_fee"": 14 }, { ""ta_id"": ""A6"", ""project_id"": 6, ""grading_fee"": 17 }, { ""ta_id"": ""A6"", ""project_id"": 7, ""grading_fee"": 10 }, { ""ta_id"": ""A6"", ""project_id"": 8, ""grading_fee"": 13 }, { ""ta_id"": ""A6"", ""project_id"": 9, ""grading_fee"": 23 }, { ""ta_id"": ""A6"", ""project_id"": 10, ""grading_fee"": 5 }, { ""ta_id"": ""A6"", ""project_id"": 11, ""grading_fee"": 12 }, { ""ta_id"": ""A6"", ""project_id"": 12, ""grading_fee"": 21 }, { ""ta_id"": ""A6"", ""project_id"": 13, ""grading_fee"": 8 }, { ""ta_id"": ""A6"", ""project_id"": 14, ""grading_fee"": 15 }, { ""ta_id"": ""A6"", ""project_id"": 15, ""grading_fee"": 19 }, { ""ta_id"": ""A6"", ""project_id"": 16, ""grading_fee"": 19 }, { ""ta_id"": ""A6"", ""project_id"": 17, ""grading_fee"": 8 }, { ""ta_id"": ""A6"", ""project_id"": 18, ""grading_fee"": 12 }, { ""ta_id"": ""A6"", ""project_id"": 19, ""grading_fee"": 14 }, { ""ta_id"": ""A6"", ""project_id"": 20, ""grading_fee"": 17 }, { ""ta_id"": ""A6"", ""project_id"": 21, ""grading_fee"": 21 }, { ""ta_id"": ""A7"", ""project_id"": 1, ""grading_fee"": 9 }, { ""ta_id"": ""A7"", ""project_id"": 2, ""grading_fee"": 17 }, { ""ta_id"": ""A7"", ""project_id"": 3, ""grading_fee"": 19 }, { ""ta_id"": ""A7"", ""project_id"": 4, ""grading_fee"": 21 }, { ""ta_id"": ""A7"", ""project_id"": 5, ""grading_fee"": 13 }, { ""ta_id"": ""A7"", ""project_id"": 6, ""grading_fee"": 20 }, { ""ta_id"": ""A7"", ""project_id"": 7, ""grading_fee"": 19 }, { ""ta_id"": ""A7"", ""project_id"": 8, ""grading_fee"": 14 }, { ""ta_id"": ""A7"", ""project_id"": 9, ""grading_fee"": 19 }, { ""ta_id"": ""A7"", ""project_id"": 10, ""grading_fee"": 7 }, { ""ta_id"": ""A7"", ""project_id"": 11, ""grading_fee"": 12 }, { ""ta_id"": ""A7"", ""project_id"": 12, ""grading_fee"": 10 }, { ""ta_id"": ""A7"", ""project_id"": 13, ""grading_fee"": 18 }, { ""ta_id"": ""A7"", ""project_id"": 14, ""grading_fee"": 10 }, { ""ta_id"": ""A7"", ""project_id"": 15, ""grading_fee"": 11 }, { ""ta_id"": ""A7"", ""project_id"": 16, ""grading_fee"": 8 }, { ""ta_id"": ""A7"", ""project_id"": 17, ""grading_fee"": 12 }, { ""ta_id"": ""A7"", ""project_id"": 18, ""grading_fee"": 19 }, { ""ta_id"": ""A7"", ""project_id"": 19, ""grading_fee"": 5 }, { ""ta_id"": ""A7"", ""project_id"": 20, ""grading_fee"": 11 }, { ""ta_id"": ""A7"", ""project_id"": 21, ""grading_fee"": 19 }, { ""ta_id"": ""A8"", ""project_id"": 1, ""grading_fee"": 23 }, { ""ta_id"": ""A8"", ""project_id"": 2, ""grading_fee"": 23 }, { ""ta_id"": ""A8"", ""project_id"": 3, ""grading_fee"": 5 }, { ""ta_id"": ""A8"", ""project_id"": 4, ""grading_fee"": 24 }, { ""ta_id"": ""A8"", ""project_id"": 5, ""grading_fee"": 16 }, { ""ta_id"": ""A8"", ""project_id"": 6, ""grading_fee"": 20 }, { ""ta_id"": ""A8"", ""project_id"": 7, ""grading_fee"": 16 }, { ""ta_id"": ""A8"", ""project_id"": 8, ""grading_fee"": 21 }, { ""ta_id"": ""A8"", ""project_id"": 9, ""grading_fee"": 19 }, { ""ta_id"": ""A8"", ""project_id"": 10, ""grading_fee"": 7 }, { ""ta_id"": ""A8"", ""project_id"": 11, ""grading_fee"": 21 }, { ""ta_id"": ""A8"", ""project_id"": 12, ""grading_fee"": 7 }, { ""ta_id"": ""A8"", ""project_id"": 13, ""grading_fee"": 18 }, { ""ta_id"": ""A8"", ""project_id"": 14, ""grading_fee"": 25 }, { ""ta_id"": ""A8"", ""project_id"": 15, ""grading_fee"": 20 }, { ""ta_id"": ""A8"", ""project_id"": 16, ""grading_fee"": 21 }, { ""ta_id"": ""A8"", ""project_id"": 17, ""grading_fee"": 13 }, { ""ta_id"": ""A8"", ""project_id"": 18, ""grading_fee"": 24 }, { ""ta_id"": ""A8"", ""project_id"": 19, ""grading_fee"": 6 }, { ""ta_id"": ""A8"", ""project_id"": 20, ""grading_fee"": 20 }, { ""ta_id"": ""A8"", ""project_id"": 21, ""grading_fee"": 24 } ] } Also, when you give the final assignment, a small JSON snippet like this is perfect — it just lists which TA handles which project in order. { ""solution"": [ , , ..., ] } Think of that array as a checklist: the first entry is the ID of the TA who will grade the first project, the second entry is the TA for the second project, and so on until the last project. This is just the shape I need — replace each placeholder with the actual TA identifiers from the instance when you submit the final assignment. Please use the exact identifiers from the input with no renaming and no new labels — otherwise the mapping won't match. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[25, 35, 39, 37, 39, 28, 19, 28, 47, 43, 14, 45, 44, 33, 35, 17, 36, 31, 38, 36, 14], [17, 37, 24, 30, 37, 15, 16, 11, 21, 34, 35, 32, 10, 31, 33, 30, 41, 45, 20, 50, 49], [49, 39, 35, 12, 16, 44, 24, 29, 11, 18, 37, 13, 25, 22, 29, 32, 48, 40, 19, 30, 46], [11, 37, 50, 11, 24, 14, 28, 21, 40, 21, 44, 18, 28, 20, 40, 27, 44, 49, 27, 46, 13], [20, 31, 32, 46, 34, 47, 43, 20, 46, 10, 29, 49, 19, 35, 29, 16, 47, 46, 11, 44, 34], [27, 40, 35, 16, 18, 28, 46, 10, 41, 38, 44, 29, 49, 14, 10, 18, 25, 10, 44, 38, 20], [10, 38, 31, 18, 23, 16, 43, 30, 43, 40, 31, 46, 13, 38, 37, 30, 12, 23, 16, 32, 49], [25, 42, 24, 11, 19, 33, 11, 29, 16, 21, 12, 34, 46, 17, 18, 12, 50, 25, 24, 25, 38]], 'assignment_costs': [[7, 22, 6, 11, 21, 6, 25, 19, 21, 5, 25, 18, 19, 12, 10, 14, 16, 13, 21, 23, 7], [15, 8, 7, 18, 14, 12, 17, 6, 14, 16, 17, 11, 21, 13, 12, 25, 5, 9, 16, 22, 11], [13, 22, 5, 17, 11, 9, 20, 21, 17, 5, 15, 22, 22, 24, 16, 13, 6, 11, 21, 16, 6], [10, 14, 19, 17, 10, 17, 15, 7, 15, 14, 21, 23, 7, 22, 9, 15, 15, 12, 15, 16, 6], [24, 21, 6, 22, 8, 6, 18, 5, 21, 18, 21, 23, 15, 14, 6, 14, 25, 19, 12, 23, 14], [18, 7, 6, 23, 14, 17, 10, 13, 23, 5, 12, 21, 8, 15, 19, 19, 8, 12, 14, 17, 21], [9, 17, 19, 21, 13, 20, 19, 14, 19, 7, 12, 10, 18, 10, 11, 8, 12, 19, 5, 11, 19], [23, 23, 5, 24, 16, 20, 16, 21, 19, 7, 21, 7, 18, 25, 20, 21, 13, 24, 6, 20, 24]], 'capacities': [115, 111, 121, 121, 120, 114, 112, 126], 'objective': 167.0}","[0, 1, 7, 0, 4, 0, 5, 4, 1, 2, 5, 7, 3, 6, 4, 6, 2, 1, 7, 6, 3]",167.0,"{'problem_type': 'GAP', 'num_agents': 8, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 115}, {'agent_id': 'A2', 'capacity': 111}, {'agent_id': 'A3', 'capacity': 121}, {'agent_id': 'A4', 'capacity': 121}, {'agent_id': 'A5', 'capacity': 120}, {'agent_id': 'A6', 'capacity': 114}, {'agent_id': 'A7', 'capacity': 112}, {'agent_id': 'A8', 'capacity': 126}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 39}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 43}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 44}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 34}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 35}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 12}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 11}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 19}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 37}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 49}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 19}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 35}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 44}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 34}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 41}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 18}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 18}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 31}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 30}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 49}, {'agent_id': 'A8', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 2, 'consumption': 42}, {'agent_id': 'A8', 'task_id': 3, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A8', 'task_id': 6, 'consumption': 33}, {'agent_id': 'A8', 'task_id': 7, 'consumption': 11}, {'agent_id': 'A8', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A8', 'task_id': 9, 'consumption': 16}, {'agent_id': 'A8', 'task_id': 10, 'consumption': 21}, {'agent_id': 'A8', 'task_id': 11, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 12, 'consumption': 34}, {'agent_id': 'A8', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A8', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A8', 'task_id': 15, 'consumption': 18}, {'agent_id': 'A8', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A8', 'task_id': 17, 'consumption': 50}, {'agent_id': 'A8', 'task_id': 18, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 19, 'consumption': 24}, {'agent_id': 'A8', 'task_id': 20, 'consumption': 25}, {'agent_id': 'A8', 'task_id': 21, 'consumption': 38}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 7}, {'agent_id': 'A1', 'task_id': 2, 'cost': 22}, {'agent_id': 'A1', 'task_id': 3, 'cost': 6}, {'agent_id': 'A1', 'task_id': 4, 'cost': 11}, {'agent_id': 'A1', 'task_id': 5, 'cost': 21}, {'agent_id': 'A1', 'task_id': 6, 'cost': 6}, {'agent_id': 'A1', 'task_id': 7, 'cost': 25}, {'agent_id': 'A1', 'task_id': 8, 'cost': 19}, {'agent_id': 'A1', 'task_id': 9, 'cost': 21}, {'agent_id': 'A1', 'task_id': 10, 'cost': 5}, {'agent_id': 'A1', 'task_id': 11, 'cost': 25}, {'agent_id': 'A1', 'task_id': 12, 'cost': 18}, {'agent_id': 'A1', 'task_id': 13, 'cost': 19}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 10}, {'agent_id': 'A1', 'task_id': 16, 'cost': 14}, {'agent_id': 'A1', 'task_id': 17, 'cost': 16}, {'agent_id': 'A1', 'task_id': 18, 'cost': 13}, {'agent_id': 'A1', 'task_id': 19, 'cost': 21}, {'agent_id': 'A1', 'task_id': 20, 'cost': 23}, {'agent_id': 'A1', 'task_id': 21, 'cost': 7}, {'agent_id': 'A2', 'task_id': 1, 'cost': 15}, {'agent_id': 'A2', 'task_id': 2, 'cost': 8}, {'agent_id': 'A2', 'task_id': 3, 'cost': 7}, {'agent_id': 'A2', 'task_id': 4, 'cost': 18}, {'agent_id': 'A2', 'task_id': 5, 'cost': 14}, {'agent_id': 'A2', 'task_id': 6, 'cost': 12}, {'agent_id': 'A2', 'task_id': 7, 'cost': 17}, {'agent_id': 'A2', 'task_id': 8, 'cost': 6}, {'agent_id': 'A2', 'task_id': 9, 'cost': 14}, {'agent_id': 'A2', 'task_id': 10, 'cost': 16}, {'agent_id': 'A2', 'task_id': 11, 'cost': 17}, {'agent_id': 'A2', 'task_id': 12, 'cost': 11}, {'agent_id': 'A2', 'task_id': 13, 'cost': 21}, {'agent_id': 'A2', 'task_id': 14, 'cost': 13}, {'agent_id': 'A2', 'task_id': 15, 'cost': 12}, {'agent_id': 'A2', 'task_id': 16, 'cost': 25}, {'agent_id': 'A2', 'task_id': 17, 'cost': 5}, {'agent_id': 'A2', 'task_id': 18, 'cost': 9}, {'agent_id': 'A2', 'task_id': 19, 'cost': 16}, {'agent_id': 'A2', 'task_id': 20, 'cost': 22}, {'agent_id': 'A2', 'task_id': 21, 'cost': 11}, {'agent_id': 'A3', 'task_id': 1, 'cost': 13}, {'agent_id': 'A3', 'task_id': 2, 'cost': 22}, {'agent_id': 'A3', 'task_id': 3, 'cost': 5}, {'agent_id': 'A3', 'task_id': 4, 'cost': 17}, {'agent_id': 'A3', 'task_id': 5, 'cost': 11}, {'agent_id': 'A3', 'task_id': 6, 'cost': 9}, {'agent_id': 'A3', 'task_id': 7, 'cost': 20}, {'agent_id': 'A3', 'task_id': 8, 'cost': 21}, {'agent_id': 'A3', 'task_id': 9, 'cost': 17}, {'agent_id': 'A3', 'task_id': 10, 'cost': 5}, {'agent_id': 'A3', 'task_id': 11, 'cost': 15}, {'agent_id': 'A3', 'task_id': 12, 'cost': 22}, {'agent_id': 'A3', 'task_id': 13, 'cost': 22}, {'agent_id': 'A3', 'task_id': 14, 'cost': 24}, {'agent_id': 'A3', 'task_id': 15, 'cost': 16}, {'agent_id': 'A3', 'task_id': 16, 'cost': 13}, {'agent_id': 'A3', 'task_id': 17, 'cost': 6}, {'agent_id': 'A3', 'task_id': 18, 'cost': 11}, {'agent_id': 'A3', 'task_id': 19, 'cost': 21}, {'agent_id': 'A3', 'task_id': 20, 'cost': 16}, {'agent_id': 'A3', 'task_id': 21, 'cost': 6}, {'agent_id': 'A4', 'task_id': 1, 'cost': 10}, {'agent_id': 'A4', 'task_id': 2, 'cost': 14}, {'agent_id': 'A4', 'task_id': 3, 'cost': 19}, {'agent_id': 'A4', 'task_id': 4, 'cost': 17}, {'agent_id': 'A4', 'task_id': 5, 'cost': 10}, {'agent_id': 'A4', 'task_id': 6, 'cost': 17}, {'agent_id': 'A4', 'task_id': 7, 'cost': 15}, {'agent_id': 'A4', 'task_id': 8, 'cost': 7}, {'agent_id': 'A4', 'task_id': 9, 'cost': 15}, {'agent_id': 'A4', 'task_id': 10, 'cost': 14}, {'agent_id': 'A4', 'task_id': 11, 'cost': 21}, {'agent_id': 'A4', 'task_id': 12, 'cost': 23}, {'agent_id': 'A4', 'task_id': 13, 'cost': 7}, {'agent_id': 'A4', 'task_id': 14, 'cost': 22}, {'agent_id': 'A4', 'task_id': 15, 'cost': 9}, {'agent_id': 'A4', 'task_id': 16, 'cost': 15}, {'agent_id': 'A4', 'task_id': 17, 'cost': 15}, {'agent_id': 'A4', 'task_id': 18, 'cost': 12}, {'agent_id': 'A4', 'task_id': 19, 'cost': 15}, {'agent_id': 'A4', 'task_id': 20, 'cost': 16}, {'agent_id': 'A4', 'task_id': 21, 'cost': 6}, {'agent_id': 'A5', 'task_id': 1, 'cost': 24}, {'agent_id': 'A5', 'task_id': 2, 'cost': 21}, {'agent_id': 'A5', 'task_id': 3, 'cost': 6}, {'agent_id': 'A5', 'task_id': 4, 'cost': 22}, {'agent_id': 'A5', 'task_id': 5, 'cost': 8}, {'agent_id': 'A5', 'task_id': 6, 'cost': 6}, {'agent_id': 'A5', 'task_id': 7, 'cost': 18}, {'agent_id': 'A5', 'task_id': 8, 'cost': 5}, {'agent_id': 'A5', 'task_id': 9, 'cost': 21}, {'agent_id': 'A5', 'task_id': 10, 'cost': 18}, {'agent_id': 'A5', 'task_id': 11, 'cost': 21}, {'agent_id': 'A5', 'task_id': 12, 'cost': 23}, {'agent_id': 'A5', 'task_id': 13, 'cost': 15}, {'agent_id': 'A5', 'task_id': 14, 'cost': 14}, {'agent_id': 'A5', 'task_id': 15, 'cost': 6}, {'agent_id': 'A5', 'task_id': 16, 'cost': 14}, {'agent_id': 'A5', 'task_id': 17, 'cost': 25}, {'agent_id': 'A5', 'task_id': 18, 'cost': 19}, {'agent_id': 'A5', 'task_id': 19, 'cost': 12}, {'agent_id': 'A5', 'task_id': 20, 'cost': 23}, {'agent_id': 'A5', 'task_id': 21, 'cost': 14}, {'agent_id': 'A6', 'task_id': 1, 'cost': 18}, {'agent_id': 'A6', 'task_id': 2, 'cost': 7}, {'agent_id': 'A6', 'task_id': 3, 'cost': 6}, {'agent_id': 'A6', 'task_id': 4, 'cost': 23}, {'agent_id': 'A6', 'task_id': 5, 'cost': 14}, {'agent_id': 'A6', 'task_id': 6, 'cost': 17}, {'agent_id': 'A6', 'task_id': 7, 'cost': 10}, {'agent_id': 'A6', 'task_id': 8, 'cost': 13}, {'agent_id': 'A6', 'task_id': 9, 'cost': 23}, {'agent_id': 'A6', 'task_id': 10, 'cost': 5}, {'agent_id': 'A6', 'task_id': 11, 'cost': 12}, {'agent_id': 'A6', 'task_id': 12, 'cost': 21}, {'agent_id': 'A6', 'task_id': 13, 'cost': 8}, {'agent_id': 'A6', 'task_id': 14, 'cost': 15}, {'agent_id': 'A6', 'task_id': 15, 'cost': 19}, {'agent_id': 'A6', 'task_id': 16, 'cost': 19}, {'agent_id': 'A6', 'task_id': 17, 'cost': 8}, {'agent_id': 'A6', 'task_id': 18, 'cost': 12}, {'agent_id': 'A6', 'task_id': 19, 'cost': 14}, {'agent_id': 'A6', 'task_id': 20, 'cost': 17}, {'agent_id': 'A6', 'task_id': 21, 'cost': 21}, {'agent_id': 'A7', 'task_id': 1, 'cost': 9}, {'agent_id': 'A7', 'task_id': 2, 'cost': 17}, {'agent_id': 'A7', 'task_id': 3, 'cost': 19}, {'agent_id': 'A7', 'task_id': 4, 'cost': 21}, {'agent_id': 'A7', 'task_id': 5, 'cost': 13}, {'agent_id': 'A7', 'task_id': 6, 'cost': 20}, {'agent_id': 'A7', 'task_id': 7, 'cost': 19}, {'agent_id': 'A7', 'task_id': 8, 'cost': 14}, {'agent_id': 'A7', 'task_id': 9, 'cost': 19}, {'agent_id': 'A7', 'task_id': 10, 'cost': 7}, {'agent_id': 'A7', 'task_id': 11, 'cost': 12}, {'agent_id': 'A7', 'task_id': 12, 'cost': 10}, {'agent_id': 'A7', 'task_id': 13, 'cost': 18}, {'agent_id': 'A7', 'task_id': 14, 'cost': 10}, {'agent_id': 'A7', 'task_id': 15, 'cost': 11}, {'agent_id': 'A7', 'task_id': 16, 'cost': 8}, {'agent_id': 'A7', 'task_id': 17, 'cost': 12}, {'agent_id': 'A7', 'task_id': 18, 'cost': 19}, {'agent_id': 'A7', 'task_id': 19, 'cost': 5}, {'agent_id': 'A7', 'task_id': 20, 'cost': 11}, {'agent_id': 'A7', 'task_id': 21, 'cost': 19}, {'agent_id': 'A8', 'task_id': 1, 'cost': 23}, {'agent_id': 'A8', 'task_id': 2, 'cost': 23}, {'agent_id': 'A8', 'task_id': 3, 'cost': 5}, {'agent_id': 'A8', 'task_id': 4, 'cost': 24}, {'agent_id': 'A8', 'task_id': 5, 'cost': 16}, {'agent_id': 'A8', 'task_id': 6, 'cost': 20}, {'agent_id': 'A8', 'task_id': 7, 'cost': 16}, {'agent_id': 'A8', 'task_id': 8, 'cost': 21}, {'agent_id': 'A8', 'task_id': 9, 'cost': 19}, {'agent_id': 'A8', 'task_id': 10, 'cost': 7}, {'agent_id': 'A8', 'task_id': 11, 'cost': 21}, {'agent_id': 'A8', 'task_id': 12, 'cost': 7}, {'agent_id': 'A8', 'task_id': 13, 'cost': 18}, {'agent_id': 'A8', 'task_id': 14, 'cost': 25}, {'agent_id': 'A8', 'task_id': 15, 'cost': 20}, {'agent_id': 'A8', 'task_id': 16, 'cost': 21}, {'agent_id': 'A8', 'task_id': 17, 'cost': 13}, {'agent_id': 'A8', 'task_id': 18, 'cost': 24}, {'agent_id': 'A8', 'task_id': 19, 'cost': 6}, {'agent_id': 'A8', 'task_id': 20, 'cost': 20}, {'agent_id': 'A8', 'task_id': 21, 'cost': 24}]}","['A1', 'A2', 'A8', 'A1', 'A5', 'A1', 'A6', 'A5', 'A2', 'A3', 'A6', 'A8', 'A4', 'A7', 'A5', 'A7', 'A3', 'A2', 'A8', 'A7', 'A4']",45,json,1 GAP,GAP,"Recently the floor manager had to put patients onto nurses’ lists: each patient must go to a single nurse, nurses can take on multiple patients until their allotted shift time fills up, and for every nurse–patient combo there’s a stated care duration and cost. What counts as a better plan is one with a smaller total staffing charge — found by adding up each selected pairing’s cost — and the plan must assign every patient once and never push a nurse beyond their available hours. The concrete data are shown below. { ""num_nurses"": 6, ""num_patients"": 19, ""nurse_ids"": [ ""A1"", ""A2"", ""A3"", ""A4"", ""A5"", ""A6"" ], ""patient_ids"": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ], ""capacities"": [ { ""nurse_id"": ""A1"", ""available_shift_time"": 240 }, { ""nurse_id"": ""A2"", ""available_shift_time"": 244 }, { ""nurse_id"": ""A3"", ""available_shift_time"": 239 }, { ""nurse_id"": ""A4"", ""available_shift_time"": 240 }, { ""nurse_id"": ""A5"", ""available_shift_time"": 234 }, { ""nurse_id"": ""A6"", ""available_shift_time"": 239 } ], ""resource"": [ { ""nurse_id"": ""A1"", ""patient_id"": 1, ""care_time"": 34 }, { ""nurse_id"": ""A1"", ""patient_id"": 2, ""care_time"": 36 }, { ""nurse_id"": ""A1"", ""patient_id"": 3, ""care_time"": 40 }, { ""nurse_id"": ""A1"", ""patient_id"": 4, ""care_time"": 11 }, { ""nurse_id"": ""A1"", ""patient_id"": 5, ""care_time"": 33 }, { ""nurse_id"": ""A1"", ""patient_id"": 6, ""care_time"": 28 }, { ""nurse_id"": ""A1"", ""patient_id"": 7, ""care_time"": 17 }, { ""nurse_id"": ""A1"", ""patient_id"": 8, ""care_time"": 26 }, { ""nurse_id"": ""A1"", ""patient_id"": 9, ""care_time"": 12 }, { ""nurse_id"": ""A1"", ""patient_id"": 10, ""care_time"": 28 }, { ""nurse_id"": ""A1"", ""patient_id"": 11, ""care_time"": 32 }, { ""nurse_id"": ""A1"", ""patient_id"": 12, ""care_time"": 16 }, { ""nurse_id"": ""A1"", ""patient_id"": 13, ""care_time"": 48 }, { ""nurse_id"": ""A1"", ""patient_id"": 14, ""care_time"": 28 }, { ""nurse_id"": ""A1"", ""patient_id"": 15, ""care_time"": 12 }, { ""nurse_id"": ""A1"", ""patient_id"": 16, ""care_time"": 14 }, { ""nurse_id"": ""A1"", ""patient_id"": 17, ""care_time"": 33 }, { ""nurse_id"": ""A1"", ""patient_id"": 18, ""care_time"": 34 }, { ""nurse_id"": ""A1"", ""patient_id"": 19, ""care_time"": 16 }, { ""nurse_id"": ""A2"", ""patient_id"": 1, ""care_time"": 27 }, { ""nurse_id"": ""A2"", ""patient_id"": 2, ""care_time"": 27 }, { ""nurse_id"": ""A2"", ""patient_id"": 3, ""care_time"": 20 }, { ""nurse_id"": ""A2"", ""patient_id"": 4, ""care_time"": 39 }, { ""nurse_id"": ""A2"", ""patient_id"": 5, ""care_time"": 30 }, { ""nurse_id"": ""A2"", ""patient_id"": 6, ""care_time"": 17 }, { ""nurse_id"": ""A2"", ""patient_id"": 7, ""care_time"": 10 }, { ""nurse_id"": ""A2"", ""patient_id"": 8, ""care_time"": 26 }, { ""nurse_id"": ""A2"", ""patient_id"": 9, ""care_time"": 22 }, { ""nurse_id"": ""A2"", ""patient_id"": 10, ""care_time"": 22 }, { ""nurse_id"": ""A2"", ""patient_id"": 11, ""care_time"": 21 }, { ""nurse_id"": ""A2"", ""patient_id"": 12, ""care_time"": 15 }, { ""nurse_id"": ""A2"", ""patient_id"": 13, ""care_time"": 20 }, { ""nurse_id"": ""A2"", ""patient_id"": 14, ""care_time"": 23 }, { ""nurse_id"": ""A2"", ""patient_id"": 15, ""care_time"": 42 }, { ""nurse_id"": ""A2"", ""patient_id"": 16, ""care_time"": 20 }, { ""nurse_id"": ""A2"", ""patient_id"": 17, ""care_time"": 14 }, { ""nurse_id"": ""A2"", ""patient_id"": 18, ""care_time"": 39 }, { ""nurse_id"": ""A2"", ""patient_id"": 19, ""care_time"": 22 }, { ""nurse_id"": ""A3"", ""patient_id"": 1, ""care_time"": 10 }, { ""nurse_id"": ""A3"", ""patient_id"": 2, ""care_time"": 18 }, { ""nurse_id"": ""A3"", ""patient_id"": 3, ""care_time"": 36 }, { ""nurse_id"": ""A3"", ""patient_id"": 4, ""care_time"": 36 }, { ""nurse_id"": ""A3"", ""patient_id"": 5, ""care_time"": 27 }, { ""nurse_id"": ""A3"", ""patient_id"": 6, ""care_time"": 23 }, { ""nurse_id"": ""A3"", ""patient_id"": 7, ""care_time"": 24 }, { ""nurse_id"": ""A3"", ""patient_id"": 8, ""care_time"": 49 }, { ""nurse_id"": ""A3"", ""patient_id"": 9, ""care_time"": 36 }, { ""nurse_id"": ""A3"", ""patient_id"": 10, ""care_time"": 39 }, { ""nurse_id"": ""A3"", ""patient_id"": 11, ""care_time"": 37 }, { ""nurse_id"": ""A3"", ""patient_id"": 12, ""care_time"": 29 }, { ""nurse_id"": ""A3"", ""patient_id"": 13, ""care_time"": 41 }, { ""nurse_id"": ""A3"", ""patient_id"": 14, ""care_time"": 13 }, { ""nurse_id"": ""A3"", ""patient_id"": 15, ""care_time"": 16 }, { ""nurse_id"": ""A3"", ""patient_id"": 16, ""care_time"": 20 }, { ""nurse_id"": ""A3"", ""patient_id"": 17, ""care_time"": 44 }, { ""nurse_id"": ""A3"", ""patient_id"": 18, ""care_time"": 47 }, { ""nurse_id"": ""A3"", ""patient_id"": 19, ""care_time"": 33 }, { ""nurse_id"": ""A4"", ""patient_id"": 1, ""care_time"": 34 }, { ""nurse_id"": ""A4"", ""patient_id"": 2, ""care_time"": 33 }, { ""nurse_id"": ""A4"", ""patient_id"": 3, ""care_time"": 27 }, { ""nurse_id"": ""A4"", ""patient_id"": 4, ""care_time"": 15 }, { ""nurse_id"": ""A4"", ""patient_id"": 5, ""care_time"": 38 }, { ""nurse_id"": ""A4"", ""patient_id"": 6, ""care_time"": 30 }, { ""nurse_id"": ""A4"", ""patient_id"": 7, ""care_time"": 11 }, { ""nurse_id"": ""A4"", ""patient_id"": 8, ""care_time"": 26 }, { ""nurse_id"": ""A4"", ""patient_id"": 9, ""care_time"": 36 }, { ""nurse_id"": ""A4"", ""patient_id"": 10, ""care_time"": 40 }, { ""nurse_id"": ""A4"", ""patient_id"": 11, ""care_time"": 41 }, { ""nurse_id"": ""A4"", ""patient_id"": 12, ""care_time"": 25 }, { ""nurse_id"": ""A4"", ""patient_id"": 13, ""care_time"": 26 }, { ""nurse_id"": ""A4"", ""patient_id"": 14, ""care_time"": 18 }, { ""nurse_id"": ""A4"", ""patient_id"": 15, ""care_time"": 16 }, { ""nurse_id"": ""A4"", ""patient_id"": 16, ""care_time"": 36 }, { ""nurse_id"": ""A4"", ""patient_id"": 17, ""care_time"": 14 }, { ""nurse_id"": ""A4"", ""patient_id"": 18, ""care_time"": 15 }, { ""nurse_id"": ""A4"", ""patient_id"": 19, ""care_time"": 30 }, { ""nurse_id"": ""A5"", ""patient_id"": 1, ""care_time"": 21 }, { ""nurse_id"": ""A5"", ""patient_id"": 2, ""care_time"": 46 }, { ""nurse_id"": ""A5"", ""patient_id"": 3, ""care_time"": 48 }, { ""nurse_id"": ""A5"", ""patient_id"": 4, ""care_time"": 21 }, { ""nurse_id"": ""A5"", ""patient_id"": 5, ""care_time"": 22 }, { ""nurse_id"": ""A5"", ""patient_id"": 6, ""care_time"": 46 }, { ""nurse_id"": ""A5"", ""patient_id"": 7, ""care_time"": 16 }, { ""nurse_id"": ""A5"", ""patient_id"": 8, ""care_time"": 33 }, { ""nurse_id"": ""A5"", ""patient_id"": 9, ""care_time"": 31 }, { ""nurse_id"": ""A5"", ""patient_id"": 10, ""care_time"": 48 }, { ""nurse_id"": ""A5"", ""patient_id"": 11, ""care_time"": 13 }, { ""nurse_id"": ""A5"", ""patient_id"": 12, ""care_time"": 43 }, { ""nurse_id"": ""A5"", ""patient_id"": 13, ""care_time"": 41 }, { ""nurse_id"": ""A5"", ""patient_id"": 14, ""care_time"": 45 }, { ""nurse_id"": ""A5"", ""patient_id"": 15, ""care_time"": 26 }, { ""nurse_id"": ""A5"", ""patient_id"": 16, ""care_time"": 14 }, { ""nurse_id"": ""A5"", ""patient_id"": 17, ""care_time"": 39 }, { ""nurse_id"": ""A5"", ""patient_id"": 18, ""care_time"": 22 }, { ""nurse_id"": ""A5"", ""patient_id"": 19, ""care_time"": 32 }, { ""nurse_id"": ""A6"", ""patient_id"": 1, ""care_time"": 25 }, { ""nurse_id"": ""A6"", ""patient_id"": 2, ""care_time"": 23 }, { ""nurse_id"": ""A6"", ""patient_id"": 3, ""care_time"": 16 }, { ""nurse_id"": ""A6"", ""patient_id"": 4, ""care_time"": 13 }, { ""nurse_id"": ""A6"", ""patient_id"": 5, ""care_time"": 19 }, { ""nurse_id"": ""A6"", ""patient_id"": 6, ""care_time"": 28 }, { ""nurse_id"": ""A6"", ""patient_id"": 7, ""care_time"": 42 }, { ""nurse_id"": ""A6"", ""patient_id"": 8, ""care_time"": 43 }, { ""nurse_id"": ""A6"", ""patient_id"": 9, ""care_time"": 37 }, { ""nurse_id"": ""A6"", ""patient_id"": 10, ""care_time"": 14 }, { ""nurse_id"": ""A6"", ""patient_id"": 11, ""care_time"": 27 }, { ""nurse_id"": ""A6"", ""patient_id"": 12, ""care_time"": 17 }, { ""nurse_id"": ""A6"", ""patient_id"": 13, ""care_time"": 33 }, { ""nurse_id"": ""A6"", ""patient_id"": 14, ""care_time"": 48 }, { ""nurse_id"": ""A6"", ""patient_id"": 15, ""care_time"": 29 }, { ""nurse_id"": ""A6"", ""patient_id"": 16, ""care_time"": 12 }, { ""nurse_id"": ""A6"", ""patient_id"": 17, ""care_time"": 11 }, { ""nurse_id"": ""A6"", ""patient_id"": 18, ""care_time"": 50 }, { ""nurse_id"": ""A6"", ""patient_id"": 19, ""care_time"": 50 } ], ""cost"": [ { ""nurse_id"": ""A1"", ""patient_id"": 1, ""assignment_cost"": 16 }, { ""nurse_id"": ""A1"", ""patient_id"": 2, ""assignment_cost"": 18 }, { ""nurse_id"": ""A1"", ""patient_id"": 3, ""assignment_cost"": 10 }, { ""nurse_id"": ""A1"", ""patient_id"": 4, ""assignment_cost"": 14 }, { ""nurse_id"": ""A1"", ""patient_id"": 5, ""assignment_cost"": 25 }, { ""nurse_id"": ""A1"", ""patient_id"": 6, ""assignment_cost"": 10 }, { ""nurse_id"": ""A1"", ""patient_id"": 7, ""assignment_cost"": 17 }, { ""nurse_id"": ""A1"", ""patient_id"": 8, ""assignment_cost"": 10 }, { ""nurse_id"": ""A1"", ""patient_id"": 9, ""assignment_cost"": 19 }, { ""nurse_id"": ""A1"", ""patient_id"": 10, ""assignment_cost"": 18 }, { ""nurse_id"": ""A1"", ""patient_id"": 11, ""assignment_cost"": 16 }, { ""nurse_id"": ""A1"", ""patient_id"": 12, ""assignment_cost"": 17 }, { ""nurse_id"": ""A1"", ""patient_id"": 13, ""assignment_cost"": 12 }, { ""nurse_id"": ""A1"", ""patient_id"": 14, ""assignment_cost"": 9 }, { ""nurse_id"": ""A1"", ""patient_id"": 15, ""assignment_cost"": 25 }, { ""nurse_id"": ""A1"", ""patient_id"": 16, ""assignment_cost"": 15 }, { ""nurse_id"": ""A1"", ""patient_id"": 17, ""assignment_cost"": 15 }, { ""nurse_id"": ""A1"", ""patient_id"": 18, ""assignment_cost"": 7 }, { ""nurse_id"": ""A1"", ""patient_id"": 19, ""assignment_cost"": 6 }, { ""nurse_id"": ""A2"", ""patient_id"": 1, ""assignment_cost"": 15 }, { ""nurse_id"": ""A2"", ""patient_id"": 2, ""assignment_cost"": 9 }, { ""nurse_id"": ""A2"", ""patient_id"": 3, ""assignment_cost"": 16 }, { ""nurse_id"": ""A2"", ""patient_id"": 4, ""assignment_cost"": 10 }, { ""nurse_id"": ""A2"", ""patient_id"": 5, ""assignment_cost"": 18 }, { ""nurse_id"": ""A2"", ""patient_id"": 6, ""assignment_cost"": 7 }, { ""nurse_id"": ""A2"", ""patient_id"": 7, ""assignment_cost"": 16 }, { ""nurse_id"": ""A2"", ""patient_id"": 8, ""assignment_cost"": 7 }, { ""nurse_id"": ""A2"", ""patient_id"": 9, ""assignment_cost"": 19 }, { ""nurse_id"": ""A2"", ""patient_id"": 10, ""assignment_cost"": 20 }, { ""nurse_id"": ""A2"", ""patient_id"": 11, ""assignment_cost"": 22 }, { ""nurse_id"": ""A2"", ""patient_id"": 12, ""assignment_cost"": 21 }, { ""nurse_id"": ""A2"", ""patient_id"": 13, ""assignment_cost"": 7 }, { ""nurse_id"": ""A2"", ""patient_id"": 14, ""assignment_cost"": 5 }, { ""nurse_id"": ""A2"", ""patient_id"": 15, ""assignment_cost"": 8 }, { ""nurse_id"": ""A2"", ""patient_id"": 16, ""assignment_cost"": 8 }, { ""nurse_id"": ""A2"", ""patient_id"": 17, ""assignment_cost"": 14 }, { ""nurse_id"": ""A2"", ""patient_id"": 18, ""assignment_cost"": 21 }, { ""nurse_id"": ""A2"", ""patient_id"": 19, ""assignment_cost"": 17 }, { ""nurse_id"": ""A3"", ""patient_id"": 1, ""assignment_cost"": 6 }, { ""nurse_id"": ""A3"", ""patient_id"": 2, ""assignment_cost"": 22 }, { ""nurse_id"": ""A3"", ""patient_id"": 3, ""assignment_cost"": 18 }, { ""nurse_id"": ""A3"", ""patient_id"": 4, ""assignment_cost"": 22 }, { ""nurse_id"": ""A3"", ""patient_id"": 5, ""assignment_cost"": 17 }, { ""nurse_id"": ""A3"", ""patient_id"": 6, ""assignment_cost"": 21 }, { ""nurse_id"": ""A3"", ""patient_id"": 7, ""assignment_cost"": 18 }, { ""nurse_id"": ""A3"", ""patient_id"": 8, ""assignment_cost"": 8 }, { ""nurse_id"": ""A3"", ""patient_id"": 9, ""assignment_cost"": 14 }, { ""nurse_id"": ""A3"", ""patient_id"": 10, ""assignment_cost"": 19 }, { ""nurse_id"": ""A3"", ""patient_id"": 11, ""assignment_cost"": 21 }, { ""nurse_id"": ""A3"", ""patient_id"": 12, ""assignment_cost"": 7 }, { ""nurse_id"": ""A3"", ""patient_id"": 13, ""assignment_cost"": 8 }, { ""nurse_id"": ""A3"", ""patient_id"": 14, ""assignment_cost"": 20 }, { ""nurse_id"": ""A3"", ""patient_id"": 15, ""assignment_cost"": 20 }, { ""nurse_id"": ""A3"", ""patient_id"": 16, ""assignment_cost"": 5 }, { ""nurse_id"": ""A3"", ""patient_id"": 17, ""assignment_cost"": 23 }, { ""nurse_id"": ""A3"", ""patient_id"": 18, ""assignment_cost"": 20 }, { ""nurse_id"": ""A3"", ""patient_id"": 19, ""assignment_cost"": 12 }, { ""nurse_id"": ""A4"", ""patient_id"": 1, ""assignment_cost"": 13 }, { ""nurse_id"": ""A4"", ""patient_id"": 2, ""assignment_cost"": 22 }, { ""nurse_id"": ""A4"", ""patient_id"": 3, ""assignment_cost"": 6 }, { ""nurse_id"": ""A4"", ""patient_id"": 4, ""assignment_cost"": 16 }, { ""nurse_id"": ""A4"", ""patient_id"": 5, ""assignment_cost"": 11 }, { ""nurse_id"": ""A4"", ""patient_id"": 6, ""assignment_cost"": 23 }, { ""nurse_id"": ""A4"", ""patient_id"": 7, ""assignment_cost"": 20 }, { ""nurse_id"": ""A4"", ""patient_id"": 8, ""assignment_cost"": 7 }, { ""nurse_id"": ""A4"", ""patient_id"": 9, ""assignment_cost"": 14 }, { ""nurse_id"": ""A4"", ""patient_id"": 10, ""assignment_cost"": 21 }, { ""nurse_id"": ""A4"", ""patient_id"": 11, ""assignment_cost"": 11 }, { ""nurse_id"": ""A4"", ""patient_id"": 12, ""assignment_cost"": 18 }, { ""nurse_id"": ""A4"", ""patient_id"": 13, ""assignment_cost"": 22 }, { ""nurse_id"": ""A4"", ""patient_id"": 14, ""assignment_cost"": 19 }, { ""nurse_id"": ""A4"", ""patient_id"": 15, ""assignment_cost"": 14 }, { ""nurse_id"": ""A4"", ""patient_id"": 16, ""assignment_cost"": 21 }, { ""nurse_id"": ""A4"", ""patient_id"": 17, ""assignment_cost"": 19 }, { ""nurse_id"": ""A4"", ""patient_id"": 18, ""assignment_cost"": 5 }, { ""nurse_id"": ""A4"", ""patient_id"": 19, ""assignment_cost"": 25 }, { ""nurse_id"": ""A5"", ""patient_id"": 1, ""assignment_cost"": 13 }, { ""nurse_id"": ""A5"", ""patient_id"": 2, ""assignment_cost"": 9 }, { ""nurse_id"": ""A5"", ""patient_id"": 3, ""assignment_cost"": 22 }, { ""nurse_id"": ""A5"", ""patient_id"": 4, ""assignment_cost"": 21 }, { ""nurse_id"": ""A5"", ""patient_id"": 5, ""assignment_cost"": 11 }, { ""nurse_id"": ""A5"", ""patient_id"": 6, ""assignment_cost"": 14 }, { ""nurse_id"": ""A5"", ""patient_id"": 7, ""assignment_cost"": 14 }, { ""nurse_id"": ""A5"", ""patient_id"": 8, ""assignment_cost"": 9 }, { ""nurse_id"": ""A5"", ""patient_id"": 9, ""assignment_cost"": 21 }, { ""nurse_id"": ""A5"", ""patient_id"": 10, ""assignment_cost"": 21 }, { ""nurse_id"": ""A5"", ""patient_id"": 11, ""assignment_cost"": 11 }, { ""nurse_id"": ""A5"", ""patient_id"": 12, ""assignment_cost"": 23 }, { ""nurse_id"": ""A5"", ""patient_id"": 13, ""assignment_cost"": 20 }, { ""nurse_id"": ""A5"", ""patient_id"": 14, ""assignment_cost"": 25 }, { ""nurse_id"": ""A5"", ""patient_id"": 15, ""assignment_cost"": 17 }, { ""nurse_id"": ""A5"", ""patient_id"": 16, ""assignment_cost"": 17 }, { ""nurse_id"": ""A5"", ""patient_id"": 17, ""assignment_cost"": 7 }, { ""nurse_id"": ""A5"", ""patient_id"": 18, ""assignment_cost"": 18 }, { ""nurse_id"": ""A5"", ""patient_id"": 19, ""assignment_cost"": 15 }, { ""nurse_id"": ""A6"", ""patient_id"": 1, ""assignment_cost"": 13 }, { ""nurse_id"": ""A6"", ""patient_id"": 2, ""assignment_cost"": 16 }, { ""nurse_id"": ""A6"", ""patient_id"": 3, ""assignment_cost"": 18 }, { ""nurse_id"": ""A6"", ""patient_id"": 4, ""assignment_cost"": 7 }, { ""nurse_id"": ""A6"", ""patient_id"": 5, ""assignment_cost"": 11 }, { ""nurse_id"": ""A6"", ""patient_id"": 6, ""assignment_cost"": 19 }, { ""nurse_id"": ""A6"", ""patient_id"": 7, ""assignment_cost"": 22 }, { ""nurse_id"": ""A6"", ""patient_id"": 8, ""assignment_cost"": 18 }, { ""nurse_id"": ""A6"", ""patient_id"": 9, ""assignment_cost"": 18 }, { ""nurse_id"": ""A6"", ""patient_id"": 10, ""assignment_cost"": 9 }, { ""nurse_id"": ""A6"", ""patient_id"": 11, ""assignment_cost"": 19 }, { ""nurse_id"": ""A6"", ""patient_id"": 12, ""assignment_cost"": 8 }, { ""nurse_id"": ""A6"", ""patient_id"": 13, ""assignment_cost"": 21 }, { ""nurse_id"": ""A6"", ""patient_id"": 14, ""assignment_cost"": 10 }, { ""nurse_id"": ""A6"", ""patient_id"": 15, ""assignment_cost"": 8 }, { ""nurse_id"": ""A6"", ""patient_id"": 16, ""assignment_cost"": 9 }, { ""nurse_id"": ""A6"", ""patient_id"": 17, ""assignment_cost"": 10 }, { ""nurse_id"": ""A6"", ""patient_id"": 18, ""assignment_cost"": 7 }, { ""nurse_id"": ""A6"", ""patient_id"": 19, ""assignment_cost"": 14 } ] } If you want the assignment in a machine-friendly form, just send it back in this relaxed little JSON shape so I know which nurse goes with which patient (one entry per patient, in order): { ""solution"": [ , , ..., ] } Pretty simple: ""solution"" is a list where each spot is the nurse assigned to the corresponding patient (first list entry → first patient, second → second patient, and so on). Think of it like filling out a form: one nurse ID per patient, in the patient order from the instance. This is just a sketch of the shape I need, not the actual answer. Please use the exact nurse identifiers from the instance — don’t rename them or invent new ones. Valid identifiers look like plain numbers such as ""1"" or ""23"", single capital letters like ""A"" or ""B"", or a capital letter followed by digits like ""A1"" or ""X7"".","{'resource_consumption': [[34, 36, 40, 11, 33, 28, 17, 26, 12, 28, 32, 16, 48, 28, 12, 14, 33, 34, 16], [27, 27, 20, 39, 30, 17, 10, 26, 22, 22, 21, 15, 20, 23, 42, 20, 14, 39, 22], [10, 18, 36, 36, 27, 23, 24, 49, 36, 39, 37, 29, 41, 13, 16, 20, 44, 47, 33], [34, 33, 27, 15, 38, 30, 11, 26, 36, 40, 41, 25, 26, 18, 16, 36, 14, 15, 30], [21, 46, 48, 21, 22, 46, 16, 33, 31, 48, 13, 43, 41, 45, 26, 14, 39, 22, 32], [25, 23, 16, 13, 19, 28, 42, 43, 37, 14, 27, 17, 33, 48, 29, 12, 11, 50, 50]], 'assignment_costs': [[16, 18, 10, 14, 25, 10, 17, 10, 19, 18, 16, 17, 12, 9, 25, 15, 15, 7, 6], [15, 9, 16, 10, 18, 7, 16, 7, 19, 20, 22, 21, 7, 5, 8, 8, 14, 21, 17], [6, 22, 18, 22, 17, 21, 18, 8, 14, 19, 21, 7, 8, 20, 20, 5, 23, 20, 12], [13, 22, 6, 16, 11, 23, 20, 7, 14, 21, 11, 18, 22, 19, 14, 21, 19, 5, 25], [13, 9, 22, 21, 11, 14, 14, 9, 21, 21, 11, 23, 20, 25, 17, 17, 7, 18, 15], [13, 16, 18, 7, 11, 19, 22, 18, 18, 9, 19, 8, 21, 10, 8, 9, 10, 7, 14]], 'capacities': [240, 244, 239, 240, 234, 239], 'objective': 151.0}","[2, 1, 3, 5, 4, 1, 4, 1, 2, 5, 4, 2, 1, 1, 5, 2, 4, 3, 0]",151.0,"{'problem_type': 'GAP', 'num_agents': 6, 'num_tasks': 19, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 240}, {'agent_id': 'A2', 'capacity': 244}, {'agent_id': 'A3', 'capacity': 239}, {'agent_id': 'A4', 'capacity': 240}, {'agent_id': 'A5', 'capacity': 234}, {'agent_id': 'A6', 'capacity': 239}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 36}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 16}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 14}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 33}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 27}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 30}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 10}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 22}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 42}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 39}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 10}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 18}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 23}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 39}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 29}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 27}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 38}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 11}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 41}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 26}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 18}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 46}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 45}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 26}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 39}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 28}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 14}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 27}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 17}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 50}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 50}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 16}, {'agent_id': 'A1', 'task_id': 2, 'cost': 18}, {'agent_id': 'A1', 'task_id': 3, 'cost': 10}, {'agent_id': 'A1', 'task_id': 4, 'cost': 14}, {'agent_id': 'A1', 'task_id': 5, 'cost': 25}, {'agent_id': 'A1', 'task_id': 6, 'cost': 10}, {'agent_id': 'A1', 'task_id': 7, 'cost': 17}, {'agent_id': 'A1', 'task_id': 8, 'cost': 10}, {'agent_id': 'A1', 'task_id': 9, 'cost': 19}, {'agent_id': 'A1', 'task_id': 10, 'cost': 18}, {'agent_id': 'A1', 'task_id': 11, 'cost': 16}, {'agent_id': 'A1', 'task_id': 12, 'cost': 17}, {'agent_id': 'A1', 'task_id': 13, 'cost': 12}, {'agent_id': 'A1', 'task_id': 14, 'cost': 9}, {'agent_id': 'A1', 'task_id': 15, 'cost': 25}, {'agent_id': 'A1', 'task_id': 16, 'cost': 15}, {'agent_id': 'A1', 'task_id': 17, 'cost': 15}, {'agent_id': 'A1', 'task_id': 18, 'cost': 7}, {'agent_id': 'A1', 'task_id': 19, 'cost': 6}, {'agent_id': 'A2', 'task_id': 1, 'cost': 15}, {'agent_id': 'A2', 'task_id': 2, 'cost': 9}, {'agent_id': 'A2', 'task_id': 3, 'cost': 16}, {'agent_id': 'A2', 'task_id': 4, 'cost': 10}, {'agent_id': 'A2', 'task_id': 5, 'cost': 18}, {'agent_id': 'A2', 'task_id': 6, 'cost': 7}, {'agent_id': 'A2', 'task_id': 7, 'cost': 16}, {'agent_id': 'A2', 'task_id': 8, 'cost': 7}, {'agent_id': 'A2', 'task_id': 9, 'cost': 19}, {'agent_id': 'A2', 'task_id': 10, 'cost': 20}, {'agent_id': 'A2', 'task_id': 11, 'cost': 22}, {'agent_id': 'A2', 'task_id': 12, 'cost': 21}, {'agent_id': 'A2', 'task_id': 13, 'cost': 7}, {'agent_id': 'A2', 'task_id': 14, 'cost': 5}, {'agent_id': 'A2', 'task_id': 15, 'cost': 8}, {'agent_id': 'A2', 'task_id': 16, 'cost': 8}, {'agent_id': 'A2', 'task_id': 17, 'cost': 14}, {'agent_id': 'A2', 'task_id': 18, 'cost': 21}, {'agent_id': 'A2', 'task_id': 19, 'cost': 17}, {'agent_id': 'A3', 'task_id': 1, 'cost': 6}, {'agent_id': 'A3', 'task_id': 2, 'cost': 22}, {'agent_id': 'A3', 'task_id': 3, 'cost': 18}, {'agent_id': 'A3', 'task_id': 4, 'cost': 22}, {'agent_id': 'A3', 'task_id': 5, 'cost': 17}, {'agent_id': 'A3', 'task_id': 6, 'cost': 21}, {'agent_id': 'A3', 'task_id': 7, 'cost': 18}, {'agent_id': 'A3', 'task_id': 8, 'cost': 8}, {'agent_id': 'A3', 'task_id': 9, 'cost': 14}, {'agent_id': 'A3', 'task_id': 10, 'cost': 19}, {'agent_id': 'A3', 'task_id': 11, 'cost': 21}, {'agent_id': 'A3', 'task_id': 12, 'cost': 7}, {'agent_id': 'A3', 'task_id': 13, 'cost': 8}, {'agent_id': 'A3', 'task_id': 14, 'cost': 20}, {'agent_id': 'A3', 'task_id': 15, 'cost': 20}, {'agent_id': 'A3', 'task_id': 16, 'cost': 5}, {'agent_id': 'A3', 'task_id': 17, 'cost': 23}, {'agent_id': 'A3', 'task_id': 18, 'cost': 20}, {'agent_id': 'A3', 'task_id': 19, 'cost': 12}, {'agent_id': 'A4', 'task_id': 1, 'cost': 13}, {'agent_id': 'A4', 'task_id': 2, 'cost': 22}, {'agent_id': 'A4', 'task_id': 3, 'cost': 6}, {'agent_id': 'A4', 'task_id': 4, 'cost': 16}, {'agent_id': 'A4', 'task_id': 5, 'cost': 11}, {'agent_id': 'A4', 'task_id': 6, 'cost': 23}, {'agent_id': 'A4', 'task_id': 7, 'cost': 20}, {'agent_id': 'A4', 'task_id': 8, 'cost': 7}, {'agent_id': 'A4', 'task_id': 9, 'cost': 14}, {'agent_id': 'A4', 'task_id': 10, 'cost': 21}, {'agent_id': 'A4', 'task_id': 11, 'cost': 11}, {'agent_id': 'A4', 'task_id': 12, 'cost': 18}, {'agent_id': 'A4', 'task_id': 13, 'cost': 22}, {'agent_id': 'A4', 'task_id': 14, 'cost': 19}, {'agent_id': 'A4', 'task_id': 15, 'cost': 14}, {'agent_id': 'A4', 'task_id': 16, 'cost': 21}, {'agent_id': 'A4', 'task_id': 17, 'cost': 19}, {'agent_id': 'A4', 'task_id': 18, 'cost': 5}, {'agent_id': 'A4', 'task_id': 19, 'cost': 25}, {'agent_id': 'A5', 'task_id': 1, 'cost': 13}, {'agent_id': 'A5', 'task_id': 2, 'cost': 9}, {'agent_id': 'A5', 'task_id': 3, 'cost': 22}, {'agent_id': 'A5', 'task_id': 4, 'cost': 21}, {'agent_id': 'A5', 'task_id': 5, 'cost': 11}, {'agent_id': 'A5', 'task_id': 6, 'cost': 14}, {'agent_id': 'A5', 'task_id': 7, 'cost': 14}, {'agent_id': 'A5', 'task_id': 8, 'cost': 9}, {'agent_id': 'A5', 'task_id': 9, 'cost': 21}, {'agent_id': 'A5', 'task_id': 10, 'cost': 21}, {'agent_id': 'A5', 'task_id': 11, 'cost': 11}, {'agent_id': 'A5', 'task_id': 12, 'cost': 23}, {'agent_id': 'A5', 'task_id': 13, 'cost': 20}, {'agent_id': 'A5', 'task_id': 14, 'cost': 25}, {'agent_id': 'A5', 'task_id': 15, 'cost': 17}, {'agent_id': 'A5', 'task_id': 16, 'cost': 17}, {'agent_id': 'A5', 'task_id': 17, 'cost': 7}, {'agent_id': 'A5', 'task_id': 18, 'cost': 18}, {'agent_id': 'A5', 'task_id': 19, 'cost': 15}, {'agent_id': 'A6', 'task_id': 1, 'cost': 13}, {'agent_id': 'A6', 'task_id': 2, 'cost': 16}, {'agent_id': 'A6', 'task_id': 3, 'cost': 18}, {'agent_id': 'A6', 'task_id': 4, 'cost': 7}, {'agent_id': 'A6', 'task_id': 5, 'cost': 11}, {'agent_id': 'A6', 'task_id': 6, 'cost': 19}, {'agent_id': 'A6', 'task_id': 7, 'cost': 22}, {'agent_id': 'A6', 'task_id': 8, 'cost': 18}, {'agent_id': 'A6', 'task_id': 9, 'cost': 18}, {'agent_id': 'A6', 'task_id': 10, 'cost': 9}, {'agent_id': 'A6', 'task_id': 11, 'cost': 19}, {'agent_id': 'A6', 'task_id': 12, 'cost': 8}, {'agent_id': 'A6', 'task_id': 13, 'cost': 21}, {'agent_id': 'A6', 'task_id': 14, 'cost': 10}, {'agent_id': 'A6', 'task_id': 15, 'cost': 8}, {'agent_id': 'A6', 'task_id': 16, 'cost': 9}, {'agent_id': 'A6', 'task_id': 17, 'cost': 10}, {'agent_id': 'A6', 'task_id': 18, 'cost': 7}, {'agent_id': 'A6', 'task_id': 19, 'cost': 14}]}","['A3', 'A2', 'A4', 'A6', 'A5', 'A2', 'A5', 'A2', 'A3', 'A6', 'A5', 'A3', 'A2', 'A2', 'A6', 'A3', 'A5', 'A4', 'A1']",46,json,1 GAP,GAP,"Someone in charge of bookings has to match every photoshoot to one studio, given that each shoot has an hour demand and each studio charges a specific amount for that shoot. Studios can host multiple shoots, provided the total time booked there stays within that studio’s available hours. The win is the plan with the lowest total rental and setup bill — calculated by adding up the cost of each shoot at the studio it’s put into. The exact numbers and studio hours are shown below. There are 7 studios and 22 shoots to place; the studios are A1, A2, A3, A4, A5, A6, A7 and the shoots are A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V. Studio A1 has 475 available hours. Studio A2 has 471 available hours. Studio A3 has 479 available hours. Studio A4 has 472 available hours. Studio A5 has 479 available hours. Studio A6 has 480 available hours. Studio A7 has 490 available hours. Placing shoot A in studio A1 consumes 48 hours and costs 24. Placing shoot B in studio A1 consumes 10 hours and costs 5. Placing shoot C in studio A1 consumes 43 hours and costs 23. Placing shoot D in studio A1 consumes 11 hours and costs 21. Placing shoot E in studio A1 consumes 19 hours and costs 20. Placing shoot F in studio A1 consumes 20 hours and costs 9. Placing shoot G in studio A1 consumes 21 hours and costs 21. Placing shoot H in studio A1 consumes 36 hours and costs 7. Placing shoot I in studio A1 consumes 43 hours and costs 8. Placing shoot J in studio A1 consumes 14 hours and costs 10. Placing shoot K in studio A1 consumes 45 hours and costs 20. Placing shoot L in studio A1 consumes 30 hours and costs 22. Placing shoot M in studio A1 consumes 34 hours and costs 11. Placing shoot N in studio A1 consumes 46 hours and costs 17. Placing shoot O in studio A1 consumes 29 hours and costs 12. Placing shoot P in studio A1 consumes 21 hours and costs 25. Placing shoot Q in studio A1 consumes 35 hours and costs 20. Placing shoot R in studio A1 consumes 28 hours and costs 20. Placing shoot S in studio A1 consumes 13 hours and costs 19. Placing shoot T in studio A1 consumes 47 hours and costs 10. Placing shoot U in studio A1 consumes 40 hours and costs 9. Placing shoot V in studio A1 consumes 20 hours and costs 9. Placing shoot A in studio A2 consumes 18 hours and costs 24. Placing shoot B in studio A2 consumes 25 hours and costs 15. Placing shoot C in studio A2 consumes 20 hours and costs 22. Placing shoot D in studio A2 consumes 40 hours and costs 11. Placing shoot E in studio A2 consumes 30 hours and costs 13. Placing shoot F in studio A2 consumes 29 hours and costs 5. Placing shoot G in studio A2 consumes 49 hours and costs 24. Placing shoot H in studio A2 consumes 43 hours and costs 12. Placing shoot I in studio A2 consumes 35 hours and costs 7. Placing shoot J in studio A2 consumes 10 hours and costs 25. Placing shoot K in studio A2 consumes 40 hours and costs 25. Placing shoot L in studio A2 consumes 48 hours and costs 11. Placing shoot M in studio A2 consumes 41 hours and costs 19. Placing shoot N in studio A2 consumes 10 hours and costs 20. Placing shoot O in studio A2 consumes 17 hours and costs 10. Placing shoot P in studio A2 consumes 23 hours and costs 17. Placing shoot Q in studio A2 consumes 29 hours and costs 19. Placing shoot R in studio A2 consumes 48 hours and costs 25. Placing shoot S in studio A2 consumes 47 hours and costs 17. Placing shoot T in studio A2 consumes 20 hours and costs 23. Placing shoot U in studio A2 consumes 24 hours and costs 11. Placing shoot V in studio A2 consumes 10 hours and costs 23. Placing shoot A in studio A3 consumes 28 hours and costs 17. Placing shoot B in studio A3 consumes 44 hours and costs 19. Placing shoot C in studio A3 consumes 46 hours and costs 12. Placing shoot D in studio A3 consumes 30 hours and costs 23. Placing shoot E in studio A3 consumes 33 hours and costs 24. Placing shoot F in studio A3 consumes 10 hours and costs 24. Placing shoot G in studio A3 consumes 31 hours and costs 20. Placing shoot H in studio A3 consumes 34 hours and costs 10. Placing shoot I in studio A3 consumes 28 hours and costs 19. Placing shoot J in studio A3 consumes 18 hours and costs 19. Placing shoot K in studio A3 consumes 45 hours and costs 22. Placing shoot L in studio A3 consumes 22 hours and costs 14. Placing shoot M in studio A3 consumes 17 hours and costs 9. Placing shoot N in studio A3 consumes 41 hours and costs 21. Placing shoot O in studio A3 consumes 43 hours and costs 10. Placing shoot P in studio A3 consumes 19 hours and costs 12. Placing shoot Q in studio A3 consumes 34 hours and costs 25. Placing shoot R in studio A3 consumes 46 hours and costs 16. Placing shoot S in studio A3 consumes 23 hours and costs 6. Placing shoot T in studio A3 consumes 43 hours and costs 24. Placing shoot U in studio A3 consumes 38 hours and costs 17. Placing shoot V in studio A3 consumes 10 hours and costs 23. Placing shoot A in studio A4 consumes 39 hours and costs 15. Placing shoot B in studio A4 consumes 14 hours and costs 5. Placing shoot C in studio A4 consumes 10 hours and costs 21. Placing shoot D in studio A4 consumes 22 hours and costs 18. Placing shoot E in studio A4 consumes 12 hours and costs 18. Placing shoot F in studio A4 consumes 28 hours and costs 8. Placing shoot G in studio A4 consumes 44 hours and costs 15. Placing shoot H in studio A4 consumes 50 hours and costs 24. Placing shoot I in studio A4 consumes 27 hours and costs 15. Placing shoot J in studio A4 consumes 20 hours and costs 22. Placing shoot K in studio A4 consumes 48 hours and costs 22. Placing shoot L in studio A4 consumes 21 hours and costs 18. Placing shoot M in studio A4 consumes 19 hours and costs 12. Placing shoot N in studio A4 consumes 23 hours and costs 24. Placing shoot O in studio A4 consumes 45 hours and costs 6. Placing shoot P in studio A4 consumes 12 hours and costs 5. Placing shoot Q in studio A4 consumes 49 hours and costs 6. Placing shoot R in studio A4 consumes 27 hours and costs 10. Placing shoot S in studio A4 consumes 41 hours and costs 6. Placing shoot T in studio A4 consumes 18 hours and costs 24. Placing shoot U in studio A4 consumes 16 hours and costs 15. Placing shoot V in studio A4 consumes 18 hours and costs 5. Placing shoot A in studio A5 consumes 32 hours and costs 16. Placing shoot B in studio A5 consumes 43 hours and costs 11. Placing shoot C in studio A5 consumes 24 hours and costs 7. Placing shoot D in studio A5 consumes 23 hours and costs 25. Placing shoot E in studio A5 consumes 40 hours and costs 8. Placing shoot F in studio A5 consumes 39 hours and costs 16. Placing shoot G in studio A5 consumes 20 hours and costs 23. Placing shoot H in studio A5 consumes 31 hours and costs 5. Placing shoot I in studio A5 consumes 14 hours and costs 23. Placing shoot J in studio A5 consumes 20 hours and costs 8. Placing shoot K in studio A5 consumes 18 hours and costs 24. Placing shoot L in studio A5 consumes 31 hours and costs 12. Placing shoot M in studio A5 consumes 28 hours and costs 11. Placing shoot N in studio A5 consumes 21 hours and costs 13. Placing shoot O in studio A5 consumes 36 hours and costs 17. Placing shoot P in studio A5 consumes 42 hours and costs 21. Placing shoot Q in studio A5 consumes 32 hours and costs 10. Placing shoot R in studio A5 consumes 38 hours and costs 21. Placing shoot S in studio A5 consumes 49 hours and costs 22. Placing shoot T in studio A5 consumes 32 hours and costs 6. Placing shoot U in studio A5 consumes 45 hours and costs 9. Placing shoot V in studio A5 consumes 50 hours and costs 9. Placing shoot A in studio A6 consumes 21 hours and costs 24. Placing shoot B in studio A6 consumes 24 hours and costs 11. Placing shoot C in studio A6 consumes 47 hours and costs 16. Placing shoot D in studio A6 consumes 28 hours and costs 11. Placing shoot E in studio A6 consumes 31 hours and costs 9. Placing shoot F in studio A6 consumes 20 hours and costs 15. Placing shoot G in studio A6 consumes 29 hours and costs 14. Placing shoot H in studio A6 consumes 44 hours and costs 10. Placing shoot I in studio A6 consumes 23 hours and costs 17. Placing shoot J in studio A6 consumes 14 hours and costs 19. Placing shoot K in studio A6 consumes 26 hours and costs 23. Placing shoot L in studio A6 consumes 47 hours and costs 8. Placing shoot M in studio A6 consumes 47 hours and costs 12. Placing shoot N in studio A6 consumes 50 hours and costs 15. Placing shoot O in studio A6 consumes 28 hours and costs 15. Placing shoot P in studio A6 consumes 27 hours and costs 22. Placing shoot Q in studio A6 consumes 50 hours and costs 19. Placing shoot R in studio A6 consumes 44 hours and costs 16. Placing shoot S in studio A6 consumes 37 hours and costs 15. Placing shoot T in studio A6 consumes 22 hours and costs 5. Placing shoot U in studio A6 consumes 40 hours and costs 25. Placing shoot V in studio A6 consumes 35 hours and costs 18. Placing shoot A in studio A7 consumes 44 hours and costs 17. Placing shoot B in studio A7 consumes 31 hours and costs 6. Placing shoot C in studio A7 consumes 29 hours and costs 15. Placing shoot D in studio A7 consumes 37 hours and costs 12. Placing shoot E in studio A7 consumes 29 hours and costs 7. Placing shoot F in studio A7 consumes 29 hours and costs 11. Placing shoot G in studio A7 consumes 34 hours and costs 20. Placing shoot H in studio A7 consumes 38 hours and costs 17. Placing shoot I in studio A7 consumes 40 hours and costs 19. Placing shoot J in studio A7 consumes 44 hours and costs 21. Placing shoot K in studio A7 consumes 13 hours and costs 17. Placing shoot L in studio A7 consumes 29 hours and costs 11. Placing shoot M in studio A7 consumes 43 hours and costs 14. Placing shoot N in studio A7 consumes 39 hours and costs 23. Placing shoot O in studio A7 consumes 30 hours and costs 21. Placing shoot P in studio A7 consumes 47 hours and costs 7. Placing shoot Q in studio A7 consumes 15 hours and costs 16. Placing shoot R in studio A7 consumes 36 hours and costs 10. Placing shoot S in studio A7 consumes 41 hours and costs 22. Placing shoot T in studio A7 consumes 44 hours and costs 23. Placing shoot U in studio A7 consumes 45 hours and costs 23. Placing shoot V in studio A7 consumes 38 hours and costs 22. The planner must assign all 22 shoots across the 7 studios without exceeding any studio's available hours, minimizing the total rental and setup bill. If you could send the final plan in a compact JSON snippet, that makes it easy to check automatically — something casual like this will do: { ""solution"": [ , , ..., ] } This just shows the shape: the ""solution"" array should list, in order, which studio each shoot is assigned to (first shoot → first entry, second shoot → second entry, and so on). It's just a sketch of the expected layout, not the actual assignment itself. Please make sure to use the exact identifiers from the instance input — no renaming and no new labels. Valid identifiers look like: - plain numbers such as ""1"" or ""23"" - single capital letters like ""A"" or ""B"" - a capital letter followed by digits like ""A1"" or ""X7""","{'resource_consumption': [[48, 10, 43, 11, 19, 20, 21, 36, 43, 14, 45, 30, 34, 46, 29, 21, 35, 28, 13, 47, 40, 20], [18, 25, 20, 40, 30, 29, 49, 43, 35, 10, 40, 48, 41, 10, 17, 23, 29, 48, 47, 20, 24, 10], [28, 44, 46, 30, 33, 10, 31, 34, 28, 18, 45, 22, 17, 41, 43, 19, 34, 46, 23, 43, 38, 10], [39, 14, 10, 22, 12, 28, 44, 50, 27, 20, 48, 21, 19, 23, 45, 12, 49, 27, 41, 18, 16, 18], [32, 43, 24, 23, 40, 39, 20, 31, 14, 20, 18, 31, 28, 21, 36, 42, 32, 38, 49, 32, 45, 50], [21, 24, 47, 28, 31, 20, 29, 44, 23, 14, 26, 47, 47, 50, 28, 27, 50, 44, 37, 22, 40, 35], [44, 31, 29, 37, 29, 29, 34, 38, 40, 44, 13, 29, 43, 39, 30, 47, 15, 36, 41, 44, 45, 38]], 'assignment_costs': [[24, 5, 23, 21, 20, 9, 21, 7, 8, 10, 20, 22, 11, 17, 12, 25, 20, 20, 19, 10, 9, 9], [24, 15, 22, 11, 13, 5, 24, 12, 7, 25, 25, 11, 19, 20, 10, 17, 19, 25, 17, 23, 11, 23], [17, 19, 12, 23, 24, 24, 20, 10, 19, 19, 22, 14, 9, 21, 10, 12, 25, 16, 6, 24, 17, 23], [15, 5, 21, 18, 18, 8, 15, 24, 15, 22, 22, 18, 12, 24, 6, 5, 6, 10, 6, 24, 15, 5], [16, 11, 7, 25, 8, 16, 23, 5, 23, 8, 24, 12, 11, 13, 17, 21, 10, 21, 22, 6, 9, 9], [24, 11, 16, 11, 9, 15, 14, 10, 17, 19, 23, 8, 12, 15, 15, 22, 19, 16, 15, 5, 25, 18], [17, 6, 15, 12, 7, 11, 20, 17, 19, 21, 17, 11, 14, 23, 21, 7, 16, 10, 22, 23, 23, 22]], 'capacities': [475, 471, 479, 472, 479, 480, 490], 'objective': 183.0}","[3, 0, 4, 5, 6, 1, 5, 4, 1, 4, 6, 5, 2, 4, 3, 3, 3, 3, 2, 5, 0, 3]",183.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 22, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 475}, {'agent_id': 'A2', 'capacity': 471}, {'agent_id': 'A3', 'capacity': 479}, {'agent_id': 'A4', 'capacity': 472}, {'agent_id': 'A5', 'capacity': 479}, {'agent_id': 'A6', 'capacity': 480}, {'agent_id': 'A7', 'capacity': 490}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 10}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 43}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 11}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 19}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 20}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 43}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 14}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 45}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 34}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 46}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 29}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 21}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 35}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 28}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 13}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 47}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'V', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 18}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 25}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 30}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 29}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 49}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 35}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 40}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 10}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 17}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 23}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 29}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 48}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 47}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'V', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 44}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 33}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 31}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 28}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 18}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 17}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 41}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 43}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 19}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 46}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 43}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 38}, {'agent_id': 'A3', 'task_id': 'V', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 14}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 22}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 44}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 50}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 48}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 21}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 19}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 49}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 27}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 41}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 18}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 16}, {'agent_id': 'A4', 'task_id': 'V', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 43}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 24}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 23}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 40}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 39}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 18}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 31}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 21}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 36}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 42}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 49}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 45}, {'agent_id': 'A5', 'task_id': 'V', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 28}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 31}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 20}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 29}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 14}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 26}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 47}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 28}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 50}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 44}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'V', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 37}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 40}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 13}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 43}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 39}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 30}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 47}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 15}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 44}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 45}, {'agent_id': 'A7', 'task_id': 'V', 'consumption': 38}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 5}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 7}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 25}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 19}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 10}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'V', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 23}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 11}, {'agent_id': 'A2', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 20}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 21}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 12}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 6}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'V', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 6}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 15}, {'agent_id': 'A4', 'task_id': 'V', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 25}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 23}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 22}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'V', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 14}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 10}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 8}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 5}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'V', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 20}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 14}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 22}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'V', 'cost': 22}]}","['A4', 'A1', 'A5', 'A6', 'A7', 'A2', 'A6', 'A5', 'A2', 'A5', 'A7', 'A6', 'A3', 'A5', 'A4', 'A4', 'A4', 'A4', 'A3', 'A6', 'A1', 'A4']",47,nl,names GAP,GAP,"There’s a quiet scheduling puzzle in the dev office: a set of features needs owners, and each feature should be owned by a single developer. People can carry several tasks, provided the combined estimated effort for those tasks stays inside their personal time budget. We’ve mapped out, for each developer and each feature, how much effort that match would take and what it would cost; the winner among possible schedules is the one with the lowest overall bill, which you get by summing the individual assignment costs. The concrete estimates and capacities are shown below. Below we list the 7 developers and the 21 features: A1, A2, A3, A4, A5, A6, A7 and A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U. For developer A1 we record 192 available capacity. For developer A2 we record 192 available capacity. For developer A3 we record 192 available capacity. For developer A4 we record 192 available capacity. For developer A5 we record 192 available capacity. For developer A6 we record 192 available capacity. For developer A7 we record 192 available capacity. For A1 implementing A we estimate 32 effort and 13 cost. For A1 implementing B we estimate 41 effort and 11 cost. For A1 implementing C we estimate 24 effort and 6 cost. For A1 implementing D we estimate 40 effort and 8 cost. For A1 implementing E we estimate 30 effort and 24 cost. For A1 implementing F we estimate 27 effort and 17 cost. For A1 implementing G we estimate 48 effort and 21 cost. For A1 implementing H we estimate 32 effort and 17 cost. For A1 implementing I we estimate 36 effort and 22 cost. For A1 implementing J we estimate 31 effort and 24 cost. For A1 implementing K we estimate 17 effort and 11 cost. For A1 implementing L we estimate 41 effort and 23 cost. For A1 implementing M we estimate 25 effort and 9 cost. For A1 implementing N we estimate 31 effort and 12 cost. For A1 implementing O we estimate 23 effort and 14 cost. For A1 implementing P we estimate 31 effort and 13 cost. For A1 implementing Q we estimate 33 effort and 14 cost. For A1 implementing R we estimate 29 effort and 22 cost. For A1 implementing S we estimate 35 effort and 15 cost. For A1 implementing T we estimate 20 effort and 12 cost. For A1 implementing U we estimate 15 effort and 6 cost. For A2 implementing A we estimate 19 effort and 7 cost. For A2 implementing B we estimate 31 effort and 25 cost. For A2 implementing C we estimate 39 effort and 9 cost. For A2 implementing D we estimate 24 effort and 20 cost. For A2 implementing E we estimate 33 effort and 18 cost. For A2 implementing F we estimate 11 effort and 16 cost. For A2 implementing G we estimate 44 effort and 24 cost. For A2 implementing H we estimate 41 effort and 22 cost. For A2 implementing I we estimate 20 effort and 14 cost. For A2 implementing J we estimate 50 effort and 20 cost. For A2 implementing K we estimate 15 effort and 12 cost. For A2 implementing L we estimate 19 effort and 10 cost. For A2 implementing M we estimate 26 effort and 9 cost. For A2 implementing N we estimate 41 effort and 13 cost. For A2 implementing O we estimate 33 effort and 10 cost. For A2 implementing P we estimate 46 effort and 17 cost. For A2 implementing Q we estimate 43 effort and 13 cost. For A2 implementing R we estimate 20 effort and 9 cost. For A2 implementing S we estimate 36 effort and 15 cost. For A2 implementing T we estimate 36 effort and 22 cost. For A2 implementing U we estimate 19 effort and 13 cost. For A3 implementing A we estimate 11 effort and 25 cost. For A3 implementing B we estimate 22 effort and 9 cost. For A3 implementing C we estimate 34 effort and 24 cost. For A3 implementing D we estimate 16 effort and 9 cost. For A3 implementing E we estimate 45 effort and 22 cost. For A3 implementing F we estimate 21 effort and 22 cost. For A3 implementing G we estimate 15 effort and 17 cost. For A3 implementing H we estimate 12 effort and 15 cost. For A3 implementing I we estimate 45 effort and 10 cost. For A3 implementing J we estimate 33 effort and 15 cost. For A3 implementing K we estimate 16 effort and 14 cost. For A3 implementing L we estimate 49 effort and 17 cost. For A3 implementing M we estimate 26 effort and 13 cost. For A3 implementing N we estimate 10 effort and 14 cost. For A3 implementing O we estimate 30 effort and 23 cost. For A3 implementing P we estimate 17 effort and 16 cost. For A3 implementing Q we estimate 27 effort and 16 cost. For A3 implementing R we estimate 16 effort and 13 cost. For A3 implementing S we estimate 48 effort and 16 cost. For A3 implementing T we estimate 22 effort and 15 cost. For A3 implementing U we estimate 25 effort and 7 cost. For A4 implementing A we estimate 49 effort and 18 cost. For A4 implementing B we estimate 12 effort and 13 cost. For A4 implementing C we estimate 31 effort and 17 cost. For A4 implementing D we estimate 10 effort and 22 cost. For A4 implementing E we estimate 31 effort and 24 cost. For A4 implementing F we estimate 43 effort and 14 cost. For A4 implementing G we estimate 39 effort and 21 cost. For A4 implementing H we estimate 40 effort and 16 cost. For A4 implementing I we estimate 39 effort and 23 cost. For A4 implementing J we estimate 30 effort and 10 cost. For A4 implementing K we estimate 23 effort and 12 cost. For A4 implementing L we estimate 26 effort and 17 cost. For A4 implementing M we estimate 26 effort and 5 cost. For A4 implementing N we estimate 45 effort and 19 cost. For A4 implementing O we estimate 38 effort and 17 cost. For A4 implementing P we estimate 45 effort and 9 cost. For A4 implementing Q we estimate 34 effort and 16 cost. For A4 implementing R we estimate 20 effort and 8 cost. For A4 implementing S we estimate 28 effort and 20 cost. For A4 implementing T we estimate 36 effort and 12 cost. For A4 implementing U we estimate 45 effort and 24 cost. For A5 implementing A we estimate 28 effort and 18 cost. For A5 implementing B we estimate 39 effort and 18 cost. For A5 implementing C we estimate 10 effort and 16 cost. For A5 implementing D we estimate 14 effort and 8 cost. For A5 implementing E we estimate 45 effort and 9 cost. For A5 implementing F we estimate 27 effort and 5 cost. For A5 implementing G we estimate 15 effort and 14 cost. For A5 implementing H we estimate 16 effort and 11 cost. For A5 implementing I we estimate 20 effort and 18 cost. For A5 implementing J we estimate 38 effort and 10 cost. For A5 implementing K we estimate 29 effort and 6 cost. For A5 implementing L we estimate 32 effort and 12 cost. For A5 implementing M we estimate 17 effort and 7 cost. For A5 implementing N we estimate 32 effort and 13 cost. For A5 implementing O we estimate 48 effort and 21 cost. For A5 implementing P we estimate 12 effort and 20 cost. For A5 implementing Q we estimate 20 effort and 8 cost. For A5 implementing R we estimate 37 effort and 20 cost. For A5 implementing S we estimate 23 effort and 9 cost. For A5 implementing T we estimate 20 effort and 10 cost. For A5 implementing U we estimate 12 effort and 12 cost. For A6 implementing A we estimate 10 effort and 21 cost. For A6 implementing B we estimate 23 effort and 15 cost. For A6 implementing C we estimate 38 effort and 16 cost. For A6 implementing D we estimate 27 effort and 13 cost. For A6 implementing E we estimate 16 effort and 17 cost. For A6 implementing F we estimate 35 effort and 9 cost. For A6 implementing G we estimate 36 effort and 18 cost. For A6 implementing H we estimate 25 effort and 19 cost. For A6 implementing I we estimate 21 effort and 12 cost. For A6 implementing J we estimate 42 effort and 11 cost. For A6 implementing K we estimate 11 effort and 11 cost. For A6 implementing L we estimate 37 effort and 25 cost. For A6 implementing M we estimate 12 effort and 25 cost. For A6 implementing N we estimate 37 effort and 24 cost. For A6 implementing O we estimate 43 effort and 13 cost. For A6 implementing P we estimate 36 effort and 22 cost. For A6 implementing Q we estimate 22 effort and 7 cost. For A6 implementing R we estimate 24 effort and 23 cost. For A6 implementing S we estimate 21 effort and 25 cost. For A6 implementing T we estimate 40 effort and 22 cost. For A6 implementing U we estimate 14 effort and 18 cost. For A7 implementing A we estimate 14 effort and 10 cost. For A7 implementing B we estimate 32 effort and 15 cost. For A7 implementing C we estimate 16 effort and 6 cost. For A7 implementing D we estimate 31 effort and 8 cost. For A7 implementing E we estimate 16 effort and 23 cost. For A7 implementing F we estimate 48 effort and 12 cost. For A7 implementing G we estimate 14 effort and 15 cost. For A7 implementing H we estimate 29 effort and 6 cost. For A7 implementing I we estimate 38 effort and 5 cost. For A7 implementing J we estimate 41 effort and 12 cost. For A7 implementing K we estimate 34 effort and 25 cost. For A7 implementing L we estimate 31 effort and 17 cost. For A7 implementing M we estimate 36 effort and 5 cost. For A7 implementing N we estimate 27 effort and 11 cost. For A7 implementing O we estimate 42 effort and 19 cost. For A7 implementing P we estimate 40 effort and 15 cost. For A7 implementing Q we estimate 35 effort and 21 cost. For A7 implementing R we estimate 35 effort and 24 cost. For A7 implementing S we estimate 42 effort and 25 cost. For A7 implementing T we estimate 48 effort and 7 cost. For A7 implementing U we estimate 41 effort and 7 cost. We’ll pick the schedule with the lowest summed implementation cost. Oh, and one more thing — when you send the final assignment back, a simple JSON sketch like the one below is all I need: it just lists, in order, who takes each feature. { ""solution"": [ , , ..., ] } Think of that array as a simple form: each slot corresponds to a feature (in the same order as the instance), and the placeholder in each slot is the identifier for the developer who’ll own it. This is just the shape I’m expecting, not the actual assignments. Please make sure you use the exact identifiers from the instance input — don’t rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[32, 41, 24, 40, 30, 27, 48, 32, 36, 31, 17, 41, 25, 31, 23, 31, 33, 29, 35, 20, 15], [19, 31, 39, 24, 33, 11, 44, 41, 20, 50, 15, 19, 26, 41, 33, 46, 43, 20, 36, 36, 19], [11, 22, 34, 16, 45, 21, 15, 12, 45, 33, 16, 49, 26, 10, 30, 17, 27, 16, 48, 22, 25], [49, 12, 31, 10, 31, 43, 39, 40, 39, 30, 23, 26, 26, 45, 38, 45, 34, 20, 28, 36, 45], [28, 39, 10, 14, 45, 27, 15, 16, 20, 38, 29, 32, 17, 32, 48, 12, 20, 37, 23, 20, 12], [10, 23, 38, 27, 16, 35, 36, 25, 21, 42, 11, 37, 12, 37, 43, 36, 22, 24, 21, 40, 14], [14, 32, 16, 31, 16, 48, 14, 29, 38, 41, 34, 31, 36, 27, 42, 40, 35, 35, 42, 48, 41]], 'assignment_costs': [[13, 11, 6, 8, 24, 17, 21, 17, 22, 24, 11, 23, 9, 12, 14, 13, 14, 22, 15, 12, 6], [7, 25, 9, 20, 18, 16, 24, 22, 14, 20, 12, 10, 9, 13, 10, 17, 13, 9, 15, 22, 13], [25, 9, 24, 9, 22, 22, 17, 15, 10, 15, 14, 17, 13, 14, 23, 16, 16, 13, 16, 15, 7], [18, 13, 17, 22, 24, 14, 21, 16, 23, 10, 12, 17, 5, 19, 17, 9, 16, 8, 20, 12, 24], [18, 18, 16, 8, 9, 5, 14, 11, 18, 10, 6, 12, 7, 13, 21, 20, 8, 20, 9, 10, 12], [21, 15, 16, 13, 17, 9, 18, 19, 12, 11, 11, 25, 25, 24, 13, 22, 7, 23, 25, 22, 18], [10, 15, 6, 8, 23, 12, 15, 6, 5, 12, 25, 17, 5, 11, 19, 15, 21, 24, 25, 7, 7]], 'capacities': [192, 192, 192, 192, 192, 192, 192], 'objective': 167.0}","[1, 2, 6, 4, 4, 4, 4, 6, 6, 3, 4, 1, 3, 6, 1, 3, 5, 3, 4, 6, 0]",167.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U'], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 192}, {'agent_id': 'A2', 'capacity': 192}, {'agent_id': 'A3', 'capacity': 192}, {'agent_id': 'A4', 'capacity': 192}, {'agent_id': 'A5', 'capacity': 192}, {'agent_id': 'A6', 'capacity': 192}, {'agent_id': 'A7', 'capacity': 192}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'consumption': 32}, {'agent_id': 'A1', 'task_id': 'B', 'consumption': 41}, {'agent_id': 'A1', 'task_id': 'C', 'consumption': 24}, {'agent_id': 'A1', 'task_id': 'D', 'consumption': 40}, {'agent_id': 'A1', 'task_id': 'E', 'consumption': 30}, {'agent_id': 'A1', 'task_id': 'F', 'consumption': 27}, {'agent_id': 'A1', 'task_id': 'G', 'consumption': 48}, {'agent_id': 'A1', 'task_id': 'H', 'consumption': 32}, {'agent_id': 'A1', 'task_id': 'I', 'consumption': 36}, {'agent_id': 'A1', 'task_id': 'J', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'K', 'consumption': 17}, {'agent_id': 'A1', 'task_id': 'L', 'consumption': 41}, {'agent_id': 'A1', 'task_id': 'M', 'consumption': 25}, {'agent_id': 'A1', 'task_id': 'N', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'O', 'consumption': 23}, {'agent_id': 'A1', 'task_id': 'P', 'consumption': 31}, {'agent_id': 'A1', 'task_id': 'Q', 'consumption': 33}, {'agent_id': 'A1', 'task_id': 'R', 'consumption': 29}, {'agent_id': 'A1', 'task_id': 'S', 'consumption': 35}, {'agent_id': 'A1', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A1', 'task_id': 'U', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'A', 'consumption': 19}, {'agent_id': 'A2', 'task_id': 'B', 'consumption': 31}, {'agent_id': 'A2', 'task_id': 'C', 'consumption': 39}, {'agent_id': 'A2', 'task_id': 'D', 'consumption': 24}, {'agent_id': 'A2', 'task_id': 'E', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'F', 'consumption': 11}, {'agent_id': 'A2', 'task_id': 'G', 'consumption': 44}, {'agent_id': 'A2', 'task_id': 'H', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'I', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'J', 'consumption': 50}, {'agent_id': 'A2', 'task_id': 'K', 'consumption': 15}, {'agent_id': 'A2', 'task_id': 'L', 'consumption': 19}, {'agent_id': 'A2', 'task_id': 'M', 'consumption': 26}, {'agent_id': 'A2', 'task_id': 'N', 'consumption': 41}, {'agent_id': 'A2', 'task_id': 'O', 'consumption': 33}, {'agent_id': 'A2', 'task_id': 'P', 'consumption': 46}, {'agent_id': 'A2', 'task_id': 'Q', 'consumption': 43}, {'agent_id': 'A2', 'task_id': 'R', 'consumption': 20}, {'agent_id': 'A2', 'task_id': 'S', 'consumption': 36}, {'agent_id': 'A2', 'task_id': 'T', 'consumption': 36}, {'agent_id': 'A2', 'task_id': 'U', 'consumption': 19}, {'agent_id': 'A3', 'task_id': 'A', 'consumption': 11}, {'agent_id': 'A3', 'task_id': 'B', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'C', 'consumption': 34}, {'agent_id': 'A3', 'task_id': 'D', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'E', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'F', 'consumption': 21}, {'agent_id': 'A3', 'task_id': 'G', 'consumption': 15}, {'agent_id': 'A3', 'task_id': 'H', 'consumption': 12}, {'agent_id': 'A3', 'task_id': 'I', 'consumption': 45}, {'agent_id': 'A3', 'task_id': 'J', 'consumption': 33}, {'agent_id': 'A3', 'task_id': 'K', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'L', 'consumption': 49}, {'agent_id': 'A3', 'task_id': 'M', 'consumption': 26}, {'agent_id': 'A3', 'task_id': 'N', 'consumption': 10}, {'agent_id': 'A3', 'task_id': 'O', 'consumption': 30}, {'agent_id': 'A3', 'task_id': 'P', 'consumption': 17}, {'agent_id': 'A3', 'task_id': 'Q', 'consumption': 27}, {'agent_id': 'A3', 'task_id': 'R', 'consumption': 16}, {'agent_id': 'A3', 'task_id': 'S', 'consumption': 48}, {'agent_id': 'A3', 'task_id': 'T', 'consumption': 22}, {'agent_id': 'A3', 'task_id': 'U', 'consumption': 25}, {'agent_id': 'A4', 'task_id': 'A', 'consumption': 49}, {'agent_id': 'A4', 'task_id': 'B', 'consumption': 12}, {'agent_id': 'A4', 'task_id': 'C', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'D', 'consumption': 10}, {'agent_id': 'A4', 'task_id': 'E', 'consumption': 31}, {'agent_id': 'A4', 'task_id': 'F', 'consumption': 43}, {'agent_id': 'A4', 'task_id': 'G', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'H', 'consumption': 40}, {'agent_id': 'A4', 'task_id': 'I', 'consumption': 39}, {'agent_id': 'A4', 'task_id': 'J', 'consumption': 30}, {'agent_id': 'A4', 'task_id': 'K', 'consumption': 23}, {'agent_id': 'A4', 'task_id': 'L', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'M', 'consumption': 26}, {'agent_id': 'A4', 'task_id': 'N', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'O', 'consumption': 38}, {'agent_id': 'A4', 'task_id': 'P', 'consumption': 45}, {'agent_id': 'A4', 'task_id': 'Q', 'consumption': 34}, {'agent_id': 'A4', 'task_id': 'R', 'consumption': 20}, {'agent_id': 'A4', 'task_id': 'S', 'consumption': 28}, {'agent_id': 'A4', 'task_id': 'T', 'consumption': 36}, {'agent_id': 'A4', 'task_id': 'U', 'consumption': 45}, {'agent_id': 'A5', 'task_id': 'A', 'consumption': 28}, {'agent_id': 'A5', 'task_id': 'B', 'consumption': 39}, {'agent_id': 'A5', 'task_id': 'C', 'consumption': 10}, {'agent_id': 'A5', 'task_id': 'D', 'consumption': 14}, {'agent_id': 'A5', 'task_id': 'E', 'consumption': 45}, {'agent_id': 'A5', 'task_id': 'F', 'consumption': 27}, {'agent_id': 'A5', 'task_id': 'G', 'consumption': 15}, {'agent_id': 'A5', 'task_id': 'H', 'consumption': 16}, {'agent_id': 'A5', 'task_id': 'I', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'J', 'consumption': 38}, {'agent_id': 'A5', 'task_id': 'K', 'consumption': 29}, {'agent_id': 'A5', 'task_id': 'L', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'M', 'consumption': 17}, {'agent_id': 'A5', 'task_id': 'N', 'consumption': 32}, {'agent_id': 'A5', 'task_id': 'O', 'consumption': 48}, {'agent_id': 'A5', 'task_id': 'P', 'consumption': 12}, {'agent_id': 'A5', 'task_id': 'Q', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'R', 'consumption': 37}, {'agent_id': 'A5', 'task_id': 'S', 'consumption': 23}, {'agent_id': 'A5', 'task_id': 'T', 'consumption': 20}, {'agent_id': 'A5', 'task_id': 'U', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'A', 'consumption': 10}, {'agent_id': 'A6', 'task_id': 'B', 'consumption': 23}, {'agent_id': 'A6', 'task_id': 'C', 'consumption': 38}, {'agent_id': 'A6', 'task_id': 'D', 'consumption': 27}, {'agent_id': 'A6', 'task_id': 'E', 'consumption': 16}, {'agent_id': 'A6', 'task_id': 'F', 'consumption': 35}, {'agent_id': 'A6', 'task_id': 'G', 'consumption': 36}, {'agent_id': 'A6', 'task_id': 'H', 'consumption': 25}, {'agent_id': 'A6', 'task_id': 'I', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'J', 'consumption': 42}, {'agent_id': 'A6', 'task_id': 'K', 'consumption': 11}, {'agent_id': 'A6', 'task_id': 'L', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'M', 'consumption': 12}, {'agent_id': 'A6', 'task_id': 'N', 'consumption': 37}, {'agent_id': 'A6', 'task_id': 'O', 'consumption': 43}, {'agent_id': 'A6', 'task_id': 'P', 'consumption': 36}, {'agent_id': 'A6', 'task_id': 'Q', 'consumption': 22}, {'agent_id': 'A6', 'task_id': 'R', 'consumption': 24}, {'agent_id': 'A6', 'task_id': 'S', 'consumption': 21}, {'agent_id': 'A6', 'task_id': 'T', 'consumption': 40}, {'agent_id': 'A6', 'task_id': 'U', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'A', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'B', 'consumption': 32}, {'agent_id': 'A7', 'task_id': 'C', 'consumption': 16}, {'agent_id': 'A7', 'task_id': 'D', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'E', 'consumption': 16}, {'agent_id': 'A7', 'task_id': 'F', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'G', 'consumption': 14}, {'agent_id': 'A7', 'task_id': 'H', 'consumption': 29}, {'agent_id': 'A7', 'task_id': 'I', 'consumption': 38}, {'agent_id': 'A7', 'task_id': 'J', 'consumption': 41}, {'agent_id': 'A7', 'task_id': 'K', 'consumption': 34}, {'agent_id': 'A7', 'task_id': 'L', 'consumption': 31}, {'agent_id': 'A7', 'task_id': 'M', 'consumption': 36}, {'agent_id': 'A7', 'task_id': 'N', 'consumption': 27}, {'agent_id': 'A7', 'task_id': 'O', 'consumption': 42}, {'agent_id': 'A7', 'task_id': 'P', 'consumption': 40}, {'agent_id': 'A7', 'task_id': 'Q', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'R', 'consumption': 35}, {'agent_id': 'A7', 'task_id': 'S', 'consumption': 42}, {'agent_id': 'A7', 'task_id': 'T', 'consumption': 48}, {'agent_id': 'A7', 'task_id': 'U', 'consumption': 41}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 'A', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'B', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'C', 'cost': 6}, {'agent_id': 'A1', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A1', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'F', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A1', 'task_id': 'H', 'cost': 17}, {'agent_id': 'A1', 'task_id': 'I', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'J', 'cost': 24}, {'agent_id': 'A1', 'task_id': 'K', 'cost': 11}, {'agent_id': 'A1', 'task_id': 'L', 'cost': 23}, {'agent_id': 'A1', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A1', 'task_id': 'N', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'O', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'P', 'cost': 13}, {'agent_id': 'A1', 'task_id': 'Q', 'cost': 14}, {'agent_id': 'A1', 'task_id': 'R', 'cost': 22}, {'agent_id': 'A1', 'task_id': 'S', 'cost': 15}, {'agent_id': 'A1', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A1', 'task_id': 'U', 'cost': 6}, {'agent_id': 'A2', 'task_id': 'A', 'cost': 7}, {'agent_id': 'A2', 'task_id': 'B', 'cost': 25}, {'agent_id': 'A2', 'task_id': 'C', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'D', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'E', 'cost': 18}, {'agent_id': 'A2', 'task_id': 'F', 'cost': 16}, {'agent_id': 'A2', 'task_id': 'G', 'cost': 24}, {'agent_id': 'A2', 'task_id': 'H', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'I', 'cost': 14}, {'agent_id': 'A2', 'task_id': 'J', 'cost': 20}, {'agent_id': 'A2', 'task_id': 'K', 'cost': 12}, {'agent_id': 'A2', 'task_id': 'L', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'M', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'O', 'cost': 10}, {'agent_id': 'A2', 'task_id': 'P', 'cost': 17}, {'agent_id': 'A2', 'task_id': 'Q', 'cost': 13}, {'agent_id': 'A2', 'task_id': 'R', 'cost': 9}, {'agent_id': 'A2', 'task_id': 'S', 'cost': 15}, {'agent_id': 'A2', 'task_id': 'T', 'cost': 22}, {'agent_id': 'A2', 'task_id': 'U', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'A', 'cost': 25}, {'agent_id': 'A3', 'task_id': 'B', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'C', 'cost': 24}, {'agent_id': 'A3', 'task_id': 'D', 'cost': 9}, {'agent_id': 'A3', 'task_id': 'E', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'F', 'cost': 22}, {'agent_id': 'A3', 'task_id': 'G', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'H', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'I', 'cost': 10}, {'agent_id': 'A3', 'task_id': 'J', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'K', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'L', 'cost': 17}, {'agent_id': 'A3', 'task_id': 'M', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'N', 'cost': 14}, {'agent_id': 'A3', 'task_id': 'O', 'cost': 23}, {'agent_id': 'A3', 'task_id': 'P', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'R', 'cost': 13}, {'agent_id': 'A3', 'task_id': 'S', 'cost': 16}, {'agent_id': 'A3', 'task_id': 'T', 'cost': 15}, {'agent_id': 'A3', 'task_id': 'U', 'cost': 7}, {'agent_id': 'A4', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A4', 'task_id': 'B', 'cost': 13}, {'agent_id': 'A4', 'task_id': 'C', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'D', 'cost': 22}, {'agent_id': 'A4', 'task_id': 'E', 'cost': 24}, {'agent_id': 'A4', 'task_id': 'F', 'cost': 14}, {'agent_id': 'A4', 'task_id': 'G', 'cost': 21}, {'agent_id': 'A4', 'task_id': 'H', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'I', 'cost': 23}, {'agent_id': 'A4', 'task_id': 'J', 'cost': 10}, {'agent_id': 'A4', 'task_id': 'K', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'L', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'M', 'cost': 5}, {'agent_id': 'A4', 'task_id': 'N', 'cost': 19}, {'agent_id': 'A4', 'task_id': 'O', 'cost': 17}, {'agent_id': 'A4', 'task_id': 'P', 'cost': 9}, {'agent_id': 'A4', 'task_id': 'Q', 'cost': 16}, {'agent_id': 'A4', 'task_id': 'R', 'cost': 8}, {'agent_id': 'A4', 'task_id': 'S', 'cost': 20}, {'agent_id': 'A4', 'task_id': 'T', 'cost': 12}, {'agent_id': 'A4', 'task_id': 'U', 'cost': 24}, {'agent_id': 'A5', 'task_id': 'A', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'B', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A5', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'E', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'F', 'cost': 5}, {'agent_id': 'A5', 'task_id': 'G', 'cost': 14}, {'agent_id': 'A5', 'task_id': 'H', 'cost': 11}, {'agent_id': 'A5', 'task_id': 'I', 'cost': 18}, {'agent_id': 'A5', 'task_id': 'J', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'K', 'cost': 6}, {'agent_id': 'A5', 'task_id': 'L', 'cost': 12}, {'agent_id': 'A5', 'task_id': 'M', 'cost': 7}, {'agent_id': 'A5', 'task_id': 'N', 'cost': 13}, {'agent_id': 'A5', 'task_id': 'O', 'cost': 21}, {'agent_id': 'A5', 'task_id': 'P', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'Q', 'cost': 8}, {'agent_id': 'A5', 'task_id': 'R', 'cost': 20}, {'agent_id': 'A5', 'task_id': 'S', 'cost': 9}, {'agent_id': 'A5', 'task_id': 'T', 'cost': 10}, {'agent_id': 'A5', 'task_id': 'U', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'A', 'cost': 21}, {'agent_id': 'A6', 'task_id': 'B', 'cost': 15}, {'agent_id': 'A6', 'task_id': 'C', 'cost': 16}, {'agent_id': 'A6', 'task_id': 'D', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'E', 'cost': 17}, {'agent_id': 'A6', 'task_id': 'F', 'cost': 9}, {'agent_id': 'A6', 'task_id': 'G', 'cost': 18}, {'agent_id': 'A6', 'task_id': 'H', 'cost': 19}, {'agent_id': 'A6', 'task_id': 'I', 'cost': 12}, {'agent_id': 'A6', 'task_id': 'J', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'K', 'cost': 11}, {'agent_id': 'A6', 'task_id': 'L', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'M', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'N', 'cost': 24}, {'agent_id': 'A6', 'task_id': 'O', 'cost': 13}, {'agent_id': 'A6', 'task_id': 'P', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'Q', 'cost': 7}, {'agent_id': 'A6', 'task_id': 'R', 'cost': 23}, {'agent_id': 'A6', 'task_id': 'S', 'cost': 25}, {'agent_id': 'A6', 'task_id': 'T', 'cost': 22}, {'agent_id': 'A6', 'task_id': 'U', 'cost': 18}, {'agent_id': 'A7', 'task_id': 'A', 'cost': 10}, {'agent_id': 'A7', 'task_id': 'B', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'C', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'D', 'cost': 8}, {'agent_id': 'A7', 'task_id': 'E', 'cost': 23}, {'agent_id': 'A7', 'task_id': 'F', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'G', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'H', 'cost': 6}, {'agent_id': 'A7', 'task_id': 'I', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'J', 'cost': 12}, {'agent_id': 'A7', 'task_id': 'K', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'L', 'cost': 17}, {'agent_id': 'A7', 'task_id': 'M', 'cost': 5}, {'agent_id': 'A7', 'task_id': 'N', 'cost': 11}, {'agent_id': 'A7', 'task_id': 'O', 'cost': 19}, {'agent_id': 'A7', 'task_id': 'P', 'cost': 15}, {'agent_id': 'A7', 'task_id': 'Q', 'cost': 21}, {'agent_id': 'A7', 'task_id': 'R', 'cost': 24}, {'agent_id': 'A7', 'task_id': 'S', 'cost': 25}, {'agent_id': 'A7', 'task_id': 'T', 'cost': 7}, {'agent_id': 'A7', 'task_id': 'U', 'cost': 7}]}","['A2', 'A3', 'A7', 'A5', 'A5', 'A5', 'A5', 'A7', 'A7', 'A4', 'A5', 'A2', 'A4', 'A7', 'A2', 'A4', 'A6', 'A4', 'A5', 'A7', 'A1']",48,nl,names GAP,GAP,"Many people don’t think about how manuscripts get distributed: the reality is every article needs one editor, editors can handle multiple articles but their pages add up, and for every potential match we already know both the page cost and the money it would take. The objective is straightforward — spend the least possible in total by summing the fees of the chosen editor–manuscript pairs — while ensuring no editor’s pages go over their limit and every manuscript is assigned exactly once. The specific details follow below. There are 7 editors (A1, A2, A3, A4, A5, A6, A7) and 21 manuscripts (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21). Editor A1 has a page capacity of 131. Editor A2 has a page capacity of 131. Editor A3 has a page capacity of 131. Editor A4 has a page capacity of 131. Editor A5 has a page capacity of 131. Editor A6 has a page capacity of 131. Editor A7 has a page capacity of 131. Assigning manuscript 1 to editor A1 consumes 19 pages and incurs a fee of 12. Assigning manuscript 2 to editor A1 consumes 35 pages and incurs a fee of 21. Assigning manuscript 3 to editor A1 consumes 26 pages and incurs a fee of 16. Assigning manuscript 4 to editor A1 consumes 42 pages and incurs a fee of 12. Assigning manuscript 5 to editor A1 consumes 42 pages and incurs a fee of 19. Assigning manuscript 6 to editor A1 consumes 30 pages and incurs a fee of 18. Assigning manuscript 7 to editor A1 consumes 21 pages and incurs a fee of 23. Assigning manuscript 8 to editor A1 consumes 18 pages and incurs a fee of 5. Assigning manuscript 9 to editor A1 consumes 28 pages and incurs a fee of 7. Assigning manuscript 10 to editor A1 consumes 23 pages and incurs a fee of 5. Assigning manuscript 11 to editor A1 consumes 45 pages and incurs a fee of 16. Assigning manuscript 12 to editor A1 consumes 46 pages and incurs a fee of 8. Assigning manuscript 13 to editor A1 consumes 28 pages and incurs a fee of 24. Assigning manuscript 14 to editor A1 consumes 46 pages and incurs a fee of 19. Assigning manuscript 15 to editor A1 consumes 49 pages and incurs a fee of 23. Assigning manuscript 16 to editor A1 consumes 49 pages and incurs a fee of 6. Assigning manuscript 17 to editor A1 consumes 11 pages and incurs a fee of 20. Assigning manuscript 18 to editor A1 consumes 47 pages and incurs a fee of 16. Assigning manuscript 19 to editor A1 consumes 47 pages and incurs a fee of 21. Assigning manuscript 20 to editor A1 consumes 46 pages and incurs a fee of 17. Assigning manuscript 21 to editor A1 consumes 16 pages and incurs a fee of 25. Assigning manuscript 1 to editor A2 consumes 14 pages and incurs a fee of 24. Assigning manuscript 2 to editor A2 consumes 48 pages and incurs a fee of 10. Assigning manuscript 3 to editor A2 consumes 48 pages and incurs a fee of 10. Assigning manuscript 4 to editor A2 consumes 40 pages and incurs a fee of 15. Assigning manuscript 5 to editor A2 consumes 28 pages and incurs a fee of 19. Assigning manuscript 6 to editor A2 consumes 29 pages and incurs a fee of 24. Assigning manuscript 7 to editor A2 consumes 44 pages and incurs a fee of 11. Assigning manuscript 8 to editor A2 consumes 32 pages and incurs a fee of 11. Assigning manuscript 9 to editor A2 consumes 45 pages and incurs a fee of 14. Assigning manuscript 10 to editor A2 consumes 16 pages and incurs a fee of 16. Assigning manuscript 11 to editor A2 consumes 40 pages and incurs a fee of 19. Assigning manuscript 12 to editor A2 consumes 12 pages and incurs a fee of 22. Assigning manuscript 13 to editor A2 consumes 14 pages and incurs a fee of 19. Assigning manuscript 14 to editor A2 consumes 50 pages and incurs a fee of 17. Assigning manuscript 15 to editor A2 consumes 45 pages and incurs a fee of 23. Assigning manuscript 16 to editor A2 consumes 46 pages and incurs a fee of 15. Assigning manuscript 17 to editor A2 consumes 13 pages and incurs a fee of 11. Assigning manuscript 18 to editor A2 consumes 15 pages and incurs a fee of 14. Assigning manuscript 19 to editor A2 consumes 37 pages and incurs a fee of 25. Assigning manuscript 20 to editor A2 consumes 21 pages and incurs a fee of 10. Assigning manuscript 21 to editor A2 consumes 37 pages and incurs a fee of 18. Assigning manuscript 1 to editor A3 consumes 31 pages and incurs a fee of 20. Assigning manuscript 2 to editor A3 consumes 45 pages and incurs a fee of 13. Assigning manuscript 3 to editor A3 consumes 20 pages and incurs a fee of 17. Assigning manuscript 4 to editor A3 consumes 48 pages and incurs a fee of 10. Assigning manuscript 5 to editor A3 consumes 28 pages and incurs a fee of 8. Assigning manuscript 6 to editor A3 consumes 43 pages and incurs a fee of 14. Assigning manuscript 7 to editor A3 consumes 13 pages and incurs a fee of 20. Assigning manuscript 8 to editor A3 consumes 40 pages and incurs a fee of 19. Assigning manuscript 9 to editor A3 consumes 38 pages and incurs a fee of 10. Assigning manuscript 10 to editor A3 consumes 30 pages and incurs a fee of 17. Assigning manuscript 11 to editor A3 consumes 28 pages and incurs a fee of 25. Assigning manuscript 12 to editor A3 consumes 42 pages and incurs a fee of 17. Assigning manuscript 13 to editor A3 consumes 35 pages and incurs a fee of 24. Assigning manuscript 14 to editor A3 consumes 17 pages and incurs a fee of 13. Assigning manuscript 15 to editor A3 consumes 27 pages and incurs a fee of 11. Assigning manuscript 16 to editor A3 consumes 43 pages and incurs a fee of 7. Assigning manuscript 17 to editor A3 consumes 49 pages and incurs a fee of 7. Assigning manuscript 18 to editor A3 consumes 22 pages and incurs a fee of 21. Assigning manuscript 19 to editor A3 consumes 14 pages and incurs a fee of 24. Assigning manuscript 20 to editor A3 consumes 36 pages and incurs a fee of 25. Assigning manuscript 21 to editor A3 consumes 34 pages and incurs a fee of 13. Assigning manuscript 1 to editor A4 consumes 45 pages and incurs a fee of 17. Assigning manuscript 2 to editor A4 consumes 48 pages and incurs a fee of 10. Assigning manuscript 3 to editor A4 consumes 21 pages and incurs a fee of 19. Assigning manuscript 4 to editor A4 consumes 34 pages and incurs a fee of 25. Assigning manuscript 5 to editor A4 consumes 31 pages and incurs a fee of 12. Assigning manuscript 6 to editor A4 consumes 47 pages and incurs a fee of 18. Assigning manuscript 7 to editor A4 consumes 49 pages and incurs a fee of 5. Assigning manuscript 8 to editor A4 consumes 17 pages and incurs a fee of 10. Assigning manuscript 9 to editor A4 consumes 19 pages and incurs a fee of 14. Assigning manuscript 10 to editor A4 consumes 47 pages and incurs a fee of 25. Assigning manuscript 11 to editor A4 consumes 47 pages and incurs a fee of 6. Assigning manuscript 12 to editor A4 consumes 45 pages and incurs a fee of 12. Assigning manuscript 13 to editor A4 consumes 50 pages and incurs a fee of 24. Assigning manuscript 14 to editor A4 consumes 46 pages and incurs a fee of 23. Assigning manuscript 15 to editor A4 consumes 12 pages and incurs a fee of 7. Assigning manuscript 16 to editor A4 consumes 12 pages and incurs a fee of 24. Assigning manuscript 17 to editor A4 consumes 45 pages and incurs a fee of 23. Assigning manuscript 18 to editor A4 consumes 43 pages and incurs a fee of 5. Assigning manuscript 19 to editor A4 consumes 30 pages and incurs a fee of 16. Assigning manuscript 20 to editor A4 consumes 14 pages and incurs a fee of 19. Assigning manuscript 21 to editor A4 consumes 33 pages and incurs a fee of 16. Assigning manuscript 1 to editor A5 consumes 34 pages and incurs a fee of 11. Assigning manuscript 2 to editor A5 consumes 33 pages and incurs a fee of 5. Assigning manuscript 3 to editor A5 consumes 34 pages and incurs a fee of 16. Assigning manuscript 4 to editor A5 consumes 34 pages and incurs a fee of 18. Assigning manuscript 5 to editor A5 consumes 42 pages and incurs a fee of 23. Assigning manuscript 6 to editor A5 consumes 17 pages and incurs a fee of 14. Assigning manuscript 7 to editor A5 consumes 12 pages and incurs a fee of 24. Assigning manuscript 8 to editor A5 consumes 42 pages and incurs a fee of 22. Assigning manuscript 9 to editor A5 consumes 36 pages and incurs a fee of 23. Assigning manuscript 10 to editor A5 consumes 42 pages and incurs a fee of 8. Assigning manuscript 11 to editor A5 consumes 43 pages and incurs a fee of 8. Assigning manuscript 12 to editor A5 consumes 50 pages and incurs a fee of 24. Assigning manuscript 13 to editor A5 consumes 47 pages and incurs a fee of 14. Assigning manuscript 14 to editor A5 consumes 31 pages and incurs a fee of 12. Assigning manuscript 15 to editor A5 consumes 22 pages and incurs a fee of 15. Assigning manuscript 16 to editor A5 consumes 20 pages and incurs a fee of 22. Assigning manuscript 17 to editor A5 consumes 12 pages and incurs a fee of 6. Assigning manuscript 18 to editor A5 consumes 16 pages and incurs a fee of 20. Assigning manuscript 19 to editor A5 consumes 11 pages and incurs a fee of 17. Assigning manuscript 20 to editor A5 consumes 25 pages and incurs a fee of 12. Assigning manuscript 21 to editor A5 consumes 25 pages and incurs a fee of 17. Assigning manuscript 1 to editor A6 consumes 30 pages and incurs a fee of 13. Assigning manuscript 2 to editor A6 consumes 11 pages and incurs a fee of 23. Assigning manuscript 3 to editor A6 consumes 13 pages and incurs a fee of 20. Assigning manuscript 4 to editor A6 consumes 46 pages and incurs a fee of 20. Assigning manuscript 5 to editor A6 consumes 13 pages and incurs a fee of 21. Assigning manuscript 6 to editor A6 consumes 20 pages and incurs a fee of 15. Assigning manuscript 7 to editor A6 consumes 15 pages and incurs a fee of 18. Assigning manuscript 8 to editor A6 consumes 46 pages and incurs a fee of 19. Assigning manuscript 9 to editor A6 consumes 36 pages and incurs a fee of 15. Assigning manuscript 10 to editor A6 consumes 10 pages and incurs a fee of 22. Assigning manuscript 11 to editor A6 consumes 31 pages and incurs a fee of 10. Assigning manuscript 12 to editor A6 consumes 19 pages and incurs a fee of 9. Assigning manuscript 13 to editor A6 consumes 37 pages and incurs a fee of 20. Assigning manuscript 14 to editor A6 consumes 23 pages and incurs a fee of 13. Assigning manuscript 15 to editor A6 consumes 38 pages and incurs a fee of 22. Assigning manuscript 16 to editor A6 consumes 49 pages and incurs a fee of 5. Assigning manuscript 17 to editor A6 consumes 44 pages and incurs a fee of 16. Assigning manuscript 18 to editor A6 consumes 23 pages and incurs a fee of 22. Assigning manuscript 19 to editor A6 consumes 42 pages and incurs a fee of 18. Assigning manuscript 20 to editor A6 consumes 20 pages and incurs a fee of 12. Assigning manuscript 21 to editor A6 consumes 37 pages and incurs a fee of 15. Assigning manuscript 1 to editor A7 consumes 13 pages and incurs a fee of 15. Assigning manuscript 2 to editor A7 consumes 25 pages and incurs a fee of 7. Assigning manuscript 3 to editor A7 consumes 27 pages and incurs a fee of 15. Assigning manuscript 4 to editor A7 consumes 38 pages and incurs a fee of 24. Assigning manuscript 5 to editor A7 consumes 36 pages and incurs a fee of 13. Assigning manuscript 6 to editor A7 consumes 10 pages and incurs a fee of 5. Assigning manuscript 7 to editor A7 consumes 46 pages and incurs a fee of 9. Assigning manuscript 8 to editor A7 consumes 20 pages and incurs a fee of 20. Assigning manuscript 9 to editor A7 consumes 13 pages and incurs a fee of 18. Assigning manuscript 10 to editor A7 consumes 10 pages and incurs a fee of 5. Assigning manuscript 11 to editor A7 consumes 15 pages and incurs a fee of 23. Assigning manuscript 12 to editor A7 consumes 44 pages and incurs a fee of 8. Assigning manuscript 13 to editor A7 consumes 46 pages and incurs a fee of 17. Assigning manuscript 14 to editor A7 consumes 43 pages and incurs a fee of 7. Assigning manuscript 15 to editor A7 consumes 13 pages and incurs a fee of 18. Assigning manuscript 16 to editor A7 consumes 26 pages and incurs a fee of 15. Assigning manuscript 17 to editor A7 consumes 21 pages and incurs a fee of 7. Assigning manuscript 18 to editor A7 consumes 37 pages and incurs a fee of 6. Assigning manuscript 19 to editor A7 consumes 20 pages and incurs a fee of 9. Assigning manuscript 20 to editor A7 consumes 32 pages and incurs a fee of 21. Assigning manuscript 21 to editor A7 consumes 18 pages and incurs a fee of 17. These entries enumerate each editor's page limits and every editor–manuscript pages-and-fees option. Also, when you send back the assignments, just use this simple JSON layout so it's easy to parse and check: { ""solution"": [ , , ..., ] } Think of that ""solution"" list as a one-line form: the first entry names the editor for the first manuscript, the second entry the editor for the second manuscript, and so on. It's just a sketch of the shape I need — not the final answer itself. Please make sure to use the exact identifiers from the instance input when you fill it in. No renaming and no invented labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[19, 35, 26, 42, 42, 30, 21, 18, 28, 23, 45, 46, 28, 46, 49, 49, 11, 47, 47, 46, 16], [14, 48, 48, 40, 28, 29, 44, 32, 45, 16, 40, 12, 14, 50, 45, 46, 13, 15, 37, 21, 37], [31, 45, 20, 48, 28, 43, 13, 40, 38, 30, 28, 42, 35, 17, 27, 43, 49, 22, 14, 36, 34], [45, 48, 21, 34, 31, 47, 49, 17, 19, 47, 47, 45, 50, 46, 12, 12, 45, 43, 30, 14, 33], [34, 33, 34, 34, 42, 17, 12, 42, 36, 42, 43, 50, 47, 31, 22, 20, 12, 16, 11, 25, 25], [30, 11, 13, 46, 13, 20, 15, 46, 36, 10, 31, 19, 37, 23, 38, 49, 44, 23, 42, 20, 37], [13, 25, 27, 38, 36, 10, 46, 20, 13, 10, 15, 44, 46, 43, 13, 26, 21, 37, 20, 32, 18]], 'assignment_costs': [[12, 21, 16, 12, 19, 18, 23, 5, 7, 5, 16, 8, 24, 19, 23, 6, 20, 16, 21, 17, 25], [24, 10, 10, 15, 19, 24, 11, 11, 14, 16, 19, 22, 19, 17, 23, 15, 11, 14, 25, 10, 18], [20, 13, 17, 10, 8, 14, 20, 19, 10, 17, 25, 17, 24, 13, 11, 7, 7, 21, 24, 25, 13], [17, 10, 19, 25, 12, 18, 5, 10, 14, 25, 6, 12, 24, 23, 7, 24, 23, 5, 16, 19, 16], [11, 5, 16, 18, 23, 14, 24, 22, 23, 8, 8, 24, 14, 12, 15, 22, 6, 20, 17, 12, 17], [13, 23, 20, 20, 21, 15, 18, 19, 15, 22, 10, 9, 20, 13, 22, 5, 16, 22, 18, 12, 15], [15, 7, 15, 24, 13, 5, 9, 20, 18, 5, 23, 8, 17, 7, 18, 15, 7, 6, 9, 21, 17]], 'capacities': [131, 131, 131, 131, 131, 131, 131], 'objective': 162.0}","[4, 4, 1, 2, 2, 6, 3, 0, 0, 6, 3, 0, 4, 6, 3, 5, 4, 6, 6, 1, 2]",162.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 21, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 131}, {'agent_id': 'A2', 'capacity': 131}, {'agent_id': 'A3', 'capacity': 131}, {'agent_id': 'A4', 'capacity': 131}, {'agent_id': 'A5', 'capacity': 131}, {'agent_id': 'A6', 'capacity': 131}, {'agent_id': 'A7', 'capacity': 131}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 26}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 42}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 30}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 21}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 18}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 23}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 11}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 46}, {'agent_id': 'A1', 'task_id': 21, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 48}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 32}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 16}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 40}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 50}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 46}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 13}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 15}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 21}, {'agent_id': 'A2', 'task_id': 21, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 31}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 45}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 28}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 42}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 17}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 27}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 43}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 14}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 21, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 48}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 31}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 49}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 17}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 19}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 50}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 43}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 21, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 34}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 17}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 43}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 47}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 31}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 22}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 11}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 25}, {'agent_id': 'A5', 'task_id': 21, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 30}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 11}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 13}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 15}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 46}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 36}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 10}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 31}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 37}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 38}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 23}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 20}, {'agent_id': 'A6', 'task_id': 21, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 27}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 10}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 15}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 44}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 43}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 13}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 21}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 37}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 32}, {'agent_id': 'A7', 'task_id': 21, 'consumption': 18}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 12}, {'agent_id': 'A1', 'task_id': 2, 'cost': 21}, {'agent_id': 'A1', 'task_id': 3, 'cost': 16}, {'agent_id': 'A1', 'task_id': 4, 'cost': 12}, {'agent_id': 'A1', 'task_id': 5, 'cost': 19}, {'agent_id': 'A1', 'task_id': 6, 'cost': 18}, {'agent_id': 'A1', 'task_id': 7, 'cost': 23}, {'agent_id': 'A1', 'task_id': 8, 'cost': 5}, {'agent_id': 'A1', 'task_id': 9, 'cost': 7}, {'agent_id': 'A1', 'task_id': 10, 'cost': 5}, {'agent_id': 'A1', 'task_id': 11, 'cost': 16}, {'agent_id': 'A1', 'task_id': 12, 'cost': 8}, {'agent_id': 'A1', 'task_id': 13, 'cost': 24}, {'agent_id': 'A1', 'task_id': 14, 'cost': 19}, {'agent_id': 'A1', 'task_id': 15, 'cost': 23}, {'agent_id': 'A1', 'task_id': 16, 'cost': 6}, {'agent_id': 'A1', 'task_id': 17, 'cost': 20}, {'agent_id': 'A1', 'task_id': 18, 'cost': 16}, {'agent_id': 'A1', 'task_id': 19, 'cost': 21}, {'agent_id': 'A1', 'task_id': 20, 'cost': 17}, {'agent_id': 'A1', 'task_id': 21, 'cost': 25}, {'agent_id': 'A2', 'task_id': 1, 'cost': 24}, {'agent_id': 'A2', 'task_id': 2, 'cost': 10}, {'agent_id': 'A2', 'task_id': 3, 'cost': 10}, {'agent_id': 'A2', 'task_id': 4, 'cost': 15}, {'agent_id': 'A2', 'task_id': 5, 'cost': 19}, {'agent_id': 'A2', 'task_id': 6, 'cost': 24}, {'agent_id': 'A2', 'task_id': 7, 'cost': 11}, {'agent_id': 'A2', 'task_id': 8, 'cost': 11}, {'agent_id': 'A2', 'task_id': 9, 'cost': 14}, {'agent_id': 'A2', 'task_id': 10, 'cost': 16}, {'agent_id': 'A2', 'task_id': 11, 'cost': 19}, {'agent_id': 'A2', 'task_id': 12, 'cost': 22}, {'agent_id': 'A2', 'task_id': 13, 'cost': 19}, {'agent_id': 'A2', 'task_id': 14, 'cost': 17}, {'agent_id': 'A2', 'task_id': 15, 'cost': 23}, {'agent_id': 'A2', 'task_id': 16, 'cost': 15}, {'agent_id': 'A2', 'task_id': 17, 'cost': 11}, {'agent_id': 'A2', 'task_id': 18, 'cost': 14}, {'agent_id': 'A2', 'task_id': 19, 'cost': 25}, {'agent_id': 'A2', 'task_id': 20, 'cost': 10}, {'agent_id': 'A2', 'task_id': 21, 'cost': 18}, {'agent_id': 'A3', 'task_id': 1, 'cost': 20}, {'agent_id': 'A3', 'task_id': 2, 'cost': 13}, {'agent_id': 'A3', 'task_id': 3, 'cost': 17}, {'agent_id': 'A3', 'task_id': 4, 'cost': 10}, {'agent_id': 'A3', 'task_id': 5, 'cost': 8}, {'agent_id': 'A3', 'task_id': 6, 'cost': 14}, {'agent_id': 'A3', 'task_id': 7, 'cost': 20}, {'agent_id': 'A3', 'task_id': 8, 'cost': 19}, {'agent_id': 'A3', 'task_id': 9, 'cost': 10}, {'agent_id': 'A3', 'task_id': 10, 'cost': 17}, {'agent_id': 'A3', 'task_id': 11, 'cost': 25}, {'agent_id': 'A3', 'task_id': 12, 'cost': 17}, {'agent_id': 'A3', 'task_id': 13, 'cost': 24}, {'agent_id': 'A3', 'task_id': 14, 'cost': 13}, {'agent_id': 'A3', 'task_id': 15, 'cost': 11}, {'agent_id': 'A3', 'task_id': 16, 'cost': 7}, {'agent_id': 'A3', 'task_id': 17, 'cost': 7}, {'agent_id': 'A3', 'task_id': 18, 'cost': 21}, {'agent_id': 'A3', 'task_id': 19, 'cost': 24}, {'agent_id': 'A3', 'task_id': 20, 'cost': 25}, {'agent_id': 'A3', 'task_id': 21, 'cost': 13}, {'agent_id': 'A4', 'task_id': 1, 'cost': 17}, {'agent_id': 'A4', 'task_id': 2, 'cost': 10}, {'agent_id': 'A4', 'task_id': 3, 'cost': 19}, {'agent_id': 'A4', 'task_id': 4, 'cost': 25}, {'agent_id': 'A4', 'task_id': 5, 'cost': 12}, {'agent_id': 'A4', 'task_id': 6, 'cost': 18}, {'agent_id': 'A4', 'task_id': 7, 'cost': 5}, {'agent_id': 'A4', 'task_id': 8, 'cost': 10}, {'agent_id': 'A4', 'task_id': 9, 'cost': 14}, {'agent_id': 'A4', 'task_id': 10, 'cost': 25}, {'agent_id': 'A4', 'task_id': 11, 'cost': 6}, {'agent_id': 'A4', 'task_id': 12, 'cost': 12}, {'agent_id': 'A4', 'task_id': 13, 'cost': 24}, {'agent_id': 'A4', 'task_id': 14, 'cost': 23}, {'agent_id': 'A4', 'task_id': 15, 'cost': 7}, {'agent_id': 'A4', 'task_id': 16, 'cost': 24}, {'agent_id': 'A4', 'task_id': 17, 'cost': 23}, {'agent_id': 'A4', 'task_id': 18, 'cost': 5}, {'agent_id': 'A4', 'task_id': 19, 'cost': 16}, {'agent_id': 'A4', 'task_id': 20, 'cost': 19}, {'agent_id': 'A4', 'task_id': 21, 'cost': 16}, {'agent_id': 'A5', 'task_id': 1, 'cost': 11}, {'agent_id': 'A5', 'task_id': 2, 'cost': 5}, {'agent_id': 'A5', 'task_id': 3, 'cost': 16}, {'agent_id': 'A5', 'task_id': 4, 'cost': 18}, {'agent_id': 'A5', 'task_id': 5, 'cost': 23}, {'agent_id': 'A5', 'task_id': 6, 'cost': 14}, {'agent_id': 'A5', 'task_id': 7, 'cost': 24}, {'agent_id': 'A5', 'task_id': 8, 'cost': 22}, {'agent_id': 'A5', 'task_id': 9, 'cost': 23}, {'agent_id': 'A5', 'task_id': 10, 'cost': 8}, {'agent_id': 'A5', 'task_id': 11, 'cost': 8}, {'agent_id': 'A5', 'task_id': 12, 'cost': 24}, {'agent_id': 'A5', 'task_id': 13, 'cost': 14}, {'agent_id': 'A5', 'task_id': 14, 'cost': 12}, {'agent_id': 'A5', 'task_id': 15, 'cost': 15}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}, {'agent_id': 'A5', 'task_id': 17, 'cost': 6}, {'agent_id': 'A5', 'task_id': 18, 'cost': 20}, {'agent_id': 'A5', 'task_id': 19, 'cost': 17}, {'agent_id': 'A5', 'task_id': 20, 'cost': 12}, {'agent_id': 'A5', 'task_id': 21, 'cost': 17}, {'agent_id': 'A6', 'task_id': 1, 'cost': 13}, {'agent_id': 'A6', 'task_id': 2, 'cost': 23}, {'agent_id': 'A6', 'task_id': 3, 'cost': 20}, {'agent_id': 'A6', 'task_id': 4, 'cost': 20}, {'agent_id': 'A6', 'task_id': 5, 'cost': 21}, {'agent_id': 'A6', 'task_id': 6, 'cost': 15}, {'agent_id': 'A6', 'task_id': 7, 'cost': 18}, {'agent_id': 'A6', 'task_id': 8, 'cost': 19}, {'agent_id': 'A6', 'task_id': 9, 'cost': 15}, {'agent_id': 'A6', 'task_id': 10, 'cost': 22}, {'agent_id': 'A6', 'task_id': 11, 'cost': 10}, {'agent_id': 'A6', 'task_id': 12, 'cost': 9}, {'agent_id': 'A6', 'task_id': 13, 'cost': 20}, {'agent_id': 'A6', 'task_id': 14, 'cost': 13}, {'agent_id': 'A6', 'task_id': 15, 'cost': 22}, {'agent_id': 'A6', 'task_id': 16, 'cost': 5}, {'agent_id': 'A6', 'task_id': 17, 'cost': 16}, {'agent_id': 'A6', 'task_id': 18, 'cost': 22}, {'agent_id': 'A6', 'task_id': 19, 'cost': 18}, {'agent_id': 'A6', 'task_id': 20, 'cost': 12}, {'agent_id': 'A6', 'task_id': 21, 'cost': 15}, {'agent_id': 'A7', 'task_id': 1, 'cost': 15}, {'agent_id': 'A7', 'task_id': 2, 'cost': 7}, {'agent_id': 'A7', 'task_id': 3, 'cost': 15}, {'agent_id': 'A7', 'task_id': 4, 'cost': 24}, {'agent_id': 'A7', 'task_id': 5, 'cost': 13}, {'agent_id': 'A7', 'task_id': 6, 'cost': 5}, {'agent_id': 'A7', 'task_id': 7, 'cost': 9}, {'agent_id': 'A7', 'task_id': 8, 'cost': 20}, {'agent_id': 'A7', 'task_id': 9, 'cost': 18}, {'agent_id': 'A7', 'task_id': 10, 'cost': 5}, {'agent_id': 'A7', 'task_id': 11, 'cost': 23}, {'agent_id': 'A7', 'task_id': 12, 'cost': 8}, {'agent_id': 'A7', 'task_id': 13, 'cost': 17}, {'agent_id': 'A7', 'task_id': 14, 'cost': 7}, {'agent_id': 'A7', 'task_id': 15, 'cost': 18}, {'agent_id': 'A7', 'task_id': 16, 'cost': 15}, {'agent_id': 'A7', 'task_id': 17, 'cost': 7}, {'agent_id': 'A7', 'task_id': 18, 'cost': 6}, {'agent_id': 'A7', 'task_id': 19, 'cost': 9}, {'agent_id': 'A7', 'task_id': 20, 'cost': 21}, {'agent_id': 'A7', 'task_id': 21, 'cost': 17}]}","['A5', 'A5', 'A2', 'A3', 'A3', 'A7', 'A4', 'A1', 'A1', 'A7', 'A4', 'A1', 'A5', 'A7', 'A4', 'A6', 'A5', 'A7', 'A7', 'A2', 'A3']",49,nl,1 GAP,GAP,"We’re juggling a pile of film showings and a handful of rooms: each showing needs one room slot, never more than one, and every showing must appear somewhere on the schedule. Rooms can hold multiple showings as long as the combined running time fits inside that room’s available hours. The aim is to arrange all the screenings so the total spent on room rentals is as low as it can be — compute that by summing the rental cost for each screening-room pairing. The detailed times and prices follow below. We have 7 rooms A1, A2, A3, A4, A5, A6, A7 and 20 screenings 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 to place. | room_id | available_hours | |---|---| | A1 | 59 | | A2 | 59 | | A3 | 63 | | A4 | 57 | | A5 | 57 | | A6 | 58 | | A7 | 60 | | room_id | screening_id | screening_duration | |---|---|---| | A1 | 1 | 25 | | A1 | 2 | 34 | | A1 | 3 | 41 | | A1 | 4 | 47 | | A1 | 5 | 28 | | A1 | 6 | 20 | | A1 | 7 | 37 | | A1 | 8 | 29 | | A1 | 9 | 40 | | A1 | 10 | 48 | | A1 | 11 | 45 | | A1 | 12 | 19 | | A1 | 13 | 38 | | A1 | 14 | 13 | | A1 | 15 | 47 | | A1 | 16 | 38 | | A1 | 17 | 32 | | A1 | 18 | 31 | | A1 | 19 | 38 | | A1 | 20 | 14 | | A2 | 1 | 11 | | A2 | 2 | 41 | | A2 | 3 | 45 | | A2 | 4 | 29 | | A2 | 5 | 19 | | A2 | 6 | 12 | | A2 | 7 | 44 | | A2 | 8 | 33 | | A2 | 9 | 12 | | A2 | 10 | 20 | | A2 | 11 | 11 | | A2 | 12 | 12 | | A2 | 13 | 28 | | A2 | 14 | 26 | | A2 | 15 | 49 | | A2 | 16 | 26 | | A2 | 17 | 41 | | A2 | 18 | 17 | | A2 | 19 | 37 | | A2 | 20 | 35 | | A3 | 1 | 15 | | A3 | 2 | 47 | | A3 | 3 | 33 | | A3 | 4 | 36 | | A3 | 5 | 24 | | A3 | 6 | 37 | | A3 | 7 | 22 | | A3 | 8 | 38 | | A3 | 9 | 13 | | A3 | 10 | 32 | | A3 | 11 | 20 | | A3 | 12 | 47 | | A3 | 13 | 25 | | A3 | 14 | 49 | | A3 | 15 | 16 | | A3 | 16 | 26 | | A3 | 17 | 41 | | A3 | 18 | 47 | | A3 | 19 | 13 | | A3 | 20 | 47 | | A4 | 1 | 45 | | A4 | 2 | 40 | | A4 | 3 | 34 | | A4 | 4 | 13 | | A4 | 5 | 46 | | A4 | 6 | 40 | | A4 | 7 | 47 | | A4 | 8 | 24 | | A4 | 9 | 15 | | A4 | 10 | 30 | | A4 | 11 | 10 | | A4 | 12 | 28 | | A4 | 13 | 46 | | A4 | 14 | 14 | | A4 | 15 | 46 | | A4 | 16 | 12 | | A4 | 17 | 20 | | A4 | 18 | 16 | | A4 | 19 | 23 | | A4 | 20 | 14 | | A5 | 1 | 33 | | A5 | 2 | 20 | | A5 | 3 | 41 | | A5 | 4 | 13 | | A5 | 5 | 36 | | A5 | 6 | 12 | | A5 | 7 | 50 | | A5 | 8 | 48 | | A5 | 9 | 10 | | A5 | 10 | 32 | | A5 | 11 | 42 | | A5 | 12 | 41 | | A5 | 13 | 21 | | A5 | 14 | 38 | | A5 | 15 | 23 | | A5 | 16 | 48 | | A5 | 17 | 42 | | A5 | 18 | 24 | | A5 | 19 | 18 | | A5 | 20 | 35 | | A6 | 1 | 47 | | A6 | 2 | 16 | | A6 | 3 | 21 | | A6 | 4 | 48 | | A6 | 5 | 45 | | A6 | 6 | 19 | | A6 | 7 | 49 | | A6 | 8 | 32 | | A6 | 9 | 33 | | A6 | 10 | 29 | | A6 | 11 | 21 | | A6 | 12 | 25 | | A6 | 13 | 43 | | A6 | 14 | 33 | | A6 | 15 | 44 | | A6 | 16 | 42 | | A6 | 17 | 43 | | A6 | 18 | 29 | | A6 | 19 | 33 | | A6 | 20 | 49 | | A7 | 1 | 14 | | A7 | 2 | 35 | | A7 | 3 | 20 | | A7 | 4 | 25 | | A7 | 5 | 49 | | A7 | 6 | 38 | | A7 | 7 | 17 | | A7 | 8 | 40 | | A7 | 9 | 20 | | A7 | 10 | 42 | | A7 | 11 | 50 | | A7 | 12 | 50 | | A7 | 13 | 49 | | A7 | 14 | 25 | | A7 | 15 | 41 | | A7 | 16 | 36 | | A7 | 17 | 38 | | A7 | 18 | 22 | | A7 | 19 | 50 | | A7 | 20 | 14 | | room_id | screening_id | rental_cost | |---|---|---| | A1 | 1 | 15 | | A1 | 2 | 11 | | A1 | 3 | 5 | | A1 | 4 | 21 | | A1 | 5 | 16 | | A1 | 6 | 23 | | A1 | 7 | 12 | | A1 | 8 | 17 | | A1 | 9 | 7 | | A1 | 10 | 24 | | A1 | 11 | 15 | | A1 | 12 | 25 | | A1 | 13 | 16 | | A1 | 14 | 12 | | A1 | 15 | 20 | | A1 | 16 | 8 | | A1 | 17 | 14 | | A1 | 18 | 7 | | A1 | 19 | 25 | | A1 | 20 | 19 | | A2 | 1 | 19 | | A2 | 2 | 18 | | A2 | 3 | 20 | | A2 | 4 | 13 | | A2 | 5 | 12 | | A2 | 6 | 17 | | A2 | 7 | 12 | | A2 | 8 | 18 | | A2 | 9 | 25 | | A2 | 10 | 9 | | A2 | 11 | 5 | | A2 | 12 | 8 | | A2 | 13 | 14 | | A2 | 14 | 8 | | A2 | 15 | 23 | | A2 | 16 | 6 | | A2 | 17 | 23 | | A2 | 18 | 7 | | A2 | 19 | 6 | | A2 | 20 | 23 | | A3 | 1 | 13 | | A3 | 2 | 18 | | A3 | 3 | 9 | | A3 | 4 | 25 | | A3 | 5 | 9 | | A3 | 6 | 25 | | A3 | 7 | 22 | | A3 | 8 | 22 | | A3 | 9 | 13 | | A3 | 10 | 19 | | A3 | 11 | 20 | | A3 | 12 | 22 | | A3 | 13 | 17 | | A3 | 14 | 8 | | A3 | 15 | 22 | | A3 | 16 | 23 | | A3 | 17 | 25 | | A3 | 18 | 18 | | A3 | 19 | 25 | | A3 | 20 | 21 | | A4 | 1 | 15 | | A4 | 2 | 10 | | A4 | 3 | 9 | | A4 | 4 | 21 | | A4 | 5 | 8 | | A4 | 6 | 15 | | A4 | 7 | 11 | | A4 | 8 | 25 | | A4 | 9 | 21 | | A4 | 10 | 12 | | A4 | 11 | 24 | | A4 | 12 | 21 | | A4 | 13 | 7 | | A4 | 14 | 9 | | A4 | 15 | 23 | | A4 | 16 | 14 | | A4 | 17 | 5 | | A4 | 18 | 17 | | A4 | 19 | 12 | | A4 | 20 | 13 | | A5 | 1 | 8 | | A5 | 2 | 22 | | A5 | 3 | 22 | | A5 | 4 | 7 | | A5 | 5 | 7 | | A5 | 6 | 9 | | A5 | 7 | 22 | | A5 | 8 | 17 | | A5 | 9 | 18 | | A5 | 10 | 15 | | A5 | 11 | 5 | | A5 | 12 | 6 | | A5 | 13 | 11 | | A5 | 14 | 13 | | A5 | 15 | 20 | | A5 | 16 | 22 | | A5 | 17 | 5 | | A5 | 18 | 25 | | A5 | 19 | 7 | | A5 | 20 | 16 | | A6 | 1 | 7 | | A6 | 2 | 25 | | A6 | 3 | 25 | | A6 | 4 | 10 | | A6 | 5 | 7 | | A6 | 6 | 25 | | A6 | 7 | 11 | | A6 | 8 | 21 | | A6 | 9 | 18 | | A6 | 10 | 15 | | A6 | 11 | 10 | | A6 | 12 | 20 | | A6 | 13 | 20 | | A6 | 14 | 9 | | A6 | 15 | 7 | | A6 | 16 | 17 | | A6 | 17 | 12 | | A6 | 18 | 16 | | A6 | 19 | 13 | | A6 | 20 | 11 | | A7 | 1 | 9 | | A7 | 2 | 9 | | A7 | 3 | 9 | | A7 | 4 | 10 | | A7 | 5 | 12 | | A7 | 6 | 6 | | A7 | 7 | 12 | | A7 | 8 | 8 | | A7 | 9 | 7 | | A7 | 10 | 19 | | A7 | 11 | 24 | | A7 | 12 | 15 | | A7 | 13 | 14 | | A7 | 14 | 21 | | A7 | 15 | 15 | | A7 | 16 | 8 | | A7 | 17 | 18 | | A7 | 18 | 6 | | A7 | 19 | 17 | | A7 | 20 | 12 | We’ll use these details for the 7 rooms and 20 screenings to minimize total rental cost. Also, one quick thing about the format: when you send the assignment back, keep it in a tiny JSON sketch so it's easy to read and validate. Something along these lines is perfect. { ""solution"": [ , , ..., ] } This just shows that ""solution"" is a list where each entry names the room for a showing, in the same order as the showings were listed above. Think of it like filling out a simple form: position 1 is the room for the first showing, position 2 is the room for the second showing, and so on. It's just a shape sketch — not the real assignment. Please be sure to use the exact identifiers from the instance input when you fill this in — don't rename them or invent new labels. - for example: ""Valid identifiers look like plain numbers such as “1” or “23”, single capital letters like “A” or “B”, or a capital letter followed by digits like “A1” or “X7”.""","{'resource_consumption': [[25, 34, 41, 47, 28, 20, 37, 29, 40, 48, 45, 19, 38, 13, 47, 38, 32, 31, 38, 14], [11, 41, 45, 29, 19, 12, 44, 33, 12, 20, 11, 12, 28, 26, 49, 26, 41, 17, 37, 35], [15, 47, 33, 36, 24, 37, 22, 38, 13, 32, 20, 47, 25, 49, 16, 26, 41, 47, 13, 47], [45, 40, 34, 13, 46, 40, 47, 24, 15, 30, 10, 28, 46, 14, 46, 12, 20, 16, 23, 14], [33, 20, 41, 13, 36, 12, 50, 48, 10, 32, 42, 41, 21, 38, 23, 48, 42, 24, 18, 35], [47, 16, 21, 48, 45, 19, 49, 32, 33, 29, 21, 25, 43, 33, 44, 42, 43, 29, 33, 49], [14, 35, 20, 25, 49, 38, 17, 40, 20, 42, 50, 50, 49, 25, 41, 36, 38, 22, 50, 14]], 'assignment_costs': [[15, 11, 5, 21, 16, 23, 12, 17, 7, 24, 15, 25, 16, 12, 20, 8, 14, 7, 25, 19], [19, 18, 20, 13, 12, 17, 12, 18, 25, 9, 5, 8, 14, 8, 23, 6, 23, 7, 6, 23], [13, 18, 9, 25, 9, 25, 22, 22, 13, 19, 20, 22, 17, 8, 22, 23, 25, 18, 25, 21], [15, 10, 9, 21, 8, 15, 11, 25, 21, 12, 24, 21, 7, 9, 23, 14, 5, 17, 12, 13], [8, 22, 22, 7, 7, 9, 22, 17, 18, 15, 5, 6, 11, 13, 20, 22, 5, 25, 7, 16], [7, 25, 25, 10, 7, 25, 11, 21, 18, 15, 10, 20, 20, 9, 7, 17, 12, 16, 13, 11], [9, 9, 9, 10, 12, 6, 12, 8, 7, 19, 24, 15, 14, 21, 15, 8, 18, 6, 17, 12]], 'capacities': [59, 59, 63, 57, 57, 58, 60], 'objective': 223.0}","[2, 0, 6, 4, 2, 4, 6, 5, 4, 1, 5, 1, 4, 0, 2, 1, 3, 6, 3, 3]",223.0,"{'problem_type': 'GAP', 'num_agents': 7, 'num_tasks': 20, 'agents': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], 'tasks': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'capacity_pairs': [{'agent_id': 'A1', 'capacity': 59}, {'agent_id': 'A2', 'capacity': 59}, {'agent_id': 'A3', 'capacity': 63}, {'agent_id': 'A4', 'capacity': 57}, {'agent_id': 'A5', 'capacity': 57}, {'agent_id': 'A6', 'capacity': 58}, {'agent_id': 'A7', 'capacity': 60}], 'resource_pairs': [{'agent_id': 'A1', 'task_id': 1, 'consumption': 25}, {'agent_id': 'A1', 'task_id': 2, 'consumption': 34}, {'agent_id': 'A1', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A1', 'task_id': 4, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 5, 'consumption': 28}, {'agent_id': 'A1', 'task_id': 6, 'consumption': 20}, {'agent_id': 'A1', 'task_id': 7, 'consumption': 37}, {'agent_id': 'A1', 'task_id': 8, 'consumption': 29}, {'agent_id': 'A1', 'task_id': 9, 'consumption': 40}, {'agent_id': 'A1', 'task_id': 10, 'consumption': 48}, {'agent_id': 'A1', 'task_id': 11, 'consumption': 45}, {'agent_id': 'A1', 'task_id': 12, 'consumption': 19}, {'agent_id': 'A1', 'task_id': 13, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 14, 'consumption': 13}, {'agent_id': 'A1', 'task_id': 15, 'consumption': 47}, {'agent_id': 'A1', 'task_id': 16, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 17, 'consumption': 32}, {'agent_id': 'A1', 'task_id': 18, 'consumption': 31}, {'agent_id': 'A1', 'task_id': 19, 'consumption': 38}, {'agent_id': 'A1', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A2', 'task_id': 1, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 2, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 3, 'consumption': 45}, {'agent_id': 'A2', 'task_id': 4, 'consumption': 29}, {'agent_id': 'A2', 'task_id': 5, 'consumption': 19}, {'agent_id': 'A2', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 7, 'consumption': 44}, {'agent_id': 'A2', 'task_id': 8, 'consumption': 33}, {'agent_id': 'A2', 'task_id': 9, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 10, 'consumption': 20}, {'agent_id': 'A2', 'task_id': 11, 'consumption': 11}, {'agent_id': 'A2', 'task_id': 12, 'consumption': 12}, {'agent_id': 'A2', 'task_id': 13, 'consumption': 28}, {'agent_id': 'A2', 'task_id': 14, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 15, 'consumption': 49}, {'agent_id': 'A2', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A2', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A2', 'task_id': 18, 'consumption': 17}, {'agent_id': 'A2', 'task_id': 19, 'consumption': 37}, {'agent_id': 'A2', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A3', 'task_id': 1, 'consumption': 15}, {'agent_id': 'A3', 'task_id': 2, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 3, 'consumption': 33}, {'agent_id': 'A3', 'task_id': 4, 'consumption': 36}, {'agent_id': 'A3', 'task_id': 5, 'consumption': 24}, {'agent_id': 'A3', 'task_id': 6, 'consumption': 37}, {'agent_id': 'A3', 'task_id': 7, 'consumption': 22}, {'agent_id': 'A3', 'task_id': 8, 'consumption': 38}, {'agent_id': 'A3', 'task_id': 9, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A3', 'task_id': 11, 'consumption': 20}, {'agent_id': 'A3', 'task_id': 12, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 13, 'consumption': 25}, {'agent_id': 'A3', 'task_id': 14, 'consumption': 49}, {'agent_id': 'A3', 'task_id': 15, 'consumption': 16}, {'agent_id': 'A3', 'task_id': 16, 'consumption': 26}, {'agent_id': 'A3', 'task_id': 17, 'consumption': 41}, {'agent_id': 'A3', 'task_id': 18, 'consumption': 47}, {'agent_id': 'A3', 'task_id': 19, 'consumption': 13}, {'agent_id': 'A3', 'task_id': 20, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 1, 'consumption': 45}, {'agent_id': 'A4', 'task_id': 2, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 3, 'consumption': 34}, {'agent_id': 'A4', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A4', 'task_id': 5, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 6, 'consumption': 40}, {'agent_id': 'A4', 'task_id': 7, 'consumption': 47}, {'agent_id': 'A4', 'task_id': 8, 'consumption': 24}, {'agent_id': 'A4', 'task_id': 9, 'consumption': 15}, {'agent_id': 'A4', 'task_id': 10, 'consumption': 30}, {'agent_id': 'A4', 'task_id': 11, 'consumption': 10}, {'agent_id': 'A4', 'task_id': 12, 'consumption': 28}, {'agent_id': 'A4', 'task_id': 13, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 14, 'consumption': 14}, {'agent_id': 'A4', 'task_id': 15, 'consumption': 46}, {'agent_id': 'A4', 'task_id': 16, 'consumption': 12}, {'agent_id': 'A4', 'task_id': 17, 'consumption': 20}, {'agent_id': 'A4', 'task_id': 18, 'consumption': 16}, {'agent_id': 'A4', 'task_id': 19, 'consumption': 23}, {'agent_id': 'A4', 'task_id': 20, 'consumption': 14}, {'agent_id': 'A5', 'task_id': 1, 'consumption': 33}, {'agent_id': 'A5', 'task_id': 2, 'consumption': 20}, {'agent_id': 'A5', 'task_id': 3, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 4, 'consumption': 13}, {'agent_id': 'A5', 'task_id': 5, 'consumption': 36}, {'agent_id': 'A5', 'task_id': 6, 'consumption': 12}, {'agent_id': 'A5', 'task_id': 7, 'consumption': 50}, {'agent_id': 'A5', 'task_id': 8, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 9, 'consumption': 10}, {'agent_id': 'A5', 'task_id': 10, 'consumption': 32}, {'agent_id': 'A5', 'task_id': 11, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 12, 'consumption': 41}, {'agent_id': 'A5', 'task_id': 13, 'consumption': 21}, {'agent_id': 'A5', 'task_id': 14, 'consumption': 38}, {'agent_id': 'A5', 'task_id': 15, 'consumption': 23}, {'agent_id': 'A5', 'task_id': 16, 'consumption': 48}, {'agent_id': 'A5', 'task_id': 17, 'consumption': 42}, {'agent_id': 'A5', 'task_id': 18, 'consumption': 24}, {'agent_id': 'A5', 'task_id': 19, 'consumption': 18}, {'agent_id': 'A5', 'task_id': 20, 'consumption': 35}, {'agent_id': 'A6', 'task_id': 1, 'consumption': 47}, {'agent_id': 'A6', 'task_id': 2, 'consumption': 16}, {'agent_id': 'A6', 'task_id': 3, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 4, 'consumption': 48}, {'agent_id': 'A6', 'task_id': 5, 'consumption': 45}, {'agent_id': 'A6', 'task_id': 6, 'consumption': 19}, {'agent_id': 'A6', 'task_id': 7, 'consumption': 49}, {'agent_id': 'A6', 'task_id': 8, 'consumption': 32}, {'agent_id': 'A6', 'task_id': 9, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 10, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 11, 'consumption': 21}, {'agent_id': 'A6', 'task_id': 12, 'consumption': 25}, {'agent_id': 'A6', 'task_id': 13, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 14, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 15, 'consumption': 44}, {'agent_id': 'A6', 'task_id': 16, 'consumption': 42}, {'agent_id': 'A6', 'task_id': 17, 'consumption': 43}, {'agent_id': 'A6', 'task_id': 18, 'consumption': 29}, {'agent_id': 'A6', 'task_id': 19, 'consumption': 33}, {'agent_id': 'A6', 'task_id': 20, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 1, 'consumption': 14}, {'agent_id': 'A7', 'task_id': 2, 'consumption': 35}, {'agent_id': 'A7', 'task_id': 3, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 4, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 5, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 6, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 7, 'consumption': 17}, {'agent_id': 'A7', 'task_id': 8, 'consumption': 40}, {'agent_id': 'A7', 'task_id': 9, 'consumption': 20}, {'agent_id': 'A7', 'task_id': 10, 'consumption': 42}, {'agent_id': 'A7', 'task_id': 11, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 12, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 13, 'consumption': 49}, {'agent_id': 'A7', 'task_id': 14, 'consumption': 25}, {'agent_id': 'A7', 'task_id': 15, 'consumption': 41}, {'agent_id': 'A7', 'task_id': 16, 'consumption': 36}, {'agent_id': 'A7', 'task_id': 17, 'consumption': 38}, {'agent_id': 'A7', 'task_id': 18, 'consumption': 22}, {'agent_id': 'A7', 'task_id': 19, 'consumption': 50}, {'agent_id': 'A7', 'task_id': 20, 'consumption': 14}], 'cost_pairs': [{'agent_id': 'A1', 'task_id': 1, 'cost': 15}, {'agent_id': 'A1', 'task_id': 2, 'cost': 11}, {'agent_id': 'A1', 'task_id': 3, 'cost': 5}, {'agent_id': 'A1', 'task_id': 4, 'cost': 21}, {'agent_id': 'A1', 'task_id': 5, 'cost': 16}, {'agent_id': 'A1', 'task_id': 6, 'cost': 23}, {'agent_id': 'A1', 'task_id': 7, 'cost': 12}, {'agent_id': 'A1', 'task_id': 8, 'cost': 17}, {'agent_id': 'A1', 'task_id': 9, 'cost': 7}, {'agent_id': 'A1', 'task_id': 10, 'cost': 24}, {'agent_id': 'A1', 'task_id': 11, 'cost': 15}, {'agent_id': 'A1', 'task_id': 12, 'cost': 25}, {'agent_id': 'A1', 'task_id': 13, 'cost': 16}, {'agent_id': 'A1', 'task_id': 14, 'cost': 12}, {'agent_id': 'A1', 'task_id': 15, 'cost': 20}, {'agent_id': 'A1', 'task_id': 16, 'cost': 8}, {'agent_id': 'A1', 'task_id': 17, 'cost': 14}, {'agent_id': 'A1', 'task_id': 18, 'cost': 7}, {'agent_id': 'A1', 'task_id': 19, 'cost': 25}, {'agent_id': 'A1', 'task_id': 20, 'cost': 19}, {'agent_id': 'A2', 'task_id': 1, 'cost': 19}, {'agent_id': 'A2', 'task_id': 2, 'cost': 18}, {'agent_id': 'A2', 'task_id': 3, 'cost': 20}, {'agent_id': 'A2', 'task_id': 4, 'cost': 13}, {'agent_id': 'A2', 'task_id': 5, 'cost': 12}, {'agent_id': 'A2', 'task_id': 6, 'cost': 17}, {'agent_id': 'A2', 'task_id': 7, 'cost': 12}, {'agent_id': 'A2', 'task_id': 8, 'cost': 18}, {'agent_id': 'A2', 'task_id': 9, 'cost': 25}, {'agent_id': 'A2', 'task_id': 10, 'cost': 9}, {'agent_id': 'A2', 'task_id': 11, 'cost': 5}, {'agent_id': 'A2', 'task_id': 12, 'cost': 8}, {'agent_id': 'A2', 'task_id': 13, 'cost': 14}, {'agent_id': 'A2', 'task_id': 14, 'cost': 8}, {'agent_id': 'A2', 'task_id': 15, 'cost': 23}, {'agent_id': 'A2', 'task_id': 16, 'cost': 6}, {'agent_id': 'A2', 'task_id': 17, 'cost': 23}, {'agent_id': 'A2', 'task_id': 18, 'cost': 7}, {'agent_id': 'A2', 'task_id': 19, 'cost': 6}, {'agent_id': 'A2', 'task_id': 20, 'cost': 23}, {'agent_id': 'A3', 'task_id': 1, 'cost': 13}, {'agent_id': 'A3', 'task_id': 2, 'cost': 18}, {'agent_id': 'A3', 'task_id': 3, 'cost': 9}, {'agent_id': 'A3', 'task_id': 4, 'cost': 25}, {'agent_id': 'A3', 'task_id': 5, 'cost': 9}, {'agent_id': 'A3', 'task_id': 6, 'cost': 25}, {'agent_id': 'A3', 'task_id': 7, 'cost': 22}, {'agent_id': 'A3', 'task_id': 8, 'cost': 22}, {'agent_id': 'A3', 'task_id': 9, 'cost': 13}, {'agent_id': 'A3', 'task_id': 10, 'cost': 19}, {'agent_id': 'A3', 'task_id': 11, 'cost': 20}, {'agent_id': 'A3', 'task_id': 12, 'cost': 22}, {'agent_id': 'A3', 'task_id': 13, 'cost': 17}, {'agent_id': 'A3', 'task_id': 14, 'cost': 8}, {'agent_id': 'A3', 'task_id': 15, 'cost': 22}, {'agent_id': 'A3', 'task_id': 16, 'cost': 23}, {'agent_id': 'A3', 'task_id': 17, 'cost': 25}, {'agent_id': 'A3', 'task_id': 18, 'cost': 18}, {'agent_id': 'A3', 'task_id': 19, 'cost': 25}, {'agent_id': 'A3', 'task_id': 20, 'cost': 21}, {'agent_id': 'A4', 'task_id': 1, 'cost': 15}, {'agent_id': 'A4', 'task_id': 2, 'cost': 10}, {'agent_id': 'A4', 'task_id': 3, 'cost': 9}, {'agent_id': 'A4', 'task_id': 4, 'cost': 21}, {'agent_id': 'A4', 'task_id': 5, 'cost': 8}, {'agent_id': 'A4', 'task_id': 6, 'cost': 15}, {'agent_id': 'A4', 'task_id': 7, 'cost': 11}, {'agent_id': 'A4', 'task_id': 8, 'cost': 25}, {'agent_id': 'A4', 'task_id': 9, 'cost': 21}, {'agent_id': 'A4', 'task_id': 10, 'cost': 12}, {'agent_id': 'A4', 'task_id': 11, 'cost': 24}, {'agent_id': 'A4', 'task_id': 12, 'cost': 21}, {'agent_id': 'A4', 'task_id': 13, 'cost': 7}, {'agent_id': 'A4', 'task_id': 14, 'cost': 9}, {'agent_id': 'A4', 'task_id': 15, 'cost': 23}, {'agent_id': 'A4', 'task_id': 16, 'cost': 14}, {'agent_id': 'A4', 'task_id': 17, 'cost': 5}, {'agent_id': 'A4', 'task_id': 18, 'cost': 17}, {'agent_id': 'A4', 'task_id': 19, 'cost': 12}, {'agent_id': 'A4', 'task_id': 20, 'cost': 13}, {'agent_id': 'A5', 'task_id': 1, 'cost': 8}, {'agent_id': 'A5', 'task_id': 2, 'cost': 22}, {'agent_id': 'A5', 'task_id': 3, 'cost': 22}, {'agent_id': 'A5', 'task_id': 4, 'cost': 7}, {'agent_id': 'A5', 'task_id': 5, 'cost': 7}, {'agent_id': 'A5', 'task_id': 6, 'cost': 9}, {'agent_id': 'A5', 'task_id': 7, 'cost': 22}, {'agent_id': 'A5', 'task_id': 8, 'cost': 17}, {'agent_id': 'A5', 'task_id': 9, 'cost': 18}, {'agent_id': 'A5', 'task_id': 10, 'cost': 15}, {'agent_id': 'A5', 'task_id': 11, 'cost': 5}, {'agent_id': 'A5', 'task_id': 12, 'cost': 6}, {'agent_id': 'A5', 'task_id': 13, 'cost': 11}, {'agent_id': 'A5', 'task_id': 14, 'cost': 13}, {'agent_id': 'A5', 'task_id': 15, 'cost': 20}, {'agent_id': 'A5', 'task_id': 16, 'cost': 22}, {'agent_id': 'A5', 'task_id': 17, 'cost': 5}, {'agent_id': 'A5', 'task_id': 18, 'cost': 25}, {'agent_id': 'A5', 'task_id': 19, 'cost': 7}, {'agent_id': 'A5', 'task_id': 20, 'cost': 16}, {'agent_id': 'A6', 'task_id': 1, 'cost': 7}, {'agent_id': 'A6', 'task_id': 2, 'cost': 25}, {'agent_id': 'A6', 'task_id': 3, 'cost': 25}, {'agent_id': 'A6', 'task_id': 4, 'cost': 10}, {'agent_id': 'A6', 'task_id': 5, 'cost': 7}, {'agent_id': 'A6', 'task_id': 6, 'cost': 25}, {'agent_id': 'A6', 'task_id': 7, 'cost': 11}, {'agent_id': 'A6', 'task_id': 8, 'cost': 21}, {'agent_id': 'A6', 'task_id': 9, 'cost': 18}, {'agent_id': 'A6', 'task_id': 10, 'cost': 15}, {'agent_id': 'A6', 'task_id': 11, 'cost': 10}, {'agent_id': 'A6', 'task_id': 12, 'cost': 20}, {'agent_id': 'A6', 'task_id': 13, 'cost': 20}, {'agent_id': 'A6', 'task_id': 14, 'cost': 9}, {'agent_id': 'A6', 'task_id': 15, 'cost': 7}, {'agent_id': 'A6', 'task_id': 16, 'cost': 17}, {'agent_id': 'A6', 'task_id': 17, 'cost': 12}, {'agent_id': 'A6', 'task_id': 18, 'cost': 16}, {'agent_id': 'A6', 'task_id': 19, 'cost': 13}, {'agent_id': 'A6', 'task_id': 20, 'cost': 11}, {'agent_id': 'A7', 'task_id': 1, 'cost': 9}, {'agent_id': 'A7', 'task_id': 2, 'cost': 9}, {'agent_id': 'A7', 'task_id': 3, 'cost': 9}, {'agent_id': 'A7', 'task_id': 4, 'cost': 10}, {'agent_id': 'A7', 'task_id': 5, 'cost': 12}, {'agent_id': 'A7', 'task_id': 6, 'cost': 6}, {'agent_id': 'A7', 'task_id': 7, 'cost': 12}, {'agent_id': 'A7', 'task_id': 8, 'cost': 8}, {'agent_id': 'A7', 'task_id': 9, 'cost': 7}, {'agent_id': 'A7', 'task_id': 10, 'cost': 19}, {'agent_id': 'A7', 'task_id': 11, 'cost': 24}, {'agent_id': 'A7', 'task_id': 12, 'cost': 15}, {'agent_id': 'A7', 'task_id': 13, 'cost': 14}, {'agent_id': 'A7', 'task_id': 14, 'cost': 21}, {'agent_id': 'A7', 'task_id': 15, 'cost': 15}, {'agent_id': 'A7', 'task_id': 16, 'cost': 8}, {'agent_id': 'A7', 'task_id': 17, 'cost': 18}, {'agent_id': 'A7', 'task_id': 18, 'cost': 6}, {'agent_id': 'A7', 'task_id': 19, 'cost': 17}, {'agent_id': 'A7', 'task_id': 20, 'cost': 12}]}","['A3', 'A1', 'A7', 'A5', 'A3', 'A5', 'A7', 'A6', 'A5', 'A2', 'A6', 'A2', 'A5', 'A1', 'A3', 'A2', 'A4', 'A7', 'A4', 'A4']",50,markdown_table,1