File size: 151,047 Bytes
aff484f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base
TOP,TOP,"I run the delivery planning side of things, figuring out which stops each van should make so every vehicle leaves from and comes back to the central depot. The job is to pick a single loop for each vehicle that stays within that vehicle’s allowed distance, make sure no customer gets visited more than once, and try to collect as much order value as possible β€” the better plan is simply the one that adds up to the highest total of the order values at the stops we actually visit. The exact stops, distances and order values are shown below.

I run the delivery planning side of things; here are 10 total locations (including depot 1). I can assign up to 2 vehicles, each limited to a maximum loop length of 167.0.
Location 1 at (87, 28) has order value 0.
Location 2 at (31, 100) has order value 95.
Location 3 at (100, 50) has order value 73.
Location 4 at (37, 60) has order value 60.
Location 5 at (38, 47) has order value 16.
Location 6 at (0, 63) has order value 16.
Location 7 at (73, 76) has order value 6.
Location 8 at (10, 37) has order value 87.
Location 9 at (65, 21) has order value 60.
Location 10 at (36, 0) has order value 71.
I'll use these lines to pick up to 2 loops that each stay within 167.0.

Also, when you send the route plan back, please use this little JSON layout so it's easy to parse:

{
  ""solution"": [[""depot_id"", ""location_id"", ""..."", ""depot_id""], [""depot_id"", ""location_id"", ""..."", ""depot_id""], ""...""]
}

This just means: ""solution"" holds a list of loops (one per vehicle), each loop is a list of stop identifiers that starts and ends with the depot. It's just a sketch of the shape I need β€” not the real answer yet, just the format to follow.

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': [[87, 28], [31, 100], [100, 50], [37, 60], [38, 47], [0, 63], [73, 76], [10, 37], [65, 21], [36, 0]], 'prizes': [0, 95, 73, 60, 16, 16, 6, 87, 60, 71], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 7, 4, 0], [0, 2, 9, 8, 0]], 'total_route_length': 325.4725076782937, 'collected_prize': 307.0, 'objective': 307.0}","[[0, 7, 4, 0], [0, 2, 9, 8, 0]]",307.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 1, 'x': 87, 'y': 28, 'prize': 0}, {'id': 2, 'x': 31, 'y': 100, 'prize': 95}, {'id': 3, 'x': 100, 'y': 50, 'prize': 73}, {'id': 4, 'x': 37, 'y': 60, 'prize': 60}, {'id': 5, 'x': 38, 'y': 47, 'prize': 16}, {'id': 6, 'x': 0, 'y': 63, 'prize': 16}, {'id': 7, 'x': 73, 'y': 76, 'prize': 6}, {'id': 8, 'x': 10, 'y': 37, 'prize': 87}, {'id': 9, 'x': 65, 'y': 21, 'prize': 60}, {'id': 10, 'x': 36, 'y': 0, 'prize': 71}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 325.4725076782937, 'collected_prize': 307.0, 'objective': 307.0}","[[1, 8, 5, 1], [1, 3, 10, 9, 1]]",1,nl,1
TOP,TOP,"There’s this neat little operation where museum teams head out from the storage to bring mini-exhibits to neighborhood spots, then head back at the end of their shift. The job is to assign exhibits to each team and plan each team’s path so they don’t exceed their travel allowance. A plan is judged by how many satisfaction points it racks up in total β€” just add the point values of every stop all teams make β€” and every exhibit stop can only be used once across the whole set of tours. The exact numbers and stops are shown below.

They're listed as 6 total locations (museum storage is 1), a travel allowance of 167.0 per team, and 2 teams.

| site_id | x_coord | y_coord | satisfaction_points |
|---|---|---|---|
| 1 | 70 | 0 | 0 |
| 2 | 77 | 58 | 97 |
| 3 | 45 | 55 | 83 |
| 4 | 100 | 13 | 21 |
| 5 | 2 | 100 | 18 |
| 6 | 0 | 19 | 18 |

Each route must start and end at 1 and stay within the 167.0 travel allowance for every one of the 2 teams.

Oh β€” and if you want to hand the plan over in a tidy, machine-friendly way, you can use a small JSON snippet like this to show the routes:

{
  ""solution"": [[storage_id, spot_id, ... , storage_id], [storage_id, spot_id, ... , storage_id], ...]
}

This just means ""solution"" is a list of team routes; each inner list is one team's trip, starting at the storage (storage_id), visiting some neighborhood stops (spot_id) and coming back to the storage (storage_id). The dots are just standing in for ""and so on"" β€” it's a sketch of the shape I expect, not the actual plan.

Please be 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': [[70, 0], [77, 58], [45, 55], [100, 13], [2, 100], [0, 19]], 'prizes': [0, 97, 83, 21, 18, 18], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 3, 0], [0, 1, 2, 0]], 'total_route_length': 216.36756480095065, 'collected_prize': 201.0, 'objective': 201.0}","[[0, 3, 0], [0, 1, 2, 0]]",201.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 1, 'x': 70, 'y': 0, 'prize': 0}, {'id': 2, 'x': 77, 'y': 58, 'prize': 97}, {'id': 3, 'x': 45, 'y': 55, 'prize': 83}, {'id': 4, 'x': 100, 'y': 13, 'prize': 21}, {'id': 5, 'x': 2, 'y': 100, 'prize': 18}, {'id': 6, 'x': 0, 'y': 19, 'prize': 18}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 216.36756480095065, 'collected_prize': 201.0, 'objective': 201.0}","[[1, 4, 1], [1, 2, 3, 1]]",2,markdown_table,1
TOP,TOP,"Someone needs to plan the crews’ daily runs so each team does one loop starting and ending at the maintenance yard and stays inside its allowed miles. No feature should be covered more than once, and the β€œbest” set of runs is the one that collects the most importance points overall β€” just add up the importance numbers for every feature visited across all crews. The exact locations, mileage caps, and importance scores follow below.

There are 8 known locations including the maintenance yard A; assign 2 crews so each does one loop and no loop exceeds 167.0 miles.

| feature_id | map_x_coordinate | map_y_coordinate | importance_score |
|---|---|---|---|
| A | 0 | 100 | 0 |
| B | 0 | 3 | 52 |
| C | 0 | 17 | 43 |
| D | 12 | 24 | 29 |
| E | 76 | 21 | 61 |
| F | 24 | 3 | 14 |
| G | 37 | 17 | 29 |
| H | 100 | 0 | 37 |

These entries are for constructing the crews' loops under the stated rules.

Oh, and a quick thing about how to send back the planned runs: keep it simple and use this JSON shape so I can read it automatically.

{
  ""solution"": [[yard_id, feature_id, ... , yard_id], [yard_id, feature_id, ... , yard_id], ...]
}

Think of this as a short form: ""solution"" is a list of loops (one per crew). Each inner list is the ordered sequence of identifiers visited on that loop, starting and ending with the maintenance yard (yard_id). The placeholders there are just showing the shape β€” replace them with the actual location IDs from the instance when you reply.

This JSON is only a sketch of the expected shape, not the real answer β€” please fill in the real identifiers from the instance exactly as given. Do not rename or invent new labels.

- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[0, 100], [0, 3], [0, 17], [12, 24], [76, 21], [24, 3], [37, 17], [100, 0]], 'prizes': [0, 52, 43, 29, 61, 14, 29, 37], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 3, 0]], 'total_route_length': 319.8830724933707, 'collected_prize': 72.0, 'objective': 72.0}","[[0, 2, 0], [0, 3, 0]]",72.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 'A', 'x': 0, 'y': 100, 'prize': 0}, {'id': 'B', 'x': 0, 'y': 3, 'prize': 52}, {'id': 'C', 'x': 0, 'y': 17, 'prize': 43}, {'id': 'D', 'x': 12, 'y': 24, 'prize': 29}, {'id': 'E', 'x': 76, 'y': 21, 'prize': 61}, {'id': 'F', 'x': 24, 'y': 3, 'prize': 14}, {'id': 'G', 'x': 37, 'y': 17, 'prize': 29}, {'id': 'H', 'x': 100, 'y': 0, 'prize': 37}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 319.8830724933707, 'collected_prize': 72.0, 'objective': 72.0}","[['A', 'C', 'A'], ['A', 'D', 'A']]",3,markdown_table,names
TOP,TOP,"We’ve got a clinic and several vans to send out into town; every route must start and finish at the clinic, each driver gets one route that can’t be longer than the set limit, and no neighborhood site should be visited by more than one van. The goal is to pick which stops go on each van’s run so that the combined outreach β€” simply the sum of the impact numbers for all stops the vans cover β€” is as large as possible. The concrete details (sites, distances, van limits and impact values) are listed below.

We’ve got 5 total sites including the clinic, clinic node 1, 2 vans available, and a max route length of 167.0 per van.
We list site 1 at coordinates (0, 12) with outreach impact 0.
We list site 2 at coordinates (46, 29) with outreach impact 79.
We list site 3 at coordinates (46, 0) with outreach impact 20.
We list site 4 at coordinates (49, 35) with outreach impact 51.
We list site 5 at coordinates (100, 100) with outreach impact 59.
Keep each van’s round-trip starting and ending at the clinic, don’t visit any site more than once, and ensure no route exceeds 167.0.

Also, when you send back your plan, just use this simple JSON shape so I can read the routes programmatically:

{
  ""solution"": [[clinic_id, site_id, ... , clinic_id], [clinic_id, site_id, ... , clinic_id], ...]
}

Pretty straightforward: ""solution"" is a list of van routes; each route is an ordered list that starts and ends with the clinic (clinic_id) and lists the neighborhood stops (site_id) visited on that run. Think of it like filling out a form: one array per van, locations in the order you’ll visit them. This is just a sketch of the expected shape, not the actual answer β€” fill in the real IDs from the instance when you submit the routes.

Please use the identifiers exactly as they appear in the instance input β€” no renaming and 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': [[0, 12], [46, 29], [46, 0], [49, 35], [100, 100]], 'prizes': [0, 79, 20, 51, 59], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 3, 2, 0], [0, 0]], 'total_route_length': 138.41679670997573, 'collected_prize': 150.0, 'objective': 150.0}","[[0, 1, 3, 2, 0], [0, 0]]",150.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 1, 'x': 0, 'y': 12, 'prize': 0}, {'id': 2, 'x': 46, 'y': 29, 'prize': 79}, {'id': 3, 'x': 46, 'y': 0, 'prize': 20}, {'id': 4, 'x': 49, 'y': 35, 'prize': 51}, {'id': 5, 'x': 100, 'y': 100, 'prize': 59}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 138.41679670997573, 'collected_prize': 150.0, 'objective': 150.0}","[[1, 2, 4, 3, 1], [1, 1]]",4,nl,1
TOP,TOP,"Many people at the utility company are juggling repair calls; the idea is to send each team on a single loop from the depot, keep each loop within its travel cap, and cover the most urgent fixes. That means deciding which stops go on which team’s route so that, after adding up the urgency scores for all stops actually visited, the grand total is as large as possible. Each trip must return to the depot, no team gets a second run, and a repair site can’t be on more than one route. The specific instance details are below.

{
  ""total_locations_including_depot"": 9,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""x_coord"": 0,
      ""y_coord"": 0,
      ""urgency_score"": 0
    },
    {
      ""location_id"": 1,
      ""x_coord"": 73,
      ""y_coord"": 18,
      ""urgency_score"": 61
    },
    {
      ""location_id"": 2,
      ""x_coord"": 67,
      ""y_coord"": 34,
      ""urgency_score"": 17
    },
    {
      ""location_id"": 3,
      ""x_coord"": 9,
      ""y_coord"": 45,
      ""urgency_score"": 7
    },
    {
      ""location_id"": 4,
      ""x_coord"": 30,
      ""y_coord"": 76,
      ""urgency_score"": 95
    },
    {
      ""location_id"": 5,
      ""x_coord"": 100,
      ""y_coord"": 79,
      ""urgency_score"": 97
    },
    {
      ""location_id"": 6,
      ""x_coord"": 8,
      ""y_coord"": 86,
      ""urgency_score"": 81
    },
    {
      ""location_id"": 7,
      ""x_coord"": 16,
      ""y_coord"": 88,
      ""urgency_score"": 30
    },
    {
      ""location_id"": 8,
      ""x_coord"": 14,
      ""y_coord"": 100,
      ""urgency_score"": 10
    }
  ],
  ""depot_node_id"": 0,
  ""travel_allowance_per_team"": 167.0,
  ""n_teams"": 2
}

Also, when you send the routes back, just toss them into this simple JSON layout so I can read them easily:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of ""solution"" as a list of loops one per team; each inner list is the ordered stops that loop back to the depot (so the first and last entry in each route should be the depot). This is just the shape I expect, not your final answer β€” fill it in with the actual stops from the instance.

Please use the exact identifiers given in the instance input β€” don't rename or invent new labels. 
- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[0, 0], [73, 18], [67, 34], [9, 45], [30, 76], [100, 79], [8, 86], [16, 88], [14, 100]], 'prizes': [0, 61, 17, 7, 95, 97, 81, 30, 10], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 4, 3, 0], [0, 1, 0]], 'total_route_length': 315.4141288327703, 'collected_prize': 163.0, 'objective': 163.0}","[[0, 4, 3, 0], [0, 1, 0]]",163.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 0, 'x': 0, 'y': 0, 'prize': 0}, {'id': 1, 'x': 73, 'y': 18, 'prize': 61}, {'id': 2, 'x': 67, 'y': 34, 'prize': 17}, {'id': 3, 'x': 9, 'y': 45, 'prize': 7}, {'id': 4, 'x': 30, 'y': 76, 'prize': 95}, {'id': 5, 'x': 100, 'y': 79, 'prize': 97}, {'id': 6, 'x': 8, 'y': 86, 'prize': 81}, {'id': 7, 'x': 16, 'y': 88, 'prize': 30}, {'id': 8, 'x': 14, 'y': 100, 'prize': 10}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 315.4141288327703, 'collected_prize': 163.0, 'objective': 163.0}","[[0, 4, 3, 0], [0, 1, 0]]",5,json,0
TOP,TOP,"Someone in charge is sketching shuttle routes so each volunteer drives a single loop out from and back to the festival hub without exceeding their allotted range. Each booth can only be visited once by the whole shuttle team, and the goal is to pick which booths to include on each loop so that the total sponsorship funds brought in β€” calculated by adding the sponsorship amounts of every visited booth β€” is as large as possible. The full breakdown of booths, values, and route limits appears below.

{
  ""total_locations_including_hub"": 5,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""map_x"": 0,
      ""map_y"": 21,
      ""sponsorship_amount"": 0
    },
    {
      ""location_id"": 1,
      ""map_x"": 7,
      ""map_y"": 100,
      ""sponsorship_amount"": 44
    },
    {
      ""location_id"": 2,
      ""map_x"": 45,
      ""map_y"": 91,
      ""sponsorship_amount"": 12
    },
    {
      ""location_id"": 3,
      ""map_x"": 65,
      ""map_y"": 0,
      ""sponsorship_amount"": 50
    },
    {
      ""location_id"": 4,
      ""map_x"": 100,
      ""map_y"": 32,
      ""sponsorship_amount"": 3
    }
  ],
  ""hub_node_id"": 0,
  ""max_route_length_per_shuttle"": 167.0,
  ""n_shuttles"": 2
}

When you're ready to hand me the chosen loops, just drop them into a little JSON sketch like this so it's easy to read and check.

{
  ""solution"": [[hub_id, booth_id, ... , hub_id], [hub_id, booth_id, ... , hub_id], ...]
}

Pretty simple: ""solution"" is a list of loops (one loop per shuttle driver), each loop is a list of IDs that starts and ends at the festival hub. hub_id is the placeholder for the depot/hub, booth_id stands for the booths visited along that loop, and the ""..."" just means ""any number of booths in between."" This is only the shape I need β€” not the actual routes.

Please make sure you use the exact identifiers from the instance input β€” no renaming and no new labels.
Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[0, 21], [7, 100], [45, 91], [65, 0], [100, 32]], 'prizes': [0, 44, 12, 50, 3], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 3, 0]], 'total_route_length': 295.23529133469134, 'collected_prize': 94.0, 'objective': 94.0}","[[0, 1, 0], [0, 3, 0]]",94.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 0, 'x': 0, 'y': 21, 'prize': 0}, {'id': 1, 'x': 7, 'y': 100, 'prize': 44}, {'id': 2, 'x': 45, 'y': 91, 'prize': 12}, {'id': 3, 'x': 65, 'y': 0, 'prize': 50}, {'id': 4, 'x': 100, 'y': 32, 'prize': 3}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 295.23529133469134, 'collected_prize': 94.0, 'objective': 94.0}","[[0, 1, 0], [0, 3, 0]]",6,json,0
TOP,TOP,"Someone on the operations team has to lay out inspection circuits so every drone flies a single, safe loop from the port and back and stays inside its allowed distance. The decision is which assets go on which drone’s circuit and the order to visit them, with the rule that a given inspection point can’t be checked by two different circuits. The better arrangement is the one that inspects assets whose condition scores add up to the largest number β€” that total is just the sum of the scores for the visited sites β€” all while keeping each loop within its flight range. The detailed instance information follows below.

The instance has 7 locations including the drone port 1; assign routes for 2 drones so each loop stays within 167.0.
Location 1 at coordinates (12, 0) with condition score 0.
Location 2 at coordinates (0, 11) with condition score 26.
Location 3 at coordinates (20, 18) with condition score 66.
Location 4 at coordinates (100, 31) with condition score 31.
Location 5 at coordinates (19, 40) with condition score 52.
Location 6 at coordinates (10, 100) with condition score 55.
Location 7 at coordinates (82, 98) with condition score 18.
Ensure each inspection point is assigned to at most one circuit and maximize the total condition score of visited sites while keeping every loop within the drone range.

Also, when you send the answer back, just give the chosen loops in a little JSON object shaped like this:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of it like a simple form: ""solution"" holds a list of circuits, each circuit is a list that starts at the port (the depot), lists the inspection points in the order the drone will visit them, and ends back at the port. This snippet is only a sketch of the expected shape β€” not the actual routes.

Please make sure to use the exact identifiers from the instance input β€” do not rename them or invent new labels. Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[12, 0], [0, 11], [20, 18], [100, 31], [19, 40], [10, 100], [82, 98]], 'prizes': [0, 26, 66, 31, 52, 55, 18], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 4, 0], [0, 0]], 'total_route_length': 81.21576201698781, 'collected_prize': 144.0, 'objective': 144.0}","[[0, 4, 0], [0, 0]]",144.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 1, 'x': 12, 'y': 0, 'prize': 0}, {'id': 2, 'x': 0, 'y': 11, 'prize': 26}, {'id': 3, 'x': 20, 'y': 18, 'prize': 66}, {'id': 4, 'x': 100, 'y': 31, 'prize': 31}, {'id': 5, 'x': 19, 'y': 40, 'prize': 52}, {'id': 6, 'x': 10, 'y': 100, 'prize': 55}, {'id': 7, 'x': 82, 'y': 98, 'prize': 18}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 81.21576201698781, 'collected_prize': 144.0, 'objective': 144.0}","[[1, 5, 1], [1, 1]]",7,nl,1
TOP,TOP,"Someone needs to put together the daily rounds: every worker gets a single route that begins and ends at the community center, must stay within their assigned distance cap, and no household can be on more than one worker’s list. The decision is which homes each worker will visit and in what sequence, aiming to collect as many engagement points as the team can. To check a plan, simply total the engagement points from every unique household visited; the plan with the highest total is preferred. The full, concrete details are shown below.

There are 10 mapped locations including the community center (id 0); 2 workers are available and each route must not exceed 167.0.
Location 0 is at (0, 83) and is worth 0 engagement points.
Location 1 is at (89, 5) and is worth 78 engagement points.
Location 2 is at (5, 0) and is worth 94 engagement points.
Location 3 is at (100, 27) and is worth 89 engagement points.
Location 4 is at (18, 16) and is worth 60 engagement points.
Location 5 is at (52, 50) and is worth 92 engagement points.
Location 6 is at (56, 100) and is worth 9 engagement points.
Location 7 is at (20, 80) and is worth 20 engagement points.
Location 8 is at (92, 35) and is worth 5 engagement points.
Location 9 is at (88, 14) and is worth 33 engagement points.
Total the engagement points from every unique household visited; the plan with the highest total is preferred.

Also, when you're ready to hand in a candidate plan, just drop it in this simple JSON shape so it's easy to read and check:

{
  ""solution"": [[community_center_id, household_id, ... , community_center_id], [community_center_id, household_id, ... , community_center_id], ...]
}

Think of it like a little form: ""solution"" is the whole day's schedule, each inner list is one worker's route, and every route should start and finish with the community center identifier (with the households visited in between). This is only a sketch of the shape I expect β€” fill it with the actual ids from the instance when you submit the real plan.

Please be sure to use the exact identifiers given 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': [[0, 83], [89, 5], [5, 0], [100, 27], [18, 16], [52, 50], [56, 100], [20, 80], [92, 35], [88, 14]], 'prizes': [0, 78, 94, 89, 60, 92, 9, 20, 5, 33], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 7, 0]], 'total_route_length': 206.7484288802126, 'collected_prize': 206.0, 'objective': 206.0}","[[0, 2, 0], [0, 7, 0]]",206.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 0, 'x': 0, 'y': 83, 'prize': 0}, {'id': 1, 'x': 89, 'y': 5, 'prize': 78}, {'id': 2, 'x': 5, 'y': 0, 'prize': 94}, {'id': 3, 'x': 100, 'y': 27, 'prize': 89}, {'id': 4, 'x': 18, 'y': 16, 'prize': 60}, {'id': 5, 'x': 52, 'y': 50, 'prize': 92}, {'id': 6, 'x': 56, 'y': 100, 'prize': 9}, {'id': 7, 'x': 20, 'y': 80, 'prize': 20}, {'id': 8, 'x': 92, 'y': 35, 'prize': 5}, {'id': 9, 'x': 88, 'y': 14, 'prize': 33}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 206.7484288802126, 'collected_prize': 206.0, 'objective': 206.0}","[[0, 2, 0], [0, 7, 0]]",8,nl,0
TOP,TOP,"Recently the region’s field schedule got reorganized: each salesperson gets exactly one route leaving from and coming back to the regional office, each route must respect that rep’s travel cap, and no prospect should be called on by more than one person. The plans that work best are the ones that collect the most potential revenueβ€”just sum the revenue amounts for the prospects covered. The full list of prospects, their revenue estimates, and travel constraints is shown below.

There are 6 locations listed, with regional office id 1; assign 2 single-return itineraries, each limited to 167.0 in travel.
Location 1 at (0, 0) with potential revenue 0.
Location 2 at (80, 12) with potential revenue 27.
Location 3 at (3, 58) with potential revenue 83.
Location 4 at (100, 66) with potential revenue 36.
Location 5 at (9, 79) with potential revenue 28.
Location 6 at (75, 100) with potential revenue 54.
Use these entries to choose stops that maximize summed potential revenue while keeping each route within 167.0 and returning to 1.

Oh, and when you send the actual routes back, please use this simple JSON shape so I can read it easily:

{
  ""solution"": [[office_id, prospect_id, ... , office_id], [office_id, prospect_id, ... , office_id], ...]
}

""solution"" is a list of routes. Each inner list is one rep's route: it starts and ends with the office_id and the prospect_id entries are the prospects visited along the way (the ""..."" just means more stops if needed). This is just a sketch of the expected shape, not the actual answer.

Please make sure to use the exact identifiers from the instance input β€” do not rename them or invent new labels. Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[0, 0], [80, 12], [3, 58], [100, 66], [9, 79], [75, 100]], 'prizes': [0, 27, 83, 36, 28, 54], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 4, 0], [0, 1, 0]], 'total_route_length': 321.21885690755835, 'collected_prize': 138.0, 'objective': 138.0}","[[0, 2, 4, 0], [0, 1, 0]]",138.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 1, 'x': 0, 'y': 0, 'prize': 0}, {'id': 2, 'x': 80, 'y': 12, 'prize': 27}, {'id': 3, 'x': 3, 'y': 58, 'prize': 83}, {'id': 4, 'x': 100, 'y': 66, 'prize': 36}, {'id': 5, 'x': 9, 'y': 79, 'prize': 28}, {'id': 6, 'x': 75, 'y': 100, 'prize': 54}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 321.21885690755835, 'collected_prize': 138.0, 'objective': 138.0}","[[1, 3, 5, 1], [1, 2, 1]]",9,nl,1
TOP,TOP,"In this neighborhood the recycling trucks must each run one trip out of the depot and back, keeping within their allowed travel budget, and each house or drop-off can only be served by a single truck. The job is to figure out which stops go on which truck’s path so that the combined weight of all collected material is maximized β€” just add up the weights from every stop that gets visited to see the total. The detailed data for the instance (locations, weights, and truck limits) are shown below.

# total_locations_including_depot=6
# depot_id=1
# max_route_distance_per_truck=167.0
# number_of_trucks=2
location_id,x_coordinate,y_coordinate,material_weight
1,0,100,0
2,48,100,80
3,62,9,7
4,82,63,99
5,100,0,77
6,100,19,20

Oh, and when you send the solution back, please stick to this simple JSON layout so it's easy to read and check:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

This little sketch means: ""solution"" is a list of trips (one per truck). Each trip is a list that starts and ends at the depot and has the visited stop identifiers in between. Treat depot_id and location_id as placeholders for the actual IDs from the instance β€” this is just the shape I want, not the final filled-in answer.

Please make sure you use the exact identifiers given in the instance input, with 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': [[0, 100], [48, 100], [62, 9], [82, 63], [100, 0], [100, 19]], 'prizes': [0, 80, 7, 99, 77, 20], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 0]], 'total_route_length': 96.0, 'collected_prize': 80.0, 'objective': 80.0}","[[0, 1, 0], [0, 0]]",80.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 1, 'x': 0, 'y': 100, 'prize': 0}, {'id': 2, 'x': 48, 'y': 100, 'prize': 80}, {'id': 3, 'x': 62, 'y': 9, 'prize': 7}, {'id': 4, 'x': 82, 'y': 63, 'prize': 99}, {'id': 5, 'x': 100, 'y': 0, 'prize': 77}, {'id': 6, 'x': 100, 'y': 19, 'prize': 20}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 96.0, 'collected_prize': 80.0, 'objective': 80.0}","[[1, 2, 1], [1, 1]]",10,csv,1
TOP,TOP,"Someone at the parks department is mapping out single runs for each landscaping team, all leaving from and coming back to the equipment shed. The task: pick which gardens each team will hit on that one run, make sure each run stays within that team’s mileage cap, and don’t send two teams to the same garden. Plans are judged by how much overall quality they add to the gardens β€” add up the quality-improvement numbers for every garden visited to get the total, and higher totals are better. The concrete details are given below.

# num_locations_including_shed=7
# equipment_shed_id=A
# max_miles_per_run=167.0
# n_teams=2
location_id,x_coordinate,y_coordinate,quality_score_gain
A,17,99,0
B,51,99,82
C,90,0,71
D,100,30,73
E,100,66,77
F,0,64,7
G,4,100,36

Oh, and when you send back the actual routes, a little JSON snippet like this is easiest for me to read:

{
  ""solution"": [[shed_id, garden_id, ... , shed_id], [shed_id, garden_id, ... , shed_id], ...]
}

Each inner list is one team's run β€” a sequence of IDs starting and ending at the equipment shed, with the gardens visited in order. Think of it like filling in a simple form: one array per team, each array listing the shed, the gardens they'll hit, and the shed again at the end. This block is just a sketch of the shape I expect, not the final 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': [[17, 99], [51, 99], [90, 0], [100, 30], [100, 66], [0, 64], [4, 100]], 'prizes': [0, 82, 71, 73, 77, 7, 36], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 6, 0]], 'total_route_length': 94.0768096208106, 'collected_prize': 125.0, 'objective': 125.0}","[[0, 1, 0], [0, 6, 0]]",125.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 'A', 'x': 17, 'y': 99, 'prize': 0}, {'id': 'B', 'x': 51, 'y': 99, 'prize': 82}, {'id': 'C', 'x': 90, 'y': 0, 'prize': 71}, {'id': 'D', 'x': 100, 'y': 30, 'prize': 73}, {'id': 'E', 'x': 100, 'y': 66, 'prize': 77}, {'id': 'F', 'x': 0, 'y': 64, 'prize': 7}, {'id': 'G', 'x': 4, 'y': 100, 'prize': 36}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 94.0768096208106, 'collected_prize': 125.0, 'objective': 125.0}","[['A', 'B', 'A'], ['A', 'G', 'A']]",11,csv,names
TOP,TOP,"A festival planner needs to draw routes for a fleet of tasting guides so each loop begins and ends at the starting kitchen and stays within the allowed travel distance. The question is which restaurants each guide should include to maximize the total tasting haul β€” that total is calculated by adding together the tasting values of all visited restaurants across the whole set of routes. Practical constraints to respect: each guide leads only one route, every route must return to the kitchen and not exceed its distance limit, and no restaurant may be visited more than once. The concrete details (locations, distances, tasting values) are shown below.

Instance summary: 9 locations including the starting kitchen (0); each route must stay within 167.0 distance and there are 2 guides available.

| location_id | x_coordinate | y_coordinate | tasting_value |
|---|---|---|---|
| 0 | 100 | 0 | 0 |
| 1 | 84 | 4 | 86 |
| 2 | 18 | 13 | 62 |
| 3 | 79 | 13 | 33 |
| 4 | 1 | 22 | 6 |
| 5 | 36 | 26 | 31 |
| 6 | 75 | 61 | 33 |
| 7 | 0 | 69 | 73 |
| 8 | 92 | 100 | 64 |

Use these records to assign each restaurant to at most one guide while respecting route limits and maximizing the total tasting value.

Also, when you send the routes back, a simple JSON layout like this works best β€” nothing fancy, just a list of loops for each guide:

{
  ""solution"": [[""kitchen_id"", ""restaurant_id"", ..., ""kitchen_id""], [""kitchen_id"", ""restaurant_id"", ..., ""kitchen_id""], ...]
}

This is just a sketch of the shape I expect: ""solution"" holds a list of routes, each route is an ordered list that starts and ends at the kitchen and has the restaurants visited in between. Treat ""kitchen_id"" and ""restaurant_id"" as placeholders for whatever exact identifiers the instance uses β€” don't fill in new labels here in the template.

Please make sure to 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': [[100, 0], [84, 4], [18, 13], [79, 13], [1, 22], [36, 26], [75, 61], [0, 69], [92, 100]], 'prizes': [0, 86, 62, 33, 6, 31, 33, 73, 64], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 6, 3, 1, 0]], 'total_route_length': 306.9268156315274, 'collected_prize': 214.0, 'objective': 214.0}","[[0, 2, 0], [0, 6, 3, 1, 0]]",214.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 0, 'x': 100, 'y': 0, 'prize': 0}, {'id': 1, 'x': 84, 'y': 4, 'prize': 86}, {'id': 2, 'x': 18, 'y': 13, 'prize': 62}, {'id': 3, 'x': 79, 'y': 13, 'prize': 33}, {'id': 4, 'x': 1, 'y': 22, 'prize': 6}, {'id': 5, 'x': 36, 'y': 26, 'prize': 31}, {'id': 6, 'x': 75, 'y': 61, 'prize': 33}, {'id': 7, 'x': 0, 'y': 69, 'prize': 73}, {'id': 8, 'x': 92, 'y': 100, 'prize': 64}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 306.9268156315274, 'collected_prize': 214.0, 'objective': 214.0}","[[0, 2, 0], [0, 6, 3, 1, 0]]",12,markdown_table,0
TOP,TOP,"There’s a daily juggling act at the exchange: assemble one closed circuit per technician, make sure it begins and ends at the exchange, and keep every circuit under that tech’s travel limit. Don’t send two crews to the same tower. The whole point is to visit towers whose priority numbers add up to the biggest total possible β€” the total service priority is just the sum of the priorities of all towers that actually get visited. The concrete instance data are listed below.

Instance specifics: 10 total sites (including exchange 1); assign exactly 2 closed circuits, each no longer than 167.0.
Site 1 at (80, 39), priority 0.
Site 2 at (13, 18), priority 47.
Site 3 at (100, 62), priority 12.
Site 4 at (0, 60), priority 71.
Site 5 at (100, 100), priority 76.
Site 6 at (43, 12), priority 56.
Site 7 at (93, 0), priority 77.
Site 8 at (28, 87), priority 49.
Site 9 at (92, 66), priority 52.
Site 10 at (12, 66), priority 43.
Use these records to plan 2 circuits that maximize total priority without exceeding 167.0 per circuit.

Also, when you send the actual routes back, just stick to this simple JSON shape so it’s easy to check:

{
  ""solution"": [[exchange_id, tower_id, ... , exchange_id], [exchange_id, tower_id, ... , exchange_id], ...]
}

Think of it like a little form: ""solution"" is a list of circuits, each circuit is the exchange identifier, then the towers you visit in order, and then the exchange identifier again to close the loop. It’s only a sketch of the shape I want, not the real answer β€” replace those placeholders with the actual routes for each technician.

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': [[80, 39], [13, 18], [100, 62], [0, 60], [100, 100], [43, 12], [93, 0], [28, 87], [92, 66], [12, 66]], 'prizes': [0, 47, 12, 71, 76, 56, 77, 49, 52, 43], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 4, 8, 0], [0, 5, 6, 0]], 'total_route_length': 271.28795318010447, 'collected_prize': 273.0, 'objective': 273.0}","[[0, 2, 4, 8, 0], [0, 5, 6, 0]]",273.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 1, 'x': 80, 'y': 39, 'prize': 0}, {'id': 2, 'x': 13, 'y': 18, 'prize': 47}, {'id': 3, 'x': 100, 'y': 62, 'prize': 12}, {'id': 4, 'x': 0, 'y': 60, 'prize': 71}, {'id': 5, 'x': 100, 'y': 100, 'prize': 76}, {'id': 6, 'x': 43, 'y': 12, 'prize': 56}, {'id': 7, 'x': 93, 'y': 0, 'prize': 77}, {'id': 8, 'x': 28, 'y': 87, 'prize': 49}, {'id': 9, 'x': 92, 'y': 66, 'prize': 52}, {'id': 10, 'x': 12, 'y': 66, 'prize': 43}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 271.28795318010447, 'collected_prize': 273.0, 'objective': 273.0}","[[1, 3, 5, 9, 1], [1, 6, 7, 1]]",13,nl,1
TOP,TOP,"Someone at the charity has to map out where each canvassing team will go: each team should head out from headquarters, do one loop and return, keep within that team’s travel cap, and make sure no house gets visited twice. The goal is to maximize the total money pledged by the households they actually reach β€” just sum the pledge numbers from every visited house to compare different plans. Remember, only one route per team, every route stays under its distance cap, and no household is duplicated. The specific team sizes, distance limits, and house pledge values appear below.

{
  ""total_locations_including_headquarters"": 7,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""x_coord"": 38,
      ""y_coord"": 97,
      ""pledge_amount"": 0
    },
    {
      ""location_id"": 1,
      ""x_coord"": 18,
      ""y_coord"": 33,
      ""pledge_amount"": 11
    },
    {
      ""location_id"": 2,
      ""x_coord"": 88,
      ""y_coord"": 100,
      ""pledge_amount"": 3
    },
    {
      ""location_id"": 3,
      ""x_coord"": 89,
      ""y_coord"": 0,
      ""pledge_amount"": 64
    },
    {
      ""location_id"": 4,
      ""x_coord"": 100,
      ""y_coord"": 0,
      ""pledge_amount"": 31
    },
    {
      ""location_id"": 5,
      ""x_coord"": 2,
      ""y_coord"": 1,
      ""pledge_amount"": 51
    },
    {
      ""location_id"": 6,
      ""x_coord"": 0,
      ""y_coord"": 1,
      ""pledge_amount"": 91
    }
  ],
  ""headquarters_node_id"": 0,
  ""distance_cap_per_team"": 167.0,
  ""n_canvassing_teams"": 2
}

Also, when you hand me the route plan, just pop it into this simple JSON layout so it's easy to parse:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of ""solution"" as a list of loops β€” each inner list is one team's route, starting and ending at the depot and listing the houses visited in between. It's just a sketch of the shape I want, not the actual answer.

Please use the exact identifiers from the instance input β€” don't rename anything 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': [[38, 97], [18, 33], [88, 100], [89, 0], [100, 0], [2, 1], [0, 1]], 'prizes': [0, 11, 3, 64, 31, 51, 91], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 2, 0]], 'total_route_length': 234.28427520486724, 'collected_prize': 14.0, 'objective': 14.0}","[[0, 1, 0], [0, 2, 0]]",14.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 38, 'y': 97, 'prize': 0}, {'id': 1, 'x': 18, 'y': 33, 'prize': 11}, {'id': 2, 'x': 88, 'y': 100, 'prize': 3}, {'id': 3, 'x': 89, 'y': 0, 'prize': 64}, {'id': 4, 'x': 100, 'y': 0, 'prize': 31}, {'id': 5, 'x': 2, 'y': 1, 'prize': 51}, {'id': 6, 'x': 0, 'y': 1, 'prize': 91}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 234.28427520486724, 'collected_prize': 14.0, 'objective': 14.0}","[[0, 1, 0], [0, 2, 0]]",14,json,0
TOP,TOP,"I’m in charge of putting together the weekly rounds for the book vans: every route has to start and finish at the main library, each van gets just one route, and none of the pickup points can be visited more than once across all the vans. The goal is to pick which stops each van will make so the vans, together, bring in as many readership points as possible β€” the total is just the sum of the points assigned to every stop the vans actually visit. Each van’s route can’t run past its allowed travel distance, and the exact stops, distances and point values will be shown below.

Below I list 7 locations (including the main library at node 0), with coordinates and readership points; assign them among the 2 vans so each van's round trip stays within 167.0.

| stop_id | location_x_coordinate | location_y_coordinate | readership_points |
|---|---|---|---|
| 0 | 4 | 94 | 0 |
| 1 | 22 | 0 | 41 |
| 2 | 56 | 21 | 76 |
| 3 | 67 | 44 | 23 |
| 4 | 0 | 26 | 8 |
| 5 | 93 | 62 | 29 |
| 6 | 100 | 100 | 16 |

I'll assign stops to the 2 vans to maximize total readership while keeping each route within 167.0.

Oh, and when you send the routes back, please use this simple JSON layout so I can pick them up programmatically:

{
  ""solution"": [[""main_library_id"", ""stop_id"", ... , ""main_library_id""], [""main_library_id"", ""stop_id"", ... , ""main_library_id""], ...]
}

The idea here is straightforward: ""solution"" is a list of routes (one list per van). Each inner list is the sequence of spot IDs that van will visit, starting and ending with the main library ID. The placeholders are just that β€” placeholders showing the expected shape, not the actual stops.

Quick reminder: 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': [[4, 94], [22, 0], [56, 21], [67, 44], [0, 26], [93, 62], [100, 100]], 'prizes': [0, 41, 76, 23, 8, 29, 16], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 4, 0], [0, 3, 0]], 'total_route_length': 297.0952786681944, 'collected_prize': 31.0, 'objective': 31.0}","[[0, 4, 0], [0, 3, 0]]",31.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 4, 'y': 94, 'prize': 0}, {'id': 1, 'x': 22, 'y': 0, 'prize': 41}, {'id': 2, 'x': 56, 'y': 21, 'prize': 76}, {'id': 3, 'x': 67, 'y': 44, 'prize': 23}, {'id': 4, 'x': 0, 'y': 26, 'prize': 8}, {'id': 5, 'x': 93, 'y': 62, 'prize': 29}, {'id': 6, 'x': 100, 'y': 100, 'prize': 16}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 297.0952786681944, 'collected_prize': 31.0, 'objective': 31.0}","[[0, 4, 0], [0, 3, 0]]",15,markdown_table,0
TOP,TOP,"We’ve got a neighborhood watch doing regular rounds from the local station, and the job is to map out who walks which loop. Each volunteer gets exactly one round, every round has to begin and finish at the station and stay under the distance limit, and streets shouldn’t be patrolled by more than one round. Plans are judged by the total safety coverage they achieve β€” add up the coverage scores of all the different blocks visited (count each block only once) β€” and the higher that sum, the better the plan. Concrete details are shown below.

# total_locations_including_station=9
# station_id=A
# max_patrol_distance_per_volunteer=167.0
# n_volunteers=2
block_id,x_coord,y_coord,safety_coverage_score
A,3,1,0
B,59,0,81
C,85,18,63
D,89,41,87
E,94,43,80
F,8,61,19
G,100,76,89
H,85,83,54
I,0,100,81

Also, when you send the patrol plan back, just put it in a little JSON snippet like this so it's easy to read and parse:

{
  ""solution"": [[""station_id"", ""block_id"", ..., ""station_id""], [""station_id"", ""block_id"", ..., ""station_id""], ...]
}

Think of it like a simple form: each inner list is one volunteer’s round (start at the station, visit a few blocks, and come back to the station). The placeholders here are just examples showing the shape I need β€” replace them with the actual IDs from the instance when you reply.

Please use the identifiers exactly as they appear in the instance input β€” no renaming and no new labels.

For example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[3, 1], [59, 0], [85, 18], [89, 41], [94, 43], [8, 61], [100, 76], [85, 83], [0, 100]], 'prizes': [0, 81, 63, 87, 80, 19, 89, 54, 81], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 5, 0]], 'total_route_length': 232.4338015074465, 'collected_prize': 100.0, 'objective': 100.0}","[[0, 1, 0], [0, 5, 0]]",100.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 'A', 'x': 3, 'y': 1, 'prize': 0}, {'id': 'B', 'x': 59, 'y': 0, 'prize': 81}, {'id': 'C', 'x': 85, 'y': 18, 'prize': 63}, {'id': 'D', 'x': 89, 'y': 41, 'prize': 87}, {'id': 'E', 'x': 94, 'y': 43, 'prize': 80}, {'id': 'F', 'x': 8, 'y': 61, 'prize': 19}, {'id': 'G', 'x': 100, 'y': 76, 'prize': 89}, {'id': 'H', 'x': 85, 'y': 83, 'prize': 54}, {'id': 'I', 'x': 0, 'y': 100, 'prize': 81}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 232.4338015074465, 'collected_prize': 100.0, 'objective': 100.0}","[['A', 'B', 'A'], ['A', 'F', 'A']]",16,csv,names
TOP,TOP,"Someone needs to organize the inspection rounds: give each picker a single loop out from and back to the barn, keep every loop short enough so no one wanders too far, don’t send two pickers to the same tree group, and try to collect the most expected fruit value by choosing which groups to inspect. That β€œmost” is measured by summing the expected harvests of all the tree groups that get visited. The detailed map and values are shown below.

{
  ""total_locations_including_barn"": 5,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""x_coordinate"": 0,
      ""y_coordinate"": 27,
      ""expected_harvest_value"": 0
    },
    {
      ""location_id"": 1,
      ""x_coordinate"": 100,
      ""y_coordinate"": 7,
      ""expected_harvest_value"": 32
    },
    {
      ""location_id"": 2,
      ""x_coordinate"": 29,
      ""y_coordinate"": 100,
      ""expected_harvest_value"": 11
    },
    {
      ""location_id"": 3,
      ""x_coordinate"": 42,
      ""y_coordinate"": 100,
      ""expected_harvest_value"": 23
    },
    {
      ""location_id"": 4,
      ""x_coordinate"": 36,
      ""y_coordinate"": 0,
      ""expected_harvest_value"": 43
    }
  ],
  ""barn_node_id"": 0,
  ""max_tour_distance_per_picker"": 167.0,
  ""n_pickers"": 2
}

Oh, and when you send back the chosen loops, please use a tiny JSON layout like this so it's easy to read and check:

{
  ""solution"": [[barn_id, tree_group_id, ... , barn_id], [barn_id, tree_group_id, ... , barn_id], ...]
}

This just means ""solution"" is a list of loops. Each inner list is one picker’s loop: it starts at the barn (barn_id), visits some tree groups (tree_group_id placeholders), and comes back to the barn. It’s just a sketch of the shape I need, 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': [[0, 27], [100, 7], [29, 100], [42, 100], [36, 0]], 'prizes': [0, 32, 11, 23, 43], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 4, 0], [0, 2, 0]], 'total_route_length': 247.09869509324386, 'collected_prize': 54.0, 'objective': 54.0}","[[0, 4, 0], [0, 2, 0]]",54.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 0, 'x': 0, 'y': 27, 'prize': 0}, {'id': 1, 'x': 100, 'y': 7, 'prize': 32}, {'id': 2, 'x': 29, 'y': 100, 'prize': 11}, {'id': 3, 'x': 42, 'y': 100, 'prize': 23}, {'id': 4, 'x': 36, 'y': 0, 'prize': 43}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 247.09869509324386, 'collected_prize': 54.0, 'objective': 54.0}","[[0, 4, 0], [0, 2, 0]]",17,json,0
TOP,TOP,"I picture a small crew of vending-machine attendants who all set out from the same supply warehouse, each doing one round trip that begins and ends at that warehouse. The job is to decide which attendant visits which machines so the combined resale cash they bring back is as big as possible β€” that total is simply the sum of the resale value of every machine that gets visited by any attendant. Every attendant only gets a single run, each run has to stay under a given distance/time limit, and no machine can be assigned to more than one attendant. The exact list of machines, their resale values, how many attendants there are, and the route length limit are shown below.

Below are the 6 locations (warehouse at node A); there are 2 attendants and each attendant's round trip must not exceed 167.0.
Location A at (39, 100) with resale value 0.
Location B at (61, 55) with resale value 86.
Location C at (73, 27) with resale value 1.
Location D at (86, 97) with resale value 51.
Location E at (100, 0) with resale value 42.
Location F at (0, 27) with resale value 22.
Assign each of the 2 attendants a single round trip so the sum of visited machines' resale values is maximized while no route exceeds 167.0.

Oh β€” and when you send back the actual routes, please follow a simple JSON layout like this:

{
  ""solution"": [[warehouse_id, machine_id, ... , warehouse_id], [warehouse_id, machine_id, ... , warehouse_id], ...]
}

This just means ""solution"" holds a list of routes; each route is a list that starts and ends at the warehouse and has the machines visited in order in between. It's just a sketch of the shape I expect, not the actual answer.

Please use the exact identifiers from the instance input β€” do not 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': [[39, 100], [61, 55], [73, 27], [86, 97], [100, 0], [0, 27]], 'prizes': [0, 86, 1, 51, 42, 22], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 3, 0], [0, 5, 0]], 'total_route_length': 311.59241771460745, 'collected_prize': 159.0, 'objective': 159.0}","[[0, 1, 3, 0], [0, 5, 0]]",159.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 'A', 'x': 39, 'y': 100, 'prize': 0}, {'id': 'B', 'x': 61, 'y': 55, 'prize': 86}, {'id': 'C', 'x': 73, 'y': 27, 'prize': 1}, {'id': 'D', 'x': 86, 'y': 97, 'prize': 51}, {'id': 'E', 'x': 100, 'y': 0, 'prize': 42}, {'id': 'F', 'x': 0, 'y': 27, 'prize': 22}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 311.59241771460745, 'collected_prize': 159.0, 'objective': 159.0}","[['A', 'B', 'D', 'A'], ['A', 'F', 'A']]",18,nl,names
TOP,TOP,"Many people on the logistics team were focused on one thing: send each mobile unit out from the hub on a single loop, keep them within their travel caps, and make sure no testing site is checked by more than one crew. The aim is to pick stops so the total high-priority tests completed (just add the tests from every visited site) is maximized. Every team starts and finishes at the hub and only runs that one permitted route. The specifics for locations, team ranges, and priorities are listed below.

{
  ""total_sites_including_hub"": 8,
  ""nodes"": [
    {
      ""site_id"": ""A"",
      ""x_coord"": 18,
      ""y_coord"": 12,
      ""high_priority_tests"": 0
    },
    {
      ""site_id"": ""B"",
      ""x_coord"": 0,
      ""y_coord"": 100,
      ""high_priority_tests"": 34
    },
    {
      ""site_id"": ""C"",
      ""x_coord"": 52,
      ""y_coord"": 84,
      ""high_priority_tests"": 94
    },
    {
      ""site_id"": ""D"",
      ""x_coord"": 76,
      ""y_coord"": 20,
      ""high_priority_tests"": 32
    },
    {
      ""site_id"": ""E"",
      ""x_coord"": 95,
      ""y_coord"": 28,
      ""high_priority_tests"": 52
    },
    {
      ""site_id"": ""F"",
      ""x_coord"": 100,
      ""y_coord"": 96,
      ""high_priority_tests"": 70
    },
    {
      ""site_id"": ""G"",
      ""x_coord"": 90,
      ""y_coord"": 10,
      ""high_priority_tests"": 36
    },
    {
      ""site_id"": ""H"",
      ""x_coord"": 63,
      ""y_coord"": 0,
      ""high_priority_tests"": 97
    }
  ],
  ""hub_id"": ""A"",
  ""max_route_length_per_team"": 167.0,
  ""num_mobile_teams"": 2
}

Also, when you send the routes back, just put them in this little JSON shape so it's easy to read and process:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of that as a simple form: ""solution"" holds a list of routes, each route is the sequence of stops (start at the depot, visit some sites, and return to the depot). This is just a sketch of the expected shape β€” not the actual answer.

Please make sure to use the exact identifiers from the instance input, without renaming or inventing new labels. To be clear: valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[18, 12], [0, 100], [52, 84], [76, 20], [95, 28], [100, 96], [90, 10], [63, 0]], 'prizes': [0, 34, 94, 32, 52, 70, 36, 97], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 7, 3, 6, 0]], 'total_route_length': 318.90690182724995, 'collected_prize': 259.0, 'objective': 259.0}","[[0, 2, 0], [0, 7, 3, 6, 0]]",259.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 'A', 'x': 18, 'y': 12, 'prize': 0}, {'id': 'B', 'x': 0, 'y': 100, 'prize': 34}, {'id': 'C', 'x': 52, 'y': 84, 'prize': 94}, {'id': 'D', 'x': 76, 'y': 20, 'prize': 32}, {'id': 'E', 'x': 95, 'y': 28, 'prize': 52}, {'id': 'F', 'x': 100, 'y': 96, 'prize': 70}, {'id': 'G', 'x': 90, 'y': 10, 'prize': 36}, {'id': 'H', 'x': 63, 'y': 0, 'prize': 97}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 318.90690182724995, 'collected_prize': 259.0, 'objective': 259.0}","[['A', 'C', 'A'], ['A', 'H', 'D', 'G', 'A']]",19,json,names
TOP,TOP,"On the day of the fair the outreach coordinator wants tidy loops that all start and finish at the information tent so staff know exactly where they’ll go and how far they’ll walk. The choice is which booths to put on each of those single routes, keeping every route within its assigned distance cap and ensuring each booth is visited by at most one route. The aim is to maximize the total number of contacts collected across all routes, which is simply the sum of contacts from each visited booth. The concrete details β€” booths, contact estimates, and each staffer’s distance limit β€” are shown below.

Listed below are 9 locations (including the information tent 0); arrange 2 circuits so each circuit stays within 167.0.
Location 0 at coordinates (0, 37) is estimated to yield 0 contacts.
Location 1 at coordinates (21, 18) is estimated to yield 25 contacts.
Location 2 at coordinates (33, 0) is estimated to yield 50 contacts.
Location 3 at coordinates (38, 34) is estimated to yield 30 contacts.
Location 4 at coordinates (43, 18) is estimated to yield 28 contacts.
Location 5 at coordinates (16, 81) is estimated to yield 4 contacts.
Location 6 at coordinates (21, 63) is estimated to yield 61 contacts.
Location 7 at coordinates (100, 81) is estimated to yield 50 contacts.
Location 8 at coordinates (71, 100) is estimated to yield 5 contacts.
Use these details to form the 2 tidy loops, keeping every circuit within 167.0.

If you want to hand the routes over in a tidy, machine-friendly way, a simple JSON like this is perfect β€” one key called ""solution"" whose value is a list of routes (each route is a list that starts and ends at the info tent). For the story I'm using placeholders that match the same shape you should follow:

{
  ""solution"": [[tent_id, booth_id, ... , tent_id], [tent_id, booth_id, ... , tent_id], ...]
}

Each inner list is one staffer’s loop: the first and last entry are the information tent, and the things in between are the booths they’ll visit. This is just a sketch of the shape I need, not the actual answer.

Please make sure to use the exact identifiers from the instance input β€” don’t rename anything 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': [[0, 37], [21, 18], [33, 0], [38, 34], [43, 18], [16, 81], [21, 63], [100, 81], [71, 100]], 'prizes': [0, 25, 50, 30, 28, 4, 61, 50, 5], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 5, 6, 0], [0, 3, 2, 1, 4, 0]], 'total_route_length': 262.0497536762123, 'collected_prize': 198.0, 'objective': 198.0}","[[0, 5, 6, 0], [0, 3, 2, 1, 4, 0]]",198.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 0, 'x': 0, 'y': 37, 'prize': 0}, {'id': 1, 'x': 21, 'y': 18, 'prize': 25}, {'id': 2, 'x': 33, 'y': 0, 'prize': 50}, {'id': 3, 'x': 38, 'y': 34, 'prize': 30}, {'id': 4, 'x': 43, 'y': 18, 'prize': 28}, {'id': 5, 'x': 16, 'y': 81, 'prize': 4}, {'id': 6, 'x': 21, 'y': 63, 'prize': 61}, {'id': 7, 'x': 100, 'y': 81, 'prize': 50}, {'id': 8, 'x': 71, 'y': 100, 'prize': 5}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 262.0497536762123, 'collected_prize': 198.0, 'objective': 198.0}","[[0, 5, 6, 0], [0, 3, 2, 1, 4, 0]]",20,nl,0
TOP,TOP,"In this role the planner must give every technician a route that leaves and returns to the shop within the given time cap, with the rule that each worksite can only be handled once that day. The objective is to collect as many importance points as possible across the whole crew β€” add up the importance numbers of the visited sites to get the total β€” while respecting the per‑route time limits and the one‑visit rule. The concrete details for the scenario (sites, their scores, number of techs, and route time limits) are shown below.

{
  ""total_locations_including_garage"": 7,
  ""nodes"": [
    {
      ""site_node_id"": 0,
      ""x_coordinate_meters"": 0,
      ""y_coordinate_meters"": 58,
      ""importance_points"": 0
    },
    {
      ""site_node_id"": 1,
      ""x_coordinate_meters"": 10,
      ""y_coordinate_meters"": 9,
      ""importance_points"": 91
    },
    {
      ""site_node_id"": 2,
      ""x_coordinate_meters"": 51,
      ""y_coordinate_meters"": 100,
      ""importance_points"": 24
    },
    {
      ""site_node_id"": 3,
      ""x_coordinate_meters"": 66,
      ""y_coordinate_meters"": 58,
      ""importance_points"": 14
    },
    {
      ""site_node_id"": 4,
      ""x_coordinate_meters"": 68,
      ""y_coordinate_meters"": 51,
      ""importance_points"": 49
    },
    {
      ""site_node_id"": 5,
      ""x_coordinate_meters"": 90,
      ""y_coordinate_meters"": 26,
      ""importance_points"": 99
    },
    {
      ""site_node_id"": 6,
      ""x_coordinate_meters"": 100,
      ""y_coordinate_meters"": 0,
      ""importance_points"": 24
    }
  ],
  ""garage_node_id"": 0,
  ""max_route_time_per_technician"": 167.0,
  ""num_technicians"": 2
}

Also, when you reply with the routes, just slip them into this JSON shape so it's easy to read and validate:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Here ""solution"" is a list of routes. Each route is a list of location identifiers in visit order that starts and ends at the shop (the depot). Think of it like a simple form: one array per technician, each array listing the sites they visit beginning and ending with the depot. This is only a sketch of the expected shape β€” not the actual answer.

Please make sure to use the exact identifiers from the instance input, with no renaming and 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': [[0, 58], [10, 9], [51, 100], [66, 58], [68, 51], [90, 26], [100, 0]], 'prizes': [0, 91, 24, 14, 49, 99, 24], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 3, 4, 0], [0, 1, 0]], 'total_route_length': 241.6594525325308, 'collected_prize': 154.0, 'objective': 154.0}","[[0, 3, 4, 0], [0, 1, 0]]",154.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 0, 'y': 58, 'prize': 0}, {'id': 1, 'x': 10, 'y': 9, 'prize': 91}, {'id': 2, 'x': 51, 'y': 100, 'prize': 24}, {'id': 3, 'x': 66, 'y': 58, 'prize': 14}, {'id': 4, 'x': 68, 'y': 51, 'prize': 49}, {'id': 5, 'x': 90, 'y': 26, 'prize': 99}, {'id': 6, 'x': 100, 'y': 0, 'prize': 24}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 241.6594525325308, 'collected_prize': 154.0, 'objective': 154.0}","[[0, 3, 4, 0], [0, 1, 0]]",21,json,0
TOP,TOP,"We’ve got several food trucks based at the commissary, and the task is to lay out a route for each truck that leaves from the commissary and comes back without going past that truck’s allowed driving range. The trick is to assign stops so every chosen stop is visited by exactly one truck at most, and the combined income from all visited stops is maximized β€” compute that combined income by adding up the revenue from each stop the trucks visit. Each truck gets one route, each route must meet its distance limit, and no stop can be doubled-up. The concrete details follow below.

# total_locations_including_commissary=8
# commissary_node_id=0
# max_route_distance_per_truck=167.0
# number_of_trucks=2
location_id,x_coordinate,y_coordinate,stop_revenue
0,23,26,0
1,91,100,76
2,0,88,24
3,83,13,73
4,82,95,37
5,100,83,63
6,80,0,63
7,2,59,54

Also, when you send the routes back, please use this simple JSON layout so it's clear and easy to read:

{
  ""solution"": [[""commissary_id"", ""stop_id"", ..., ""commissary_id""], [""commissary_id"", ""stop_id"", ..., ""commissary_id""], ...]
}

Think of it like a little form: ""solution"" is a list of routes, each inner list is one truck's path. The first and last entry in a route should be the commissary (that's the starting and ending placeholder), and the stops you visit go in the middle in the order the truck will visit them. The ""..."" just means you can have as many stops as fit the route. This JSON is just a sketch of the shape I want back β€” not the actual answer.

Please make sure every identifier you use is exactly the same as it appears in 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': [[23, 26], [91, 100], [0, 88], [83, 13], [82, 95], [100, 83], [80, 0], [2, 59]], 'prizes': [0, 76, 24, 73, 37, 63, 63, 54], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 7, 2, 0], [0, 3, 6, 0]], 'total_route_length': 271.6964270156929, 'collected_prize': 214.0, 'objective': 214.0}","[[0, 7, 2, 0], [0, 3, 6, 0]]",214.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 0, 'x': 23, 'y': 26, 'prize': 0}, {'id': 1, 'x': 91, 'y': 100, 'prize': 76}, {'id': 2, 'x': 0, 'y': 88, 'prize': 24}, {'id': 3, 'x': 83, 'y': 13, 'prize': 73}, {'id': 4, 'x': 82, 'y': 95, 'prize': 37}, {'id': 5, 'x': 100, 'y': 83, 'prize': 63}, {'id': 6, 'x': 80, 'y': 0, 'prize': 63}, {'id': 7, 'x': 2, 'y': 59, 'prize': 54}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 271.6964270156929, 'collected_prize': 214.0, 'objective': 214.0}","[[0, 7, 2, 0], [0, 3, 6, 0]]",22,csv,0
TOP,TOP,"I’m the regional sales manager juggling a crew of reps and a stack of client leads, and the daily job is to draw up routes so each rep leaves from and returns to the branch. The decision is which clients each rep should visit today, remembering that each rep has a fixed time allowance for their route and no client should get visited by more than one rep. A better plan is simply the one that brings in the biggest total expected sales β€” add up the expected sales from every client that actually gets visited across all routes β€” while still having every route start and end at the office and never exceed the time limit. The concrete details (who the reps are, their time limits, and each client’s expected sales and location) are shown below.

{
  ""total_locations_including_branch"": 5,
  ""nodes"": [
    {
      ""location_id"": ""A"",
      ""coord_x"": 1,
      ""coord_y"": 0,
      ""expected_sales"": 0
    },
    {
      ""location_id"": ""B"",
      ""coord_x"": 4,
      ""coord_y"": 100,
      ""expected_sales"": 84
    },
    {
      ""location_id"": ""C"",
      ""coord_x"": 0,
      ""coord_y"": 40,
      ""expected_sales"": 32
    },
    {
      ""location_id"": ""D"",
      ""coord_x"": 72,
      ""coord_y"": 74,
      ""expected_sales"": 19
    },
    {
      ""location_id"": ""E"",
      ""coord_x"": 100,
      ""coord_y"": 65,
      ""expected_sales"": 4
    }
  ],
  ""branch_office_id"": ""A"",
  ""time_allowance_per_rep"": 167.0,
  ""n_reps"": 2
}

Also, when you send the routes back, please use a simple JSON shape like this (just showing the structure so it's easy to copy):

{
  ""solution"": [[office_id, client_id, ... , office_id], [office_id, client_id, ... , office_id], ...]
}

Here ""solution"" is a list of routes; each inner list is one rep's route starting and ending at the office (office_id) and listing the clients visited in order (client_id). It's just a sketch of the expected shape β€” replace the placeholders with the actual route you choose.

Please be sure to use the exact identifiers from the instance input β€” no renaming, no made-up 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': [[1, 0], [4, 100], [0, 40], [72, 74], [100, 65]], 'prizes': [0, 84, 32, 19, 4], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 0]], 'total_route_length': 80.02499609497022, 'collected_prize': 32.0, 'objective': 32.0}","[[0, 2, 0], [0, 0]]",32.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 'A', 'x': 1, 'y': 0, 'prize': 0}, {'id': 'B', 'x': 4, 'y': 100, 'prize': 84}, {'id': 'C', 'x': 0, 'y': 40, 'prize': 32}, {'id': 'D', 'x': 72, 'y': 74, 'prize': 19}, {'id': 'E', 'x': 100, 'y': 65, 'prize': 4}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 80.02499609497022, 'collected_prize': 32.0, 'objective': 32.0}","[['A', 'C', 'A'], ['A', 'A']]",23,json,names
TOP,TOP,"Recently the security team decided to map out routes for multiple patrols: every run must originate and end at headquarters, and every vehicle has a maximum distance it can cover on its round. The choice at hand is which checkpoints each patrol should visit, making sure to avoid duplicate coverage of the same checkpoint. A plan is judged by how much security importance it collects overall β€” you calculate that by summing the importance scores of all checkpoints the patrols visit, and the higher that sum, the better the outcome. The detailed instance information follows below.

# total_locations_including_headquarters=6
# headquarters_id=0
# max_patrol_distance_per_vehicle=167.0
# n_patrol_vehicles=2
checkpoint_id,coord_x,coord_y,security_importance
0,55,100,0
1,100,0,68
2,93,43,2
3,99,48,51
4,0,93,23
5,39,93,65

Oh, and one more thing β€” when you send the patrol plan back, it's handy to follow a simple JSON shape so it's easy to read and check. For example:

{
  ""solution"": [[hq_id, checkpoint_id, ... , hq_id], [hq_id, checkpoint_id, ... , hq_id], ...]
}

This just means ""solution"" is a list of routes. Each inner list is one patrol's round: start at headquarters (hq_id), list the checkpoints to visit in order, and finish back at headquarters (hq_id). The ""..."" just shows you can have more stops; treat this as a form to fill in, not the final answers.

Please use the exact identifiers from the instance input β€” do not rename or invent new labels. 
- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[55, 100], [100, 0], [93, 43], [99, 48], [0, 93], [39, 93]], 'prizes': [0, 68, 2, 51, 23, 65], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 3, 0], [0, 5, 4, 0]], 'total_route_length': 256.3411836725175, 'collected_prize': 141.0, 'objective': 141.0}","[[0, 2, 3, 0], [0, 5, 4, 0]]",141.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 0, 'x': 55, 'y': 100, 'prize': 0}, {'id': 1, 'x': 100, 'y': 0, 'prize': 68}, {'id': 2, 'x': 93, 'y': 43, 'prize': 2}, {'id': 3, 'x': 99, 'y': 48, 'prize': 51}, {'id': 4, 'x': 0, 'y': 93, 'prize': 23}, {'id': 5, 'x': 39, 'y': 93, 'prize': 65}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 256.3411836725175, 'collected_prize': 141.0, 'objective': 141.0}","[[0, 2, 3, 0], [0, 5, 4, 0]]",24,csv,0
TOP,TOP,"Many couriers juggle several pickups in a day, so the conservation lab needs to assign who goes where: every courier will do a loop that begins and ends at the lab, and each loop must respect that courier’s travel allowance. The better the assignment, the higher the total insured value the team brings back β€” that total is just the sum of insured values for all collected artifacts. Also, each lending institution gets visited at most once across the whole plan, and no loop can exceed its allotted travel. Concrete details are provided below.

# total_locations_including_lab=8
# lab_node_id=1
# max_travel_allowance_per_courier=167.0
# n_couriers=2
location_node_id,x_coordinate_map,y_coordinate_map,insured_value
1,0,100,0
2,25,80,69
3,61,50,39
4,69,41,94
5,85,31,14
6,63,25,34
7,85,22,11
8,100,0,92

Also, when you send the plan back, just put it in this simple JSON shape so I can read it automatically:

{
  ""solution"": [[""lab_id"", ""institution_id"", ... , ""lab_id""], [""lab_id"", ""institution_id"", ... , ""lab_id""], ...]
}

This just means: ""solution"" is a list of loops (one per courier). Each inner list shows the loop in visit order, starting and ending at the lab (lab_id) with the institutions visited in between (institution_id). The little placeholders are just examples of the shape I expect β€” replace them with the actual IDs from the instance.

The JSON above is only a sketch of the shape I want, not the final answer.

Please make sure to use the exact identifiers from the problem instance β€” 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': [[0, 100], [25, 80], [61, 50], [69, 41], [85, 31], [63, 25], [85, 22], [100, 0]], 'prizes': [0, 69, 39, 94, 14, 34, 11, 92], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 2, 0]], 'total_route_length': 221.77787466801647, 'collected_prize': 108.0, 'objective': 108.0}","[[0, 1, 0], [0, 2, 0]]",108.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 1, 'x': 0, 'y': 100, 'prize': 0}, {'id': 2, 'x': 25, 'y': 80, 'prize': 69}, {'id': 3, 'x': 61, 'y': 50, 'prize': 39}, {'id': 4, 'x': 69, 'y': 41, 'prize': 94}, {'id': 5, 'x': 85, 'y': 31, 'prize': 14}, {'id': 6, 'x': 63, 'y': 25, 'prize': 34}, {'id': 7, 'x': 85, 'y': 22, 'prize': 11}, {'id': 8, 'x': 100, 'y': 0, 'prize': 92}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 221.77787466801647, 'collected_prize': 108.0, 'objective': 108.0}","[[1, 2, 1], [1, 3, 1]]",25,csv,1
TOP,TOP,"Many people rely on the bookmobiles, so the challenge is to assign one loop per vehicle that starts and finishes at headquarters, stays within that vehicle’s limit, and never duplicates a neighborhood across two routes. The goal is to maximize how many potential patrons are served, counting neighborhoods with greater need as worth more; calculate that by summing the patron counts at every stop after applying each neighborhood’s need weight. The full set of specifics is shown below.

There are 6 total locations including the depot 1; plan 2 loops, each not exceeding 167.0.

| location_id | x_coordinate | y_coordinate | weighted_patron_count |
|---|---|---|---|
| 1 | 0 | 75 | 0 |
| 2 | 100 | 7 | 26 |
| 3 | 51 | 100 | 66 |
| 4 | 71 | 9 | 82 |
| 5 | 49 | 34 | 56 |
| 6 | 67 | 0 | 53 |

Routes must start and end at 1, stay within 167.0, avoid visiting any neighborhood more than once, and maximize the total weighted patron count.

Also, when you give the routes back, just stick to this little JSON layout so it's easy to read and check:

{
  ""solution"": [[headquarters_id, neighborhood_id, ... , headquarters_id], [headquarters_id, neighborhood_id, ... , headquarters_id], ...]
}

This just means ""solution"" contains a list of loops β€” each loop is the sequence of stops for one vehicle, starting and ending at headquarters and listing the neighborhood identifiers in visit order. It's just a sketch of the shape I expect, not the actual route plan.

Please 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': [[0, 75], [100, 7], [51, 100], [71, 9], [49, 34], [67, 0]], 'prizes': [0, 26, 66, 82, 56, 53], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 4, 0]], 'total_route_length': 241.37683732900973, 'collected_prize': 122.0, 'objective': 122.0}","[[0, 2, 0], [0, 4, 0]]",122.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 1, 'x': 0, 'y': 75, 'prize': 0}, {'id': 2, 'x': 100, 'y': 7, 'prize': 26}, {'id': 3, 'x': 51, 'y': 100, 'prize': 66}, {'id': 4, 'x': 71, 'y': 9, 'prize': 82}, {'id': 5, 'x': 49, 'y': 34, 'prize': 56}, {'id': 6, 'x': 67, 'y': 0, 'prize': 53}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 241.37683732900973, 'collected_prize': 122.0, 'objective': 122.0}","[[1, 3, 1], [1, 5, 1]]",26,markdown_table,1
TOP,TOP,"Many of the photographers need concise shooting plans: each route must begin and return to the media center, must fit into the photographer’s allowed time, and no venue should be duplicated across routes. What we’re after is the biggest total editorial return possible β€” simply add up the editorial values for all venues that get visited by anyone. See the concrete details below.

There are 8 locations including media center 0; each photographer has up to 167.0 time and we can deploy up to 2 photographers.

| venue_id | x_coordinate_on_event_map | y_coordinate_on_event_map | editorial_value |
|---|---|---|---|
| 0 | 8 | 22 | 0 |
| 1 | 100 | 67 | 9 |
| 2 | 14 | 0 | 90 |
| 3 | 93 | 52 | 90 |
| 4 | 99 | 100 | 63 |
| 5 | 38 | 99 | 34 |
| 6 | 0 | 67 | 35 |
| 7 | 72 | 48 | 73 |

We must select non-overlapping routes that start and end at 0, respect the 2 and 167.0 limits, and maximize total editorial value.

If you want to hand me the routes, the easiest is a tiny JSON snippet like this β€” just a simple list of routes, each route being a list that starts and ends at the media center:

{
  ""solution"": [[""media_center_id"", ""venue_id"", ..., ""media_center_id""], [""media_center_id"", ""venue_id"", ..., ""media_center_id""], ...]
}

Pretty straightforward: ""solution"" is the list of photographer routes; each inner list is the order of stops for one photographer, starting and finishing at the media center (those placeholders are just examples). This is only a sketch of the shape I expect, not the actual answer β€” you'll replace the placeholders with the real IDs from the instance.

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': [[8, 22], [100, 67], [14, 0], [93, 52], [99, 100], [38, 99], [0, 67], [72, 48]], 'prizes': [0, 9, 90, 90, 63, 34, 35, 73], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 6, 2, 0], [0, 7, 0]], 'total_route_length': 275.11547617804325, 'collected_prize': 198.0, 'objective': 198.0}","[[0, 6, 2, 0], [0, 7, 0]]",198.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 0, 'x': 8, 'y': 22, 'prize': 0}, {'id': 1, 'x': 100, 'y': 67, 'prize': 9}, {'id': 2, 'x': 14, 'y': 0, 'prize': 90}, {'id': 3, 'x': 93, 'y': 52, 'prize': 90}, {'id': 4, 'x': 99, 'y': 100, 'prize': 63}, {'id': 5, 'x': 38, 'y': 99, 'prize': 34}, {'id': 6, 'x': 0, 'y': 67, 'prize': 35}, {'id': 7, 'x': 72, 'y': 48, 'prize': 73}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 275.11547617804325, 'collected_prize': 198.0, 'objective': 198.0}","[[0, 6, 2, 0], [0, 7, 0]]",27,markdown_table,0
TOP,TOP,"I manage a small bike messenger crew and I’m trying to line up everyone’s rounds: each rider leaves from the hub, rides a route and comes back, and each stop on the map pays a delivery fee. The decision is which stops each messenger should hit so that no delivery gets handed off twice and no rider goes farther than their allowed distance. The better plan is the one that collects the biggest total of all those delivery fees β€” just add up the fees for every visited stop. Concrete details for the actual run will be shown below.

# total_locations_including_hub=10
# hub_node_id=0
# max_round_distance_per_rider=167.0
# n_riders_available=2
location_id,map_x_coordinate,map_y_coordinate,delivery_fee
0,49,57,0
1,89,100,89
2,66,60,78
3,97,98,64
4,71,30,8
5,0,13,16
6,100,13,90
7,73,11,61
8,81,74,1
9,8,0,10

If you want to send me the plan, just use a simple JSON layout like this so I can read each rider’s route easily:

{
  ""solution"": [[hub_id, stop_id, ... , hub_id], [hub_id, stop_id, ... , hub_id], ...]
}

This just means ""solution"" is a list of routes. Each route is a list that starts at the hub (hub_id), goes through zero or more stops (stop_id) and comes back to the hub. Think of it like filling out a little form for each rider: the sequence is the order they’ll visit the stops and must begin and end at the hub. This block is only a sketch of the shape I need β€” not the actual plan itself.

Please make sure to 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': [[49, 57], [89, 100], [66, 60], [97, 98], [71, 30], [0, 13], [100, 13], [73, 11], [81, 74], [8, 0]], 'prizes': [0, 89, 78, 64, 8, 16, 90, 61, 1, 10], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 8, 1, 3, 0], [0, 6, 7, 4, 0]], 'total_route_length': 284.7213216340042, 'collected_prize': 391.0, 'objective': 391.0}","[[0, 2, 8, 1, 3, 0], [0, 6, 7, 4, 0]]",391.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 0, 'x': 49, 'y': 57, 'prize': 0}, {'id': 1, 'x': 89, 'y': 100, 'prize': 89}, {'id': 2, 'x': 66, 'y': 60, 'prize': 78}, {'id': 3, 'x': 97, 'y': 98, 'prize': 64}, {'id': 4, 'x': 71, 'y': 30, 'prize': 8}, {'id': 5, 'x': 0, 'y': 13, 'prize': 16}, {'id': 6, 'x': 100, 'y': 13, 'prize': 90}, {'id': 7, 'x': 73, 'y': 11, 'prize': 61}, {'id': 8, 'x': 81, 'y': 74, 'prize': 1}, {'id': 9, 'x': 8, 'y': 0, 'prize': 10}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 284.7213216340042, 'collected_prize': 391.0, 'objective': 391.0}","[[0, 2, 8, 1, 3, 0], [0, 6, 7, 4, 0]]",28,csv,0
TOP,TOP,"We need to plan a set of patrol routes that all leave from and return to the ranger station, keep each route under the maximum allowed distance, and make sure no survey site gets visited twice by different teams; the point is to choose which sites each team covers so the sum of the conservation priority points from every distinct site visited is as large as it can be. The specific site locations, distances, team numbers, and priority scores are listed below.

{
  ""total_locations_including_station"": 9,
  ""nodes"": [
    {
      ""site_id"": 1,
      ""x_coord"": 0,
      ""y_coord"": 54,
      ""conservation_priority_score"": 0
    },
    {
      ""site_id"": 2,
      ""x_coord"": 0,
      ""y_coord"": 89,
      ""conservation_priority_score"": 1
    },
    {
      ""site_id"": 3,
      ""x_coord"": 0,
      ""y_coord"": 92,
      ""conservation_priority_score"": 16
    },
    {
      ""site_id"": 4,
      ""x_coord"": 42,
      ""y_coord"": 97,
      ""conservation_priority_score"": 55
    },
    {
      ""site_id"": 5,
      ""x_coord"": 61,
      ""y_coord"": 0,
      ""conservation_priority_score"": 69
    },
    {
      ""site_id"": 6,
      ""x_coord"": 86,
      ""y_coord"": 59,
      ""conservation_priority_score"": 65
    },
    {
      ""site_id"": 7,
      ""x_coord"": 47,
      ""y_coord"": 62,
      ""conservation_priority_score"": 22
    },
    {
      ""site_id"": 8,
      ""x_coord"": 100,
      ""y_coord"": 92,
      ""conservation_priority_score"": 71
    },
    {
      ""site_id"": 9,
      ""x_coord"": 6,
      ""y_coord"": 100,
      ""conservation_priority_score"": 24
    }
  ],
  ""ranger_station_id"": 1,
  ""max_patrol_distance_per_team"": 167.0,
  ""n_ranger_teams"": 2
}

When you send back the routes, just use a tiny JSON object in this shape so it's easy to parse and check. Something like:

{
  ""solution"": [[ranger_station_id, site_id, ... , ranger_station_id], [ranger_station_id, site_id, ... , ranger_station_id], ...]
}

This means ""solution"" is a list of routes; each route is a list of place identifiers that starts and ends at the ranger station, with the intermediate entries being the survey sites visited on that route. Think of it like filling in a simple form: one array per team, each array listing the station, the sites that team visits in order, and then back to the station.

This JSON is just a sketch of the expected shape, not the actual answer β€” replace the placeholders with the exact IDs from the instance.

Please make sure all identifiers are 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': [[0, 54], [0, 89], [0, 92], [42, 97], [61, 0], [86, 59], [47, 62], [100, 92], [6, 100]], 'prizes': [0, 1, 16, 55, 69, 65, 22, 71, 24], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 8, 3, 6, 0], [0, 4, 0]], 'total_route_length': 329.6216467343889, 'collected_prize': 171.0, 'objective': 171.0}","[[0, 1, 8, 3, 6, 0], [0, 4, 0]]",171.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 1, 'x': 0, 'y': 54, 'prize': 0}, {'id': 2, 'x': 0, 'y': 89, 'prize': 1}, {'id': 3, 'x': 0, 'y': 92, 'prize': 16}, {'id': 4, 'x': 42, 'y': 97, 'prize': 55}, {'id': 5, 'x': 61, 'y': 0, 'prize': 69}, {'id': 6, 'x': 86, 'y': 59, 'prize': 65}, {'id': 7, 'x': 47, 'y': 62, 'prize': 22}, {'id': 8, 'x': 100, 'y': 92, 'prize': 71}, {'id': 9, 'x': 6, 'y': 100, 'prize': 24}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 329.6216467343889, 'collected_prize': 171.0, 'objective': 171.0}","[[1, 2, 9, 4, 7, 1], [1, 5, 1]]",29,json,1
TOP,TOP,"There's a distribution center sending out a handful of vans to hit neighborhood markets, and someone has to plan which stops go on which van’s itinerary. Every trip must start and end at the distribution center, stay within that van’s travel allowance, and a market can’t be on two different itineraries; each market visit contributes its projected sales. The overall goal is to collect as much projected sales as possible β€” measure that by summing the projected sales of all markets included in the day’s runs. The concrete specifics are listed below.

{
  ""total_locations_including_distribution_center"": 8,
  ""nodes"": [
    {
      ""market_or_node_id"": ""A"",
      ""x_coordinate_of_location"": 0,
      ""y_coordinate_of_location"": 48,
      ""projected_sales_from_market"": 0
    },
    {
      ""market_or_node_id"": ""B"",
      ""x_coordinate_of_location"": 4,
      ""y_coordinate_of_location"": 0,
      ""projected_sales_from_market"": 75
    },
    {
      ""market_or_node_id"": ""C"",
      ""x_coordinate_of_location"": 56,
      ""y_coordinate_of_location"": 36,
      ""projected_sales_from_market"": 65
    },
    {
      ""market_or_node_id"": ""D"",
      ""x_coordinate_of_location"": 96,
      ""y_coordinate_of_location"": 40,
      ""projected_sales_from_market"": 85
    },
    {
      ""market_or_node_id"": ""E"",
      ""x_coordinate_of_location"": 96,
      ""y_coordinate_of_location"": 48,
      ""projected_sales_from_market"": 66
    },
    {
      ""market_or_node_id"": ""F"",
      ""x_coordinate_of_location"": 96,
      ""y_coordinate_of_location"": 72,
      ""projected_sales_from_market"": 57
    },
    {
      ""market_or_node_id"": ""G"",
      ""x_coordinate_of_location"": 100,
      ""y_coordinate_of_location"": 20,
      ""projected_sales_from_market"": 9
    },
    {
      ""market_or_node_id"": ""H"",
      ""x_coordinate_of_location"": 100,
      ""y_coordinate_of_location"": 100,
      ""projected_sales_from_market"": 37
    }
  ],
  ""distribution_center_id"": ""A"",
  ""max_trip_distance_per_van"": 167.0,
  ""number_of_vans_available"": 2
}

Oh, and when you send back the plan, please follow this simple JSON layout so I can read it easily. Something like:

{
  ""solution"": [[distribution_center_id, market_id, ... , distribution_center_id], [distribution_center_id, market_id, ... , distribution_center_id], ...]
}

This is just a sketch of the shape I expect: ""solution"" is a list of routes, each route is a list that starts and ends with the distribution center, and the market placeholders in the middle are the stops on that van’s trip. Think of it like filling out a quick form β€” one row per van, stop IDs in order, and the depot ID at both ends. Again, it’s just the expected shape, not the actual answer.

Please make sure to use the exact identifiers from the instance input β€” don’t rename them or invent new 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': [[0, 48], [4, 0], [56, 36], [96, 40], [96, 48], [96, 72], [100, 20], [100, 100]], 'prizes': [0, 75, 65, 85, 66, 57, 9, 37], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 2, 0]], 'total_route_length': 210.87532513654918, 'collected_prize': 140.0, 'objective': 140.0}","[[0, 1, 0], [0, 2, 0]]",140.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 'A', 'x': 0, 'y': 48, 'prize': 0}, {'id': 'B', 'x': 4, 'y': 0, 'prize': 75}, {'id': 'C', 'x': 56, 'y': 36, 'prize': 65}, {'id': 'D', 'x': 96, 'y': 40, 'prize': 85}, {'id': 'E', 'x': 96, 'y': 48, 'prize': 66}, {'id': 'F', 'x': 96, 'y': 72, 'prize': 57}, {'id': 'G', 'x': 100, 'y': 20, 'prize': 9}, {'id': 'H', 'x': 100, 'y': 100, 'prize': 37}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 210.87532513654918, 'collected_prize': 140.0, 'objective': 140.0}","[['A', 'B', 'A'], ['A', 'C', 'A']]",30,json,names
TOP,TOP,"There’s a busy drone hub in town and the morning puzzle is picking flight paths: one sortie per drone that takes off from the hub, visits some customers, then returns before hitting the range cap. No delivery should be duplicated across drones, and each drone’s trip must stay within its allowed distance. The aim is to collect as much total reward as possible β€” simply add up the reward numbers for every visited location β€” and the exact hub, the drones’ ranges, and the rewards for each stop appear below.

# total_locations_including_hub=9
# hub_node_id=1
# drone_range_limit=167.0
# n_drones=2
location_id,x_coord,y_coord,delivery_reward
1,43,92,0
2,67,44,24
3,51,58,97
4,68,85,39
5,67,100,89
6,79,93,63
7,100,57,79
8,87,92,50
9,0,0,58

Oh, and when you send back the chosen routes, please use this little JSON sketch so everything stays neat and machine-readable:

{
  ""solution"": [[""hub_id"", ""customer_id"", ..., ""hub_id""], [""hub_id"", ""customer_id"", ..., ""hub_id""], ...]
}

Pretty simple: ""solution"" holds a list of sorties (one per drone). Each inner list is the sequence of stops for that drone, starting and ending at the hub. Keep the placeholders as shown β€” it's just a shape example, not the real routes.

Make sure all identifiers are 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': [[43, 92], [67, 44], [51, 58], [68, 85], [67, 100], [79, 93], [100, 57], [87, 92], [0, 0]], 'prizes': [0, 24, 97, 39, 89, 63, 79, 50, 58], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 5, 3, 7, 4, 0], [0, 2, 1, 6, 0]], 'total_route_length': 275.2477457139895, 'collected_prize': 441.0, 'objective': 441.0}","[[0, 5, 3, 7, 4, 0], [0, 2, 1, 6, 0]]",441.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 1, 'x': 43, 'y': 92, 'prize': 0}, {'id': 2, 'x': 67, 'y': 44, 'prize': 24}, {'id': 3, 'x': 51, 'y': 58, 'prize': 97}, {'id': 4, 'x': 68, 'y': 85, 'prize': 39}, {'id': 5, 'x': 67, 'y': 100, 'prize': 89}, {'id': 6, 'x': 79, 'y': 93, 'prize': 63}, {'id': 7, 'x': 100, 'y': 57, 'prize': 79}, {'id': 8, 'x': 87, 'y': 92, 'prize': 50}, {'id': 9, 'x': 0, 'y': 0, 'prize': 58}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 275.2477457139895, 'collected_prize': 441.0, 'objective': 441.0}","[[1, 6, 4, 8, 5, 1], [1, 3, 2, 7, 1]]",31,csv,1
TOP,TOP,"We need to map out a set of sampling routes for the field crews that all start and end at the lab, with each route staying under that crew’s maximum allowable travel time. The choice to be made is how to split up the available sampling sites among the teams so that no site is visited more than once and no route goes over its time allowance. A better schedule is the one that brings back the highest total research value, computed by summing the values of every sampled site across every trip. The specific site locations, values, and time limits are listed below.

# total_locations_including_lab=5
# lab_node_id=A
# max_travel_time_per_team=167.0
# n_teams=2
site_node_id,site_x_coordinate,site_y_coordinate,research_value_of_site
A,0,86,0
B,29,100,20
C,61,56,72
D,100,31,28
E,43,0,2

Also, when you send back the planned routes, please use this simple JSON layout so it's easy to read and load:

{
  ""solution"": [[lab_id, site_id, ... , lab_id], [lab_id, site_id, ... , lab_id], ...]
}

This just means ""solution"" is a list of routes. Each route is a list of place identifiers starting and ending at the lab, with the sampled sites in the middle. Think of it like filling out a form: each inner list is one crew's trip, and the IDs are exactly the site labels from the instance (replace the placeholders here with the real IDs).

This JSON is only a sketch of the expected shape β€” not your actual answer. Please use the exact identifiers given 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': [[0, 86], [29, 100], [61, 56], [100, 31], [43, 0]], 'prizes': [0, 20, 72, 28, 2], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 2, 0]], 'total_route_length': 200.3608439472772, 'collected_prize': 92.0, 'objective': 92.0}","[[0, 1, 0], [0, 2, 0]]",92.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 'A', 'x': 0, 'y': 86, 'prize': 0}, {'id': 'B', 'x': 29, 'y': 100, 'prize': 20}, {'id': 'C', 'x': 61, 'y': 56, 'prize': 72}, {'id': 'D', 'x': 100, 'y': 31, 'prize': 28}, {'id': 'E', 'x': 43, 'y': 0, 'prize': 2}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 200.3608439472772, 'collected_prize': 92.0, 'objective': 92.0}","[['A', 'B', 'A'], ['A', 'C', 'A']]",32,csv,names
TOP,TOP,"We have a handful of vehicles that all leave from and return to the charity headquarters, and the job is to assign which beneficiary sites each vehicle will visit so every route stays within its distance limit and no site is visited twice. A better plan is the one that results in a larger total amount of help given, which you figure out by summing the assistance value of each distinct site that gets visited. Specifics about locations, vehicle limits, and values are listed below.

There are 7 total locations including the charity office (depot 0); each vehicle's route must not exceed 167.0 distance and we have 2 vehicles available.

| location_id | x_coord | y_coord | assistance_value |
|---|---|---|---|
| 0 | 100 | 21 | 0 |
| 1 | 41 | 96 | 18 |
| 2 | 57 | 41 | 94 |
| 3 | 56 | 0 | 95 |
| 4 | 8 | 20 | 91 |
| 5 | 36 | 100 | 37 |
| 6 | 0 | 25 | 2 |

We must assign visits so each of the 2 vehicles stays within 167.0 and we maximize the total assistance delivered.

And just so we're on the same page, when you send the routes back please follow this little JSON layout β€” nothing fancy, just a simple list of routes in a single field.

{
  ""solution"": [[headquarters_id, beneficiary_id, ... , headquarters_id], [headquarters_id, beneficiary_id, ... , headquarters_id], ...]
}

This is just a sketch of the shape I need: ""solution"" holds a list of routes, each route is a list that starts and ends with the headquarters placeholder and has one or more beneficiary placeholders in between. Think of each inner list as the stops one vehicle will make on its round trip.

This is only the expected format, not the actual answer β€” fill in the real identifiers from the instance when you provide your routes.

Please be 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': [[100, 21], [41, 96], [57, 41], [56, 0], [8, 20], [36, 100], [0, 25]], 'prizes': [0, 18, 94, 95, 91, 37, 2], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 3, 0], [0, 2, 0]], 'total_route_length': 192.35621955702624, 'collected_prize': 189.0, 'objective': 189.0}","[[0, 3, 0], [0, 2, 0]]",189.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 100, 'y': 21, 'prize': 0}, {'id': 1, 'x': 41, 'y': 96, 'prize': 18}, {'id': 2, 'x': 57, 'y': 41, 'prize': 94}, {'id': 3, 'x': 56, 'y': 0, 'prize': 95}, {'id': 4, 'x': 8, 'y': 20, 'prize': 91}, {'id': 5, 'x': 36, 'y': 100, 'prize': 37}, {'id': 6, 'x': 0, 'y': 25, 'prize': 2}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 192.35621955702624, 'collected_prize': 189.0, 'objective': 189.0}","[[0, 3, 0], [0, 2, 0]]",33,markdown_table,0
TOP,TOP,"Someone on the campaign team sketched a map and now the task is to turn it into routes β€” every marketing van must leave from the campaign base and return there, staying inside its personal driving allowance. The challenge is to assign billboards to vans so that the combined advertising reach (just add up the reach score for every billboard that actually gets visited) is as big as possible. No billboard gets assigned to more than one van, and no route can exceed its driving limit. The full set of locations, reach values, vehicle counts, and route limits is shown below.

There are 10 total locations (including campaign base A); the campaign has 2 vans and each van's route length must not exceed 167.0.
Location A β€” coordinates (0, 72), reach score 0.
Location B β€” coordinates (75, 70), reach score 43.
Location C β€” coordinates (81, 67), reach score 97.
Location D β€” coordinates (34, 33), reach score 96.
Location E β€” coordinates (67, 24), reach score 85.
Location F β€” coordinates (32, 34), reach score 29.
Location G β€” coordinates (99, 0), reach score 39.
Location H β€” coordinates (4, 0), reach score 85.
Location I β€” coordinates (85, 100), reach score 32.
Location J β€” coordinates (100, 100), reach score 17.
No billboard may be assigned to more than one van, and every van route must start and end at A while staying within the 167.0 limit.

Alsoβ€”when you send back the routes, please use a simple JSON shape so it's easy to check automatically. Something like this:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Here the idea is straightforward: ""solution"" holds a list of routes, each route is a list that starts and ends at the depot and contains the visited location IDs in order. Think of it as filling out a little form: each inner list is one van's trip, and the whole thing is the plan for all vans. This is just the shape I need β€” not your final picks.

Please make sure you 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': [[0, 72], [75, 70], [81, 67], [34, 33], [67, 24], [32, 34], [99, 0], [4, 0], [85, 100], [100, 100]], 'prizes': [0, 43, 97, 96, 85, 29, 39, 85, 32, 17], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 5, 3, 0], [0, 1, 2, 0]], 'total_route_length': 266.54381077330686, 'collected_prize': 265.0, 'objective': 265.0}","[[0, 5, 3, 0], [0, 1, 2, 0]]",265.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 'A', 'x': 0, 'y': 72, 'prize': 0}, {'id': 'B', 'x': 75, 'y': 70, 'prize': 43}, {'id': 'C', 'x': 81, 'y': 67, 'prize': 97}, {'id': 'D', 'x': 34, 'y': 33, 'prize': 96}, {'id': 'E', 'x': 67, 'y': 24, 'prize': 85}, {'id': 'F', 'x': 32, 'y': 34, 'prize': 29}, {'id': 'G', 'x': 99, 'y': 0, 'prize': 39}, {'id': 'H', 'x': 4, 'y': 0, 'prize': 85}, {'id': 'I', 'x': 85, 'y': 100, 'prize': 32}, {'id': 'J', 'x': 100, 'y': 100, 'prize': 17}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 266.54381077330686, 'collected_prize': 265.0, 'objective': 265.0}","[['A', 'F', 'D', 'A'], ['A', 'B', 'C', 'A']]",34,nl,names
TOP,TOP,"Someone has to map out daily service loops for a fleet of repair vans: each loop must begin and finish at the maintenance yard, each van can only travel up to its allotted distance, and a repair site shouldn’t be assigned to more than one van. What counts as a better assignment is the one that brings in the highest combined urgency score β€” add up the urgency ratings of all the sites the vans visit β€” and the precise data for the scenario follows below.

{
  ""total_locations_including_yard"": 5,
  ""nodes"": [
    {
      ""site_id"": ""A"",
      ""x_coordinate"": 100,
      ""y_coordinate"": 79,
      ""urgency_score"": 0
    },
    {
      ""site_id"": ""B"",
      ""x_coordinate"": 97,
      ""y_coordinate"": 100,
      ""urgency_score"": 94
    },
    {
      ""site_id"": ""C"",
      ""x_coordinate"": 92,
      ""y_coordinate"": 24,
      ""urgency_score"": 70
    },
    {
      ""site_id"": ""D"",
      ""x_coordinate"": 2,
      ""y_coordinate"": 37,
      ""urgency_score"": 57
    },
    {
      ""site_id"": ""E"",
      ""x_coordinate"": 0,
      ""y_coordinate"": 0,
      ""urgency_score"": 10
    }
  ],
  ""maintenance_yard_id"": ""A"",
  ""max_travel_distance_per_van"": 167.0,
  ""num_repair_vans"": 2
}

Also, when you send the routes back, a tiny bit of JSON like this is all I need β€” nothing fancy, just the structure below.

{
  ""solution"": [[yard_id, site_id, ... , yard_id], [yard_id, site_id, ... , yard_id], ...]
}

This sketch means: ""solution"" is a list of routes; each inner list is one van's loop, starting and ending at the maintenance yard (that's the yard_id) and listing the sites visited in order (site_id). Treat it like a simple form: one array per van, each array begins and ends with the yard identifier.

The JSON above is only the expected shape, not the actual answer β€” fill it in with the exact identifiers from the instance input (no renaming, no extra labels). To be clear, valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[100, 79], [97, 100], [92, 24], [2, 37], [0, 0]], 'prizes': [0, 94, 70, 57, 10], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 0]], 'total_route_length': 111.15754585272202, 'collected_prize': 164.0, 'objective': 164.0}","[[0, 2, 0], [0, 0]]",164.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 'A', 'x': 100, 'y': 79, 'prize': 0}, {'id': 'B', 'x': 97, 'y': 100, 'prize': 94}, {'id': 'C', 'x': 92, 'y': 24, 'prize': 70}, {'id': 'D', 'x': 2, 'y': 37, 'prize': 57}, {'id': 'E', 'x': 0, 'y': 0, 'prize': 10}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 111.15754585272202, 'collected_prize': 164.0, 'objective': 164.0}","[['A', 'C', 'A'], ['A', 'A']]",35,json,names
TOP,TOP,"Recently the warehouse team decided to plan daily runs for the vans: each outing must begin and end at the warehouse, stay within that van’s mileage limit, and avoid duplicating service to the same pickup spot. The goal is to collect the most donation value overall β€” you figure that by adding up the stated donation amounts for every stop the fleet actually reaches. The full set of numbers and distances for this run is shown below.

{
  ""total_locations_including_warehouse"": 7,
  ""nodes"": [
    {
      ""location_id"": 1,
      ""x_coordinate"": 0,
      ""y_coordinate"": 0,
      ""donation_value"": 0
    },
    {
      ""location_id"": 2,
      ""x_coordinate"": 7,
      ""y_coordinate"": 81,
      ""donation_value"": 99
    },
    {
      ""location_id"": 3,
      ""x_coordinate"": 50,
      ""y_coordinate"": 39,
      ""donation_value"": 14
    },
    {
      ""location_id"": 4,
      ""x_coordinate"": 36,
      ""y_coordinate"": 100,
      ""donation_value"": 52
    },
    {
      ""location_id"": 5,
      ""x_coordinate"": 80,
      ""y_coordinate"": 39,
      ""donation_value"": 88
    },
    {
      ""location_id"": 6,
      ""x_coordinate"": 95,
      ""y_coordinate"": 100,
      ""donation_value"": 74
    },
    {
      ""location_id"": 7,
      ""x_coordinate"": 100,
      ""y_coordinate"": 8,
      ""donation_value"": 70
    }
  ],
  ""warehouse_node_id"": 1,
  ""max_mileage_per_van"": 167.0,
  ""fleet_size"": 2
}

Oh β€” and when you send the planned runs back, please stick to this JSON layout:

{
  ""solution"": [[warehouse_id, pickup_spot_id, ... , warehouse_id], [warehouse_id, pickup_spot_id, ... , warehouse_id], ...]
}

This just means ""solution"" is a list of van routes, and each route is written as the sequence of IDs the van visits, starting and ending at the warehouse. Treat the block above like a simple form: each inner list is one outing, each name is an ID for the warehouse or a pickup spot. It's only a sketch of the shape I need β€” not the actual routes.

Please make sure to use the exact identifiers given in the instance input β€” do not 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': [[0, 0], [7, 81], [50, 39], [36, 100], [80, 39], [95, 100], [100, 8]], 'prizes': [0, 99, 14, 52, 88, 74, 70], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 1, 0]], 'total_route_length': 289.4265238933243, 'collected_prize': 113.0, 'objective': 113.0}","[[0, 2, 0], [0, 1, 0]]",113.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 1, 'x': 0, 'y': 0, 'prize': 0}, {'id': 2, 'x': 7, 'y': 81, 'prize': 99}, {'id': 3, 'x': 50, 'y': 39, 'prize': 14}, {'id': 4, 'x': 36, 'y': 100, 'prize': 52}, {'id': 5, 'x': 80, 'y': 39, 'prize': 88}, {'id': 6, 'x': 95, 'y': 100, 'prize': 74}, {'id': 7, 'x': 100, 'y': 8, 'prize': 70}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 289.4265238933243, 'collected_prize': 113.0, 'objective': 113.0}","[[1, 3, 1], [1, 2, 1]]",36,json,1
TOP,TOP,"We have a crew of inspectors who must each head out from the depot, do a loop of checks, and return without going over their individual distance allowance, and we can’t have a site inspected twice. The decision to make is how to split and order the visits among the inspectors; what makes one plan better than another is how many priority points it collects β€” the total is simply the sum of the priority values of the sites that get visited. Each site can only be visited once and every route must begin and end at the depot within the permitted length. The exact instance details follow below.

{
  ""total_locations_including_depot"": 5,
  ""nodes"": [
    {
      ""site_id"": 1,
      ""x_coord"": 83,
      ""y_coord"": 100,
      ""priority_points"": 0
    },
    {
      ""site_id"": 2,
      ""x_coord"": 0,
      ""y_coord"": 91,
      ""priority_points"": 36
    },
    {
      ""site_id"": 3,
      ""x_coord"": 100,
      ""y_coord"": 71,
      ""priority_points"": 29
    },
    {
      ""site_id"": 4,
      ""x_coord"": 88,
      ""y_coord"": 29,
      ""priority_points"": 81
    },
    {
      ""site_id"": 5,
      ""x_coord"": 7,
      ""y_coord"": 0,
      ""priority_points"": 81
    }
  ],
  ""depot_id"": 1,
  ""max_route_length_per_inspector"": 167.0,
  ""n_inspectors"": 2
}

And when you send the chosen routes back, just pop them into this simple JSON shape so it's easy to read and validate:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

This means ""solution"" is a list of routes; each route is itself a list that starts at the depot, lists the sites visited in order, and returns to the depot. Think of it like filling out a short form for each inspector: the sequence of IDs they visit (with the depot repeated at the ends). It’s only a sketch of the expected shape β€” don’t treat it as the final filled-in plan here.

Important: use the identifiers exactly as they appear in the instance input β€” no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[83, 100], [0, 91], [100, 71], [88, 29], [7, 0]], 'prizes': [0, 36, 29, 81, 81], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 3, 0], [0, 1, 0]], 'total_route_length': 315.44502227865775, 'collected_prize': 146.0, 'objective': 146.0}","[[0, 2, 3, 0], [0, 1, 0]]",146.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 1, 'x': 83, 'y': 100, 'prize': 0}, {'id': 2, 'x': 0, 'y': 91, 'prize': 36}, {'id': 3, 'x': 100, 'y': 71, 'prize': 29}, {'id': 4, 'x': 88, 'y': 29, 'prize': 81}, {'id': 5, 'x': 7, 'y': 0, 'prize': 81}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 315.44502227865775, 'collected_prize': 146.0, 'objective': 146.0}","[[1, 3, 4, 1], [1, 2, 1]]",37,json,1
TOP,TOP,"Picture this: a row of shuttles at the festival hub, each ready to run exactly one loop out and back that can’t be longer than its allowed distance. The tricky part is divvying up attractions so that each one is visited by at most one shuttle, and the overall aim is to rack up the most enjoyment β€” done by adding together the enjoyment points of every visited attraction across all loops. Concrete details are coming up below.

# total_locations_including_depot=10
# hub_node_id=A
# max_loop_distance_per_shuttle=167.0
# number_of_shuttles=2
location_id,x_coordinate,y_coordinate,enjoyment_points
A,83,58,0
B,71,33,91
C,48,100,51
D,28,33,50
E,41,100,80
F,100,85,65
G,97,50,70
H,63,0,80
I,80,18,89
J,0,100,34

If you'd like to return a candidate set of shuttle loops, you can just drop it in as a tiny JSON snippet like this:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of ""solution"" as a list of loops β€” one list per shuttle β€” and each loop is an ordered list that starts and ends at the depot and contains the attractions visited along the way. This is just a sketch of the shape I expect, not the actual routes.

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': [[83, 58], [71, 33], [48, 100], [28, 33], [41, 100], [100, 85], [97, 50], [63, 0], [80, 18], [0, 100]], 'prizes': [0, 91, 51, 50, 80, 65, 70, 80, 89, 34], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 4, 2, 5, 0], [0, 6, 1, 7, 8, 0]], 'total_route_length': 298.43931576755443, 'collected_prize': 526.0, 'objective': 526.0}","[[0, 4, 2, 5, 0], [0, 6, 1, 7, 8, 0]]",526.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 'A', 'x': 83, 'y': 58, 'prize': 0}, {'id': 'B', 'x': 71, 'y': 33, 'prize': 91}, {'id': 'C', 'x': 48, 'y': 100, 'prize': 51}, {'id': 'D', 'x': 28, 'y': 33, 'prize': 50}, {'id': 'E', 'x': 41, 'y': 100, 'prize': 80}, {'id': 'F', 'x': 100, 'y': 85, 'prize': 65}, {'id': 'G', 'x': 97, 'y': 50, 'prize': 70}, {'id': 'H', 'x': 63, 'y': 0, 'prize': 80}, {'id': 'I', 'x': 80, 'y': 18, 'prize': 89}, {'id': 'J', 'x': 0, 'y': 100, 'prize': 34}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 298.43931576755443, 'collected_prize': 526.0, 'objective': 526.0}","[['A', 'E', 'C', 'F', 'A'], ['A', 'G', 'B', 'H', 'I', 'A']]",38,csv,names
TOP,TOP,"Out in town the kitchen has to assign deliveries so every bike leaves from and returns to the same spot, each rider keeps within a fixed distance for their shift, and no address gets duplicated on different riders’ lists. The plans are sorted by total tip potential, which is found by summing the tip amounts of all visited addresses β€” higher sums are preferred. The instance specifics appear below.

# total_locations_including_kitchen=7
# central_kitchen_id=A
# max_distance_per_rider=167.0
# number_of_bikers=2
location_id,x_coordinate,y_coordinate,tip_potential
A,5,14,0
B,0,37,9
C,9,45,58
D,11,57,4
E,12,57,47
F,41,100,54
G,100,0,29

Also, when you send the plan back, keep it in a nice, simple JSON shape so it’s easy to read by the system. Something like this is perfect:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

This just sketches the shape I need: ""solution"" is a list of routes, each route is an ordered list that starts and ends at the depot and lists the addresses visited in between. Treat it like a little delivery form rather than a file format β€” one array per rider, with the depot repeated at the start and end. It’s just an example of the shape, not the actual routes.

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': [[5, 14], [0, 37], [9, 45], [11, 57], [12, 57], [41, 100], [100, 0]], 'prizes': [0, 9, 58, 4, 47, 54, 29], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 2, 3, 4, 0], [0, 0]], 'total_route_length': 92.3103660528523, 'collected_prize': 118.0, 'objective': 118.0}","[[0, 1, 2, 3, 4, 0], [0, 0]]",118.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 'A', 'x': 5, 'y': 14, 'prize': 0}, {'id': 'B', 'x': 0, 'y': 37, 'prize': 9}, {'id': 'C', 'x': 9, 'y': 45, 'prize': 58}, {'id': 'D', 'x': 11, 'y': 57, 'prize': 4}, {'id': 'E', 'x': 12, 'y': 57, 'prize': 47}, {'id': 'F', 'x': 41, 'y': 100, 'prize': 54}, {'id': 'G', 'x': 100, 'y': 0, 'prize': 29}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 92.3103660528523, 'collected_prize': 118.0, 'objective': 118.0}","[['A', 'B', 'C', 'D', 'E', 'A'], ['A', 'A']]",39,csv,names
TOP,TOP,"Recently the clinic asked us to plan clinician rounds so we reach as many high-need patients as possible. The plan is to assign homes to each clinician so that when you add up all the patient-need scores for the visited homes, that grand total is maximized. Each clinician’s route must be a round trip back to the clinic, must stay under their permitted travel distance, and no household can be visited by more than one clinician. The exact households, distances, clinician limits, and scores are shown below.

{
  ""total_locations_including_clinic"": 9,
  ""nodes"": [
    {
      ""location_id"": 1,
      ""location_x_coordinate"": 29,
      ""location_y_coordinate"": 100,
      ""patient_need_score"": 0
    },
    {
      ""location_id"": 2,
      ""location_x_coordinate"": 80,
      ""location_y_coordinate"": 56,
      ""patient_need_score"": 3
    },
    {
      ""location_id"": 3,
      ""location_x_coordinate"": 38,
      ""location_y_coordinate"": 0,
      ""patient_need_score"": 4
    },
    {
      ""location_id"": 4,
      ""location_x_coordinate"": 0,
      ""location_y_coordinate"": 67,
      ""patient_need_score"": 82
    },
    {
      ""location_id"": 5,
      ""location_x_coordinate"": 83,
      ""location_y_coordinate"": 98,
      ""patient_need_score"": 36
    },
    {
      ""location_id"": 6,
      ""location_x_coordinate"": 37,
      ""location_y_coordinate"": 55,
      ""patient_need_score"": 13
    },
    {
      ""location_id"": 7,
      ""location_x_coordinate"": 100,
      ""location_y_coordinate"": 32,
      ""patient_need_score"": 52
    },
    {
      ""location_id"": 8,
      ""location_x_coordinate"": 79,
      ""location_y_coordinate"": 34,
      ""patient_need_score"": 77
    },
    {
      ""location_id"": 9,
      ""location_x_coordinate"": 82,
      ""location_y_coordinate"": 76,
      ""patient_need_score"": 22
    }
  ],
  ""clinic_node_id"": 1,
  ""max_travel_distance_per_clinician"": 167.0,
  ""n_clinicians"": 2
}

Also, when you send back your planned rounds, it'd be great if you used a simple JSON layout like this β€” just a casual list of each clinician's roundtrip, starting and ending at the clinic:

{
  ""solution"": [[clinic_id, household_id, ... , clinic_id], [clinic_id, household_id, ... , clinic_id], ...]
}

Think of that as a form: each inner list is one clinician's route, beginning at the clinic (clinic_id), listing the homes they visit in order (household_id values), and finishing back at the clinic (clinic_id again). This is just the shape I expect, not the actual routes β€” you'll fill in the real identifiers from the instance.

Important: use the exact identifiers 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': [[29, 100], [80, 56], [38, 0], [0, 67], [83, 98], [37, 55], [100, 32], [79, 34], [82, 76]], 'prizes': [0, 3, 4, 82, 36, 13, 52, 77, 22], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 7, 0], [0, 3, 5, 0]], 'total_route_length': 294.1365778345124, 'collected_prize': 172.0, 'objective': 172.0}","[[0, 7, 0], [0, 3, 5, 0]]",172.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 1, 'x': 29, 'y': 100, 'prize': 0}, {'id': 2, 'x': 80, 'y': 56, 'prize': 3}, {'id': 3, 'x': 38, 'y': 0, 'prize': 4}, {'id': 4, 'x': 0, 'y': 67, 'prize': 82}, {'id': 5, 'x': 83, 'y': 98, 'prize': 36}, {'id': 6, 'x': 37, 'y': 55, 'prize': 13}, {'id': 7, 'x': 100, 'y': 32, 'prize': 52}, {'id': 8, 'x': 79, 'y': 34, 'prize': 77}, {'id': 9, 'x': 82, 'y': 76, 'prize': 22}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 294.1365778345124, 'collected_prize': 172.0, 'objective': 172.0}","[[1, 8, 1], [1, 4, 6, 1]]",40,json,1
TOP,TOP,"Someone needs to route our photographers so that everyone leaves and returns to HQ, nobody exceeds their personal distance cap, and no landmark ends up being shot by more than one person. The choice is the set of routes β€” which landmarks each photographer will cover β€” and the better choices are those that collect more artistic value overall (sum up the value ratings of each landmark photographed). All practical rules β€” return to HQ, stay within the distance limit, and avoid duplicate shots β€” must be respected. The full list of sites, their scores, and the distance constraints are shown below.

There are 7 sites including HQ 0; dispatch 2 photographers and ensure each route's round-trip length does not exceed 167.0.

| site_id | x_coord | y_coord | artistic_value |
|---|---|---|---|
| 0 | 16 | 14 | 0 |
| 1 | 67 | 14 | 9 |
| 2 | 100 | 41 | 5 |
| 3 | 0 | 32 | 53 |
| 4 | 0 | 100 | 54 |
| 5 | 26 | 0 | 64 |
| 6 | 10 | 0 | 73 |

Respect return to HQ 0, the per-photographer distance cap , and no duplicate shots when choosing routes.

Also, when you send back the routes, tuck them into this simple JSON layout so it's easy to check programmatically β€” nothing fancy, just one key with a list of routes.

{
  ""solution"": [[hq_id, landmark_id, ... , hq_id], [hq_id, landmark_id, ... , hq_id], ...]
}

Each inner list is one photographer's route: start at HQ, visit the listed landmarks in order, and come back to HQ. Think of hq_id and landmark_id as placeholders for whatever exact location labels your instance uses. This JSON is just a sketch of the shape I need, not the actual routes.

Please use the identifiers exactly as they appear in the instance input β€” no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[16, 14], [67, 14], [100, 41], [0, 32], [0, 100], [26, 0], [10, 0]], 'prizes': [0, 9, 5, 53, 54, 64, 73], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 3, 0], [0, 5, 1, 6, 0]], 'total_route_length': 182.62105546916797, 'collected_prize': 199.0, 'objective': 199.0}","[[0, 3, 0], [0, 5, 1, 6, 0]]",199.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 16, 'y': 14, 'prize': 0}, {'id': 1, 'x': 67, 'y': 14, 'prize': 9}, {'id': 2, 'x': 100, 'y': 41, 'prize': 5}, {'id': 3, 'x': 0, 'y': 32, 'prize': 53}, {'id': 4, 'x': 0, 'y': 100, 'prize': 54}, {'id': 5, 'x': 26, 'y': 0, 'prize': 64}, {'id': 6, 'x': 10, 'y': 0, 'prize': 73}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 182.62105546916797, 'collected_prize': 199.0, 'objective': 199.0}","[[0, 3, 0], [0, 5, 1, 6, 0]]",41,markdown_table,0
TOP,TOP,"I’m putting together collection runs for our charity volunteers: each person leaves from and returns to the distribution center, and has to keep their trip short enough so they’re not out too long. The choice to make is which donor stops each volunteer should visit β€” a better plan is simply the one that brings in more money overall, which is just the sum of all the donations picked up at the visited houses. Practical rules are that every run must start and end at the center, nobody’s trip can go over the distance/time cap, and no donor house gets visited more than once. The concrete addresses, donation amounts, number of volunteers and the maximum run lengths are shown below.

{
  ""total_locations_including_center"": 7,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""coord_x"": 0,
      ""coord_y"": 33,
      ""donation_amount"": 0
    },
    {
      ""location_id"": 1,
      ""coord_x"": 20,
      ""coord_y"": 0,
      ""donation_amount"": 52
    },
    {
      ""location_id"": 2,
      ""coord_x"": 97,
      ""coord_y"": 5,
      ""donation_amount"": 32
    },
    {
      ""location_id"": 3,
      ""coord_x"": 28,
      ""coord_y"": 100,
      ""donation_amount"": 80
    },
    {
      ""location_id"": 4,
      ""coord_x"": 63,
      ""coord_y"": 54,
      ""donation_amount"": 27
    },
    {
      ""location_id"": 5,
      ""coord_x"": 72,
      ""coord_y"": 69,
      ""donation_amount"": 44
    },
    {
      ""location_id"": 6,
      ""coord_x"": 100,
      ""coord_y"": 100,
      ""donation_amount"": 8
    }
  ],
  ""distribution_center_id"": 0,
  ""max_run_length_per_volunteer"": 167.0,
  ""n_volunteers"": 2
}

Oh, and when you send back the actual plan, just paste it in this little JSON shape so it's easy to read and check:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of that ""solution"" list as a set of routes: each inner list is one volunteer's trip, starting and ending at the distribution center (the depot), and listing the donor stops in the order they'll be visited. It's just a quick form so we all know which routes belong to which person.

This is only the sketch of the expected shape β€” not the final answer itself. Please make sure to use the exact identifiers from the instance input, with no renaming or 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': [[0, 33], [20, 0], [97, 5], [28, 100], [63, 54], [72, 69], [100, 100]], 'prizes': [0, 52, 32, 80, 27, 44, 8], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 3, 0], [0, 4, 5, 0]], 'total_route_length': 309.62998445512096, 'collected_prize': 151.0, 'objective': 151.0}","[[0, 3, 0], [0, 4, 5, 0]]",151.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 0, 'y': 33, 'prize': 0}, {'id': 1, 'x': 20, 'y': 0, 'prize': 52}, {'id': 2, 'x': 97, 'y': 5, 'prize': 32}, {'id': 3, 'x': 28, 'y': 100, 'prize': 80}, {'id': 4, 'x': 63, 'y': 54, 'prize': 27}, {'id': 5, 'x': 72, 'y': 69, 'prize': 44}, {'id': 6, 'x': 100, 'y': 100, 'prize': 8}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 309.62998445512096, 'collected_prize': 151.0, 'objective': 151.0}","[[0, 3, 0], [0, 4, 5, 0]]",42,json,0
TOP,TOP,"There’s a dispatcher trying to draw up routes so crews can check meters, always looping back to the depot and staying within the company’s travel cap for each tour. What matters is the total critical-issue score collected by the checked meters β€” you compute that by summing the scores of every meter that gets inspected β€” and the better the selection, the higher that sum. Rules are simple: each meter can only be visited once and each crew’s tour must start/end at the depot and stay under the travel limit. Concrete details are shown below.

The map contains 10 locations including depot A; there are 2 crews and each round trip must not exceed 167.0 travel length.
Meter A at (0, 11) with critical-issue score 0.
Meter B at (4, 20) with critical-issue score 96.
Meter C at (23, 96) with critical-issue score 84.
Meter D at (25, 31) with critical-issue score 70.
Meter E at (40, 33) with critical-issue score 41.
Meter F at (59, 58) with critical-issue score 17.
Meter G at (60, 8) with critical-issue score 16.
Meter H at (75, 100) with critical-issue score 25.
Meter I at (78, 0) with critical-issue score 55.
Meter J at (100, 1) with critical-issue score 71.
Plan routes to maximize the total critical-issue score while each tour returns to depot A and stays within 167.0.

Also, when you send the routes back, please use the little JSON sketch below β€” it's just the shape I expect.

{
  ""solution"": [[""depot_id"", ""meter_id"", ..., ""depot_id""], [""depot_id"", ""meter_id"", ..., ""depot_id""], ...]
}

Pretty simple: ""solution"" is a list of crew tours, each tour is the sequence of stops (starting and ending at the depot), and the interior strings are the meter IDs in the order they'll be checked. This is just an example of the shape I want β€” not the actual answer.

One more thing: 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': [[0, 11], [4, 20], [23, 96], [25, 31], [40, 33], [59, 58], [60, 8], [75, 100], [78, 0], [100, 1]], 'prizes': [0, 96, 84, 70, 41, 17, 16, 25, 55, 71], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 5, 4, 3, 1, 0], [0, 6, 8, 0]], 'total_route_length': 314.0653596936031, 'collected_prize': 295.0, 'objective': 295.0}","[[0, 5, 4, 3, 1, 0], [0, 6, 8, 0]]",295.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 'A', 'x': 0, 'y': 11, 'prize': 0}, {'id': 'B', 'x': 4, 'y': 20, 'prize': 96}, {'id': 'C', 'x': 23, 'y': 96, 'prize': 84}, {'id': 'D', 'x': 25, 'y': 31, 'prize': 70}, {'id': 'E', 'x': 40, 'y': 33, 'prize': 41}, {'id': 'F', 'x': 59, 'y': 58, 'prize': 17}, {'id': 'G', 'x': 60, 'y': 8, 'prize': 16}, {'id': 'H', 'x': 75, 'y': 100, 'prize': 25}, {'id': 'I', 'x': 78, 'y': 0, 'prize': 55}, {'id': 'J', 'x': 100, 'y': 1, 'prize': 71}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 314.0653596936031, 'collected_prize': 295.0, 'objective': 295.0}","[['A', 'F', 'E', 'D', 'B', 'A'], ['A', 'G', 'I', 'A']]",43,nl,names
TOP,TOP,"We’ve got a garage, a bunch of customers with different maintenance priorities, and a small crew of technicians who need to head out and return by the end of their run. The decision is which customers each technician should visit so the combined priority of all visited customers is as large as possible β€” success is measured by adding up the priority values of every customer that gets a visit. Every route must loop back to the garage, can’t be longer than the allowed distance for that technician, and each customer can only be assigned once. The specific locations, priorities, number of technicians, and distance caps appear below.

Here are the instance parameters: 10 total locations including the garage, the garage node is 0, each technician's round-trip can't exceed 167.0, and we have 2 technicians.

| location_id | x_coord | y_coord | maintenance_priority |
|---|---|---|---|
| 0 | 0 | 35 | 0 |
| 1 | 25 | 0 | 28 |
| 2 | 25 | 95 | 95 |
| 3 | 50 | 55 | 74 |
| 4 | 75 | 95 | 55 |
| 5 | 100 | 35 | 61 |
| 6 | 4 | 10 | 42 |
| 7 | 12 | 100 | 25 |
| 8 | 29 | 10 | 36 |
| 9 | 58 | 10 | 76 |

Plan technician routes that start and end at the garage and keep each route within 167.0 so we maximize the summed priorities with 2 technicians.

Oh β€” and when you send back the routes, please use a simple JSON layout like this:

{
  ""solution"": [[garage_id, customer_id, ... , garage_id], [garage_id, customer_id, ... , garage_id], ...]
}

Here ""solution"" is just a list of routes. Each route is a list that starts and ends at the garage (garage_id) and has the customers visited in order (customer_id). The ""..."" just means you can have more than one customer on a route. This block is only a sketch of the shape I expect, not the actual answer.

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': [[0, 35], [25, 0], [25, 95], [50, 55], [75, 95], [100, 35], [4, 10], [12, 100], [29, 10], [58, 10]], 'prizes': [0, 28, 95, 74, 55, 61, 42, 25, 36, 76], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 6, 1, 8, 9, 0], [0, 3, 2, 0]], 'total_route_length': 317.5277985460199, 'collected_prize': 351.0, 'objective': 351.0}","[[0, 6, 1, 8, 9, 0], [0, 3, 2, 0]]",351.0,"{'problem_type': 'TOP', 'num_nodes': 10, 'nodes': [{'id': 0, 'x': 0, 'y': 35, 'prize': 0}, {'id': 1, 'x': 25, 'y': 0, 'prize': 28}, {'id': 2, 'x': 25, 'y': 95, 'prize': 95}, {'id': 3, 'x': 50, 'y': 55, 'prize': 74}, {'id': 4, 'x': 75, 'y': 95, 'prize': 55}, {'id': 5, 'x': 100, 'y': 35, 'prize': 61}, {'id': 6, 'x': 4, 'y': 10, 'prize': 42}, {'id': 7, 'x': 12, 'y': 100, 'prize': 25}, {'id': 8, 'x': 29, 'y': 10, 'prize': 36}, {'id': 9, 'x': 58, 'y': 10, 'prize': 76}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 317.5277985460199, 'collected_prize': 351.0, 'objective': 351.0}","[[0, 6, 1, 8, 9, 0], [0, 3, 2, 0]]",44,markdown_table,0
TOP,TOP,"Back at the yard the crew leads are figuring routes: each team needs a loop that leaves from the municipal yard and returns there, and each loop has to stay under an allowed mileage. The challenge is divvying up the blocks so none are swept twice and the crews together pick up as much litter-reduction score as they can. Compare route sets by summing the scores of each unique cleaned block across all crews β€” the higher that total, the better the routing. The precise block scores, mileage limits, and other details are shown below.

{
  ""total_locations_including_yard"": 5,
  ""nodes"": [
    {
      ""block_id"": 0,
      ""map_x_coordinate"": 54,
      ""map_y_coordinate"": 0,
      ""litter_reduction_score"": 0
    },
    {
      ""block_id"": 1,
      ""map_x_coordinate"": 98,
      ""map_y_coordinate"": 38,
      ""litter_reduction_score"": 12
    },
    {
      ""block_id"": 2,
      ""map_x_coordinate"": 100,
      ""map_y_coordinate"": 56,
      ""litter_reduction_score"": 5
    },
    {
      ""block_id"": 3,
      ""map_x_coordinate"": 35,
      ""map_y_coordinate"": 88,
      ""litter_reduction_score"": 4
    },
    {
      ""block_id"": 4,
      ""map_x_coordinate"": 0,
      ""map_y_coordinate"": 100,
      ""litter_reduction_score"": 86
    }
  ],
  ""municipal_yard_id"": 0,
  ""max_mileage_per_crew"": 167.0,
  ""n_crews"": 2
}

Oh, and when you send the actual routes back, please use a small JSON snippet like this so it's easy to read and check:

{
  ""solution"": [[""yard_id"", ""block_id"", ... , ""yard_id""], [""yard_id"", ""block_id"", ... , ""yard_id""], ...]
}

Think of it as a simple form: ""solution"" holds a list of loops, each loop is the sequence of stops starting and ending at the yard, and each stop in the middle is a block you want that crew to clean. The ellipses just mean you can have as many blocks as fit the mileage limit β€” it's a shape sketch, not the final plan.

Quick note: this JSON example is just the expected shape β€” don't treat the placeholders as actual answers. Use the exact identifiers from the instance input when you fill it in β€” no renaming, no made-up labels. Be careful: 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': [[54, 0], [98, 38], [100, 56], [35, 88], [0, 100]], 'prizes': [0, 12, 5, 4, 86], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 2, 0]], 'total_route_length': 261.21690228593656, 'collected_prize': 17.0, 'objective': 17.0}","[[0, 1, 0], [0, 2, 0]]",17.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 0, 'x': 54, 'y': 0, 'prize': 0}, {'id': 1, 'x': 98, 'y': 38, 'prize': 12}, {'id': 2, 'x': 100, 'y': 56, 'prize': 5}, {'id': 3, 'x': 35, 'y': 88, 'prize': 4}, {'id': 4, 'x': 0, 'y': 100, 'prize': 86}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 261.21690228593656, 'collected_prize': 17.0, 'objective': 17.0}","[[0, 1, 0], [0, 2, 0]]",45,json,0
TOP,TOP,"Someone in logistics is trying to sketch out daily rounds for the subscription callers: each rep must head out from headquarters and then return, and their path can’t be longer than the allowed limit. The choice is how to divvy up the houses so that each household is contacted at most once and the whole team’s subscription haul β€” the sum of the values of visited houses β€” is as big as it can be. Routes have to obey the distance cap and loop back to HQ. The specific instance details are shown below.

{
  ""total_locations_including_hq"": 7,
  ""nodes"": [
    {
      ""location_id"": 0,
      ""x_coordinate"": 0,
      ""y_coordinate"": 0,
      ""subscription_revenue_potential"": 0
    },
    {
      ""location_id"": 1,
      ""x_coordinate"": 8,
      ""y_coordinate"": 42,
      ""subscription_revenue_potential"": 47
    },
    {
      ""location_id"": 2,
      ""x_coordinate"": 8,
      ""y_coordinate"": 100,
      ""subscription_revenue_potential"": 10
    },
    {
      ""location_id"": 3,
      ""x_coordinate"": 15,
      ""y_coordinate"": 77,
      ""subscription_revenue_potential"": 49
    },
    {
      ""location_id"": 4,
      ""x_coordinate"": 16,
      ""y_coordinate"": 90,
      ""subscription_revenue_potential"": 47
    },
    {
      ""location_id"": 5,
      ""x_coordinate"": 99,
      ""y_coordinate"": 29,
      ""subscription_revenue_potential"": 17
    },
    {
      ""location_id"": 6,
      ""x_coordinate"": 100,
      ""y_coordinate"": 87,
      ""subscription_revenue_potential"": 43
    }
  ],
  ""headquarters_location_id"": 0,
  ""max_route_distance_per_representative"": 167.0,
  ""n_representatives"": 2
}

If you want to send back a candidate plan, just use a tiny JSON shape like this:

{
  ""solution"": [[hq_id, house_id, ... , hq_id], [hq_id, house_id, ... , hq_id], ...]
}

Think of it like a form: ""solution"" holds a list of routes, each route is a list of stops that starts and ends at HQ (that's the hq_id), and the intermediate entries are the houses (house_id) the rep will visit. It's just an example of the shape I expect, not the real answer β€” fill in the actual identifiers from the instance when you return the plan.

Please use the exact identifiers from the instance input β€” no renaming and 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': [[0, 0], [8, 42], [8, 100], [15, 77], [16, 90], [99, 29], [100, 87]], 'prizes': [0, 47, 10, 49, 47, 17, 43], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 3, 0]], 'total_route_length': 242.4051025653693, 'collected_prize': 96.0, 'objective': 96.0}","[[0, 1, 0], [0, 3, 0]]",96.0,"{'problem_type': 'TOP', 'num_nodes': 7, 'nodes': [{'id': 0, 'x': 0, 'y': 0, 'prize': 0}, {'id': 1, 'x': 8, 'y': 42, 'prize': 47}, {'id': 2, 'x': 8, 'y': 100, 'prize': 10}, {'id': 3, 'x': 15, 'y': 77, 'prize': 49}, {'id': 4, 'x': 16, 'y': 90, 'prize': 47}, {'id': 5, 'x': 99, 'y': 29, 'prize': 17}, {'id': 6, 'x': 100, 'y': 87, 'prize': 43}], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 242.4051025653693, 'collected_prize': 96.0, 'objective': 96.0}","[[0, 1, 0], [0, 3, 0]]",46,json,0
TOP,TOP,"On a busy morning the challenge is to send technicians from the service hub on round trips that don’t go over the company travel limit and that, together, cover the most important installs. Effectiveness is measured by totaling the priority scores of all addresses that get visited β€” the higher that sum, the better the schedule. Practical requirements: everyone must return to the hub, each trip must respect the travel cap, and no address gets visited twice. The concrete specifics are provided below.

There are 6 known locations; the service hub is 1. Each technician's round trip must not exceed 167.0, and 2 technicians are available.
Location 1 at (0, 43) has installation priority 0.
Location 2 at (91, 55) has installation priority 62.
Location 3 at (38, 3) has installation priority 64.
Location 4 at (87, 100) has installation priority 5.
Location 5 at (100, 0) has installation priority 37.
Location 6 at (86, 72) has installation priority 63.
Use these details to build routes that return to 1, respect the 167.0 cap, and maximize the total installation priority.

Oh, and when you send the schedule back, please use this simple JSON layout so I can read it easily:

{
  ""solution"": [[""hub_id"", ""address_id"", ... , ""hub_id""], [""hub_id"", ""address_id"", ... , ""hub_id""], ...]
}

The idea is straightforward: ""solution"" holds a list of routes. Each route is a little list that starts and ends at the hub (hub_id) and has the addresses visited in between (address_id). Think of it like filling out a route form for each technician β€” this block just shows the shape I need, not the actual plan.

Please make sure to use the exact identifiers from the instance input β€” no renaming and no new labels. Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[0, 43], [91, 55], [38, 3], [87, 100], [100, 0], [86, 72]], 'prizes': [0, 62, 64, 5, 37, 63], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 2, 0], [0, 0]], 'total_route_length': 110.34491379306978, 'collected_prize': 64.0, 'objective': 64.0}","[[0, 2, 0], [0, 0]]",64.0,"{'problem_type': 'TOP', 'num_nodes': 6, 'nodes': [{'id': 1, 'x': 0, 'y': 43, 'prize': 0}, {'id': 2, 'x': 91, 'y': 55, 'prize': 62}, {'id': 3, 'x': 38, 'y': 3, 'prize': 64}, {'id': 4, 'x': 87, 'y': 100, 'prize': 5}, {'id': 5, 'x': 100, 'y': 0, 'prize': 37}, {'id': 6, 'x': 86, 'y': 72, 'prize': 63}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 110.34491379306978, 'collected_prize': 64.0, 'objective': 64.0}","[[1, 3, 1], [1, 1]]",47,nl,1
TOP,TOP,"Many people think of it as a scavenger run for good food: several volunteers leave the shelter, stop at different donors, and come back, all while sticking to a distance limit. The choice to make is how to split and order those stops so the total number of meals collected β€” simply the sum of the meal estimates at each donor actually visited, with no repeats β€” ends up highest. Each route must begin and end at the shelter and cannot go over the set distance allowance, and each donor can only be visited once. The concrete location and estimate details are provided below.

{
  ""total_locations_including_shelter"": 9,
  ""nodes"": [
    {
      ""location_node_id"": 1,
      ""x_coord"": 100,
      ""y_coord"": 46,
      ""estimated_meals"": 0
    },
    {
      ""location_node_id"": 2,
      ""x_coord"": 0,
      ""y_coord"": 6,
      ""estimated_meals"": 86
    },
    {
      ""location_node_id"": 3,
      ""x_coord"": 28,
      ""y_coord"": 100,
      ""estimated_meals"": 66
    },
    {
      ""location_node_id"": 4,
      ""x_coord"": 59,
      ""y_coord"": 82,
      ""estimated_meals"": 16
    },
    {
      ""location_node_id"": 5,
      ""x_coord"": 16,
      ""y_coord"": 0,
      ""estimated_meals"": 7
    },
    {
      ""location_node_id"": 6,
      ""x_coord"": 25,
      ""y_coord"": 0,
      ""estimated_meals"": 64
    },
    {
      ""location_node_id"": 7,
      ""x_coord"": 15,
      ""y_coord"": 10,
      ""estimated_meals"": 3
    },
    {
      ""location_node_id"": 8,
      ""x_coord"": 97,
      ""y_coord"": 59,
      ""estimated_meals"": 59
    },
    {
      ""location_node_id"": 9,
      ""x_coord"": 100,
      ""y_coord"": 5,
      ""estimated_meals"": 94
    }
  ],
  ""shelter_node_id"": 1,
  ""max_distance_per_volunteer"": 167.0,
  ""n_volunteers"": 2
}

Also, when you send the routes back, a handy, simple layout to follow is this JSON sketch:

{
  ""solution"": [[""shelter_id"", ""donor_id"", ..., ""shelter_id""], [""shelter_id"", ""donor_id"", ..., ""shelter_id""], ...]
}

This just means: ""solution"" is a list of routes; each route is a list that starts and ends with the shelter identifier and has donor identifiers for the stops in between. It's just the shape I expect, not the actual answer β€” a quick form to fill in with the real route IDs.

Please make sure to 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': [[100, 46], [0, 6], [28, 100], [59, 82], [16, 0], [25, 0], [15, 10], [97, 59], [100, 5]], 'prizes': [0, 86, 66, 16, 7, 64, 3, 59, 94], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 8, 0], [0, 7, 0]], 'total_route_length': 108.68332812825267, 'collected_prize': 169.0, 'objective': 169.0}","[[0, 8, 0], [0, 7, 0]]",169.0,"{'problem_type': 'TOP', 'num_nodes': 9, 'nodes': [{'id': 1, 'x': 100, 'y': 46, 'prize': 0}, {'id': 2, 'x': 0, 'y': 6, 'prize': 86}, {'id': 3, 'x': 28, 'y': 100, 'prize': 66}, {'id': 4, 'x': 59, 'y': 82, 'prize': 16}, {'id': 5, 'x': 16, 'y': 0, 'prize': 7}, {'id': 6, 'x': 25, 'y': 0, 'prize': 64}, {'id': 7, 'x': 15, 'y': 10, 'prize': 3}, {'id': 8, 'x': 97, 'y': 59, 'prize': 59}, {'id': 9, 'x': 100, 'y': 5, 'prize': 94}], 'depot': 1, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 108.68332812825267, 'collected_prize': 169.0, 'objective': 169.0}","[[1, 9, 1], [1, 8, 1]]",48,json,1
TOP,TOP,"Recently the outreach coordinator was sketching routes on a whiteboard: volunteers leave from the office, spend a limited amount of time visiting voters, then come back, and the coordinator needs to assign who hits which houses. The goal is to cover a set of locations whose persuasion scores, when added together, give the biggest total, while making sure no one’s route is too long and no house gets visited more than once. All volunteers must begin and end at the office. The exact list of stops, their persuasion values, and each volunteer’s limit are provided below.

{
  ""total_locations_including_office"": 8,
  ""nodes"": [
    {
      ""location_id"": ""A"",
      ""coord_x"": 0,
      ""coord_y"": 16,
      ""persuasion_score"": 0
    },
    {
      ""location_id"": ""B"",
      ""coord_x"": 29,
      ""coord_y"": 29,
      ""persuasion_score"": 39
    },
    {
      ""location_id"": ""C"",
      ""coord_x"": 82,
      ""coord_y"": 16,
      ""persuasion_score"": 64
    },
    {
      ""location_id"": ""D"",
      ""coord_x"": 72,
      ""coord_y"": 100,
      ""persuasion_score"": 46
    },
    {
      ""location_id"": ""E"",
      ""coord_x"": 92,
      ""coord_y"": 36,
      ""persuasion_score"": 55
    },
    {
      ""location_id"": ""F"",
      ""coord_x"": 100,
      ""coord_y"": 7,
      ""persuasion_score"": 94
    },
    {
      ""location_id"": ""G"",
      ""coord_x"": 35,
      ""coord_y"": 0,
      ""persuasion_score"": 39
    },
    {
      ""location_id"": ""H"",
      ""coord_x"": 13,
      ""coord_y"": 100,
      ""persuasion_score"": 96
    }
  ],
  ""office_node"": ""A"",
  ""max_route_length_per_volunteer"": 167.0,
  ""n_volunteers"": 2
}

Oh β€” and when you send the routes back, a simple JSON layout like this is easiest to read:

{
  ""solution"": [[""office_id"", ""house_id"", ..., ""office_id""], [""office_id"", ""house_id"", ..., ""office_id""], ...]
}

Think of ""solution"" as a list of volunteer routes. Each inner list is one route: start at the office, visit the houses in order, then come back to the office. The little ""..."" just means you can put as many stops as fit on that route. This is just the shape I’m expecting, not the actual routes.

Please make sure to use the exact identifiers from the instance input β€” no renaming and no new labels. Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.","{'coordinates': [[0, 16], [29, 29], [82, 16], [72, 100], [92, 36], [100, 7], [35, 0], [13, 100]], 'prizes': [0, 39, 64, 46, 55, 94, 39, 96], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 6, 0], [0, 2, 0]], 'total_route_length': 240.96752561957544, 'collected_prize': 142.0, 'objective': 142.0}","[[0, 6, 0], [0, 2, 0]]",142.0,"{'problem_type': 'TOP', 'num_nodes': 8, 'nodes': [{'id': 'A', 'x': 0, 'y': 16, 'prize': 0}, {'id': 'B', 'x': 29, 'y': 29, 'prize': 39}, {'id': 'C', 'x': 82, 'y': 16, 'prize': 64}, {'id': 'D', 'x': 72, 'y': 100, 'prize': 46}, {'id': 'E', 'x': 92, 'y': 36, 'prize': 55}, {'id': 'F', 'x': 100, 'y': 7, 'prize': 94}, {'id': 'G', 'x': 35, 'y': 0, 'prize': 39}, {'id': 'H', 'x': 13, 'y': 100, 'prize': 96}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 240.96752561957544, 'collected_prize': 142.0, 'objective': 142.0}","[['A', 'G', 'A'], ['A', 'C', 'A']]",49,json,names
TOP,TOP,"Back at the depot early, the coordinator laid out cards for each crew: each squad must head out and return within a fixed mileage limit. The decision is which bike-share parking spots to include on each crew’s route so that, when the crew visits a spot, its congestion-relief value gets added to the day’s total β€” the bigger that summed total, the better. To avoid waste, any single parking spot can only be done once by the whole team, and no route can go past its distance allowance. The concrete stops, distances, and benefit numbers appear below.

# total_locations_including_depot=5
# depot_location_id=A
# max_mileage_per_crew=167.0
# n_crews=2
spot_id,x_coord,y_coord,congestion_relief_value
A,19,100,0
B,20,95,20
C,41,10,7
D,0,0,10
E,100,2,2

Oh, and when you give me the chosen routes, please follow this simple JSON shape:

{
  ""solution"": [[depot_id, location_id, ... , depot_id], [depot_id, location_id, ... , depot_id], ...]
}

Think of ""solution"" as a list of each crew's path β€” each inner list is that crew's route, starting and ending at the depot and listing the bike‑share parking spots visited in order. This snippet is just the sketch of the shape I need, not the actual answer.

Please make sure to use the exact identifiers from the instance input β€” no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β€œ1” or β€œ23”, single capital letters like β€œA” or β€œB”, or a capital letter followed by digits like β€œA1” or β€œX7”.""","{'coordinates': [[19, 100], [20, 95], [41, 10], [0, 0], [100, 2]], 'prizes': [0, 20, 7, 10, 2], 'depot': 0, 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'routes': [[0, 1, 0], [0, 0]], 'total_route_length': 10.198039027185569, 'collected_prize': 20.0, 'objective': 20.0}","[[0, 1, 0], [0, 0]]",20.0,"{'problem_type': 'TOP', 'num_nodes': 5, 'nodes': [{'id': 'A', 'x': 19, 'y': 100, 'prize': 0}, {'id': 'B', 'x': 20, 'y': 95, 'prize': 20}, {'id': 'C', 'x': 41, 'y': 10, 'prize': 7}, {'id': 'D', 'x': 0, 'y': 0, 'prize': 10}, {'id': 'E', 'x': 100, 'y': 2, 'prize': 2}], 'depot': 'A', 'max_length_per_vehicle': 167.0, 'n_vehicles': 2, 'total_route_length': 10.198039027185569, 'collected_prize': 20.0, 'objective': 20.0}","[['A', 'B', 'A'], ['A', 'A']]",50,csv,names