| task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base | |
| OP,OP,"Recently I sketched a plan for a single loop from home that hits a few bakeries; each bakery has a reward score, and the goal is to pick the combination of stops whose reward scores add up to the highest total. The walk must start and finish at the apartment, avoid revisiting any bakery, and stay within the distance Iβm allowed. Iβll put the exact bakery list, rewards, and distances below. | |
| I'll list the 11 locations next: my apartment is 0 and the maximum walk distance is 28.0. | |
| I note bakery 0 at (10, 14) with reward 0. | |
| I note bakery 1 at (16, 9) with reward 10. | |
| I note bakery 2 at (15, 11) with reward 10. | |
| I note bakery 3 at (14, 13) with reward 5. | |
| I note bakery 4 at (15, 17) with reward 5. | |
| I note bakery 5 at (16, 19) with reward 10. | |
| I note bakery 6 at (11, 17) with reward 5. | |
| I note bakery 7 at (10, 18) with reward 5. | |
| I note bakery 8 at (9, 23) with reward 10. | |
| I note bakery 9 at (7, 24) with reward 15. | |
| I note bakery 10 at (4, 18) with reward 10. | |
| I'll use these entries to choose the highest-reward loop that stays within 28.0. | |
| If you could send the chosen loop back in a simple JSON shape, that'd be perfect β something like this: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| The ""solution"" array is just the ordered list of stops for the loop, starting and finishing at the depot (your apartment) and listing each bakery you visit once. This JSON is only a sketch of the shape I need, not the actual answerβI'll expect the real IDs from the instance. | |
| All identifiers must be used 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β.""","{'coordinates': [[10, 14], [16, 9], [15, 11], [14, 13], [15, 17], [16, 19], [11, 17], [10, 18], [9, 23], [7, 24], [4, 18]], 'prizes': [0, 10, 10, 5, 5, 10, 5, 5, 10, 15, 10], 'depot': 0, 'max_length': 28.0, 'route_length': 27.802933495334088, 'collected_prize': 45.0, 'objective': 45.0}","[0, 6, 7, 9, 8, 10, 0]",45.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 0, 'x': 10, 'y': 14, 'prize': 0}, {'id': 1, 'x': 16, 'y': 9, 'prize': 10}, {'id': 2, 'x': 15, 'y': 11, 'prize': 10}, {'id': 3, 'x': 14, 'y': 13, 'prize': 5}, {'id': 4, 'x': 15, 'y': 17, 'prize': 5}, {'id': 5, 'x': 16, 'y': 19, 'prize': 10}, {'id': 6, 'x': 11, 'y': 17, 'prize': 5}, {'id': 7, 'x': 10, 'y': 18, 'prize': 5}, {'id': 8, 'x': 9, 'y': 23, 'prize': 10}, {'id': 9, 'x': 7, 'y': 24, 'prize': 15}, {'id': 10, 'x': 4, 'y': 18, 'prize': 10}], 'depot': 0, 'max_length': 28.0, 'route_length': 27.802933495334088, 'collected_prize': 45.0, 'objective': 45.0}","[0, 6, 7, 9, 8, 10, 0]",1,nl,0 | |
| OP,OP,"Many people are pitching in to design a single loop from the church that stops at a few donation boxes, each box having a different importance score. The idea is to decide which boxes to include so the sum of their importance scores is as high as possible, making sure the finished route doesnβt exceed the set distance and that each box is visited only once. The specific instance details β the drop points, their scores, and the maximum route length β follow below. | |
| There are 14 locations in total, with the church at node 0; the completed loop must have length no greater than 5.0. | |
| | location_id | x_coordinate | y_coordinate | importance_score | | |
| |---|---|---|---| | |
| | 0 | 10 | 14 | 0 | | |
| | 1 | 18 | 15 | 10 | | |
| | 2 | 16 | 9 | 10 | | |
| | 3 | 16 | 17 | 5 | | |
| | 4 | 15 | 17 | 5 | | |
| | 5 | 11 | 6 | 15 | | |
| | 6 | 8 | 5 | 15 | | |
| | 7 | 11 | 12 | 5 | | |
| | 8 | 11 | 17 | 5 | | |
| | 9 | 11 | 20 | 10 | | |
| | 10 | 10 | 22 | 10 | | |
| | 11 | 7 | 24 | 15 | | |
| | 12 | 5 | 11 | 10 | | |
| | 13 | 4 | 18 | 10 | | |
| The closed loop must start and end at node 0, visit each listed location at most once, and keep total length no greater than 5.0. | |
| Oh, and to keep things machine-friendly, please send your chosen loop in this simple JSON shape: | |
| { | |
| ""solution"": [church_id, box_id, ..., church_id] | |
| } | |
| This just means: ""solution"" is the route as an ordered list β start at the church, list each donation box you stop at (each box at most once), and finish back at the church. The placeholders above are only a sketch of the shape I want; donβt treat them as the real answer. | |
| Please use the exact identifiers from the instance input β no renaming, no made-up 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β.""","{'coordinates': [[10, 14], [18, 15], [16, 9], [16, 17], [15, 17], [11, 6], [8, 5], [11, 12], [11, 17], [11, 20], [10, 22], [7, 24], [5, 11], [4, 18]], 'prizes': [0, 10, 10, 5, 5, 15, 15, 5, 5, 10, 10, 15, 10, 10], 'depot': 0, 'max_length': 5.0, 'route_length': 4.47213595499958, 'collected_prize': 5.0, 'objective': 5.0}","[0, 7, 0]",5.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 0, 'x': 10, 'y': 14, 'prize': 0}, {'id': 1, 'x': 18, 'y': 15, 'prize': 10}, {'id': 2, 'x': 16, 'y': 9, 'prize': 10}, {'id': 3, 'x': 16, 'y': 17, 'prize': 5}, {'id': 4, 'x': 15, 'y': 17, 'prize': 5}, {'id': 5, 'x': 11, 'y': 6, 'prize': 15}, {'id': 6, 'x': 8, 'y': 5, 'prize': 15}, {'id': 7, 'x': 11, 'y': 12, 'prize': 5}, {'id': 8, 'x': 11, 'y': 17, 'prize': 5}, {'id': 9, 'x': 11, 'y': 20, 'prize': 10}, {'id': 10, 'x': 10, 'y': 22, 'prize': 10}, {'id': 11, 'x': 7, 'y': 24, 'prize': 15}, {'id': 12, 'x': 5, 'y': 11, 'prize': 10}, {'id': 13, 'x': 4, 'y': 18, 'prize': 10}], 'depot': 0, 'max_length': 5.0, 'route_length': 4.47213595499958, 'collected_prize': 5.0, 'objective': 5.0}","[0, 7, 0]",2,markdown_table,0 | |
| OP,OP,"Iβm putting together a museum loop that starts and ends at the hotel: pick which museums to include (each one has a little satisfaction rating), donβt visit any museum twice, and keep the total travel time within a fixed time budget. The idea is to get the most enjoyment possible β thatβs measured by adding up the satisfaction scores of the museums visited β while making sure the whole route is one continuous loop from the hotel back to the hotel. The concrete details are shown below. | |
| # total_locations_count=15 | |
| # hotel_node_id=1 | |
| # time_budget=30.0 | |
| location_id,map_x_coordinate,map_y_coordinate,satisfaction_score | |
| 1,4,7,0 | |
| 2,5,11,20 | |
| 3,4,12,20 | |
| 4,2,14,30 | |
| 5,3,10,15 | |
| 6,3,9,15 | |
| 7,4,8,10 | |
| 8,7,11,20 | |
| 9,7,8,20 | |
| 10,6,7,15 | |
| 11,5,8,10 | |
| 12,13,13,40 | |
| 13,11,13,30 | |
| 14,9,16,30 | |
| 15,9,18,50 | |
| When you send back the loop you want me to evaluate, just use this simple JSON shape so I can read it easily: | |
| { | |
| ""solution"": [hotel_id, museum_id, ..., hotel_id] | |
| } | |
| This is just a sketch of the shape I expect. The ""solution"" array is the route listed in order: start at the hotel (hotel_id), visit each museum once (each museum_id), and finish back at the hotel (hotel_id again). Think of it like filling in a little travel itinerary form: the list shows the exact sequence you'll walk. | |
| Please note: the JSON above is an example of the expected format, not the actual answer. Use the exact identifiers from the instance inputβdo not rename them or create 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"".","{'coordinates': [[4, 7], [5, 11], [4, 12], [2, 14], [3, 10], [3, 9], [4, 8], [7, 11], [7, 8], [6, 7], [5, 8], [13, 13], [11, 13], [9, 16], [9, 18]], 'prizes': [0, 20, 20, 30, 15, 15, 10, 20, 20, 15, 10, 40, 30, 30, 50], 'depot': 0, 'max_length': 30.0, 'route_length': 29.952432008616206, 'collected_prize': 225.0, 'objective': 225.0}","[0, 9, 8, 7, 12, 13, 14, 2, 4, 5, 6, 0]",225.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 4, 'y': 12, 'prize': 20}, {'id': 4, 'x': 2, 'y': 14, 'prize': 30}, {'id': 5, 'x': 3, 'y': 10, 'prize': 15}, {'id': 6, 'x': 3, 'y': 9, 'prize': 15}, {'id': 7, 'x': 4, 'y': 8, 'prize': 10}, {'id': 8, 'x': 7, 'y': 11, 'prize': 20}, {'id': 9, 'x': 7, 'y': 8, 'prize': 20}, {'id': 10, 'x': 6, 'y': 7, 'prize': 15}, {'id': 11, 'x': 5, 'y': 8, 'prize': 10}, {'id': 12, 'x': 13, 'y': 13, 'prize': 40}, {'id': 13, 'x': 11, 'y': 13, 'prize': 30}, {'id': 14, 'x': 9, 'y': 16, 'prize': 30}, {'id': 15, 'x': 9, 'y': 18, 'prize': 50}], 'depot': 1, 'max_length': 30.0, 'route_length': 29.952432008616206, 'collected_prize': 225.0, 'objective': 225.0}","[1, 10, 9, 8, 13, 14, 15, 3, 5, 6, 7, 1]",3,csv,1 | |
| OP,OP,"This morning the courier schedule called for one complete loop beginning and ending at the depot, hitting some pickup locations to collect parcels. Every pickup location lists a value, and the total for the trip is found by adding together the values of the places visited β each pickup can only be done once. Since thereβs a cap on how far the loop can go, the aim is to choose stops that give the biggest possible total value without exceeding that cap. The exact details (which pickups, their values, and the distance/time limit) follow below. | |
| There are 15 locations in total, the depot is A, and the round trip must not exceed 30.0. | |
| | location_id | location_x | location_y | pickup_value | | |
| |---|---|---|---| | |
| | A | 4 | 7 | 0 | | |
| | B | 5 | 11 | 20 | | |
| | C | 4 | 12 | 20 | | |
| | D | 3 | 10 | 15 | | |
| | E | 3 | 9 | 15 | | |
| | F | 4 | 8 | 10 | | |
| | G | 7 | 8 | 20 | | |
| | H | 6 | 7 | 15 | | |
| | I | 5 | 8 | 10 | | |
| | J | 5 | 6 | 10 | | |
| | K | 6 | 5 | 25 | | |
| | L | 14 | 14 | 40 | | |
| | M | 9 | 16 | 30 | | |
| | N | 9 | 18 | 50 | | |
| | O | 4 | 16 | 30 | | |
| Choose the subset of stops that yields the highest total pickup value without exceeding the 30.0 limit for the courier's loop. | |
| If you send the route back, just stick to this simple JSON shape so it's easy to parse: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| This just means: put the depot first, list the pickup locations in the order the courier will visit them, and finish at the depot again. It's just a sketch of the shape I need, not the actual answer β the real reply should replace those placeholders with the exact IDs from the instance. | |
| Please 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β.","{'coordinates': [[4, 7], [5, 11], [4, 12], [3, 10], [3, 9], [4, 8], [7, 8], [6, 7], [5, 8], [5, 6], [6, 5], [14, 14], [9, 16], [9, 18], [4, 16]], 'prizes': [0, 20, 20, 15, 15, 10, 20, 15, 10, 10, 25, 40, 30, 50, 30], 'depot': 0, 'max_length': 30.0, 'route_length': 29.524298285361997, 'collected_prize': 215.0, 'objective': 215.0}","[0, 5, 4, 3, 2, 14, 13, 12, 6, 7, 9, 0]",215.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 'A', 'x': 4, 'y': 7, 'prize': 0}, {'id': 'B', 'x': 5, 'y': 11, 'prize': 20}, {'id': 'C', 'x': 4, 'y': 12, 'prize': 20}, {'id': 'D', 'x': 3, 'y': 10, 'prize': 15}, {'id': 'E', 'x': 3, 'y': 9, 'prize': 15}, {'id': 'F', 'x': 4, 'y': 8, 'prize': 10}, {'id': 'G', 'x': 7, 'y': 8, 'prize': 20}, {'id': 'H', 'x': 6, 'y': 7, 'prize': 15}, {'id': 'I', 'x': 5, 'y': 8, 'prize': 10}, {'id': 'J', 'x': 5, 'y': 6, 'prize': 10}, {'id': 'K', 'x': 6, 'y': 5, 'prize': 25}, {'id': 'L', 'x': 14, 'y': 14, 'prize': 40}, {'id': 'M', 'x': 9, 'y': 16, 'prize': 30}, {'id': 'N', 'x': 9, 'y': 18, 'prize': 50}, {'id': 'O', 'x': 4, 'y': 16, 'prize': 30}], 'depot': 'A', 'max_length': 30.0, 'route_length': 29.524298285361997, 'collected_prize': 215.0, 'objective': 215.0}","['A', 'F', 'E', 'D', 'C', 'O', 'N', 'M', 'G', 'H', 'J', 'A']",4,markdown_table,names | |
| OP,OP,"Picture a greenhouse and a handful of plant shops scattered around town, each with a little usefulness score attached. The plan is to draw one loop out and back that visits selected shops only once, stays inside the allowed travel distance, and ends up with the biggest possible total usefulnessβthe total being the sum of the ratings of the shops visited. The concrete list of suppliers, distances and usefulness numbers is shown below. | |
| { | |
| ""total_locations_including_greenhouse"": 12, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": ""A"", | |
| ""x_coord"": 4, | |
| ""y_coord"": 7, | |
| ""usefulness_score"": 0 | |
| }, | |
| { | |
| ""location_id"": ""B"", | |
| ""x_coord"": 2, | |
| ""y_coord"": 14, | |
| ""usefulness_score"": 30 | |
| }, | |
| { | |
| ""location_id"": ""C"", | |
| ""x_coord"": 3, | |
| ""y_coord"": 10, | |
| ""usefulness_score"": 15 | |
| }, | |
| { | |
| ""location_id"": ""D"", | |
| ""x_coord"": 4, | |
| ""y_coord"": 8, | |
| ""usefulness_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""E"", | |
| ""x_coord"": 8, | |
| ""y_coord"": 9, | |
| ""usefulness_score"": 20 | |
| }, | |
| { | |
| ""location_id"": ""F"", | |
| ""x_coord"": 7, | |
| ""y_coord"": 8, | |
| ""usefulness_score"": 20 | |
| }, | |
| { | |
| ""location_id"": ""G"", | |
| ""x_coord"": 5, | |
| ""y_coord"": 8, | |
| ""usefulness_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""H"", | |
| ""x_coord"": 6, | |
| ""y_coord"": 5, | |
| ""usefulness_score"": 25 | |
| }, | |
| { | |
| ""location_id"": ""I"", | |
| ""x_coord"": 13, | |
| ""y_coord"": 13, | |
| ""usefulness_score"": 40 | |
| }, | |
| { | |
| ""location_id"": ""J"", | |
| ""x_coord"": 9, | |
| ""y_coord"": 16, | |
| ""usefulness_score"": 30 | |
| }, | |
| { | |
| ""location_id"": ""K"", | |
| ""x_coord"": 9, | |
| ""y_coord"": 18, | |
| ""usefulness_score"": 50 | |
| }, | |
| { | |
| ""location_id"": ""L"", | |
| ""x_coord"": 4, | |
| ""y_coord"": 16, | |
| ""usefulness_score"": 30 | |
| } | |
| ], | |
| ""greenhouse_node_id"": ""A"", | |
| ""max_route_distance"": 7.0 | |
| } | |
| Oh, and when you send back the loop, please use this simple JSON shape so it's easy to read and check: | |
| { | |
| ""solution"": [""greenhouse_id"", ""shop_id"", ""..."", ""greenhouse_id""] | |
| } | |
| Think of it like a little form: ""solution"" holds the ordered loop β start at the greenhouse, list each shop you plan to visit (once each), and finish back at the greenhouse. The ""..."" just means you can have as many shops in the middle as fit the route. | |
| This is just a sketch of the expected shape, not the actual answer. Be 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β.","{'coordinates': [[4, 7], [2, 14], [3, 10], [4, 8], [8, 9], [7, 8], [5, 8], [6, 5], [13, 13], [9, 16], [9, 18], [4, 16]], 'prizes': [0, 30, 15, 10, 20, 20, 10, 25, 40, 30, 50, 30], 'depot': 0, 'max_length': 7.0, 'route_length': 6.576491222541474, 'collected_prize': 30.0, 'objective': 30.0}","[0, 6, 5, 0]",30.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 'A', 'x': 4, 'y': 7, 'prize': 0}, {'id': 'B', 'x': 2, 'y': 14, 'prize': 30}, {'id': 'C', 'x': 3, 'y': 10, 'prize': 15}, {'id': 'D', 'x': 4, 'y': 8, 'prize': 10}, {'id': 'E', 'x': 8, 'y': 9, 'prize': 20}, {'id': 'F', 'x': 7, 'y': 8, 'prize': 20}, {'id': 'G', 'x': 5, 'y': 8, 'prize': 10}, {'id': 'H', 'x': 6, 'y': 5, 'prize': 25}, {'id': 'I', 'x': 13, 'y': 13, 'prize': 40}, {'id': 'J', 'x': 9, 'y': 16, 'prize': 30}, {'id': 'K', 'x': 9, 'y': 18, 'prize': 50}, {'id': 'L', 'x': 4, 'y': 16, 'prize': 30}], 'depot': 'A', 'max_length': 7.0, 'route_length': 6.576491222541474, 'collected_prize': 30.0, 'objective': 30.0}","['A', 'G', 'F', 'A']",5,json,names | |
| OP,OP,"Weβve got an office-based inspector who has to build one closed inspection route: leave the office, check a handful of locations (each tagged with a priority score), and return to the office without going over the allowed route length. The trick is picking which spots to check so that when all their priority numbers are added together the total is as high as possible, making sure no site is checked twice and the whole trip stays within the limit. The specific sites, their scores and the route limit are listed below. | |
| Weβve got 13 locations in total, the office is node A, and the closed route must not exceed 26.0 in length. | |
| We list location A at (19, 24) with priority 0. | |
| We list location B at (16, 28) with priority 20. | |
| We list location C at (21, 27) with priority 20. | |
| We list location D at (22, 17) with priority 30. | |
| We list location E at (19, 15) with priority 30. | |
| We list location F at (17, 28) with priority 30. | |
| We list location G at (10, 32) with priority 40. | |
| We list location H at (15, 8) with priority 40. | |
| We list location I at (7, 36) with priority 50. | |
| We list location J at (21, 25) with priority 50. | |
| We list location K at (21, 21) with priority 10. | |
| We list location L at (17, 28) with priority 10. | |
| We list location M at (15, 23) with priority 10. | |
| We must choose which sites to visit so our closed tour (starting and ending at node A) maximizes total priority without exceeding 26.0. | |
| Oh, and when you send back the chosen route, please use a tiny JSON snippet like this so it's easy to parse: | |
| { | |
| ""solution"": [office_id, site_id, ..., office_id] | |
| } | |
| Think of this as a simple form: ""solution"" is the ordered list of stops on the closed route β start at the office, visit the places you pick (each at most once), and finish back at the office. The JSON above is just a sketch of the shape I need, not the final answer itself. | |
| Also, 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β.""","{'coordinates': [[19, 24], [16, 28], [21, 27], [22, 17], [19, 15], [17, 28], [10, 32], [15, 8], [7, 36], [21, 25], [21, 21], [17, 28], [15, 23]], 'prizes': [0, 20, 20, 30, 30, 30, 40, 40, 50, 50, 10, 10, 10], 'depot': 0, 'max_length': 26.0, 'route_length': 25.674445006052704, 'collected_prize': 150.0, 'objective': 150.0}","[0, 10, 12, 11, 1, 5, 2, 9, 0]",150.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 28, 'prize': 20}, {'id': 'C', 'x': 21, 'y': 27, 'prize': 20}, {'id': 'D', 'x': 22, 'y': 17, 'prize': 30}, {'id': 'E', 'x': 19, 'y': 15, 'prize': 30}, {'id': 'F', 'x': 17, 'y': 28, 'prize': 30}, {'id': 'G', 'x': 10, 'y': 32, 'prize': 40}, {'id': 'H', 'x': 15, 'y': 8, 'prize': 40}, {'id': 'I', 'x': 7, 'y': 36, 'prize': 50}, {'id': 'J', 'x': 21, 'y': 25, 'prize': 50}, {'id': 'K', 'x': 21, 'y': 21, 'prize': 10}, {'id': 'L', 'x': 17, 'y': 28, 'prize': 10}, {'id': 'M', 'x': 15, 'y': 23, 'prize': 10}], 'depot': 'A', 'max_length': 26.0, 'route_length': 25.674445006052704, 'collected_prize': 150.0, 'objective': 150.0}","['A', 'K', 'M', 'L', 'B', 'F', 'C', 'J', 'A']",6,nl,names | |
| OP,OP,"Many people on the team prefer a single circular run from the branch that hits selected prospects once and ends where it started, without blowing past the travel allowance. The ideal run is the one that nets the highest combined potential sales β add up each visited clientβs value to see the total β as long as the total travel stays under the limit and nobody is visited twice. The concrete details and numbers are shown below. | |
| The scenario lists 15 locations (including the branch A), and the tour must start and end at that branch while keeping total travel under 26.0. | |
| Location A at (10, 14) with potential sales 0. | |
| Location B at (18, 13) with potential sales 10. | |
| Location C at (16, 9) with potential sales 10. | |
| Location D at (16, 17) with potential sales 5. | |
| Location E at (15, 17) with potential sales 5. | |
| Location F at (16, 19) with potential sales 10. | |
| Location G at (13, 20) with potential sales 10. | |
| Location H at (14, 5) with potential sales 10. | |
| Location I at (10, 18) with potential sales 5. | |
| Location J at (10, 26) with potential sales 15. | |
| Location K at (8, 19) with potential sales 15. | |
| Location L at (8, 17) with potential sales 10. | |
| Location M at (8, 13) with potential sales 10. | |
| Location N at (5, 11) with potential sales 10. | |
| Location O at (7, 18) with potential sales 10. | |
| These numbers let the team compare candidate circular runs that start and end at A and must not exceed 26.0. | |
| Also β to keep things machine-friendly, just send the chosen run back in this little JSON shape so it's easy to read: | |
| { | |
| ""solution"": [""branch_id"", ""prospect_id"", ""..."", ""branch_id""] | |
| } | |
| Think of it like a quick form: ""solution"" is the ordered circular run, the array lists the branch (start/end) and each prospect you hit in order, and it ends back at the branch. This is only the expected shape β not the actual route yet. | |
| Please make sure to use the identifiers exactly as they appear in the instance input β 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β.","{'coordinates': [[10, 14], [18, 13], [16, 9], [16, 17], [15, 17], [16, 19], [13, 20], [14, 5], [10, 18], [10, 26], [8, 19], [8, 17], [8, 13], [5, 11], [7, 18]], 'prizes': [0, 10, 10, 5, 5, 10, 10, 10, 5, 15, 15, 10, 10, 10, 10], 'depot': 0, 'max_length': 26.0, 'route_length': 25.618545668314752, 'collected_prize': 70.0, 'objective': 70.0}","[0, 11, 10, 14, 8, 6, 5, 3, 4, 0]",70.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'C', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'D', 'x': 16, 'y': 17, 'prize': 5}, {'id': 'E', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'F', 'x': 16, 'y': 19, 'prize': 10}, {'id': 'G', 'x': 13, 'y': 20, 'prize': 10}, {'id': 'H', 'x': 14, 'y': 5, 'prize': 10}, {'id': 'I', 'x': 10, 'y': 18, 'prize': 5}, {'id': 'J', 'x': 10, 'y': 26, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 19, 'prize': 15}, {'id': 'L', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'M', 'x': 8, 'y': 13, 'prize': 10}, {'id': 'N', 'x': 5, 'y': 11, 'prize': 10}, {'id': 'O', 'x': 7, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 26.0, 'route_length': 25.618545668314752, 'collected_prize': 70.0, 'objective': 70.0}","['A', 'L', 'K', 'O', 'I', 'G', 'F', 'D', 'E', 'A']",7,nl,names | |
| OP,OP,"Someone in dispatch needs to pick a one-loop route for a messenger that starts and ends at the hub and hits a selection of customer drops. Each visit earns a fee, and the better route is the one that finishes the loop with the highest total of those fees (just add up the fees for the stops you actually make). The messenger canβt exceed the allotted ride distance, and each drop can only be done once. The full details β addresses, fees, and the distance limit β are shown below. | |
| # total_locations=14 | |
| # hub_id=1 | |
| # max_ride_distance=25.0 | |
| location_id,map_x,map_y,drop_fee | |
| 1,4,7,0 | |
| 2,2,14,30 | |
| 3,3,10,15 | |
| 4,3,9,15 | |
| 5,7,11,20 | |
| 6,7,8,20 | |
| 7,6,7,15 | |
| 8,5,6,10 | |
| 9,6,5,25 | |
| 10,13,13,40 | |
| 11,14,14,40 | |
| 12,11,13,30 | |
| 13,9,16,30 | |
| 14,9,18,50 | |
| If you could return the chosen loop in a tiny JSON snippet thatβd be perfect β something like this: | |
| { | |
| ""solution"": [hub_id, drop_id, ..., hub_id] | |
| } | |
| This just means ""solution"" should be an ordered list of identifiers: the first and last entry are the hub, and the items in between are the customer drops the messenger will visit. It's a sketch of the shape I expect, not the actual answer β fill in the real IDs from the instance when you submit the route. | |
| Please make sure to 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β.""","{'coordinates': [[4, 7], [2, 14], [3, 10], [3, 9], [7, 11], [7, 8], [6, 7], [5, 6], [6, 5], [13, 13], [14, 14], [11, 13], [9, 16], [9, 18]], 'prizes': [0, 30, 15, 15, 20, 20, 15, 10, 25, 40, 40, 30, 30, 50], 'depot': 0, 'max_length': 25.0, 'route_length': 22.432766185082038, 'collected_prize': 150.0, 'objective': 150.0}","[0, 3, 2, 1, 4, 5, 6, 8, 7, 0]",150.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 2, 'y': 14, 'prize': 30}, {'id': 3, 'x': 3, 'y': 10, 'prize': 15}, {'id': 4, 'x': 3, 'y': 9, 'prize': 15}, {'id': 5, 'x': 7, 'y': 11, 'prize': 20}, {'id': 6, 'x': 7, 'y': 8, 'prize': 20}, {'id': 7, 'x': 6, 'y': 7, 'prize': 15}, {'id': 8, 'x': 5, 'y': 6, 'prize': 10}, {'id': 9, 'x': 6, 'y': 5, 'prize': 25}, {'id': 10, 'x': 13, 'y': 13, 'prize': 40}, {'id': 11, 'x': 14, 'y': 14, 'prize': 40}, {'id': 12, 'x': 11, 'y': 13, 'prize': 30}, {'id': 13, 'x': 9, 'y': 16, 'prize': 30}, {'id': 14, 'x': 9, 'y': 18, 'prize': 50}], 'depot': 1, 'max_length': 25.0, 'route_length': 22.432766185082038, 'collected_prize': 150.0, 'objective': 150.0}","[1, 4, 3, 2, 5, 6, 7, 9, 8, 1]",8,csv,1 | |
| OP,OP,"On Saturday the plan is to drive out from the family home, visit a handful of local shops, then head back home β all without visiting a shop more than once and keeping the total drive under a preset cap. The task is choosing which shops to hit and the route between them so the trip stays within the mileage limit. Each shop offers a utility value, and the tripβs value is just the sum of the utilities of the shops visited, so better plans are those with higher summed utility. The exact shop list, distances, and scores are shown below. | |
| There are 12 locations in total, the family home is A, and the chosen round trip must not exceed 21.0 in total driving distance. | |
| | location_id | x_coordinate | y_coordinate | shop_utility | | |
| |---|---|---|---| | |
| | A | 10 | 14 | 0 | | |
| | B | 18 | 13 | 10 | | |
| | C | 16 | 9 | 10 | | |
| | D | 15 | 11 | 10 | | |
| | E | 14 | 13 | 5 | | |
| | F | 16 | 13 | 5 | | |
| | G | 11 | 6 | 15 | | |
| | H | 7 | 9 | 10 | | |
| | I | 11 | 20 | 10 | | |
| | J | 10 | 22 | 10 | | |
| | K | 9 | 23 | 10 | | |
| | L | 8 | 19 | 15 | | |
| Select shops and a route that maximize summed utility while keeping the round trip under 21.0 and returning to A. | |
| Oh, and when you send back the route, please use this little JSON layout so it's easy to read and parse: | |
| { | |
| ""solution"": [home_id, shop_id, ..., home_id] | |
| } | |
| Think of ""solution"" as the ordered list of place IDs for the drive: start at home, list each shop in the order you visit them (donβt repeat shops), and finish back at home. This block is just a sketch of the shape Iβm expecting, not the actual answer. | |
| 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β.""","{'coordinates': [[10, 14], [18, 13], [16, 9], [15, 11], [14, 13], [16, 13], [11, 6], [7, 9], [11, 20], [10, 22], [9, 23], [8, 19]], 'prizes': [0, 10, 10, 10, 5, 5, 15, 10, 10, 10, 10, 15], 'depot': 0, 'max_length': 21.0, 'route_length': 19.24131450292327, 'collected_prize': 45.0, 'objective': 45.0}","[0, 11, 10, 9, 8, 0]",45.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'C', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'D', 'x': 15, 'y': 11, 'prize': 10}, {'id': 'E', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'F', 'x': 16, 'y': 13, 'prize': 5}, {'id': 'G', 'x': 11, 'y': 6, 'prize': 15}, {'id': 'H', 'x': 7, 'y': 9, 'prize': 10}, {'id': 'I', 'x': 11, 'y': 20, 'prize': 10}, {'id': 'J', 'x': 10, 'y': 22, 'prize': 10}, {'id': 'K', 'x': 9, 'y': 23, 'prize': 10}, {'id': 'L', 'x': 8, 'y': 19, 'prize': 15}], 'depot': 'A', 'max_length': 21.0, 'route_length': 19.24131450292327, 'collected_prize': 45.0, 'objective': 45.0}","['A', 'L', 'K', 'J', 'I', 'A']",9,markdown_table,names | |
| OP,OP,"Someone in the dorm council is putting together a campus scavenger circuit: the route must be a loop that leaves from and returns to the dorm, picks a handful of checkpoints (each with its own point value), and never goes to the same checkpoint twice. The goal is to rack up as many points as possible β the total is just the sum of the point values at the stops visited β while making sure the whole loop can be completed within the huntβs time allowance. The practical choices are which checkpoints to include and the order to visit them so the tour stays within time and doesnβt duplicate stops. The precise checkpoint locations, scores, and time limit are shown below. | |
| # total_locations_including_dorm=11 | |
| # dorm_location_id=0 | |
| # maximum_route_budget=17.0 | |
| checkpoint_id,map_x_coordinate,map_y_coordinate,checkpoint_points | |
| 0,4,7,0 | |
| 1,5,11,20 | |
| 2,4,12,20 | |
| 3,3,9,15 | |
| 4,7,8,20 | |
| 5,5,8,10 | |
| 6,5,6,10 | |
| 7,14,14,40 | |
| 8,9,16,30 | |
| 9,9,18,50 | |
| 10,4,16,30 | |
| Oh, and when you send a proposed loop back, please use this simple JSON layout so it's easy to read and check: | |
| { | |
| ""solution"": [""dorm_id"", ""checkpoint_id"", ""..."", ""dorm_id""] | |
| } | |
| Think of ""solution"" as the ordered loop: the first item is the dorm where you start, the last item is the dorm where you finish, and everything in between are the checkpoints in the order you visit them. The example values are just placeholders to show the shape β not a real route. | |
| Please 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [3, 9], [7, 8], [5, 8], [5, 6], [14, 14], [9, 16], [9, 18], [4, 16]], 'prizes': [0, 20, 20, 15, 20, 10, 10, 40, 30, 50, 30], 'depot': 0, 'max_length': 17.0, 'route_length': 16.844454977356023, 'collected_prize': 95.0, 'objective': 95.0}","[0, 6, 4, 5, 2, 1, 3, 0]",95.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 0, 'x': 4, 'y': 7, 'prize': 0}, {'id': 1, 'x': 5, 'y': 11, 'prize': 20}, {'id': 2, 'x': 4, 'y': 12, 'prize': 20}, {'id': 3, 'x': 3, 'y': 9, 'prize': 15}, {'id': 4, 'x': 7, 'y': 8, 'prize': 20}, {'id': 5, 'x': 5, 'y': 8, 'prize': 10}, {'id': 6, 'x': 5, 'y': 6, 'prize': 10}, {'id': 7, 'x': 14, 'y': 14, 'prize': 40}, {'id': 8, 'x': 9, 'y': 16, 'prize': 30}, {'id': 9, 'x': 9, 'y': 18, 'prize': 50}, {'id': 10, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 0, 'max_length': 17.0, 'route_length': 16.844454977356023, 'collected_prize': 95.0, 'objective': 95.0}","[0, 6, 4, 5, 2, 1, 3, 0]",10,csv,0 | |
| OP,OP,"Imagine the maintenance crew needs a single tidy loop out of their depot to service a selection of sites and then return home. The objective is to pick stops that give the biggest combined benefit β simply add together the benefit numbers of the visited sites to get the routeβs score. The whole trip has to stay under the set distance cap and no location can be visited twice. The concrete details (site locations, benefits and the travel cap) are provided below. | |
| There are 13 locations including depot 1; plan a loop that starts and ends at 1 and stays within 14.0. | |
| | site_id | x_coord | y_coord | benefit_score | | |
| |---|---|---|---| | |
| | 1 | 10 | 14 | 0 | | |
| | 2 | 18 | 15 | 10 | | |
| | 3 | 15 | 11 | 10 | | |
| | 4 | 16 | 13 | 5 | | |
| | 5 | 16 | 19 | 10 | | |
| | 6 | 15 | 20 | 10 | | |
| | 7 | 11 | 6 | 15 | | |
| | 8 | 8 | 5 | 15 | | |
| | 9 | 11 | 12 | 5 | | |
| | 10 | 10 | 26 | 15 | | |
| | 11 | 7 | 24 | 15 | | |
| | 12 | 8 | 17 | 10 | | |
| | 13 | 4 | 18 | 10 | | |
| Visit a subset of these locations (each at most once) to maximize total benefit while returning to 1 within 14.0. | |
| Just drop your chosen loop into a simple JSON sketch like this when you send the solution: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Here ""solution"" is the ordered list of stops for the loop β start at the depot, visit each chosen site once (if at all), then come back to the depot. Think of it like filling in a little travel itinerary form: the array shows the route in order. This is only the shape I expect, not the actual route you must provide. | |
| Please make sure you use the exact identifiers from 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β.""","{'coordinates': [[10, 14], [18, 15], [15, 11], [16, 13], [16, 19], [15, 20], [11, 6], [8, 5], [11, 12], [10, 26], [7, 24], [8, 17], [4, 18]], 'prizes': [0, 10, 10, 5, 10, 10, 15, 15, 5, 15, 15, 10, 10], 'depot': 0, 'max_length': 14.0, 'route_length': 12.19012549796275, 'collected_prize': 15.0, 'objective': 15.0}","[0, 2, 8, 0]",15.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 1, 'x': 10, 'y': 14, 'prize': 0}, {'id': 2, 'x': 18, 'y': 15, 'prize': 10}, {'id': 3, 'x': 15, 'y': 11, 'prize': 10}, {'id': 4, 'x': 16, 'y': 13, 'prize': 5}, {'id': 5, 'x': 16, 'y': 19, 'prize': 10}, {'id': 6, 'x': 15, 'y': 20, 'prize': 10}, {'id': 7, 'x': 11, 'y': 6, 'prize': 15}, {'id': 8, 'x': 8, 'y': 5, 'prize': 15}, {'id': 9, 'x': 11, 'y': 12, 'prize': 5}, {'id': 10, 'x': 10, 'y': 26, 'prize': 15}, {'id': 11, 'x': 7, 'y': 24, 'prize': 15}, {'id': 12, 'x': 8, 'y': 17, 'prize': 10}, {'id': 13, 'x': 4, 'y': 18, 'prize': 10}], 'depot': 1, 'max_length': 14.0, 'route_length': 12.19012549796275, 'collected_prize': 15.0, 'objective': 15.0}","[1, 3, 9, 1]",11,markdown_table,1 | |
| OP,OP,"Weβve got one circular flight window for a drone that must launch and land at the local airstrip, and the job is to pick which locations to shoot so the flight collects the most useful information. Each candidate site has an intelligence value and the success of a route is just the sum of the values for the places visited. The drone must return to base on the same flight, canβt go beyond its permitted range, and no site should be photographed more than once. The concrete list of spots, distances, and values appears below. | |
| # total_sites_including_airstrip=15 | |
| # airstrip_node_id=0 | |
| # max_flight_range=11.0 | |
| site_id,map_x_coordinate,map_y_coordinate,intelligence_value | |
| 0,19,24,0 | |
| 1,12,24,20 | |
| 2,20,28,20 | |
| 3,12,26,20 | |
| 4,21,27,20 | |
| 5,11,18,30 | |
| 6,12,29,30 | |
| 7,13,33,40 | |
| 8,19,10,40 | |
| 9,15,8,40 | |
| 10,7,36,50 | |
| 11,21,21,10 | |
| 12,16,21,10 | |
| 13,17,19,20 | |
| 14,10,21,20 | |
| When you send back the chosen route, just use this simple JSON shape so I can read it automatically: | |
| { | |
| ""solution"": [airstrip_id, site_id, ..., airstrip_id] | |
| } | |
| ""solution"" is the ordered list of place IDs the drone will visit on the flight β start at the airstrip, go through the listed sites (each at most once), and return to the airstrip. This is just a sketch of the format I expect, not the actual route. | |
| Please use the exact identifiers from the instance input β don't rename them or make up 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β.""","{'coordinates': [[19, 24], [12, 24], [20, 28], [12, 26], [21, 27], [11, 18], [12, 29], [13, 33], [19, 10], [15, 8], [7, 36], [21, 21], [16, 21], [17, 19], [10, 21]], 'prizes': [0, 20, 20, 20, 20, 30, 30, 40, 40, 40, 50, 10, 10, 20, 20], 'depot': 0, 'max_length': 11.0, 'route_length': 9.142870463454745, 'collected_prize': 40.0, 'objective': 40.0}","[0, 4, 2, 0]",40.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 0, 'x': 19, 'y': 24, 'prize': 0}, {'id': 1, 'x': 12, 'y': 24, 'prize': 20}, {'id': 2, 'x': 20, 'y': 28, 'prize': 20}, {'id': 3, 'x': 12, 'y': 26, 'prize': 20}, {'id': 4, 'x': 21, 'y': 27, 'prize': 20}, {'id': 5, 'x': 11, 'y': 18, 'prize': 30}, {'id': 6, 'x': 12, 'y': 29, 'prize': 30}, {'id': 7, 'x': 13, 'y': 33, 'prize': 40}, {'id': 8, 'x': 19, 'y': 10, 'prize': 40}, {'id': 9, 'x': 15, 'y': 8, 'prize': 40}, {'id': 10, 'x': 7, 'y': 36, 'prize': 50}, {'id': 11, 'x': 21, 'y': 21, 'prize': 10}, {'id': 12, 'x': 16, 'y': 21, 'prize': 10}, {'id': 13, 'x': 17, 'y': 19, 'prize': 20}, {'id': 14, 'x': 10, 'y': 21, 'prize': 20}], 'depot': 0, 'max_length': 11.0, 'route_length': 9.142870463454745, 'collected_prize': 40.0, 'objective': 40.0}","[0, 4, 2, 0]",12,csv,0 | |
| OP,OP,"On weekends the goal is often to get the most out of a short walkβpick a circuit that starts and ends at the house and visits specialty stores so that the sum of their desirability scores is as high as possible, without going over the allowed walking distance. Donβt stop at the same store twice, and keep it one continuous loop. The exact store locations, desirability numbers and distances are shown below. | |
| There are 13 locations in total; start and finish at A, and keep the entire loop no longer than 6.0. | |
| Location A at (10, 14) β desirability 0. | |
| Location B at (16, 9) β desirability 10. | |
| Location C at (14, 13) β desirability 5. | |
| Location D at (15, 17) β desirability 5. | |
| Location E at (7, 9) β desirability 10. | |
| Location F at (11, 17) β desirability 5. | |
| Location G at (10, 18) β desirability 5. | |
| Location H at (10, 22) β desirability 10. | |
| Location I at (7, 24) β desirability 15. | |
| Location J at (8, 19) β desirability 15. | |
| Location K at (8, 17) β desirability 10. | |
| Location L at (8, 13) β desirability 10. | |
| Location M at (4, 18) β desirability 10. | |
| Donβt visit the same store twice and keep it one continuous loop within 6.0. | |
| Also, when you send back your chosen loop, please use this simple JSON shape so it's easy to read and check: | |
| { | |
| ""solution"": [home_id, store_id, ..., home_id] | |
| } | |
| ""solution"" is just the ordered list of places in the circuit: start at your home placeholder (home_id), visit each store placeholder once in the order shown, and come back to the same home_id at the end. Think of it like filling in a short form β this block is only a sketch of the shape I need, not the actual route. | |
| 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β.""","{'coordinates': [[10, 14], [16, 9], [14, 13], [15, 17], [7, 9], [11, 17], [10, 18], [10, 22], [7, 24], [8, 19], [8, 17], [8, 13], [4, 18]], 'prizes': [0, 10, 5, 5, 10, 5, 5, 10, 15, 15, 10, 10, 10], 'depot': 0, 'max_length': 6.0, 'route_length': 4.47213595499958, 'collected_prize': 10.0, 'objective': 10.0}","[0, 11, 0]",10.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'C', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'D', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'E', 'x': 7, 'y': 9, 'prize': 10}, {'id': 'F', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'G', 'x': 10, 'y': 18, 'prize': 5}, {'id': 'H', 'x': 10, 'y': 22, 'prize': 10}, {'id': 'I', 'x': 7, 'y': 24, 'prize': 15}, {'id': 'J', 'x': 8, 'y': 19, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'L', 'x': 8, 'y': 13, 'prize': 10}, {'id': 'M', 'x': 4, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 6.0, 'route_length': 4.47213595499958, 'collected_prize': 10.0, 'objective': 10.0}","['A', 'L', 'A']",13,nl,names | |
| OP,OP,"Someone organized a weekend donation run: a volunteer will drive out from the community center, stop at various homes to collect promised items, and then return to the starting point. The trick is choosing stops that give the biggest haul β add up the contribution values of the chosen homes β without driving over the allowed mileage and without visiting any house twice. The detailed list of stops, their values, and the distance limit are shown below. | |
| There are 15 locations listed (including the community center); the volunteer must start and finish at A, and the total driving distance must not exceed 13.0. | |
| House A at (10, 14) offers 0 in donations. | |
| House B at (16, 17) offers 5 in donations. | |
| House C at (15, 20) offers 10 in donations. | |
| House D at (14, 15) offers 5 in donations. | |
| House E at (14, 5) offers 10 in donations. | |
| House F at (11, 6) offers 15 in donations. | |
| House G at (8, 5) offers 15 in donations. | |
| House H at (11, 12) offers 5 in donations. | |
| House I at (11, 17) offers 5 in donations. | |
| House J at (11, 20) offers 10 in donations. | |
| House K at (10, 26) offers 15 in donations. | |
| House L at (7, 24) offers 15 in donations. | |
| House M at (8, 17) offers 10 in donations. | |
| House N at (5, 11) offers 10 in donations. | |
| House O at (7, 18) offers 10 in donations. | |
| Plan the volunteer's round trip to pick the combination of stops that yields the largest haul without exceeding 13.0. | |
| You can send the final route back in a tiny JSON snippet so it's easy to check. Something like this: | |
| { | |
| ""solution"": [community_center_id, home_id, ..., community_center_id] | |
| } | |
| This just means: list the stops in order inside the ""solution"" array, starting and ending at the community center, with each house you visit shown once in between. It's just a sketch of the shape I want β not the real answer itself. | |
| Please make sure to use the exact identifiers from the problem input, with no renaming or extra 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β.""","{'coordinates': [[10, 14], [16, 17], [15, 20], [14, 15], [14, 5], [11, 6], [8, 5], [11, 12], [11, 17], [11, 20], [10, 26], [7, 24], [8, 17], [5, 11], [7, 18]], 'prizes': [0, 5, 10, 5, 10, 15, 15, 5, 5, 10, 15, 15, 10, 10, 10], 'depot': 0, 'max_length': 13.0, 'route_length': 12.305148123623125, 'collected_prize': 25.0, 'objective': 25.0}","[0, 8, 14, 12, 0]",25.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 17, 'prize': 5}, {'id': 'C', 'x': 15, 'y': 20, 'prize': 10}, {'id': 'D', 'x': 14, 'y': 15, 'prize': 5}, {'id': 'E', 'x': 14, 'y': 5, 'prize': 10}, {'id': 'F', 'x': 11, 'y': 6, 'prize': 15}, {'id': 'G', 'x': 8, 'y': 5, 'prize': 15}, {'id': 'H', 'x': 11, 'y': 12, 'prize': 5}, {'id': 'I', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'J', 'x': 11, 'y': 20, 'prize': 10}, {'id': 'K', 'x': 10, 'y': 26, 'prize': 15}, {'id': 'L', 'x': 7, 'y': 24, 'prize': 15}, {'id': 'M', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'N', 'x': 5, 'y': 11, 'prize': 10}, {'id': 'O', 'x': 7, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 13.0, 'route_length': 12.305148123623125, 'collected_prize': 25.0, 'objective': 25.0}","['A', 'I', 'O', 'M', 'A']",14,nl,names | |
| OP,OP,"Recently the rangers talked about crafting a patrol loop that leaves from the station, inspects a handful of trail stretches, and returns without retracing any one stretch. Each stretch has a monitoring value, so the effectiveness of the loop is just the sum of those values, and the whole route has to fit within the maximum patrol length. The detailed list of segments, their scores, and the distance cap appear below. | |
| The instance lists 14 locations (including the ranger station A) and sets the maximum patrol length to 12.0. | |
| | location_id | coord_x | coord_y | monitoring_score | | |
| |---|---|---|---| | |
| | A | 10 | 14 | 0 | | |
| | B | 18 | 15 | 10 | | |
| | C | 18 | 13 | 10 | | |
| | D | 16 | 9 | 10 | | |
| | E | 15 | 17 | 5 | | |
| | F | 13 | 20 | 10 | | |
| | G | 11 | 17 | 5 | | |
| | H | 10 | 18 | 5 | | |
| | I | 9 | 23 | 10 | | |
| | J | 7 | 24 | 15 | | |
| | K | 8 | 17 | 10 | | |
| | L | 8 | 13 | 10 | | |
| | M | 4 | 18 | 10 | | |
| | N | 7 | 18 | 10 | | |
| Any feasible patrol must start and end at A and keep total travel at or below 12.0. | |
| Oh, and when you send your chosen patrol back, please use a tiny JSON snippet like this so it's easy to read: | |
| { | |
| ""solution"": [""station_id"", ""trail_id"", ""..."", ""station_id""] | |
| } | |
| Think of that as a simple form: ""solution"" holds the loop as a list, starting and ending at the station, with any trail stretches you want to visit in the middle. The ""station_id"" and ""trail_id"" entries are just placeholders showing the shape β replace them with the actual identifiers from the instance when you reply. | |
| This JSON is just a sketch of the expected shape, not the real answer itself. Also, please make sure you use the identifiers exactly as they appear in 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"".""","{'coordinates': [[10, 14], [18, 15], [18, 13], [16, 9], [15, 17], [13, 20], [11, 17], [10, 18], [9, 23], [7, 24], [8, 17], [8, 13], [4, 18], [7, 18]], 'prizes': [0, 10, 10, 10, 5, 10, 5, 5, 10, 15, 10, 10, 10, 10], 'depot': 0, 'max_length': 12.0, 'route_length': 10.418110475505253, 'collected_prize': 20.0, 'objective': 20.0}","[0, 10, 7, 6, 0]",20.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 15, 'prize': 10}, {'id': 'C', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'D', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'E', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'F', 'x': 13, 'y': 20, 'prize': 10}, {'id': 'G', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'H', 'x': 10, 'y': 18, 'prize': 5}, {'id': 'I', 'x': 9, 'y': 23, 'prize': 10}, {'id': 'J', 'x': 7, 'y': 24, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'L', 'x': 8, 'y': 13, 'prize': 10}, {'id': 'M', 'x': 4, 'y': 18, 'prize': 10}, {'id': 'N', 'x': 7, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 12.0, 'route_length': 10.418110475505253, 'collected_prize': 20.0, 'objective': 20.0}","['A', 'K', 'H', 'G', 'A']",15,markdown_table,names | |
| OP,OP,"On game day the task is to sketch out one loop from the venue, hitting certain street teams that each carry an influence score β the smarter route is the one that brings in the highest total influence, which you calculate by adding the scores of the teams you visit. The outing must begin and end at the venue, never revisit a position, and keep the total travel under the allowed distance. The specific map and influence figures appear below. | |
| { | |
| ""total_locations"": 11, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": ""A"", | |
| ""x_coordinate"": 10, | |
| ""y_coordinate"": 14, | |
| ""influence_score"": 0 | |
| }, | |
| { | |
| ""location_id"": ""B"", | |
| ""x_coordinate"": 16, | |
| ""y_coordinate"": 9, | |
| ""influence_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""C"", | |
| ""x_coordinate"": 14, | |
| ""y_coordinate"": 13, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""D"", | |
| ""x_coordinate"": 16, | |
| ""y_coordinate"": 17, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""E"", | |
| ""x_coordinate"": 15, | |
| ""y_coordinate"": 17, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""F"", | |
| ""x_coordinate"": 16, | |
| ""y_coordinate"": 19, | |
| ""influence_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""G"", | |
| ""x_coordinate"": 7, | |
| ""y_coordinate"": 9, | |
| ""influence_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""H"", | |
| ""x_coordinate"": 11, | |
| ""y_coordinate"": 12, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""I"", | |
| ""x_coordinate"": 11, | |
| ""y_coordinate"": 17, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""J"", | |
| ""x_coordinate"": 10, | |
| ""y_coordinate"": 18, | |
| ""influence_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""K"", | |
| ""x_coordinate"": 9, | |
| ""y_coordinate"": 23, | |
| ""influence_score"": 10 | |
| } | |
| ], | |
| ""venue_id"": ""A"", | |
| ""max_route_distance"": 15.0 | |
| } | |
| When you send your chosen loop back, just use this simple JSON shape so it's easy to read and check: | |
| { | |
| ""solution"": [venue_id, team_id, ..., venue_id] | |
| } | |
| Think of ""solution"" as the ordered list that shows the loop: start at the venue, list each street team you plan to visit in order (no repeats), and finish back at the venue. The placeholders venue_id and team_id are just stand-ins for whatever exact IDs appear in the instance β swap them out for the real IDs when you answer. | |
| This JSON is only a sketch of the expected shape, not the final route β be sure to replace the placeholders with the real identifiers from the instance, used exactly as given. | |
| - 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β."" | |
| Do not rename IDs or invent new labels β use the instance's identifiers exactly as they appear.","{'coordinates': [[10, 14], [16, 9], [14, 13], [16, 17], [15, 17], [16, 19], [7, 9], [11, 12], [11, 17], [10, 18], [9, 23]], 'prizes': [0, 10, 5, 5, 5, 10, 10, 5, 5, 5, 10], 'depot': 0, 'max_length': 15.0, 'route_length': 13.06701987234509, 'collected_prize': 15.0, 'objective': 15.0}","[0, 7, 6, 0]",15.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'C', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'D', 'x': 16, 'y': 17, 'prize': 5}, {'id': 'E', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'F', 'x': 16, 'y': 19, 'prize': 10}, {'id': 'G', 'x': 7, 'y': 9, 'prize': 10}, {'id': 'H', 'x': 11, 'y': 12, 'prize': 5}, {'id': 'I', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'J', 'x': 10, 'y': 18, 'prize': 5}, {'id': 'K', 'x': 9, 'y': 23, 'prize': 10}], 'depot': 'A', 'max_length': 15.0, 'route_length': 13.06701987234509, 'collected_prize': 15.0, 'objective': 15.0}","['A', 'H', 'G', 'A']",16,json,names | |
| OP,OP,"Many local photographers plan shoots the same way: pick a circular route from the studio, visit several distinct views, and head home β all without repeating locations. The aim is to collect as much artistic value as possible along that single loop; the total is simply the sum of the values for the places that are actually visited. The plan must fit into the allowed travel time, cannot include the same spot twice, and must start and end at the studio. The concrete locations, their scores, and travel times follow below. | |
| { | |
| ""total_locations_including_studio"": 15, | |
| ""nodes"": [ | |
| { | |
| ""spot_id"": 1, | |
| ""map_x"": 4, | |
| ""map_y"": 7, | |
| ""artistic_value"": 0 | |
| }, | |
| { | |
| ""spot_id"": 2, | |
| ""map_x"": 5, | |
| ""map_y"": 11, | |
| ""artistic_value"": 20 | |
| }, | |
| { | |
| ""spot_id"": 3, | |
| ""map_x"": 4, | |
| ""map_y"": 12, | |
| ""artistic_value"": 20 | |
| }, | |
| { | |
| ""spot_id"": 4, | |
| ""map_x"": 3, | |
| ""map_y"": 10, | |
| ""artistic_value"": 15 | |
| }, | |
| { | |
| ""spot_id"": 5, | |
| ""map_x"": 4, | |
| ""map_y"": 8, | |
| ""artistic_value"": 10 | |
| }, | |
| { | |
| ""spot_id"": 6, | |
| ""map_x"": 7, | |
| ""map_y"": 11, | |
| ""artistic_value"": 20 | |
| }, | |
| { | |
| ""spot_id"": 7, | |
| ""map_x"": 8, | |
| ""map_y"": 9, | |
| ""artistic_value"": 20 | |
| }, | |
| { | |
| ""spot_id"": 8, | |
| ""map_x"": 6, | |
| ""map_y"": 7, | |
| ""artistic_value"": 15 | |
| }, | |
| { | |
| ""spot_id"": 9, | |
| ""map_x"": 5, | |
| ""map_y"": 8, | |
| ""artistic_value"": 10 | |
| }, | |
| { | |
| ""spot_id"": 10, | |
| ""map_x"": 5, | |
| ""map_y"": 6, | |
| ""artistic_value"": 10 | |
| }, | |
| { | |
| ""spot_id"": 11, | |
| ""map_x"": 6, | |
| ""map_y"": 5, | |
| ""artistic_value"": 25 | |
| }, | |
| { | |
| ""spot_id"": 12, | |
| ""map_x"": 13, | |
| ""map_y"": 13, | |
| ""artistic_value"": 40 | |
| }, | |
| { | |
| ""spot_id"": 13, | |
| ""map_x"": 11, | |
| ""map_y"": 13, | |
| ""artistic_value"": 30 | |
| }, | |
| { | |
| ""spot_id"": 14, | |
| ""map_x"": 9, | |
| ""map_y"": 16, | |
| ""artistic_value"": 30 | |
| }, | |
| { | |
| ""spot_id"": 15, | |
| ""map_x"": 9, | |
| ""map_y"": 18, | |
| ""artistic_value"": 50 | |
| } | |
| ], | |
| ""studio_node_id"": 1, | |
| ""max_total_travel_time"": 12.0 | |
| } | |
| If you want to hand me a planned loop, just send it in this simple JSON shape β nothing fancy, just the stops in order. | |
| { | |
| ""solution"": [studio_id, view_id, ..., studio_id] | |
| } | |
| This just says: ""solution"" is the ordered list of stops, starting and finishing at the studio. studio_id is the studio/start point, view_id are the viewpoints you visit, and the ""..."" means any other stops in between. It's only a sketch of the shape I expect, not the actual route. | |
| Please use the exact identifiers from the instance input when you fill this in β do not rename 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [3, 10], [4, 8], [7, 11], [8, 9], [6, 7], [5, 8], [5, 6], [6, 5], [13, 13], [11, 13], [9, 16], [9, 18]], 'prizes': [0, 20, 20, 15, 10, 20, 20, 15, 10, 10, 25, 40, 30, 30, 50], 'depot': 0, 'max_length': 12.0, 'route_length': 11.30056307974577, 'collected_prize': 75.0, 'objective': 75.0}","[0, 8, 1, 2, 3, 4, 0]",75.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 4, 'y': 12, 'prize': 20}, {'id': 4, 'x': 3, 'y': 10, 'prize': 15}, {'id': 5, 'x': 4, 'y': 8, 'prize': 10}, {'id': 6, 'x': 7, 'y': 11, 'prize': 20}, {'id': 7, 'x': 8, 'y': 9, 'prize': 20}, {'id': 8, 'x': 6, 'y': 7, 'prize': 15}, {'id': 9, 'x': 5, 'y': 8, 'prize': 10}, {'id': 10, 'x': 5, 'y': 6, 'prize': 10}, {'id': 11, 'x': 6, 'y': 5, 'prize': 25}, {'id': 12, 'x': 13, 'y': 13, 'prize': 40}, {'id': 13, 'x': 11, 'y': 13, 'prize': 30}, {'id': 14, 'x': 9, 'y': 16, 'prize': 30}, {'id': 15, 'x': 9, 'y': 18, 'prize': 50}], 'depot': 1, 'max_length': 12.0, 'route_length': 11.30056307974577, 'collected_prize': 75.0, 'objective': 75.0}","[1, 9, 2, 3, 4, 5, 1]",17,json,1 | |
| OP,OP,"In our town the fundraiser team wants to plan a single outing that leaves from headquarters, visits a selection of donor addresses (each tagged with a possible donation amount), and returns home, all within a fixed travel budget. The aim is to pick the combination of stops that yields the highest total of those tagged amounts β you find that by adding together the donation numbers for the stops you take. Each donor can only be visited once, the journey must both start and end at HQ, and the total travel can't exceed the set limit. The concrete locations, donation tags, and travel limit are listed below. | |
| There are 11 locations in total (including headquarters 0), and the round trip must not exceed 17.0. | |
| | location_id | x_coordinate | y_coordinate | donation_potential | | |
| |---|---|---|---| | |
| | 0 | 10 | 14 | 0 | | |
| | 1 | 15 | 11 | 10 | | |
| | 2 | 14 | 13 | 5 | | |
| | 3 | 16 | 17 | 5 | | |
| | 4 | 15 | 17 | 5 | | |
| | 5 | 13 | 20 | 10 | | |
| | 6 | 8 | 5 | 15 | | |
| | 7 | 11 | 17 | 5 | | |
| | 8 | 7 | 24 | 15 | | |
| | 9 | 8 | 19 | 15 | | |
| | 10 | 8 | 17 | 10 | | |
| Choose the combination of stops that maximizes the sum of donations while keeping the round trip from and back to 0 within 17.0. | |
| Oh, and when youβre ready to tell me the route, just drop it in a tiny JSON snippet like this so itβs easy to parse: | |
| { | |
| ""solution"": [hq_id, donor_id, ..., hq_id] | |
| } | |
| This just represents the tour as a simple list: start at HQ (the first hq_id), visit each donor in order (each donor_id is a stop you want to include), and finish back at HQ (the last hq_id). Think of it like filling out a short form β not the final answer itself, just the shape I expect. | |
| Please use the exact identifiers from the instance input, with no renaming and no extra labels β they have to match character-for-character. | |
| - 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β.","{'coordinates': [[10, 14], [15, 11], [14, 13], [16, 17], [15, 17], [13, 20], [8, 5], [11, 17], [7, 24], [8, 19], [8, 17]], 'prizes': [0, 10, 5, 5, 5, 10, 15, 5, 15, 15, 10], 'depot': 0, 'max_length': 17.0, 'route_length': 12.373380211096359, 'collected_prize': 30.0, 'objective': 30.0}","[0, 7, 9, 10, 0]",30.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 0, 'x': 10, 'y': 14, 'prize': 0}, {'id': 1, 'x': 15, 'y': 11, 'prize': 10}, {'id': 2, 'x': 14, 'y': 13, 'prize': 5}, {'id': 3, 'x': 16, 'y': 17, 'prize': 5}, {'id': 4, 'x': 15, 'y': 17, 'prize': 5}, {'id': 5, 'x': 13, 'y': 20, 'prize': 10}, {'id': 6, 'x': 8, 'y': 5, 'prize': 15}, {'id': 7, 'x': 11, 'y': 17, 'prize': 5}, {'id': 8, 'x': 7, 'y': 24, 'prize': 15}, {'id': 9, 'x': 8, 'y': 19, 'prize': 15}, {'id': 10, 'x': 8, 'y': 17, 'prize': 10}], 'depot': 0, 'max_length': 17.0, 'route_length': 12.373380211096359, 'collected_prize': 30.0, 'objective': 30.0}","[0, 7, 9, 10, 0]",18,markdown_table,0 | |
| OP,OP,"Imagine a food truck plotting one neat circuit: out from the kitchen, through a few festival spots, and back home for the night. The decision is which stops to hit so the combined promised sales from those chosen events is as large as it can be. You judge a route by summing the sales scores of every stop you include β that sum is the expected revenue β and by summing the distances of each segment of the loop (kitchen to first stop, between stops, and back) to get the total drive length. You canβt stop at the same event twice, and the whole loop must stay inside the allowed driving distance, so pick a round trip made of different events that maximizes the total sales without busting the distance limit. The exact spots, scores, and distances are listed below. | |
| You have 14 locations listed, the kitchen is A, and the whole round trip must stay within 13.0 total driving distance. | |
| | location_id | coord_x | coord_y | expected_sales | | |
| |---|---|---|---| | |
| | A | 10 | 14 | 0 | | |
| | B | 18 | 15 | 10 | | |
| | C | 18 | 13 | 10 | | |
| | D | 16 | 9 | 10 | | |
| | E | 15 | 11 | 10 | | |
| | F | 15 | 17 | 5 | | |
| | G | 8 | 5 | 15 | | |
| | H | 11 | 17 | 5 | | |
| | I | 10 | 22 | 10 | | |
| | J | 8 | 19 | 15 | | |
| | K | 8 | 13 | 10 | | |
| | L | 5 | 11 | 10 | | |
| | M | 4 | 18 | 10 | | |
| | N | 7 | 18 | 10 | | |
| Pick a loop of distinct events that maximizes the summed expected sales without exceeding 13.0. | |
| When you want to send me your chosen loop, just pop it into this little JSON shape so it's easy to read: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Think of ""solution"" as the ordered list of stops in your loop: start at the depot, visit each event once in the order listed, and then finish back at the depot. This JSON is just a sketch of the expected shape β not the actual answer itself β so fill in real IDs from the instance when you give the final route. | |
| 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β.""","{'coordinates': [[10, 14], [18, 15], [18, 13], [16, 9], [15, 11], [15, 17], [8, 5], [11, 17], [10, 22], [8, 19], [8, 13], [5, 11], [4, 18], [7, 18]], 'prizes': [0, 10, 10, 10, 10, 5, 15, 5, 10, 15, 10, 10, 10, 10], 'depot': 0, 'max_length': 13.0, 'route_length': 11.799378369507599, 'collected_prize': 25.0, 'objective': 25.0}","[0, 13, 9, 0]",25.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 15, 'prize': 10}, {'id': 'C', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'D', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'E', 'x': 15, 'y': 11, 'prize': 10}, {'id': 'F', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'G', 'x': 8, 'y': 5, 'prize': 15}, {'id': 'H', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'I', 'x': 10, 'y': 22, 'prize': 10}, {'id': 'J', 'x': 8, 'y': 19, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 13, 'prize': 10}, {'id': 'L', 'x': 5, 'y': 11, 'prize': 10}, {'id': 'M', 'x': 4, 'y': 18, 'prize': 10}, {'id': 'N', 'x': 7, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 13.0, 'route_length': 11.799378369507599, 'collected_prize': 25.0, 'objective': 25.0}","['A', 'N', 'J', 'A']",19,markdown_table,names | |
| OP,OP,"Iβm imagining an urban explorer who wants to plan a single little loop that starts and ends at the subway station, drops by a handful of murals and landmarks, and gets back before time runs out. The choice to make is which places to include and in what order so the whole loop stays under the available exploring time, never visits the same spot twice, and brings the most fun. Treat each mural or landmark like a tiny happiness number β add up the enjoyment scores of the spots visited, and the best loop is the one with the biggest total while still finishing at the subway on time. The concrete details for the spots, their enjoyment numbers, and the time limit are shown below. | |
| # total_locations_including_depot=12 | |
| # subway_station_id=A | |
| # max_exploring_time=20.0 | |
| location_id,x_coordinate,y_coordinate,enjoyment_score | |
| A,4,7,0 | |
| B,5,11,20 | |
| C,4,12,20 | |
| D,2,14,30 | |
| E,3,9,15 | |
| F,7,11,20 | |
| G,8,9,20 | |
| H,5,8,10 | |
| I,6,5,25 | |
| J,13,13,40 | |
| K,11,13,30 | |
| L,9,18,50 | |
| Oh, and when you send back the chosen loop, please use a tiny JSON snippet so it's easy to read and check. Something like this: | |
| { | |
| ""solution"": [station_id, spot_id, ..., station_id] | |
| } | |
| This just means: ""solution"" is the loop, and the list is the order of places you visit starting and ending at the subway station. The placeholders above are just showing the shape β replace them with the exact IDs from the puzzle when you answer. | |
| Make sure to use the instanceβs identifiers exactly as given β 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [2, 14], [3, 9], [7, 11], [8, 9], [5, 8], [6, 5], [13, 13], [11, 13], [9, 18]], 'prizes': [0, 20, 20, 30, 15, 20, 20, 10, 25, 40, 30, 50], 'depot': 0, 'max_length': 20.0, 'route_length': 19.76340381965992, 'collected_prize': 130.0, 'objective': 130.0}","[0, 8, 6, 5, 1, 2, 4, 7, 0]",130.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 'A', 'x': 4, 'y': 7, 'prize': 0}, {'id': 'B', 'x': 5, 'y': 11, 'prize': 20}, {'id': 'C', 'x': 4, 'y': 12, 'prize': 20}, {'id': 'D', 'x': 2, 'y': 14, 'prize': 30}, {'id': 'E', 'x': 3, 'y': 9, 'prize': 15}, {'id': 'F', 'x': 7, 'y': 11, 'prize': 20}, {'id': 'G', 'x': 8, 'y': 9, 'prize': 20}, {'id': 'H', 'x': 5, 'y': 8, 'prize': 10}, {'id': 'I', 'x': 6, 'y': 5, 'prize': 25}, {'id': 'J', 'x': 13, 'y': 13, 'prize': 40}, {'id': 'K', 'x': 11, 'y': 13, 'prize': 30}, {'id': 'L', 'x': 9, 'y': 18, 'prize': 50}], 'depot': 'A', 'max_length': 20.0, 'route_length': 19.76340381965992, 'collected_prize': 130.0, 'objective': 130.0}","['A', 'I', 'G', 'F', 'B', 'C', 'E', 'H', 'A']",20,csv,names | |
| OP,OP,"Thereβs a small sandwich cart that rolls out from a commissary every morning and needs a single round trip: pick which street corners and pop-up events to visit, donβt go to the same spot twice, and make sure the whole trip fits the allotted driving time. The goal is simple β pick the combination of stops whose estimated sales add up to the biggest total β by summing each stopβs expected income β without blowing the time budget. The concrete stop list and numbers are shown below. | |
| Below are the 14 locations (the commissary is node A) and the maximum allowed route length 28.0; pick the combination of stops that yields the highest total sales without exceeding the limit. | |
| | stop_id | x_coordinate_on_map | y_coordinate_on_map | expected_sales_at_stop | | |
| |---|---|---|---| | |
| | A | 19 | 24 | 0 | | |
| | B | 14 | 28 | 20 | | |
| | C | 12 | 26 | 20 | | |
| | D | 12 | 22 | 20 | | |
| | E | 14 | 15 | 30 | | |
| | F | 13 | 33 | 40 | | |
| | G | 15 | 8 | 40 | | |
| | H | 14 | 31 | 50 | | |
| | I | 18 | 25 | 10 | | |
| | J | 19 | 24 | 10 | | |
| | K | 16 | 21 | 10 | | |
| | L | 18 | 26 | 10 | | |
| | M | 17 | 19 | 20 | | |
| | N | 10 | 21 | 20 | | |
| Start and finish at A, visit each stop at most once, and keep the entire trip within 28.0. | |
| When you send back the chosen route, just use a tiny JSON shape like this so it's easy to read and parse: | |
| { | |
| ""solution"": [cart_depot, corner_id, ..., cart_depot] | |
| } | |
| Think of that array as the trip: start at the commissary (the first item), list each corner or event you want to hit in order, and finish back at the commissary (the last item). It's just a simple form β the sketch above shows the shape I expect, not the actual stops. | |
| Please use the exact identifiers from the instance input β don't 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"".","{'coordinates': [[19, 24], [14, 28], [12, 26], [12, 22], [14, 15], [13, 33], [15, 8], [14, 31], [18, 25], [19, 24], [16, 21], [18, 26], [17, 19], [10, 21]], 'prizes': [0, 20, 20, 20, 30, 40, 40, 50, 10, 10, 10, 10, 20, 20], 'depot': 0, 'max_length': 28.0, 'route_length': 27.823313656145572, 'collected_prize': 160.0, 'objective': 160.0}","[0, 11, 8, 1, 7, 5, 2, 9, 0]",160.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 14, 'y': 28, 'prize': 20}, {'id': 'C', 'x': 12, 'y': 26, 'prize': 20}, {'id': 'D', 'x': 12, 'y': 22, 'prize': 20}, {'id': 'E', 'x': 14, 'y': 15, 'prize': 30}, {'id': 'F', 'x': 13, 'y': 33, 'prize': 40}, {'id': 'G', 'x': 15, 'y': 8, 'prize': 40}, {'id': 'H', 'x': 14, 'y': 31, 'prize': 50}, {'id': 'I', 'x': 18, 'y': 25, 'prize': 10}, {'id': 'J', 'x': 19, 'y': 24, 'prize': 10}, {'id': 'K', 'x': 16, 'y': 21, 'prize': 10}, {'id': 'L', 'x': 18, 'y': 26, 'prize': 10}, {'id': 'M', 'x': 17, 'y': 19, 'prize': 20}, {'id': 'N', 'x': 10, 'y': 21, 'prize': 20}], 'depot': 'A', 'max_length': 28.0, 'route_length': 27.823313656145572, 'collected_prize': 160.0, 'objective': 160.0}","['A', 'L', 'I', 'B', 'H', 'F', 'C', 'J', 'A']",21,markdown_table,names | |
| OP,OP,"Recently a docent was asked to design a casual gallery circuit: it must leave the museum, hit a handful of galleries without returning to any already seen, and then circle back to the museum. The point is to choose stops that, when their interest scores are added up, give the highest total possible, all while the total walk doesnβt exceed the allowed distance. The concrete details will be shown below. | |
| { | |
| ""total_locations"": 13, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": ""A"", | |
| ""x_coord"": 10, | |
| ""y_coord"": 14, | |
| ""interest_score"": 0 | |
| }, | |
| { | |
| ""location_id"": ""B"", | |
| ""x_coord"": 18, | |
| ""y_coord"": 13, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""C"", | |
| ""x_coord"": 16, | |
| ""y_coord"": 9, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""D"", | |
| ""x_coord"": 16, | |
| ""y_coord"": 13, | |
| ""interest_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""E"", | |
| ""x_coord"": 7, | |
| ""y_coord"": 9, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""F"", | |
| ""x_coord"": 11, | |
| ""y_coord"": 12, | |
| ""interest_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""G"", | |
| ""x_coord"": 10, | |
| ""y_coord"": 18, | |
| ""interest_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""H"", | |
| ""x_coord"": 11, | |
| ""y_coord"": 20, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""I"", | |
| ""x_coord"": 10, | |
| ""y_coord"": 22, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""J"", | |
| ""x_coord"": 10, | |
| ""y_coord"": 26, | |
| ""interest_score"": 15 | |
| }, | |
| { | |
| ""location_id"": ""K"", | |
| ""x_coord"": 8, | |
| ""y_coord"": 17, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""L"", | |
| ""x_coord"": 8, | |
| ""y_coord"": 13, | |
| ""interest_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""M"", | |
| ""x_coord"": 5, | |
| ""y_coord"": 11, | |
| ""interest_score"": 10 | |
| } | |
| ], | |
| ""museum_node"": ""A"", | |
| ""max_walk_distance"": 6.0 | |
| } | |
| If you want to return the chosen circuit, a neat, minimal way to do it is with a tiny JSON snippet like this: | |
| { | |
| ""solution"": [museum_id, gallery_id, ..., museum_id] | |
| } | |
| Here ""solution"" is just the ordered list of stops on the walk β start at the museum, list each gallery you visit (at most once), and finish back at the museum. Think of it like filling in a simple itinerary form: the items inside the brackets are the place identifiers in visit order. This is only a sketch of the shape I expect, not the actual route. | |
| Please 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β.""","{'coordinates': [[10, 14], [18, 13], [16, 9], [16, 13], [7, 9], [11, 12], [10, 18], [11, 20], [10, 22], [10, 26], [8, 17], [8, 13], [5, 11]], 'prizes': [0, 10, 10, 5, 10, 5, 5, 10, 10, 15, 10, 10, 10], 'depot': 0, 'max_length': 6.0, 'route_length': 4.47213595499958, 'collected_prize': 10.0, 'objective': 10.0}","[0, 11, 0]",10.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'C', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'D', 'x': 16, 'y': 13, 'prize': 5}, {'id': 'E', 'x': 7, 'y': 9, 'prize': 10}, {'id': 'F', 'x': 11, 'y': 12, 'prize': 5}, {'id': 'G', 'x': 10, 'y': 18, 'prize': 5}, {'id': 'H', 'x': 11, 'y': 20, 'prize': 10}, {'id': 'I', 'x': 10, 'y': 22, 'prize': 10}, {'id': 'J', 'x': 10, 'y': 26, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'L', 'x': 8, 'y': 13, 'prize': 10}, {'id': 'M', 'x': 5, 'y': 11, 'prize': 10}], 'depot': 'A', 'max_length': 6.0, 'route_length': 4.47213595499958, 'collected_prize': 10.0, 'objective': 10.0}","['A', 'L', 'A']",22,json,names | |
| OP,OP,"Back at the community center the challenge is to map a single circular tour that starts and stops at base, visits some neighborhoods without repeating any stop, and finishes within the shiftβs time allowance. The way to tell which tour is better is by how much donation total it collects β simply sum the donations from every neighborhood visited β and only those tours that keep the full drive under the time cap count. The detailed list of locations, travel times, and donation estimates appears below. | |
| There are 12 locations including the community center 1; any feasible circular tour must start and end at 1 and finish within the shift time 8.0. | |
| | location_id | map_x_coordinate | map_y_coordinate | donation_estimate | | |
| |---|---|---|---| | |
| | 1 | 4 | 7 | 0 | | |
| | 2 | 4 | 12 | 20 | | |
| | 3 | 2 | 14 | 30 | | |
| | 4 | 3 | 9 | 15 | | |
| | 5 | 4 | 8 | 10 | | |
| | 6 | 7 | 11 | 20 | | |
| | 7 | 8 | 9 | 20 | | |
| | 8 | 7 | 8 | 20 | | |
| | 9 | 6 | 7 | 15 | | |
| | 10 | 5 | 8 | 10 | | |
| | 11 | 6 | 5 | 25 | | |
| | 12 | 4 | 16 | 30 | | |
| Only tours that return to 1 and keep the total drive under 8.0 count toward the summed donations from these 12 locations. | |
| When you give the route back, just use this simple JSON shape so it's easy to read and check: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| This is just a sketch of the shape I need: the ""solution"" entry is an ordered list of stops on the circular tour, starting and ending at base (the first and last entries are the depot), and the items in between are the neighborhoods you plan to visit. Treat the placeholders as placeholders β replace them with the exact identifiers from the instance when you send the real answer. | |
| Please make sure you use the identifiers exactly as they appear in the 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β.","{'coordinates': [[4, 7], [4, 12], [2, 14], [3, 9], [4, 8], [7, 11], [8, 9], [7, 8], [6, 7], [5, 8], [6, 5], [4, 16]], 'prizes': [0, 20, 30, 15, 10, 20, 20, 20, 15, 10, 25, 30], 'depot': 0, 'max_length': 8.0, 'route_length': 7.99070478491457, 'collected_prize': 55.0, 'objective': 55.0}","[0, 4, 9, 8, 7, 0]",55.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 4, 'y': 12, 'prize': 20}, {'id': 3, 'x': 2, 'y': 14, 'prize': 30}, {'id': 4, 'x': 3, 'y': 9, 'prize': 15}, {'id': 5, 'x': 4, 'y': 8, 'prize': 10}, {'id': 6, 'x': 7, 'y': 11, 'prize': 20}, {'id': 7, 'x': 8, 'y': 9, 'prize': 20}, {'id': 8, 'x': 7, 'y': 8, 'prize': 20}, {'id': 9, 'x': 6, 'y': 7, 'prize': 15}, {'id': 10, 'x': 5, 'y': 8, 'prize': 10}, {'id': 11, 'x': 6, 'y': 5, 'prize': 25}, {'id': 12, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 8.0, 'route_length': 7.99070478491457, 'collected_prize': 55.0, 'objective': 55.0}","[1, 5, 10, 9, 8, 1]",23,markdown_table,1 | |
| OP,OP,"Thereβs a freelance photographer trying to squeeze the most out of a single daylight walk: start at the hotel, visit a handful of landmarks (each only once), and return to the hotel before the light fades. The comparison between possible routes comes down to total artistic value β just add the value numbers for each visited landmark β and any route that goes over the available walking time or repeats a spot is out. The specific places, their scores, and time estimates are listed below. | |
| # total_locations_including_hotel=12 | |
| # hotel_node_id=A | |
| # max_daylight_walk_time=27.0 | |
| site_id,x_coordinate_map,y_coordinate_map,artistic_value_score | |
| A,19,24,0 | |
| B,16,28,20 | |
| C,12,26,20 | |
| D,22,17,30 | |
| E,19,15,30 | |
| F,14,15,30 | |
| G,11,18,30 | |
| H,17,28,30 | |
| I,10,32,40 | |
| J,21,25,50 | |
| K,18,25,10 | |
| L,15,23,10 | |
| Also, when you give me the chosen route, please stick to this simple JSON shape so itβs easy to read and machine-friendly: | |
| { | |
| ""solution"": [""hotel_id"", ""landmark_id"", ..., ""hotel_id""] | |
| } | |
| Think of this like a short form: ""solution"" is the ordered list of stops β start at the hotel, list each landmark you want to visit (each at most once), and finish back at the hotel. This JSON is just a sketch of the shape I expect, not the actual answer. | |
| 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β.""","{'coordinates': [[19, 24], [16, 28], [12, 26], [22, 17], [19, 15], [14, 15], [11, 18], [17, 28], [10, 32], [21, 25], [18, 25], [15, 23]], 'prizes': [0, 20, 20, 30, 30, 30, 30, 30, 40, 50, 10, 10], 'depot': 0, 'max_length': 27.0, 'route_length': 22.236227905404697, 'collected_prize': 140.0, 'objective': 140.0}","[0, 9, 10, 7, 1, 2, 11, 0]",140.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 28, 'prize': 20}, {'id': 'C', 'x': 12, 'y': 26, 'prize': 20}, {'id': 'D', 'x': 22, 'y': 17, 'prize': 30}, {'id': 'E', 'x': 19, 'y': 15, 'prize': 30}, {'id': 'F', 'x': 14, 'y': 15, 'prize': 30}, {'id': 'G', 'x': 11, 'y': 18, 'prize': 30}, {'id': 'H', 'x': 17, 'y': 28, 'prize': 30}, {'id': 'I', 'x': 10, 'y': 32, 'prize': 40}, {'id': 'J', 'x': 21, 'y': 25, 'prize': 50}, {'id': 'K', 'x': 18, 'y': 25, 'prize': 10}, {'id': 'L', 'x': 15, 'y': 23, 'prize': 10}], 'depot': 'A', 'max_length': 27.0, 'route_length': 22.236227905404697, 'collected_prize': 140.0, 'objective': 140.0}","['A', 'J', 'K', 'H', 'B', 'C', 'L', 'A']",24,csv,names | |
| OP,OP,"Out on the road with the bookmobile, the plan is to run one continuous loop from the depot and back, skipping any repeat visits to the same cluster and keeping the total miles within the daily cap. What matters most is the total number of books checked out along that loop β just add the expected checkouts at each visited cluster to get that score. The exact stops and their expected checkouts are listed below. | |
| # total_locations_including_depot=11 | |
| # library_depot_id=1 | |
| # daily_mileage_cap=24.0 | |
| cluster_id,x_coordinate_miles,y_coordinate_miles,expected_checkouts | |
| 1,4,7,0 | |
| 2,4,12,20 | |
| 3,2,14,30 | |
| 4,3,10,15 | |
| 5,3,9,15 | |
| 6,4,8,10 | |
| 7,7,11,20 | |
| 8,7,8,20 | |
| 9,9,16,30 | |
| 10,9,18,50 | |
| 11,4,16,30 | |
| Oh β and when you send the chosen loop back, please use this simple JSON shape so it's easy to read by whatever's checking it: | |
| { | |
| ""solution"": [""depot_id"", ""location_id"", ""..."", ""depot_id""] | |
| } | |
| Think of it like a little form: the solution array lists the stops in order, starting and ending at the depot, with any intermediate clusters in the middle (the ""..."" just stands in for however many stops you pick). This is just a sketch of the expected shape β not the actual route. | |
| Please make sure to use the exact stop identifiers from 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β.""","{'coordinates': [[4, 7], [4, 12], [2, 14], [3, 10], [3, 9], [4, 8], [7, 11], [7, 8], [9, 16], [9, 18], [4, 16]], 'prizes': [0, 20, 30, 15, 15, 10, 20, 20, 30, 50, 30], 'depot': 0, 'max_length': 24.0, 'route_length': 23.300365344378946, 'collected_prize': 160.0, 'objective': 160.0}","[0, 5, 4, 3, 1, 2, 10, 6, 7, 0]",160.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 4, 'y': 12, 'prize': 20}, {'id': 3, 'x': 2, 'y': 14, 'prize': 30}, {'id': 4, 'x': 3, 'y': 10, 'prize': 15}, {'id': 5, 'x': 3, 'y': 9, 'prize': 15}, {'id': 6, 'x': 4, 'y': 8, 'prize': 10}, {'id': 7, 'x': 7, 'y': 11, 'prize': 20}, {'id': 8, 'x': 7, 'y': 8, 'prize': 20}, {'id': 9, 'x': 9, 'y': 16, 'prize': 30}, {'id': 10, 'x': 9, 'y': 18, 'prize': 50}, {'id': 11, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 24.0, 'route_length': 23.300365344378946, 'collected_prize': 160.0, 'objective': 160.0}","[1, 6, 5, 4, 2, 3, 11, 7, 8, 1]",25,csv,1 | |
| OP,OP,"Thereβs a simple challenge at the research cabin: figure out a circular route that starts and ends there, checks several plant plots without stopping at the same plot twice, and fits inside the teamβs fuel range. The measure of a good trip is the total rarity collected β sum up the rarity ratings of the visited plots, and the bigger that sum, the better the trip. The specific details (plots, distances, fuel cap, and rarity scores) appear below. | |
| There are 13 locations listed; begin and end at 1, and keep the round trip within 10.0. | |
| Plot 1 is at (4, 7) with rarity 0. | |
| Plot 2 is at (5, 11) with rarity 20. | |
| Plot 3 is at (4, 12) with rarity 20. | |
| Plot 4 is at (2, 14) with rarity 30. | |
| Plot 5 is at (3, 9) with rarity 15. | |
| Plot 6 is at (7, 8) with rarity 20. | |
| Plot 7 is at (6, 7) with rarity 15. | |
| Plot 8 is at (5, 8) with rarity 10. | |
| Plot 9 is at (5, 6) with rarity 10. | |
| Plot 10 is at (13, 13) with rarity 40. | |
| Plot 11 is at (14, 14) with rarity 40. | |
| Plot 12 is at (9, 18) with rarity 50. | |
| Plot 13 is at (4, 16) with rarity 30. | |
| Aim to maximize total rarity while keeping the full loop under 10.0. | |
| When you send the route back, just stick to a tiny JSON sketch like this so it's easy to read and parse: | |
| { | |
| ""solution"": [cabin_id, plot_id, ..., cabin_id] | |
| } | |
| Think of that as a simple form: ""solution"" is the list that spells out the circular trip β start at the cabin_id, then list the plot_id values you visit in order (each plot at most once), and finish by returning to the same cabin_id. This block is only a sketch of the shape I expect, not the actual route. | |
| Please use the exact identifiers from the instance input β do not 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [2, 14], [3, 9], [7, 8], [6, 7], [5, 8], [5, 6], [13, 13], [14, 14], [9, 18], [4, 16]], 'prizes': [0, 20, 20, 30, 15, 20, 15, 10, 10, 40, 40, 50, 30], 'depot': 0, 'max_length': 10.0, 'route_length': 9.886349517372675, 'collected_prize': 60.0, 'objective': 60.0}","[0, 6, 5, 7, 4, 0]",60.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 4, 'y': 12, 'prize': 20}, {'id': 4, 'x': 2, 'y': 14, 'prize': 30}, {'id': 5, 'x': 3, 'y': 9, 'prize': 15}, {'id': 6, 'x': 7, 'y': 8, 'prize': 20}, {'id': 7, 'x': 6, 'y': 7, 'prize': 15}, {'id': 8, 'x': 5, 'y': 8, 'prize': 10}, {'id': 9, 'x': 5, 'y': 6, 'prize': 10}, {'id': 10, 'x': 13, 'y': 13, 'prize': 40}, {'id': 11, 'x': 14, 'y': 14, 'prize': 40}, {'id': 12, 'x': 9, 'y': 18, 'prize': 50}, {'id': 13, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 10.0, 'route_length': 9.886349517372675, 'collected_prize': 60.0, 'objective': 60.0}","[1, 7, 6, 8, 5, 1]",26,nl,1 | |
| OP,OP,"Lately Iβve been trying to plan a one-loop street-music route that starts and ends at my home base, plays at selected plazas a single time each, and never revisits a plaza after a performance. The choice thatβs better is the one that brings the highest total tips β you calculate that by summing the expected tips at each plaza you include in the loop. The entire walk must stay within my maximum walking-time budget so I can actually complete the loop. The exact list of plazas, their expected tips, and the walking times between them are listed below. | |
| Here are the 11 locations (including my home base A), and my max total walking time is 28.0. | |
| | location_id | map_x_coordinate | map_y_coordinate | expected_tips | | |
| |---|---|---|---| | |
| | A | 10 | 14 | 0 | | |
| | B | 14 | 13 | 5 | | |
| | C | 16 | 17 | 5 | | |
| | D | 16 | 19 | 10 | | |
| | E | 15 | 20 | 10 | | |
| | F | 13 | 20 | 10 | | |
| | G | 11 | 17 | 5 | | |
| | H | 11 | 20 | 10 | | |
| | I | 10 | 22 | 10 | | |
| | J | 10 | 26 | 15 | | |
| | K | 8 | 19 | 15 | | |
| Iβll use these details to pick the single-loop route that brings the highest total tips while staying within 28.0. | |
| Oh, and when you send back the chosen loop, a tiny JSON layout makes it super easy to read β something like this: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Think of that as a simple form: ""solution"" is the ordered list of stops in the loop, starting at your home base (the depot), listing each plaza you play at once, and then returning to the home base to close the loop. The example above just shows the shape I need β not your actual tour. | |
| Please use the exact identifiers from the instance input β don't 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β.","{'coordinates': [[10, 14], [14, 13], [16, 17], [16, 19], [15, 20], [13, 20], [11, 17], [11, 20], [10, 22], [10, 26], [8, 19]], 'prizes': [0, 5, 5, 10, 10, 10, 5, 10, 10, 15, 15], 'depot': 0, 'max_length': 28.0, 'route_length': 27.23623920308862, 'collected_prize': 75.0, 'objective': 75.0}","[0, 1, 2, 3, 4, 5, 7, 8, 10, 0]",75.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'C', 'x': 16, 'y': 17, 'prize': 5}, {'id': 'D', 'x': 16, 'y': 19, 'prize': 10}, {'id': 'E', 'x': 15, 'y': 20, 'prize': 10}, {'id': 'F', 'x': 13, 'y': 20, 'prize': 10}, {'id': 'G', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'H', 'x': 11, 'y': 20, 'prize': 10}, {'id': 'I', 'x': 10, 'y': 22, 'prize': 10}, {'id': 'J', 'x': 10, 'y': 26, 'prize': 15}, {'id': 'K', 'x': 8, 'y': 19, 'prize': 15}], 'depot': 'A', 'max_length': 28.0, 'route_length': 27.23623920308862, 'collected_prize': 75.0, 'objective': 75.0}","['A', 'B', 'C', 'D', 'E', 'F', 'H', 'I', 'K', 'A']",27,markdown_table,names | |
| OP,OP,"On a typical morning the electrician plans a single run: depart the workshop, hit a handful of customers, then return, all before the driving window closes. The aim is to choose stops that make the largest total bill β add up each chosen jobβs fee to get that total β while never exceeding the available driving time and never visiting the same customer twice. The specific job list and timing details are shown below. | |
| { | |
| ""total_locations_including_workshop"": 13, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": 1, | |
| ""x_coordinate"": 19, | |
| ""y_coordinate"": 24, | |
| ""job_fee"": 0 | |
| }, | |
| { | |
| ""location_id"": 2, | |
| ""x_coordinate"": 12, | |
| ""y_coordinate"": 24, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 3, | |
| ""x_coordinate"": 14, | |
| ""y_coordinate"": 28, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 4, | |
| ""x_coordinate"": 16, | |
| ""y_coordinate"": 28, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 5, | |
| ""x_coordinate"": 12, | |
| ""y_coordinate"": 26, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 6, | |
| ""x_coordinate"": 19, | |
| ""y_coordinate"": 15, | |
| ""job_fee"": 30 | |
| }, | |
| { | |
| ""location_id"": 7, | |
| ""x_coordinate"": 11, | |
| ""y_coordinate"": 18, | |
| ""job_fee"": 30 | |
| }, | |
| { | |
| ""location_id"": 8, | |
| ""x_coordinate"": 9, | |
| ""y_coordinate"": 29, | |
| ""job_fee"": 40 | |
| }, | |
| { | |
| ""location_id"": 9, | |
| ""x_coordinate"": 21, | |
| ""y_coordinate"": 25, | |
| ""job_fee"": 50 | |
| }, | |
| { | |
| ""location_id"": 10, | |
| ""x_coordinate"": 14, | |
| ""y_coordinate"": 19, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 11, | |
| ""x_coordinate"": 17, | |
| ""y_coordinate"": 19, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 12, | |
| ""x_coordinate"": 10, | |
| ""y_coordinate"": 21, | |
| ""job_fee"": 20 | |
| }, | |
| { | |
| ""location_id"": 13, | |
| ""x_coordinate"": 15, | |
| ""y_coordinate"": 23, | |
| ""job_fee"": 10 | |
| } | |
| ], | |
| ""workshop_node_id"": 1, | |
| ""available_driving_time"": 20.0 | |
| } | |
| And when you want to tell me the chosen run, just hand it back in a tiny JSON snippet like this β super simple and friendly to read: | |
| { | |
| ""solution"": [workshop_id, customer_id, ..., workshop_id] | |
| } | |
| Think of that as a little form: ""solution"" is the ordered list of stops β start at the workshop, go through each customer once in the given order, and finish back at the workshop. The placeholders there are just examples of the shape I expect, not real IDs. | |
| 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β.","{'coordinates': [[19, 24], [12, 24], [14, 28], [16, 28], [12, 26], [19, 15], [11, 18], [9, 29], [21, 25], [14, 19], [17, 19], [10, 21], [15, 23]], 'prizes': [0, 20, 20, 20, 20, 30, 30, 40, 50, 20, 20, 20, 10], 'depot': 0, 'max_length': 20.0, 'route_length': 19.289145011555537, 'collected_prize': 100.0, 'objective': 100.0}","[0, 8, 3, 2, 12, 0]",100.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 1, 'x': 19, 'y': 24, 'prize': 0}, {'id': 2, 'x': 12, 'y': 24, 'prize': 20}, {'id': 3, 'x': 14, 'y': 28, 'prize': 20}, {'id': 4, 'x': 16, 'y': 28, 'prize': 20}, {'id': 5, 'x': 12, 'y': 26, 'prize': 20}, {'id': 6, 'x': 19, 'y': 15, 'prize': 30}, {'id': 7, 'x': 11, 'y': 18, 'prize': 30}, {'id': 8, 'x': 9, 'y': 29, 'prize': 40}, {'id': 9, 'x': 21, 'y': 25, 'prize': 50}, {'id': 10, 'x': 14, 'y': 19, 'prize': 20}, {'id': 11, 'x': 17, 'y': 19, 'prize': 20}, {'id': 12, 'x': 10, 'y': 21, 'prize': 20}, {'id': 13, 'x': 15, 'y': 23, 'prize': 10}], 'depot': 1, 'max_length': 20.0, 'route_length': 19.289145011555537, 'collected_prize': 100.0, 'objective': 100.0}","[1, 9, 4, 3, 13, 1]",28,json,1 | |
| OP,OP,"Someone on the team is coordinating delivery routes: the van leaves the farm, visits chosen market spots one time only, and returns to the farm before running out of fuel. What makes one route better than another is how much money it brings in β add up the projected sales at every market on the route to get the total. Practical requirements are clear: start and finish at the farm, donβt visit the same market twice, and donβt blow past the vehicleβs fuel budget. The specific stop options and fuel details follow below. | |
| Below are 13 locations (the farm node is A); any chosen round trip must return to the farm and stay within 28.0 total distance. | |
| | location_id | x_coord | y_coord | projected_sales | | |
| |---|---|---|---| | |
| | A | 10 | 14 | 0 | | |
| | B | 18 | 15 | 10 | | |
| | C | 18 | 13 | 10 | | |
| | D | 16 | 9 | 10 | | |
| | E | 15 | 11 | 10 | | |
| | F | 14 | 13 | 5 | | |
| | G | 14 | 15 | 5 | | |
| | H | 11 | 6 | 15 | | |
| | I | 8 | 5 | 15 | | |
| | J | 11 | 17 | 5 | | |
| | K | 10 | 26 | 15 | | |
| | L | 8 | 17 | 10 | | |
| | M | 4 | 18 | 10 | | |
| Plan routes that start and end at A, visit each market at most once, and keep the total route length β€ 28.0. | |
| Oh, and when you send the chosen route, please follow this simple JSON layout so whoeverβs reading it can parse it easily: | |
| { | |
| ""solution"": [farm_id, market_id, ..., farm_id] | |
| } | |
| This just shows the shape I expect: ""solution"" is an ordered list of stops β start at the farm, list each market you plan to visit (once each), and finish back at the farm. Itβs just a sketch of the format, not the actual route. | |
| 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β.""","{'coordinates': [[10, 14], [18, 15], [18, 13], [16, 9], [15, 11], [14, 13], [14, 15], [11, 6], [8, 5], [11, 17], [10, 26], [8, 17], [4, 18]], 'prizes': [0, 10, 10, 10, 10, 5, 5, 15, 15, 5, 15, 10, 10], 'depot': 0, 'max_length': 28.0, 'route_length': 26.80801559292381, 'collected_prize': 55.0, 'objective': 55.0}","[0, 5, 4, 3, 7, 8, 0]",55.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 15, 'prize': 10}, {'id': 'C', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'D', 'x': 16, 'y': 9, 'prize': 10}, {'id': 'E', 'x': 15, 'y': 11, 'prize': 10}, {'id': 'F', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'G', 'x': 14, 'y': 15, 'prize': 5}, {'id': 'H', 'x': 11, 'y': 6, 'prize': 15}, {'id': 'I', 'x': 8, 'y': 5, 'prize': 15}, {'id': 'J', 'x': 11, 'y': 17, 'prize': 5}, {'id': 'K', 'x': 10, 'y': 26, 'prize': 15}, {'id': 'L', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'M', 'x': 4, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 28.0, 'route_length': 26.80801559292381, 'collected_prize': 55.0, 'objective': 55.0}","['A', 'F', 'E', 'D', 'H', 'I', 'A']",29,markdown_table,names | |
| OP,OP,"Out on a shift, the plan is to start at the shelter, make a single loop through some of the mapped stray hotspots (no revisits allowed), and be back within the time allocated for the patrol. The choice is which hotspots to include and how to order them so the route stays inside the time window; routes are valued by the sum of the rescue-priority scores of the places visited β add those numbers up to see how good a route is β and the aim is to get as big a total as possible while keeping within the time. The full list of hotspots, their scores, and the time cap are below. | |
| # total_locations_including_shelter=15 | |
| # shelter_node_id=A | |
| # max_patrol_duration=9.0 | |
| location_node_id,map_x,map_y,rescue_priority_score | |
| A,19,24,0 | |
| B,14,28,20 | |
| C,20,28,20 | |
| D,12,26,20 | |
| E,12,22,20 | |
| F,22,17,30 | |
| G,14,15,30 | |
| H,12,29,30 | |
| I,9,29,40 | |
| J,15,8,40 | |
| K,18,25,10 | |
| L,21,21,10 | |
| M,18,26,10 | |
| N,17,28,10 | |
| O,17,19,20 | |
| Also, when you send the chosen loop back, please stick to a simple JSON layout so it's easy to parse. Something like this will do: | |
| { | |
| ""solution"": [shelter_id, hotspot_id, ..., shelter_id] | |
| } | |
| This just means ""solution"" is the single patrol loop written as a list of location identifiers, starting and ending at the shelter. The names in the array are placeholders (shelter_id for the depot, hotspot_id for the places you visit) and the ""..."" just indicates other stops go in between. It's only a sketch of the shape I want β not the actual route. | |
| Use the exact identifiers from the instance input when you fill that in β 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β.","{'coordinates': [[19, 24], [14, 28], [20, 28], [12, 26], [12, 22], [22, 17], [14, 15], [12, 29], [9, 29], [15, 8], [18, 25], [21, 21], [18, 26], [17, 28], [17, 19]], 'prizes': [0, 20, 20, 20, 20, 30, 30, 30, 40, 40, 10, 10, 10, 10, 20], 'depot': 0, 'max_length': 9.0, 'route_length': 4.650281539872885, 'collected_prize': 20.0, 'objective': 20.0}","[0, 12, 10, 0]",20.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 14, 'y': 28, 'prize': 20}, {'id': 'C', 'x': 20, 'y': 28, 'prize': 20}, {'id': 'D', 'x': 12, 'y': 26, 'prize': 20}, {'id': 'E', 'x': 12, 'y': 22, 'prize': 20}, {'id': 'F', 'x': 22, 'y': 17, 'prize': 30}, {'id': 'G', 'x': 14, 'y': 15, 'prize': 30}, {'id': 'H', 'x': 12, 'y': 29, 'prize': 30}, {'id': 'I', 'x': 9, 'y': 29, 'prize': 40}, {'id': 'J', 'x': 15, 'y': 8, 'prize': 40}, {'id': 'K', 'x': 18, 'y': 25, 'prize': 10}, {'id': 'L', 'x': 21, 'y': 21, 'prize': 10}, {'id': 'M', 'x': 18, 'y': 26, 'prize': 10}, {'id': 'N', 'x': 17, 'y': 28, 'prize': 10}, {'id': 'O', 'x': 17, 'y': 19, 'prize': 20}], 'depot': 'A', 'max_length': 9.0, 'route_length': 4.650281539872885, 'collected_prize': 20.0, 'objective': 20.0}","['A', 'M', 'K', 'A']",30,csv,names | |
| OP,OP,"Thereβs an artisan ice cream cart that needs to run one clean loop from the storage garage and back, hitting a selection of parks and events without repeating any stop. The decision is which stops to include so the cart stays within the allotted vending hours and travel time and brings in the most expected sales. The winner is the route with the highest total expected ice cream sales β you calculate that by adding together the expected sales for every stop visited β while making sure nothing is visited twice and the whole trip fits the time limit. The full list of places, their expected sales, and the time/travel numbers are shown below. | |
| There are 14 total locations (including the storage garage A), and the single-loop route must fit within 28.0. | |
| | location_id | x_coordinate | y_coordinate | expected_ice_cream_sales | | |
| |---|---|---|---| | |
| | A | 19 | 24 | 0 | | |
| | B | 12 | 24 | 20 | | |
| | C | 12 | 26 | 20 | | |
| | D | 21 | 27 | 20 | | |
| | E | 22 | 17 | 30 | | |
| | F | 11 | 18 | 30 | | |
| | G | 9 | 29 | 40 | | |
| | H | 21 | 21 | 10 | | |
| | I | 16 | 21 | 10 | | |
| | J | 18 | 26 | 10 | | |
| | K | 17 | 28 | 10 | | |
| | L | 14 | 19 | 20 | | |
| | M | 17 | 19 | 20 | | |
| | N | 10 | 21 | 20 | | |
| The chosen loop must start and end at A, visit locations at most once, and maximize the sum of expected ice cream sales without exceeding 28.0. | |
| Oh, and to keep things machine- and human-friendly, please return the chosen tour in this simple JSON shape β just the garage (depot), the stops in order, and the garage again at the end: | |
| { | |
| ""solution"": [""garage_id"", ""park_id"", ..., ""garage_id""] | |
| } | |
| Think of ""solution"" as the ordered checklist: start at the garage, then the parks/events you plan to visit in order, and finish back at the garage. The quoted placeholders are just showing the shape I need β replace them with the actual IDs from the instance when you give the answer. | |
| Important: 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"".","{'coordinates': [[19, 24], [12, 24], [12, 26], [21, 27], [22, 17], [11, 18], [9, 29], [21, 21], [16, 21], [18, 26], [17, 28], [14, 19], [17, 19], [10, 21]], 'prizes': [0, 20, 20, 20, 30, 30, 40, 10, 10, 10, 10, 20, 20, 20], 'depot': 0, 'max_length': 28.0, 'route_length': 27.59538129221577, 'collected_prize': 130.0, 'objective': 130.0}","[0, 2, 1, 13, 5, 11, 12, 0]",130.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 12, 'y': 24, 'prize': 20}, {'id': 'C', 'x': 12, 'y': 26, 'prize': 20}, {'id': 'D', 'x': 21, 'y': 27, 'prize': 20}, {'id': 'E', 'x': 22, 'y': 17, 'prize': 30}, {'id': 'F', 'x': 11, 'y': 18, 'prize': 30}, {'id': 'G', 'x': 9, 'y': 29, 'prize': 40}, {'id': 'H', 'x': 21, 'y': 21, 'prize': 10}, {'id': 'I', 'x': 16, 'y': 21, 'prize': 10}, {'id': 'J', 'x': 18, 'y': 26, 'prize': 10}, {'id': 'K', 'x': 17, 'y': 28, 'prize': 10}, {'id': 'L', 'x': 14, 'y': 19, 'prize': 20}, {'id': 'M', 'x': 17, 'y': 19, 'prize': 20}, {'id': 'N', 'x': 10, 'y': 21, 'prize': 20}], 'depot': 'A', 'max_length': 28.0, 'route_length': 27.59538129221577, 'collected_prize': 130.0, 'objective': 130.0}","['A', 'C', 'B', 'N', 'F', 'L', 'M', 'A']",31,markdown_table,names | |
| OP,OP,"Thereβs a single-day promotion to plan: leave the publishing office, drop into a handful of indie bookshops (no repeats), and loop back to the office before the day runs out. Every shop has a publicity value β just add up the values for the shops on a given route to see how much publicity that route delivers; the higher the total, the better. The route must begin and end at the office, visit each shop at most once, and stay within the dayβs travel limit. Details about each shop and the travel limit are shown below. | |
| # total_locations_including_office=13 | |
| # publishing_office_id=1 | |
| # day_travel_limit=30.0 | |
| location_id,x_coordinate,y_coordinate,publicity_score | |
| 1,10,14,0 | |
| 2,18,13,10 | |
| 3,15,11,10 | |
| 4,16,17,5 | |
| 5,15,17,5 | |
| 6,15,20,10 | |
| 7,14,15,5 | |
| 8,14,5,10 | |
| 9,8,5,15 | |
| 10,7,9,10 | |
| 11,11,20,10 | |
| 12,10,26,15 | |
| 13,8,19,15 | |
| When youβve picked the shops for the day, just send the route back in this simple JSON shape so itβs easy to check: | |
| { | |
| ""solution"": [office_id, shop_id, ..., office_id] | |
| } | |
| ""solution"" is just the ordered list of places youβll visit, starting and ending at the office; each item is either the office identifier or a shop identifier, listed in the order youβll travel. Think of it as a short itinerary β first is where you leave from, last is where you return. This is just a sketch of the shape I need, not the actual answer. | |
| Please use the exact identifiers that 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β.""","{'coordinates': [[10, 14], [18, 13], [15, 11], [16, 17], [15, 17], [15, 20], [14, 15], [14, 5], [8, 5], [7, 9], [11, 20], [10, 26], [8, 19]], 'prizes': [0, 10, 10, 5, 5, 10, 5, 10, 15, 10, 10, 15, 15], 'depot': 0, 'max_length': 30.0, 'route_length': 29.61835925278013, 'collected_prize': 60.0, 'objective': 60.0}","[0, 12, 10, 5, 3, 1, 2, 0]",60.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 1, 'x': 10, 'y': 14, 'prize': 0}, {'id': 2, 'x': 18, 'y': 13, 'prize': 10}, {'id': 3, 'x': 15, 'y': 11, 'prize': 10}, {'id': 4, 'x': 16, 'y': 17, 'prize': 5}, {'id': 5, 'x': 15, 'y': 17, 'prize': 5}, {'id': 6, 'x': 15, 'y': 20, 'prize': 10}, {'id': 7, 'x': 14, 'y': 15, 'prize': 5}, {'id': 8, 'x': 14, 'y': 5, 'prize': 10}, {'id': 9, 'x': 8, 'y': 5, 'prize': 15}, {'id': 10, 'x': 7, 'y': 9, 'prize': 10}, {'id': 11, 'x': 11, 'y': 20, 'prize': 10}, {'id': 12, 'x': 10, 'y': 26, 'prize': 15}, {'id': 13, 'x': 8, 'y': 19, 'prize': 15}], 'depot': 1, 'max_length': 30.0, 'route_length': 29.61835925278013, 'collected_prize': 60.0, 'objective': 60.0}","[1, 13, 11, 6, 4, 2, 3, 1]",32,csv,1 | |
| OP,OP,"Many mornings the mobile bike tech wants to plan one route that starts and ends at the workshop, touches a selection of repair locations once each, and finishes within the technicianβs travel window. The decision is which customers to visit and the order to visit them; the better route is simply the one that brings in the most repair fees, calculated by adding up the fee at each visited stop. The whole loop has to fit inside the time/distance the tech has, and repeats arenβt allowed. The exact details are given below. | |
| { | |
| ""total_locations_including_workshop"": 11, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": ""A"", | |
| ""map_x_coordinate"": 19, | |
| ""map_y_coordinate"": 24, | |
| ""repair_fee_at_location"": 0 | |
| }, | |
| { | |
| ""location_id"": ""B"", | |
| ""map_x_coordinate"": 16, | |
| ""map_y_coordinate"": 28, | |
| ""repair_fee_at_location"": 20 | |
| }, | |
| { | |
| ""location_id"": ""C"", | |
| ""map_x_coordinate"": 19, | |
| ""map_y_coordinate"": 15, | |
| ""repair_fee_at_location"": 30 | |
| }, | |
| { | |
| ""location_id"": ""D"", | |
| ""map_x_coordinate"": 11, | |
| ""map_y_coordinate"": 18, | |
| ""repair_fee_at_location"": 30 | |
| }, | |
| { | |
| ""location_id"": ""E"", | |
| ""map_x_coordinate"": 12, | |
| ""map_y_coordinate"": 29, | |
| ""repair_fee_at_location"": 30 | |
| }, | |
| { | |
| ""location_id"": ""F"", | |
| ""map_x_coordinate"": 17, | |
| ""map_y_coordinate"": 28, | |
| ""repair_fee_at_location"": 30 | |
| }, | |
| { | |
| ""location_id"": ""G"", | |
| ""map_x_coordinate"": 19, | |
| ""map_y_coordinate"": 10, | |
| ""repair_fee_at_location"": 40 | |
| }, | |
| { | |
| ""location_id"": ""H"", | |
| ""map_x_coordinate"": 21, | |
| ""map_y_coordinate"": 25, | |
| ""repair_fee_at_location"": 50 | |
| }, | |
| { | |
| ""location_id"": ""I"", | |
| ""map_x_coordinate"": 16, | |
| ""map_y_coordinate"": 21, | |
| ""repair_fee_at_location"": 10 | |
| }, | |
| { | |
| ""location_id"": ""J"", | |
| ""map_x_coordinate"": 14, | |
| ""map_y_coordinate"": 19, | |
| ""repair_fee_at_location"": 20 | |
| }, | |
| { | |
| ""location_id"": ""K"", | |
| ""map_x_coordinate"": 17, | |
| ""map_y_coordinate"": 19, | |
| ""repair_fee_at_location"": 20 | |
| } | |
| ], | |
| ""workshop_location_id"": ""A"", | |
| ""max_route_length_allowed"": 11.0 | |
| } | |
| If you'd like the route back in a predictable shape, just send it in this simple layout: | |
| { | |
| ""solution"": [workshop_id, customer_id, ..., workshop_id] | |
| } | |
| Think of ""solution"" as the ordered loop: the first entry is the workshop where the tech starts, the middle entries are the customers visited (each at most once), and the final entry is the workshop again. The ""..."" just means any number of customer stops in between. This is just a sketch of the shape I expect, not the actual route. | |
| 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β.","{'coordinates': [[19, 24], [16, 28], [19, 15], [11, 18], [12, 29], [17, 28], [19, 10], [21, 25], [16, 21], [14, 19], [17, 19]], 'prizes': [0, 20, 30, 30, 30, 30, 40, 50, 10, 20, 20], 'depot': 0, 'max_length': 11.0, 'route_length': 10.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","[0, 1, 5, 0]",50.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 16, 'y': 28, 'prize': 20}, {'id': 'C', 'x': 19, 'y': 15, 'prize': 30}, {'id': 'D', 'x': 11, 'y': 18, 'prize': 30}, {'id': 'E', 'x': 12, 'y': 29, 'prize': 30}, {'id': 'F', 'x': 17, 'y': 28, 'prize': 30}, {'id': 'G', 'x': 19, 'y': 10, 'prize': 40}, {'id': 'H', 'x': 21, 'y': 25, 'prize': 50}, {'id': 'I', 'x': 16, 'y': 21, 'prize': 10}, {'id': 'J', 'x': 14, 'y': 19, 'prize': 20}, {'id': 'K', 'x': 17, 'y': 19, 'prize': 20}], 'depot': 'A', 'max_length': 11.0, 'route_length': 10.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","['A', 'B', 'F', 'A']",33,json,names | |
| OP,OP,"Recently the campus botanists decided to do a looped survey starting and ending at their lab, sampling several grassy and planted areas along the way. The planning question is which places to include on that loop so each gets visited at most once, the entire walk stays within the teamβs max distance, and the total ecological importance (simply the sum of the scores for the spots actually visited) is as high as it can be. The full list of sites and numbers is shown below. | |
| # total_sites_including_lab=14 | |
| # lab_node_id=A | |
| # max_survey_distance=22.0 | |
| site_id,x_coordinate,y_coordinate,ecological_importance_score | |
| A,19,24,0 | |
| B,12,24,20 | |
| C,14,28,20 | |
| D,20,28,20 | |
| E,21,27,20 | |
| F,19,15,30 | |
| G,11,18,30 | |
| H,12,29,30 | |
| I,9,29,40 | |
| J,14,31,50 | |
| K,7,36,50 | |
| L,14,19,20 | |
| M,17,19,20 | |
| N,15,23,10 | |
| If you want to hand me the planned loop, just drop it into a little JSON snippet like this so it's easy to read and parse: | |
| { | |
| ""solution"": [""lab_id"", ""site_id"", ""..."", ""lab_id""] | |
| } | |
| Here ""solution"" should be the tour: the first entry is the lab where you start, the last is the same lab (since it's a loop), and the things in between are the sites you visit in order. Think of it like filling in a simple form: list the lab, then the spots youβll walk to (each at most once), then back to the lab. | |
| This is just the shape I expect β a sketch, not the actual 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β.","{'coordinates': [[19, 24], [12, 24], [14, 28], [20, 28], [21, 27], [19, 15], [11, 18], [12, 29], [9, 29], [14, 31], [7, 36], [14, 19], [17, 19], [15, 23]], 'prizes': [0, 20, 20, 20, 20, 30, 30, 30, 40, 50, 50, 20, 20, 10], 'depot': 0, 'max_length': 22.0, 'route_length': 21.1310930077693, 'collected_prize': 110.0, 'objective': 110.0}","[0, 4, 3, 9, 2, 0]",110.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 'A', 'x': 19, 'y': 24, 'prize': 0}, {'id': 'B', 'x': 12, 'y': 24, 'prize': 20}, {'id': 'C', 'x': 14, 'y': 28, 'prize': 20}, {'id': 'D', 'x': 20, 'y': 28, 'prize': 20}, {'id': 'E', 'x': 21, 'y': 27, 'prize': 20}, {'id': 'F', 'x': 19, 'y': 15, 'prize': 30}, {'id': 'G', 'x': 11, 'y': 18, 'prize': 30}, {'id': 'H', 'x': 12, 'y': 29, 'prize': 30}, {'id': 'I', 'x': 9, 'y': 29, 'prize': 40}, {'id': 'J', 'x': 14, 'y': 31, 'prize': 50}, {'id': 'K', 'x': 7, 'y': 36, 'prize': 50}, {'id': 'L', 'x': 14, 'y': 19, 'prize': 20}, {'id': 'M', 'x': 17, 'y': 19, 'prize': 20}, {'id': 'N', 'x': 15, 'y': 23, 'prize': 10}], 'depot': 'A', 'max_length': 22.0, 'route_length': 21.1310930077693, 'collected_prize': 110.0, 'objective': 110.0}","['A', 'E', 'D', 'J', 'C', 'A']",34,csv,names | |
| OP,OP,"We operate a soup-kitchen van that always starts and finishes at the kitchen, and on any run we decide which places to visit to hand out meals. Each stop gets served once and we donβt go back to the same spot later. The route has to fit into the outreach time weβve got β driving plus the serving time at each stop β and the better route is the one that results in the highest total number of meals delivered, adding up the meals at each chosen stop and giving more weight to locations with greater need. Concrete stop-by-stop details are listed below. | |
| We list 14 locations including the kitchen at node 0; every route must fit within 21.0 total outreach time. | |
| | location_id | coord_x | coord_y | weighted_meals_at_location | | |
| |---|---|---|---| | |
| | 0 | 19 | 24 | 0 | | |
| | 1 | 12 | 24 | 20 | | |
| | 2 | 14 | 28 | 20 | | |
| | 3 | 20 | 28 | 20 | | |
| | 4 | 12 | 22 | 20 | | |
| | 5 | 19 | 15 | 30 | | |
| | 6 | 17 | 28 | 30 | | |
| | 7 | 9 | 29 | 40 | | |
| | 8 | 19 | 10 | 40 | | |
| | 9 | 15 | 8 | 40 | | |
| | 10 | 14 | 31 | 50 | | |
| | 11 | 19 | 24 | 10 | | |
| | 12 | 17 | 28 | 10 | | |
| | 13 | 17 | 19 | 20 | | |
| We will plan routes that start and finish at node 0, visit each chosen location once, and not exceed 21.0 across the 14 locations. | |
| Oh, and one more practical thing β when you send back the chosen route, please put it in this simple JSON layout so it's easy to read and process: | |
| { | |
| ""solution"": [""kitchen_id"", ""stop_id"", ..., ""kitchen_id""] | |
| } | |
| This just shows the shape I need: ""solution"" holds the ordered list of place IDs starting and ending at the kitchen, with each stop listed once in the order we visit it. It's just a sketch of the expected shape, not the actual answer β replace the placeholders with the exact IDs from the instance. | |
| Please make sure you 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β.""","{'coordinates': [[19, 24], [12, 24], [14, 28], [20, 28], [12, 22], [19, 15], [17, 28], [9, 29], [19, 10], [15, 8], [14, 31], [19, 24], [17, 28], [17, 19]], 'prizes': [0, 20, 20, 20, 20, 30, 30, 40, 40, 40, 50, 10, 10, 20], 'depot': 0, 'max_length': 21.0, 'route_length': 20.768870550169794, 'collected_prize': 140.0, 'objective': 140.0}","[0, 3, 12, 6, 10, 2, 11, 0]",140.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 0, 'x': 19, 'y': 24, 'prize': 0}, {'id': 1, 'x': 12, 'y': 24, 'prize': 20}, {'id': 2, 'x': 14, 'y': 28, 'prize': 20}, {'id': 3, 'x': 20, 'y': 28, 'prize': 20}, {'id': 4, 'x': 12, 'y': 22, 'prize': 20}, {'id': 5, 'x': 19, 'y': 15, 'prize': 30}, {'id': 6, 'x': 17, 'y': 28, 'prize': 30}, {'id': 7, 'x': 9, 'y': 29, 'prize': 40}, {'id': 8, 'x': 19, 'y': 10, 'prize': 40}, {'id': 9, 'x': 15, 'y': 8, 'prize': 40}, {'id': 10, 'x': 14, 'y': 31, 'prize': 50}, {'id': 11, 'x': 19, 'y': 24, 'prize': 10}, {'id': 12, 'x': 17, 'y': 28, 'prize': 10}, {'id': 13, 'x': 17, 'y': 19, 'prize': 20}], 'depot': 0, 'max_length': 21.0, 'route_length': 20.768870550169794, 'collected_prize': 140.0, 'objective': 140.0}","[0, 3, 12, 6, 10, 2, 11, 0]",35,markdown_table,0 | |
| OP,OP,"There's a small mobile charging kiosk that needs to do one round trip from its depot, plug in at selected festival zones, and return home, and it can't stop at the same zone more than once. What makes a route better is how much money it earns: add up the charging fees from every stop to get the total, and the plan must keep the total driving and swap time under the allowed limit. Concrete details follow below. | |
| There are 13 locations in this instance, the depot is A, and the maximum allowed trip time (driving plus swap) is 7.0. | |
| Location A is at (4, 7) with charging fee 0. | |
| Location B is at (2, 14) with charging fee 30. | |
| Location C is at (3, 10) with charging fee 15. | |
| Location D is at (3, 9) with charging fee 15. | |
| Location E is at (4, 8) with charging fee 10. | |
| Location F is at (7, 11) with charging fee 20. | |
| Location G is at (7, 8) with charging fee 20. | |
| Location H is at (6, 7) with charging fee 15. | |
| Location I is at (5, 8) with charging fee 10. | |
| Location J is at (5, 6) with charging fee 10. | |
| Location K is at (13, 13) with charging fee 40. | |
| Location L is at (9, 18) with charging fee 50. | |
| Location M is at (4, 16) with charging fee 30. | |
| Plan one round trip that starts and finishes at A, visits each zone at most once, and keeps total driving plus swap time β€ 7.0. | |
| When you send back the chosen trip, please use a tiny JSON snippet like this so it's easy to read and plug into the schedule: | |
| { | |
| ""solution"": [""depot_zone"", ""zone_1"", ""zone_3"", ""zone_2"", ""depot_zone""] | |
| } | |
| This just means: ""solution"" is the ordered list of stops for the round trip β the first and last entries are the depot, and everything in between are the festival zones you'll visit (none repeated). It's just a sketch of the shape I need, not the actual route you should send. | |
| Please be 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β.""","{'coordinates': [[4, 7], [2, 14], [3, 10], [3, 9], [4, 8], [7, 11], [7, 8], [6, 7], [5, 8], [5, 6], [13, 13], [9, 18], [4, 16]], 'prizes': [0, 30, 15, 15, 10, 20, 20, 15, 10, 10, 40, 50, 30], 'depot': 0, 'max_length': 7.0, 'route_length': 6.242640687119286, 'collected_prize': 45.0, 'objective': 45.0}","[0, 9, 7, 8, 4, 0]",45.0,"{'problem_type': 'OP', 'num_nodes': 13, 'nodes': [{'id': 'A', 'x': 4, 'y': 7, 'prize': 0}, {'id': 'B', 'x': 2, 'y': 14, 'prize': 30}, {'id': 'C', 'x': 3, 'y': 10, 'prize': 15}, {'id': 'D', 'x': 3, 'y': 9, 'prize': 15}, {'id': 'E', 'x': 4, 'y': 8, 'prize': 10}, {'id': 'F', 'x': 7, 'y': 11, 'prize': 20}, {'id': 'G', 'x': 7, 'y': 8, 'prize': 20}, {'id': 'H', 'x': 6, 'y': 7, 'prize': 15}, {'id': 'I', 'x': 5, 'y': 8, 'prize': 10}, {'id': 'J', 'x': 5, 'y': 6, 'prize': 10}, {'id': 'K', 'x': 13, 'y': 13, 'prize': 40}, {'id': 'L', 'x': 9, 'y': 18, 'prize': 50}, {'id': 'M', 'x': 4, 'y': 16, 'prize': 30}], 'depot': 'A', 'max_length': 7.0, 'route_length': 6.242640687119286, 'collected_prize': 45.0, 'objective': 45.0}","['A', 'J', 'H', 'I', 'E', 'A']",36,nl,names | |
| OP,OP,"I run a little farmstand and plan a single loop that leaves from and comes back to the stand, picking which neighborhood blocks to visit along the way. The choice is about which stops to include so the total expected sales from those stops β just add up the sales estimate for each block visited β is as large as possible, while the whole drive stays inside the dayβs mileage/time limit and no block is visited more than once. The exact blocks, distances, and sales estimates are shown below. | |
| # total_locations_including_stand=12 | |
| # farmstand_node_id=1 | |
| # daily_distance_limit=26.0 | |
| block_node_id,block_x_coord,block_y_coord,expected_sales | |
| 1,4,7,0 | |
| 2,5,11,20 | |
| 3,3,10,15 | |
| 4,3,9,15 | |
| 5,4,8,10 | |
| 6,7,11,20 | |
| 7,7,8,20 | |
| 8,6,7,15 | |
| 9,5,6,10 | |
| 10,6,5,25 | |
| 11,13,13,40 | |
| 12,4,16,30 | |
| Also, when you give me the route, a tiny JSON snippet like this works best β just an ordered list of stops, starting and ending at the stand. | |
| { | |
| ""solution"": [""stand_id"", ""block_id"", ""..."", ""stand_id""] | |
| } | |
| This simply means: the array lists the stops in order (first item is the stand where you leave from, the last item is the same stand when you come back). ""stand_id"" is just the depot/stand placeholder and ""block_id"" stands in for any neighborhood block you visit; the ""..."" just shows there can be more stops in between. It's a sketch of the shape I need, not the actual route. | |
| Please make sure to use the exact identifiers from the instance input β don't 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β.","{'coordinates': [[4, 7], [5, 11], [3, 10], [3, 9], [4, 8], [7, 11], [7, 8], [6, 7], [5, 6], [6, 5], [13, 13], [4, 16]], 'prizes': [0, 20, 15, 15, 10, 20, 20, 15, 10, 25, 40, 30], 'depot': 0, 'max_length': 26.0, 'route_length': 25.82289363543026, 'collected_prize': 180.0, 'objective': 180.0}","[0, 4, 3, 2, 1, 11, 5, 6, 7, 9, 8, 0]",180.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 3, 'y': 10, 'prize': 15}, {'id': 4, 'x': 3, 'y': 9, 'prize': 15}, {'id': 5, 'x': 4, 'y': 8, 'prize': 10}, {'id': 6, 'x': 7, 'y': 11, 'prize': 20}, {'id': 7, 'x': 7, 'y': 8, 'prize': 20}, {'id': 8, 'x': 6, 'y': 7, 'prize': 15}, {'id': 9, 'x': 5, 'y': 6, 'prize': 10}, {'id': 10, 'x': 6, 'y': 5, 'prize': 25}, {'id': 11, 'x': 13, 'y': 13, 'prize': 40}, {'id': 12, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 26.0, 'route_length': 25.82289363543026, 'collected_prize': 180.0, 'objective': 180.0}","[1, 5, 4, 3, 2, 12, 6, 7, 8, 10, 9, 1]",37,csv,1 | |
| OP,OP,"Many people rely on these outreach stops, so the clinicβs schedule needs to be a single round trip: start at the clinic, visit some neighborhood centers (each at most once), and come back to the clinic without exceeding our travel-time budget. The aim is to maximize the overall screening impact β every center has a number of screenings and a need rating, and the total is the sum of each centerβs screenings multiplied by its need score for all stops on the route. The plan canβt include repeat visits or go over the travel-time cap. The exact locations, their need weights, and the travel-time limit are listed below. | |
| Below are the 15 locations (clinic depot 0); any round trip must stay within our travel-time budget of 25.0. | |
| | center_id | x_coordinate | y_coordinate | weighted_screenings | | |
| |---|---|---|---| | |
| | 0 | 19 | 24 | 0 | | |
| | 1 | 16 | 28 | 20 | | |
| | 2 | 21 | 27 | 20 | | |
| | 3 | 12 | 22 | 20 | | |
| | 4 | 14 | 15 | 30 | | |
| | 5 | 11 | 18 | 30 | | |
| | 6 | 10 | 32 | 40 | | |
| | 7 | 13 | 33 | 40 | | |
| | 8 | 19 | 10 | 40 | | |
| | 9 | 18 | 25 | 10 | | |
| | 10 | 16 | 21 | 10 | | |
| | 11 | 17 | 28 | 10 | | |
| | 12 | 17 | 19 | 20 | | |
| | 13 | 10 | 21 | 20 | | |
| | 14 | 15 | 23 | 10 | | |
| Remember that every route must start and end at 0 and not exceed our travel-time cap of 25.0. | |
| Oh, and when you give the final route, please stick to a tiny JSON sketch like this so it's easy to read and check: | |
| { | |
| ""solution"": [clinic_id, center_id, ..., clinic_id] | |
| } | |
| This just shows the shape I need: the ""solution"" array lists the stops in order β start at the clinic, visit the neighborhood centers in the order you choose (each at most once), and come back to the clinic. It's only a template, not the actual answer. | |
| 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β.","{'coordinates': [[19, 24], [16, 28], [21, 27], [12, 22], [14, 15], [11, 18], [10, 32], [13, 33], [19, 10], [18, 25], [16, 21], [17, 28], [17, 19], [10, 21], [15, 23]], 'prizes': [0, 20, 20, 20, 30, 30, 40, 40, 40, 10, 10, 10, 20, 20, 10], 'depot': 0, 'max_length': 25.0, 'route_length': 24.15165626088693, 'collected_prize': 100.0, 'objective': 100.0}","[0, 12, 5, 13, 3, 14, 0]",100.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 0, 'x': 19, 'y': 24, 'prize': 0}, {'id': 1, 'x': 16, 'y': 28, 'prize': 20}, {'id': 2, 'x': 21, 'y': 27, 'prize': 20}, {'id': 3, 'x': 12, 'y': 22, 'prize': 20}, {'id': 4, 'x': 14, 'y': 15, 'prize': 30}, {'id': 5, 'x': 11, 'y': 18, 'prize': 30}, {'id': 6, 'x': 10, 'y': 32, 'prize': 40}, {'id': 7, 'x': 13, 'y': 33, 'prize': 40}, {'id': 8, 'x': 19, 'y': 10, 'prize': 40}, {'id': 9, 'x': 18, 'y': 25, 'prize': 10}, {'id': 10, 'x': 16, 'y': 21, 'prize': 10}, {'id': 11, 'x': 17, 'y': 28, 'prize': 10}, {'id': 12, 'x': 17, 'y': 19, 'prize': 20}, {'id': 13, 'x': 10, 'y': 21, 'prize': 20}, {'id': 14, 'x': 15, 'y': 23, 'prize': 10}], 'depot': 0, 'max_length': 25.0, 'route_length': 24.15165626088693, 'collected_prize': 100.0, 'objective': 100.0}","[0, 12, 5, 13, 3, 14, 0]",38,markdown_table,0 | |
| OP,OP,"On a busy morning a guide must stitch together one circular route from the visitor center, choosing different attractions to visit once each and making sure the total walking time doesnβt exceed the allowance. Each proposed routeβs worth is the total of its stopsβ guest satisfaction scores, so just add those scores to compare options; bigger totals mean happier guests. The concrete details are listed below. | |
| { | |
| ""total_locations_including_visitor_center"": 11, | |
| ""nodes"": [ | |
| { | |
| ""location_id"": ""A"", | |
| ""map_x"": 10, | |
| ""map_y"": 14, | |
| ""guest_satisfaction_score"": 0 | |
| }, | |
| { | |
| ""location_id"": ""B"", | |
| ""map_x"": 18, | |
| ""map_y"": 15, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""C"", | |
| ""map_x"": 18, | |
| ""map_y"": 13, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""D"", | |
| ""map_x"": 14, | |
| ""map_y"": 13, | |
| ""guest_satisfaction_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""E"", | |
| ""map_x"": 16, | |
| ""map_y"": 17, | |
| ""guest_satisfaction_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""F"", | |
| ""map_x"": 15, | |
| ""map_y"": 17, | |
| ""guest_satisfaction_score"": 5 | |
| }, | |
| { | |
| ""location_id"": ""G"", | |
| ""map_x"": 15, | |
| ""map_y"": 20, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""H"", | |
| ""map_x"": 7, | |
| ""map_y"": 9, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""I"", | |
| ""map_x"": 11, | |
| ""map_y"": 20, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""J"", | |
| ""map_x"": 8, | |
| ""map_y"": 17, | |
| ""guest_satisfaction_score"": 10 | |
| }, | |
| { | |
| ""location_id"": ""K"", | |
| ""map_x"": 4, | |
| ""map_y"": 18, | |
| ""guest_satisfaction_score"": 10 | |
| } | |
| ], | |
| ""visitor_center_id"": ""A"", | |
| ""max_walking_time"": 26.0 | |
| } | |
| Also, when you send the final route, please use this simple JSON shape so it's easy to read and validate: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Here ""solution"" is just the ordered circular route: start with the visitor center's ID, list each attraction you plan to visit once (in order), and finish back at the visitor center. Think of the placeholders as blanks you fill in with the exact IDs from the instance. | |
| This is only a sketch of the expected shape β not the actual answer. | |
| Please make sure to 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β.""","{'coordinates': [[10, 14], [18, 15], [18, 13], [14, 13], [16, 17], [15, 17], [15, 20], [7, 9], [11, 20], [8, 17], [4, 18]], 'prizes': [0, 10, 10, 5, 5, 5, 10, 10, 10, 10, 10], 'depot': 0, 'max_length': 26.0, 'route_length': 25.03429528066207, 'collected_prize': 45.0, 'objective': 45.0}","[0, 3, 2, 1, 4, 5, 8, 0]",45.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 'A', 'x': 10, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 18, 'y': 15, 'prize': 10}, {'id': 'C', 'x': 18, 'y': 13, 'prize': 10}, {'id': 'D', 'x': 14, 'y': 13, 'prize': 5}, {'id': 'E', 'x': 16, 'y': 17, 'prize': 5}, {'id': 'F', 'x': 15, 'y': 17, 'prize': 5}, {'id': 'G', 'x': 15, 'y': 20, 'prize': 10}, {'id': 'H', 'x': 7, 'y': 9, 'prize': 10}, {'id': 'I', 'x': 11, 'y': 20, 'prize': 10}, {'id': 'J', 'x': 8, 'y': 17, 'prize': 10}, {'id': 'K', 'x': 4, 'y': 18, 'prize': 10}], 'depot': 'A', 'max_length': 26.0, 'route_length': 25.03429528066207, 'collected_prize': 45.0, 'objective': 45.0}","['A', 'D', 'C', 'B', 'E', 'F', 'I', 'A']",39,json,names | |
| OP,OP,"Many people do a quick mental puzzle every dinner shift: as the restaurantβs driver, choose a single round-trip that leaves from the kitchen, visits some customers exactly once, and returns before the eveningβs driving allowance is used up. Better choices are the ones that collect more in tips β you get that number by adding the tips from the customers you actually visit. The route must stay within the shiftβs distance limit, start and end at the kitchen, and never visit the same address twice; the concrete details are shown below. | |
| There are 11 total locations listed; the kitchen is 1, and your maximum driving distance for the shift is 18.0. | |
| | location_id | x_coord | y_coord | tip_amount | | |
| |---|---|---|---| | |
| | 1 | 4 | 7 | 0 | | |
| | 2 | 5 | 11 | 20 | | |
| | 3 | 4 | 12 | 20 | | |
| | 4 | 2 | 14 | 30 | | |
| | 5 | 3 | 10 | 15 | | |
| | 6 | 7 | 11 | 20 | | |
| | 7 | 5 | 8 | 10 | | |
| | 8 | 6 | 5 | 25 | | |
| | 9 | 11 | 13 | 30 | | |
| | 10 | 9 | 18 | 50 | | |
| | 11 | 4 | 16 | 30 | | |
| Choose one loop that starts and ends at 1, visits each address at most once, and stays within 18.0 so you maximize the tips you collect. | |
| If you want the route written up in a machine-friendly way, just send it back in a tiny JSON shape like this β it's just a plain list showing the stops in order: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Think of that as a simple form: ""solution"" is the round-trip, the items in the array are the place IDs you visit in order (start at the kitchen/depot, visit each customer once, and come back to the kitchen). This is just the expected shape β not the actual answer. | |
| 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [2, 14], [3, 10], [7, 11], [5, 8], [6, 5], [11, 13], [9, 18], [4, 16]], 'prizes': [0, 20, 20, 30, 15, 20, 10, 25, 30, 50, 30], 'depot': 0, 'max_length': 18.0, 'route_length': 17.723748855085674, 'collected_prize': 100.0, 'objective': 100.0}","[0, 4, 2, 1, 5, 7, 0]",100.0,"{'problem_type': 'OP', 'num_nodes': 11, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 4, 'y': 12, 'prize': 20}, {'id': 4, 'x': 2, 'y': 14, 'prize': 30}, {'id': 5, 'x': 3, 'y': 10, 'prize': 15}, {'id': 6, 'x': 7, 'y': 11, 'prize': 20}, {'id': 7, 'x': 5, 'y': 8, 'prize': 10}, {'id': 8, 'x': 6, 'y': 5, 'prize': 25}, {'id': 9, 'x': 11, 'y': 13, 'prize': 30}, {'id': 10, 'x': 9, 'y': 18, 'prize': 50}, {'id': 11, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 18.0, 'route_length': 17.723748855085674, 'collected_prize': 100.0, 'objective': 100.0}","[1, 5, 3, 2, 6, 8, 1]",40,markdown_table,1 | |
| OP,OP,"Iβm the bookmobile librarian mapping out todayβs run: pick a single loop that leaves from the depot and brings the van back there at the end of the day, stop at neighborhood spots only once each, and keep the whole drive inside the dayβs mileage limit. The best route is the one that brings in the most loans and patron visits β youβd figure that by adding up the expected loans and visits at each stop you include. The route canβt hit the same neighborhood stop twice and the total miles driven canβt go over the allowance. The concrete stops, distances, and expected loan/visit numbers are shown below. | |
| # total_locations=14 | |
| # depot_node=1 | |
| # mileage_allowance=10.0 | |
| stop_id,map_x,map_y,expected_loans_and_visits | |
| 1,10,14,0 | |
| 2,18,13,10 | |
| 3,15,11,10 | |
| 4,14,13,5 | |
| 5,15,17,5 | |
| 6,8,5,15 | |
| 7,11,12,5 | |
| 8,11,17,5 | |
| 9,9,23,10 | |
| 10,10,26,15 | |
| 11,8,19,15 | |
| 12,8,17,10 | |
| 13,8,13,10 | |
| 14,5,11,10 | |
| Oh β and when you tell me which loop you picked, drop it into a tiny JSON snippet like this so I can read it easily: | |
| { | |
| ""solution"": [depot_stop_id, stop_id, ..., depot_stop_id] | |
| } | |
| This just means ""solution"" holds the stops in order: start at the depot, list each neighborhood stop you visit (once each), and finish back at the depot. It's just a sketch of the shape I need, not the actual answer β I'll expect the real stop identifiers from the instance. | |
| 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β.","{'coordinates': [[10, 14], [18, 13], [15, 11], [14, 13], [15, 17], [8, 5], [11, 12], [11, 17], [9, 23], [10, 26], [8, 19], [8, 17], [8, 13], [5, 11]], 'prizes': [0, 10, 10, 5, 5, 15, 5, 5, 10, 15, 15, 10, 10, 10], 'depot': 0, 'max_length': 10.0, 'route_length': 9.84161925296378, 'collected_prize': 20.0, 'objective': 20.0}","[0, 11, 12, 0]",20.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 1, 'x': 10, 'y': 14, 'prize': 0}, {'id': 2, 'x': 18, 'y': 13, 'prize': 10}, {'id': 3, 'x': 15, 'y': 11, 'prize': 10}, {'id': 4, 'x': 14, 'y': 13, 'prize': 5}, {'id': 5, 'x': 15, 'y': 17, 'prize': 5}, {'id': 6, 'x': 8, 'y': 5, 'prize': 15}, {'id': 7, 'x': 11, 'y': 12, 'prize': 5}, {'id': 8, 'x': 11, 'y': 17, 'prize': 5}, {'id': 9, 'x': 9, 'y': 23, 'prize': 10}, {'id': 10, 'x': 10, 'y': 26, 'prize': 15}, {'id': 11, 'x': 8, 'y': 19, 'prize': 15}, {'id': 12, 'x': 8, 'y': 17, 'prize': 10}, {'id': 13, 'x': 8, 'y': 13, 'prize': 10}, {'id': 14, 'x': 5, 'y': 11, 'prize': 10}], 'depot': 1, 'max_length': 10.0, 'route_length': 9.84161925296378, 'collected_prize': 20.0, 'objective': 20.0}","[1, 12, 13, 1]",41,csv,1 | |
| OP,OP,"Recently the service office sent out a technician who had to decide on one clean loop: depart the office, visit selected customers without repeating any address, and come back before the shiftβs travel budget expires. Success is measured by how much billable repair income is gathered β simply total the fees from each visited customer β and the route must respect the no-repeat rule and the time cap. The detailed customer list, fees, and travel times are shown below. | |
| There are 15 locations in total: the office is node 1, and the technician's maximum allowed travel time for the loop is 29.0. | |
| Site 1 at coordinates (4, 7) has a billable fee of 0. | |
| Site 2 at coordinates (2, 14) has a billable fee of 30. | |
| Site 3 at coordinates (3, 10) has a billable fee of 15. | |
| Site 4 at coordinates (3, 9) has a billable fee of 15. | |
| Site 5 at coordinates (7, 11) has a billable fee of 20. | |
| Site 6 at coordinates (8, 9) has a billable fee of 20. | |
| Site 7 at coordinates (6, 7) has a billable fee of 15. | |
| Site 8 at coordinates (5, 8) has a billable fee of 10. | |
| Site 9 at coordinates (5, 6) has a billable fee of 10. | |
| Site 10 at coordinates (6, 5) has a billable fee of 25. | |
| Site 11 at coordinates (13, 13) has a billable fee of 40. | |
| Site 12 at coordinates (14, 14) has a billable fee of 40. | |
| Site 13 at coordinates (11, 13) has a billable fee of 30. | |
| Site 14 at coordinates (9, 16) has a billable fee of 30. | |
| Site 15 at coordinates (4, 16) has a billable fee of 30. | |
| Use these site entries to assemble a single office-starting loop that collects fees without repeating addresses and stays within the 29.0 travel-time budget. | |
| Oh, and when you send the chosen loop back, please use a tiny JSON layout so it's easy to read and machine-friendly. For example: | |
| { | |
| ""solution"": [""office_id"", ""customer_id"", ..., ""office_id""] | |
| } | |
| That ""solution"" array is just the tour in order: start at the office, list each customer you plan to visit once (in the visiting order), and finish back at the office. Think of it like filling out a short form β which stops you visit and in what order. This JSON is only a sketch of the expected shape, not the actual route. | |
| 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β.""","{'coordinates': [[4, 7], [2, 14], [3, 10], [3, 9], [7, 11], [8, 9], [6, 7], [5, 8], [5, 6], [6, 5], [13, 13], [14, 14], [11, 13], [9, 16], [4, 16]], 'prizes': [0, 30, 15, 15, 20, 20, 15, 10, 10, 25, 40, 40, 30, 30, 30], 'depot': 0, 'max_length': 29.0, 'route_length': 28.97977538787923, 'collected_prize': 210.0, 'objective': 210.0}","[0, 7, 5, 10, 11, 12, 4, 6, 9, 8, 0]",210.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 2, 'y': 14, 'prize': 30}, {'id': 3, 'x': 3, 'y': 10, 'prize': 15}, {'id': 4, 'x': 3, 'y': 9, 'prize': 15}, {'id': 5, 'x': 7, 'y': 11, 'prize': 20}, {'id': 6, 'x': 8, 'y': 9, 'prize': 20}, {'id': 7, 'x': 6, 'y': 7, 'prize': 15}, {'id': 8, 'x': 5, 'y': 8, 'prize': 10}, {'id': 9, 'x': 5, 'y': 6, 'prize': 10}, {'id': 10, 'x': 6, 'y': 5, 'prize': 25}, {'id': 11, 'x': 13, 'y': 13, 'prize': 40}, {'id': 12, 'x': 14, 'y': 14, 'prize': 40}, {'id': 13, 'x': 11, 'y': 13, 'prize': 30}, {'id': 14, 'x': 9, 'y': 16, 'prize': 30}, {'id': 15, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 29.0, 'route_length': 28.97977538787923, 'collected_prize': 210.0, 'objective': 210.0}","[1, 8, 6, 11, 12, 13, 5, 7, 10, 9, 1]",42,nl,1 | |
| OP,OP,"Thereβs a simple plan to make: start at the museumβs storage garage, drive a single circuit that returns to that same garage, and choose some stops along the way. The trick is to never visit an event more than once, keep the total distance under the vehicleβs limit, and collect as much money as possible β the score is just the sum of donations from the stops visited. The concrete event list, travel distances, and donation amounts are shown below. | |
| # total_locations_including_garage=14 | |
| # garage_node_id=1 | |
| # vehicle_max_range=12.0 | |
| location_id,x_coordinate,y_coordinate,donation_amount | |
| 1,19,24,0 | |
| 2,16,28,20 | |
| 3,12,26,20 | |
| 4,22,17,30 | |
| 5,19,15,30 | |
| 6,14,15,30 | |
| 7,11,18,30 | |
| 8,10,32,40 | |
| 9,15,8,40 | |
| 10,7,36,50 | |
| 11,19,24,10 | |
| 12,21,21,10 | |
| 13,17,19,20 | |
| 14,15,23,10 | |
| When you're ready to give me the planned circuit, just use this tiny JSON shape so it's easy to parse: | |
| { | |
| ""solution"": [garage_id, event_id, ..., garage_id] | |
| } | |
| Think of this as a simple form: ""solution"" holds the ordered list of stops for the one round trip β start at the storage garage, list each event you want to visit in the order you'll visit them, and finish back at the same garage. This block is only a sketch of the shape I expect, not the actual route. | |
| 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β.""","{'coordinates': [[19, 24], [16, 28], [12, 26], [22, 17], [19, 15], [14, 15], [11, 18], [10, 32], [15, 8], [7, 36], [19, 24], [21, 21], [17, 19], [15, 23]], 'prizes': [0, 20, 20, 30, 30, 30, 30, 40, 40, 50, 10, 10, 20, 10], 'depot': 0, 'max_length': 12.0, 'route_length': 10.770329614269007, 'collected_prize': 30.0, 'objective': 30.0}","[0, 12, 10, 0]",30.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 1, 'x': 19, 'y': 24, 'prize': 0}, {'id': 2, 'x': 16, 'y': 28, 'prize': 20}, {'id': 3, 'x': 12, 'y': 26, 'prize': 20}, {'id': 4, 'x': 22, 'y': 17, 'prize': 30}, {'id': 5, 'x': 19, 'y': 15, 'prize': 30}, {'id': 6, 'x': 14, 'y': 15, 'prize': 30}, {'id': 7, 'x': 11, 'y': 18, 'prize': 30}, {'id': 8, 'x': 10, 'y': 32, 'prize': 40}, {'id': 9, 'x': 15, 'y': 8, 'prize': 40}, {'id': 10, 'x': 7, 'y': 36, 'prize': 50}, {'id': 11, 'x': 19, 'y': 24, 'prize': 10}, {'id': 12, 'x': 21, 'y': 21, 'prize': 10}, {'id': 13, 'x': 17, 'y': 19, 'prize': 20}, {'id': 14, 'x': 15, 'y': 23, 'prize': 10}], 'depot': 1, 'max_length': 12.0, 'route_length': 10.770329614269007, 'collected_prize': 30.0, 'objective': 30.0}","[1, 13, 11, 1]",43,csv,1 | |
| OP,OP,"Thereβs a day where the freelance photographer has a studio start and end point and a handful of shoot spots scattered around town; the task is to arrange one continuous loop that hits some of those spots once each and returns to the studio without exceeding the dayβs travel allowance. A better choice is simply the route that earns the highest total in booking fees β calculated by summing the fees for every location visited β provided the whole trip stays within the allowed travel limit. The exact addresses, fees, and travel times are shown below. | |
| # num_locations_total=12 | |
| # studio_id=1 | |
| # max_travel_allowance=27.0 | |
| location_id,x_coord,y_coord,booking_fee | |
| 1,4,7,0 | |
| 2,5,11,20 | |
| 3,2,14,30 | |
| 4,3,10,15 | |
| 5,3,9,15 | |
| 6,4,8,10 | |
| 7,7,11,20 | |
| 8,8,9,20 | |
| 9,7,8,20 | |
| 10,13,13,40 | |
| 11,14,14,40 | |
| 12,9,18,50 | |
| Oh, and when you send back the chosen loop, just pop it into a tiny JSON snippet like this so it's easy to read and machine-friendly: | |
| { | |
| ""solution"": [studio_id, spot_id, ..., studio_id] | |
| } | |
| That's just a simple sketch β ""studio_id"" is the start/end (your photographer's studio) and the ""spot_id"" entries are the shoot locations in the order you'd visit them, finishing back at the studio. Think of it like filling in a little form: list the studio, then the spots you want to hit once each, and end with the studio again. | |
| Please make sure you 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β.""","{'coordinates': [[4, 7], [5, 11], [2, 14], [3, 10], [3, 9], [4, 8], [7, 11], [8, 9], [7, 8], [13, 13], [14, 14], [9, 18]], 'prizes': [0, 20, 30, 15, 15, 10, 20, 20, 20, 40, 40, 50], 'depot': 0, 'max_length': 27.0, 'route_length': 26.17187978837971, 'collected_prize': 170.0, 'objective': 170.0}","[0, 5, 1, 6, 10, 9, 7, 8, 0]",170.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 5, 'y': 11, 'prize': 20}, {'id': 3, 'x': 2, 'y': 14, 'prize': 30}, {'id': 4, 'x': 3, 'y': 10, 'prize': 15}, {'id': 5, 'x': 3, 'y': 9, 'prize': 15}, {'id': 6, 'x': 4, 'y': 8, 'prize': 10}, {'id': 7, 'x': 7, 'y': 11, 'prize': 20}, {'id': 8, 'x': 8, 'y': 9, 'prize': 20}, {'id': 9, 'x': 7, 'y': 8, 'prize': 20}, {'id': 10, 'x': 13, 'y': 13, 'prize': 40}, {'id': 11, 'x': 14, 'y': 14, 'prize': 40}, {'id': 12, 'x': 9, 'y': 18, 'prize': 50}], 'depot': 1, 'max_length': 27.0, 'route_length': 26.17187978837971, 'collected_prize': 170.0, 'objective': 170.0}","[1, 6, 2, 7, 11, 10, 8, 9, 1]",44,csv,1 | |
| OP,OP,"Someone who buys antiques on the road has to plan a single loop from the workshop that checks houses, buys items if worthwhile, and finishes back at the workshop without doubling back to any house. The aim is to bring home as much appraised value as possible β add up the appraised prices from each visited stop to measure that β but the trip must fit the planned distance limit and each house can only be checked one time. The specific stops, distances, and appraisals are given below. | |
| There are 14 total locations including the workshop 0; the single loop must return to the workshop and stay within 29.0 total distance. | |
| | location_id | x_coordinate | y_coordinate | appraised_value | | |
| |---|---|---|---| | |
| | 0 | 4 | 7 | 0 | | |
| | 1 | 5 | 11 | 20 | | |
| | 2 | 3 | 10 | 15 | | |
| | 3 | 3 | 9 | 15 | | |
| | 4 | 4 | 8 | 10 | | |
| | 5 | 7 | 11 | 20 | | |
| | 6 | 8 | 9 | 20 | | |
| | 7 | 7 | 8 | 20 | | |
| | 8 | 6 | 7 | 15 | | |
| | 9 | 5 | 6 | 10 | | |
| | 10 | 6 | 5 | 25 | | |
| | 11 | 11 | 13 | 30 | | |
| | 12 | 9 | 18 | 50 | | |
| | 13 | 4 | 16 | 30 | | |
| The buyer must choose one nonrevisiting loop starting and ending at 0 that maximizes total appraised value without exceeding 29.0. | |
| If you want to hand me a candidate route, just drop it in a tiny JSON snippet like the one below β makes it easy to read and keeps everything tidy. | |
| { | |
| ""solution"": [workshop_id, house_id, ..., workshop_id] | |
| } | |
| This little block is just a sketch of the shape I expect: ""solution"" is the whole loop, the list of stops starting and ending at the workshop. Use the workshop placeholder for your starting/ending spot and the house placeholders for any houses you check along the way; the ""..."" just stands for whatever other stops you want to include. It's only an example of the format, not the actual answer. | |
| Please be 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β.""","{'coordinates': [[4, 7], [5, 11], [3, 10], [3, 9], [4, 8], [7, 11], [8, 9], [7, 8], [6, 7], [5, 6], [6, 5], [11, 13], [9, 18], [4, 16]], 'prizes': [0, 20, 15, 15, 10, 20, 20, 20, 15, 10, 25, 30, 50, 30], 'depot': 0, 'max_length': 29.0, 'route_length': 26.339895042201395, 'collected_prize': 200.0, 'objective': 200.0}","[0, 9, 10, 8, 7, 6, 5, 11, 1, 2, 3, 4, 0]",200.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 0, 'x': 4, 'y': 7, 'prize': 0}, {'id': 1, 'x': 5, 'y': 11, 'prize': 20}, {'id': 2, 'x': 3, 'y': 10, 'prize': 15}, {'id': 3, 'x': 3, 'y': 9, 'prize': 15}, {'id': 4, 'x': 4, 'y': 8, 'prize': 10}, {'id': 5, 'x': 7, 'y': 11, 'prize': 20}, {'id': 6, 'x': 8, 'y': 9, 'prize': 20}, {'id': 7, 'x': 7, 'y': 8, 'prize': 20}, {'id': 8, 'x': 6, 'y': 7, 'prize': 15}, {'id': 9, 'x': 5, 'y': 6, 'prize': 10}, {'id': 10, 'x': 6, 'y': 5, 'prize': 25}, {'id': 11, 'x': 11, 'y': 13, 'prize': 30}, {'id': 12, 'x': 9, 'y': 18, 'prize': 50}, {'id': 13, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 0, 'max_length': 29.0, 'route_length': 26.339895042201395, 'collected_prize': 200.0, 'objective': 200.0}","[0, 9, 10, 8, 7, 6, 5, 11, 1, 2, 3, 4, 0]",45,markdown_table,0 | |
| OP,OP,"Many people on the expedition pitch in to plan one continuous circuit that departs and ends at base camp, visiting chosen sampling spots. The choice that counts is the one that brings in the largest total scientific value β just total up the scores of the sites visited β while avoiding duplicate sampling at any location and keeping the entire route inside our travel/time allowance. The concrete sites, their scores, and the allowable route length are detailed below. | |
| There are 12 locations listed; the base camp is A; and the maximum allowable round-trip length is 18.0. | |
| Site A at (4, 7) with scientific value 0. | |
| Site B at (5, 11) with scientific value 20. | |
| Site C at (2, 14) with scientific value 30. | |
| Site D at (7, 11) with scientific value 20. | |
| Site E at (8, 9) with scientific value 20. | |
| Site F at (5, 8) with scientific value 10. | |
| Site G at (6, 5) with scientific value 25. | |
| Site H at (13, 13) with scientific value 40. | |
| Site I at (14, 14) with scientific value 40. | |
| Site J at (11, 13) with scientific value 30. | |
| Site K at (9, 16) with scientific value 30. | |
| Site L at (4, 16) with scientific value 30. | |
| All planning must obey the single-circuit requirement, avoid duplicate sampling, and keep the total route within 18.0. | |
| When you're ready, just send back the chosen loop in a tiny JSON object like this: | |
| { | |
| ""solution"": [""basecamp_id"", ""site_id"", ..., ""basecamp_id""] | |
| } | |
| Think of that as a simple form: ""solution"" is the ordered sequence of place IDs (start at base camp, visit each picked site once, and return to base camp). The example above is just a sketch of the shape I expect β it isn't the actual answer. | |
| Please use the identifiers exactly as they appear in the instance input β do not rename them and do not 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β.","{'coordinates': [[4, 7], [5, 11], [2, 14], [7, 11], [8, 9], [5, 8], [6, 5], [13, 13], [14, 14], [11, 13], [9, 16], [4, 16]], 'prizes': [0, 20, 30, 20, 20, 10, 25, 40, 40, 30, 30, 30], 'depot': 0, 'max_length': 18.0, 'route_length': 15.950844619618655, 'collected_prize': 95.0, 'objective': 95.0}","[0, 5, 1, 3, 4, 6, 0]",95.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 'A', 'x': 4, 'y': 7, 'prize': 0}, {'id': 'B', 'x': 5, 'y': 11, 'prize': 20}, {'id': 'C', 'x': 2, 'y': 14, 'prize': 30}, {'id': 'D', 'x': 7, 'y': 11, 'prize': 20}, {'id': 'E', 'x': 8, 'y': 9, 'prize': 20}, {'id': 'F', 'x': 5, 'y': 8, 'prize': 10}, {'id': 'G', 'x': 6, 'y': 5, 'prize': 25}, {'id': 'H', 'x': 13, 'y': 13, 'prize': 40}, {'id': 'I', 'x': 14, 'y': 14, 'prize': 40}, {'id': 'J', 'x': 11, 'y': 13, 'prize': 30}, {'id': 'K', 'x': 9, 'y': 16, 'prize': 30}, {'id': 'L', 'x': 4, 'y': 16, 'prize': 30}], 'depot': 'A', 'max_length': 18.0, 'route_length': 15.950844619618655, 'collected_prize': 95.0, 'objective': 95.0}","['A', 'F', 'B', 'D', 'E', 'G', 'A']",46,nl,names | |
| OP,OP,"Someone organizing outreach needs to map a single circuit that starts and ends at the health center, hits a selection of outreach points (each no more than once), and stays inside the teamβs travel budget for the day. The aim is straightforward: choose the stops that, when the patient counts at those stops are summed, give the highest total number of vaccinations possible without going over the travel allowance. The specific stops, patient counts, and travel constraints are listed below. | |
| There are 15 locations (including the health center 0); the single circuit must start and end at 0 and stay within the travel budget of 5.0. | |
| | location_id | location_x_coordinate | location_y_coordinate | expected_patients_at_location | | |
| |---|---|---|---| | |
| | 0 | 19 | 24 | 0 | | |
| | 1 | 12 | 24 | 20 | | |
| | 2 | 14 | 28 | 20 | | |
| | 3 | 16 | 28 | 20 | | |
| | 4 | 12 | 26 | 20 | | |
| | 5 | 21 | 27 | 20 | | |
| | 6 | 19 | 15 | 30 | | |
| | 7 | 17 | 28 | 30 | | |
| | 8 | 9 | 29 | 40 | | |
| | 9 | 10 | 32 | 40 | | |
| | 10 | 14 | 31 | 50 | | |
| | 11 | 21 | 25 | 50 | | |
| | 12 | 18 | 25 | 10 | | |
| | 13 | 17 | 19 | 20 | | |
| | 14 | 10 | 21 | 20 | | |
| List each outreach point below; the organizer will select the subset that maximizes total expected vaccinations without exceeding the 5.0 travel budget. | |
| You can send the answer in a very simple JSON shape like this β just to show the order of stops on the circuit: | |
| { | |
| ""solution"": [""health_center_id"", ""outreach_point_id"", ""..."", ""health_center_id""] | |
| } | |
| Think of that as a little form: ""solution"" is the ordered list of places the team will visit, starting and ending at the health center. The placeholders in the example stand in for the actual identifiers you'll pick from the instance (start at the health center, list each outreach stop you plan to hit once in order, then return to the health center). This block is only a sketch of the expected shape, not the actual route. | |
| 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β.""","{'coordinates': [[19, 24], [12, 24], [14, 28], [16, 28], [12, 26], [21, 27], [19, 15], [17, 28], [9, 29], [10, 32], [14, 31], [21, 25], [18, 25], [17, 19], [10, 21]], 'prizes': [0, 20, 20, 20, 20, 20, 30, 30, 40, 40, 50, 50, 10, 20, 20], 'depot': 0, 'max_length': 5.0, 'route_length': 4.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","[0, 11, 0]",50.0,"{'problem_type': 'OP', 'num_nodes': 15, 'nodes': [{'id': 0, 'x': 19, 'y': 24, 'prize': 0}, {'id': 1, 'x': 12, 'y': 24, 'prize': 20}, {'id': 2, 'x': 14, 'y': 28, 'prize': 20}, {'id': 3, 'x': 16, 'y': 28, 'prize': 20}, {'id': 4, 'x': 12, 'y': 26, 'prize': 20}, {'id': 5, 'x': 21, 'y': 27, 'prize': 20}, {'id': 6, 'x': 19, 'y': 15, 'prize': 30}, {'id': 7, 'x': 17, 'y': 28, 'prize': 30}, {'id': 8, 'x': 9, 'y': 29, 'prize': 40}, {'id': 9, 'x': 10, 'y': 32, 'prize': 40}, {'id': 10, 'x': 14, 'y': 31, 'prize': 50}, {'id': 11, 'x': 21, 'y': 25, 'prize': 50}, {'id': 12, 'x': 18, 'y': 25, 'prize': 10}, {'id': 13, 'x': 17, 'y': 19, 'prize': 20}, {'id': 14, 'x': 10, 'y': 21, 'prize': 20}], 'depot': 0, 'max_length': 5.0, 'route_length': 4.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","[0, 11, 0]",47,markdown_table,0 | |
| OP,OP,"Many people think route planning is about going everywhere, but here the trick is to build one neat round trip from the press that never goes through the same block twice, only visits each non-press location once, and stays inside the permitted delivery distance. The route thatβs βbestβ is the one that gathers the largest total of subscriptions and single-issue sales when the numbers at each visited stop are added together. The detailed list of stops, distances and sales is right below. | |
| # total_stops_including_press=14 | |
| # press_node_id=0 | |
| # max_delivery_distance=11.0 | |
| block_id,block_x_coordinate,block_y_coordinate,expected_sales_count | |
| 0,4,7,0 | |
| 1,5,11,20 | |
| 2,4,12,20 | |
| 3,2,14,30 | |
| 4,3,9,15 | |
| 5,7,11,20 | |
| 6,8,9,20 | |
| 7,7,8,20 | |
| 8,5,8,10 | |
| 9,6,5,25 | |
| 10,14,14,40 | |
| 11,11,13,30 | |
| 12,9,18,50 | |
| 13,4,16,30 | |
| Also, when you send the route back, just stick to this simple JSON shape so itβs easy to read and check: | |
| { | |
| ""solution"": [""press_id"", ""stop_id"", ..., ""press_id""] | |
| } | |
| Pretty straightforward: ""solution"" is the ordered list of stops on the round trip, with the first and last entry being the press (depot). The entries in the array are placeholders for the actual stop identifiers from the instance β think of them as the labels youβll replace with the real ones when you give the final route. This block is just a sketch of the expected shape, not the actual answer. | |
| Please be sure to use the identifiers exactly as they appear in the instance input β do not 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β.""","{'coordinates': [[4, 7], [5, 11], [4, 12], [2, 14], [3, 9], [7, 11], [8, 9], [7, 8], [5, 8], [6, 5], [14, 14], [11, 13], [9, 18], [4, 16]], 'prizes': [0, 20, 20, 30, 15, 20, 20, 20, 10, 25, 40, 30, 50, 30], 'depot': 0, 'max_length': 11.0, 'route_length': 9.404918347287666, 'collected_prize': 55.0, 'objective': 55.0}","[0, 9, 7, 8, 0]",55.0,"{'problem_type': 'OP', 'num_nodes': 14, 'nodes': [{'id': 0, 'x': 4, 'y': 7, 'prize': 0}, {'id': 1, 'x': 5, 'y': 11, 'prize': 20}, {'id': 2, 'x': 4, 'y': 12, 'prize': 20}, {'id': 3, 'x': 2, 'y': 14, 'prize': 30}, {'id': 4, 'x': 3, 'y': 9, 'prize': 15}, {'id': 5, 'x': 7, 'y': 11, 'prize': 20}, {'id': 6, 'x': 8, 'y': 9, 'prize': 20}, {'id': 7, 'x': 7, 'y': 8, 'prize': 20}, {'id': 8, 'x': 5, 'y': 8, 'prize': 10}, {'id': 9, 'x': 6, 'y': 5, 'prize': 25}, {'id': 10, 'x': 14, 'y': 14, 'prize': 40}, {'id': 11, 'x': 11, 'y': 13, 'prize': 30}, {'id': 12, 'x': 9, 'y': 18, 'prize': 50}, {'id': 13, 'x': 4, 'y': 16, 'prize': 30}], 'depot': 0, 'max_length': 11.0, 'route_length': 9.404918347287666, 'collected_prize': 55.0, 'objective': 55.0}","[0, 9, 7, 8, 0]",48,csv,0 | |
| OP,OP,"I run a one-person home repair shop and need to plan a single loop that leaves the workshop in the morning and comes back at the end of the day, stopping at a handful of clients along the way. The choice is which clients to visit so the day brings in the most cash β the total pay is just the sum of the service fees for every job actually completed on that loop. The route canβt go over the daily travel allowance, and once a clientβs job is done the crew doesnβt double back to that same address later, so each client can only be visited once. The exact list of clients, their fees and the distances are shown below. | |
| I have 12 locations including my workshop 0, and the round trip must not exceed 7.0 total travel. | |
| Location 0 at (19, 24) pays a service fee of 0. | |
| Location 1 at (12, 24) pays a service fee of 20. | |
| Location 2 at (14, 28) pays a service fee of 20. | |
| Location 3 at (12, 26) pays a service fee of 20. | |
| Location 4 at (12, 22) pays a service fee of 20. | |
| Location 5 at (22, 17) pays a service fee of 30. | |
| Location 6 at (7, 36) pays a service fee of 50. | |
| Location 7 at (21, 25) pays a service fee of 50. | |
| Location 8 at (16, 21) pays a service fee of 10. | |
| Location 9 at (18, 26) pays a service fee of 10. | |
| Location 10 at (17, 28) pays a service fee of 10. | |
| Location 11 at (15, 23) pays a service fee of 10. | |
| I'll use these entries to choose the highest-paying loop that stays within the travel limit. | |
| Oh, and to keep things machine-friendly, please send the planned loop in a tiny JSON sketch like this: | |
| { | |
| ""solution"": [workshop_id, client_id, ..., workshop_id] | |
| } | |
| Think of ""solution"" as the ordered list of stops for the day: the first and last entry are your workshop, and everything in between are the clients you visit in order. This is just the expected shape of the answer β a quick form, not the actual route. | |
| Please be careful 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β.""","{'coordinates': [[19, 24], [12, 24], [14, 28], [12, 26], [12, 22], [22, 17], [7, 36], [21, 25], [16, 21], [18, 26], [17, 28], [15, 23]], 'prizes': [0, 20, 20, 20, 20, 30, 50, 50, 10, 10, 10, 10], 'depot': 0, 'max_length': 7.0, 'route_length': 4.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","[0, 7, 0]",50.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 0, 'x': 19, 'y': 24, 'prize': 0}, {'id': 1, 'x': 12, 'y': 24, 'prize': 20}, {'id': 2, 'x': 14, 'y': 28, 'prize': 20}, {'id': 3, 'x': 12, 'y': 26, 'prize': 20}, {'id': 4, 'x': 12, 'y': 22, 'prize': 20}, {'id': 5, 'x': 22, 'y': 17, 'prize': 30}, {'id': 6, 'x': 7, 'y': 36, 'prize': 50}, {'id': 7, 'x': 21, 'y': 25, 'prize': 50}, {'id': 8, 'x': 16, 'y': 21, 'prize': 10}, {'id': 9, 'x': 18, 'y': 26, 'prize': 10}, {'id': 10, 'x': 17, 'y': 28, 'prize': 10}, {'id': 11, 'x': 15, 'y': 23, 'prize': 10}], 'depot': 0, 'max_length': 7.0, 'route_length': 4.47213595499958, 'collected_prize': 50.0, 'objective': 50.0}","[0, 7, 0]",49,nl,0 | |
| OP,OP,"Many vendors face the same routine: start at the storage depot, do one loop of the neighborhood, and return before the shift is up. The job is to pick a list of vending spots and an order to visit them so each place is visited no more than once, the whole trip stays within the shiftβs travel allowance, and total revenue β the sum of money from all visited stops β is as large as possible. The exact data for the stops and travel limits are listed below. | |
| # total_stops_including_depot=12 | |
| # storage_depot_id=1 | |
| # shift_travel_allowance=26.0 | |
| stop_id,x_coordinate,y_coordinate,expected_sales_revenue | |
| 1,4,7,0 | |
| 2,4,12,20 | |
| 3,2,14,30 | |
| 4,3,10,15 | |
| 5,4,8,10 | |
| 6,7,11,20 | |
| 7,7,8,20 | |
| 8,6,7,15 | |
| 9,5,6,10 | |
| 10,6,5,25 | |
| 11,14,14,40 | |
| 12,9,16,30 | |
| If you want to hand me the chosen loop, a neat way is to put it in a tiny JSON snippet like this: | |
| { | |
| ""solution"": [depot_id, location_id, ..., depot_id] | |
| } | |
| Pretty simple: ""solution"" holds the ordered list of stops (start at the depot, visit each chosen vending spot at most once, and come back to the depot). Think of it like filling out a short form β the array is the route in the order you'd drive it. | |
| This JSON is just a sketch of the shape I expect, not the actual filled-in answer. | |
| Please use the exact identifiers from the instance input when you fill it in β 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β.""","{'coordinates': [[4, 7], [4, 12], [2, 14], [3, 10], [4, 8], [7, 11], [7, 8], [6, 7], [5, 6], [6, 5], [14, 14], [9, 16]], 'prizes': [0, 20, 30, 15, 10, 20, 20, 15, 10, 25, 40, 30], 'depot': 0, 'max_length': 26.0, 'route_length': 25.12221975950564, 'collected_prize': 165.0, 'objective': 165.0}","[0, 8, 7, 9, 6, 5, 2, 1, 3, 4, 0]",165.0,"{'problem_type': 'OP', 'num_nodes': 12, 'nodes': [{'id': 1, 'x': 4, 'y': 7, 'prize': 0}, {'id': 2, 'x': 4, 'y': 12, 'prize': 20}, {'id': 3, 'x': 2, 'y': 14, 'prize': 30}, {'id': 4, 'x': 3, 'y': 10, 'prize': 15}, {'id': 5, 'x': 4, 'y': 8, 'prize': 10}, {'id': 6, 'x': 7, 'y': 11, 'prize': 20}, {'id': 7, 'x': 7, 'y': 8, 'prize': 20}, {'id': 8, 'x': 6, 'y': 7, 'prize': 15}, {'id': 9, 'x': 5, 'y': 6, 'prize': 10}, {'id': 10, 'x': 6, 'y': 5, 'prize': 25}, {'id': 11, 'x': 14, 'y': 14, 'prize': 40}, {'id': 12, 'x': 9, 'y': 16, 'prize': 30}], 'depot': 1, 'max_length': 26.0, 'route_length': 25.12221975950564, 'collected_prize': 165.0, 'objective': 165.0}","[1, 9, 8, 10, 7, 6, 3, 2, 4, 5, 1]",50,csv,1 | |