File size: 264,632 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 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 | 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.
# total_locations_including_depot=27
# depot_node_id=A
# max_route_length_per_vehicle=225.0
# fleet_size=2
location_id,x_coord,y_coord,order_value
A,1,89,0
B,4,84,10
C,38,85,74
D,54,83,36
E,25,69,36
F,78,100,61
G,89,54,39
H,0,6,41
I,6,52,51
J,45,3,71
K,26,18,96
L,43,36,46
M,69,13,43
N,100,12,11
O,74,89,22
P,70,21,96
Q,35,56,94
R,82,18,88
S,87,64,65
T,13,88,21
U,75,0,64
V,42,33,14
W,21,36,46
X,16,82,87
Y,90,86,26
Z,67,68,66
AA,0,12,86
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': [[1, 89], [4, 84], [38, 85], [54, 83], [25, 69], [78, 100], [89, 54], [0, 6], [6, 52], [45, 3], [26, 18], [43, 36], [69, 13], [100, 12], [74, 89], [70, 21], [35, 56], [82, 18], [87, 64], [13, 88], [75, 0], [42, 33], [21, 36], [16, 82], [90, 86], [67, 68], [0, 12]], 'prizes': [0, 10, 74, 36, 36, 61, 39, 41, 51, 71, 96, 46, 43, 11, 22, 96, 94, 88, 65, 21, 64, 14, 46, 87, 26, 66, 86], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 4, 16, 21, 10, 26, 7, 23, 19, 0], [0, 1, 14, 5, 24, 18, 25, 3, 2, 0]], 'total_route_length': 444.65694211914246, 'collected_prize': 835.0, 'objective': 835.0}","[[0, 4, 16, 21, 10, 26, 7, 23, 19, 0], [0, 1, 14, 5, 24, 18, 25, 3, 2, 0]]",835.0,"{'problem_type': 'TOP', 'num_nodes': 27, 'nodes': [{'id': 'A', 'x': 1, 'y': 89, 'prize': 0}, {'id': 'B', 'x': 4, 'y': 84, 'prize': 10}, {'id': 'C', 'x': 38, 'y': 85, 'prize': 74}, {'id': 'D', 'x': 54, 'y': 83, 'prize': 36}, {'id': 'E', 'x': 25, 'y': 69, 'prize': 36}, {'id': 'F', 'x': 78, 'y': 100, 'prize': 61}, {'id': 'G', 'x': 89, 'y': 54, 'prize': 39}, {'id': 'H', 'x': 0, 'y': 6, 'prize': 41}, {'id': 'I', 'x': 6, 'y': 52, 'prize': 51}, {'id': 'J', 'x': 45, 'y': 3, 'prize': 71}, {'id': 'K', 'x': 26, 'y': 18, 'prize': 96}, {'id': 'L', 'x': 43, 'y': 36, 'prize': 46}, {'id': 'M', 'x': 69, 'y': 13, 'prize': 43}, {'id': 'N', 'x': 100, 'y': 12, 'prize': 11}, {'id': 'O', 'x': 74, 'y': 89, 'prize': 22}, {'id': 'P', 'x': 70, 'y': 21, 'prize': 96}, {'id': 'Q', 'x': 35, 'y': 56, 'prize': 94}, {'id': 'R', 'x': 82, 'y': 18, 'prize': 88}, {'id': 'S', 'x': 87, 'y': 64, 'prize': 65}, {'id': 'T', 'x': 13, 'y': 88, 'prize': 21}, {'id': 'U', 'x': 75, 'y': 0, 'prize': 64}, {'id': 'V', 'x': 42, 'y': 33, 'prize': 14}, {'id': 'W', 'x': 21, 'y': 36, 'prize': 46}, {'id': 'X', 'x': 16, 'y': 82, 'prize': 87}, {'id': 'Y', 'x': 90, 'y': 86, 'prize': 26}, {'id': 'Z', 'x': 67, 'y': 68, 'prize': 66}, {'id': 'AA', 'x': 0, 'y': 12, 'prize': 86}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.65694211914246, 'collected_prize': 835.0, 'objective': 835.0}","[['A', 'E', 'Q', 'V', 'K', 'AA', 'H', 'X', 'T', 'A'], ['A', 'B', 'O', 'F', 'Y', 'S', 'Z', 'D', 'C', 'A']]",1,csv,names
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 25 total locations (museum storage is 0), a travel allowance of 225.0 per team, and 2 teams.
| site_id | x_coord | y_coord | satisfaction_points |
|---|---|---|---|
| 0 | 17 | 41 | 0 |
| 1 | 33 | 41 | 56 |
| 2 | 25 | 71 | 16 |
| 3 | 42 | 33 | 17 |
| 4 | 0 | 41 | 10 |
| 5 | 67 | 94 | 20 |
| 6 | 100 | 26 | 46 |
| 7 | 50 | 100 | 79 |
| 8 | 100 | 79 | 99 |
| 9 | 0 | 3 | 81 |
| 10 | 30 | 0 | 38 |
| 11 | 2 | 53 | 52 |
| 12 | 13 | 74 | 6 |
| 13 | 70 | 67 | 71 |
| 14 | 80 | 14 | 7 |
| 15 | 27 | 32 | 88 |
| 16 | 12 | 32 | 73 |
| 17 | 32 | 83 | 83 |
| 18 | 53 | 80 | 71 |
| 19 | 73 | 59 | 70 |
| 20 | 83 | 77 | 93 |
| 21 | 10 | 42 | 88 |
| 22 | 22 | 32 | 9 |
| 23 | 35 | 36 | 46 |
| 24 | 25 | 35 | 49 |
Each route must start and end at 0 and stay within the 225.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': [[17, 41], [33, 41], [25, 71], [42, 33], [0, 41], [67, 94], [100, 26], [50, 100], [100, 79], [0, 3], [30, 0], [2, 53], [13, 74], [70, 67], [80, 14], [27, 32], [12, 32], [32, 83], [53, 80], [73, 59], [83, 77], [10, 42], [22, 32], [35, 36], [25, 35]], 'prizes': [0, 56, 16, 17, 10, 20, 46, 79, 99, 81, 38, 52, 6, 71, 7, 88, 73, 83, 71, 70, 93, 88, 9, 46, 49], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 22, 15, 24, 1, 23, 3, 10, 9, 0], [0, 2, 17, 7, 5, 8, 20, 13, 19, 0]], 'total_route_length': 373.65591766453053, 'collected_prize': 1138.0, 'objective': 1138.0}","[[0, 22, 15, 24, 1, 23, 3, 10, 9, 0], [0, 2, 17, 7, 5, 8, 20, 13, 19, 0]]",1138.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 0, 'x': 17, 'y': 41, 'prize': 0}, {'id': 1, 'x': 33, 'y': 41, 'prize': 56}, {'id': 2, 'x': 25, 'y': 71, 'prize': 16}, {'id': 3, 'x': 42, 'y': 33, 'prize': 17}, {'id': 4, 'x': 0, 'y': 41, 'prize': 10}, {'id': 5, 'x': 67, 'y': 94, 'prize': 20}, {'id': 6, 'x': 100, 'y': 26, 'prize': 46}, {'id': 7, 'x': 50, 'y': 100, 'prize': 79}, {'id': 8, 'x': 100, 'y': 79, 'prize': 99}, {'id': 9, 'x': 0, 'y': 3, 'prize': 81}, {'id': 10, 'x': 30, 'y': 0, 'prize': 38}, {'id': 11, 'x': 2, 'y': 53, 'prize': 52}, {'id': 12, 'x': 13, 'y': 74, 'prize': 6}, {'id': 13, 'x': 70, 'y': 67, 'prize': 71}, {'id': 14, 'x': 80, 'y': 14, 'prize': 7}, {'id': 15, 'x': 27, 'y': 32, 'prize': 88}, {'id': 16, 'x': 12, 'y': 32, 'prize': 73}, {'id': 17, 'x': 32, 'y': 83, 'prize': 83}, {'id': 18, 'x': 53, 'y': 80, 'prize': 71}, {'id': 19, 'x': 73, 'y': 59, 'prize': 70}, {'id': 20, 'x': 83, 'y': 77, 'prize': 93}, {'id': 21, 'x': 10, 'y': 42, 'prize': 88}, {'id': 22, 'x': 22, 'y': 32, 'prize': 9}, {'id': 23, 'x': 35, 'y': 36, 'prize': 46}, {'id': 24, 'x': 25, 'y': 35, 'prize': 49}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 373.65591766453053, 'collected_prize': 1138.0, 'objective': 1138.0}","[[0, 22, 15, 24, 1, 23, 3, 10, 9, 0], [0, 2, 17, 7, 5, 8, 20, 13, 19, 0]]",2,markdown_table,0
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.
# total_locations_including_yard=24
# maintenance_yard_id=1
# mileage_cap_per_run=225.0
# number_of_crews=2
feature_id,map_x_coordinate,map_y_coordinate,importance_score
1,18,26,0
2,39,35,15
3,8,30,98
4,1,27,27
5,0,70,90
6,9,77,16
7,9,79,13
8,9,87,32
9,29,94,31
10,31,77,42
11,56,49,33
12,46,52,57
13,45,52,10
14,49,87,80
15,44,100,27
16,99,80,91
17,100,64,90
18,96,77,2
19,96,90,85
20,92,49,68
21,88,26,4
22,76,14,31
23,19,16,56
24,1,0,59
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': [[18, 26], [39, 35], [8, 30], [1, 27], [0, 70], [9, 77], [9, 79], [9, 87], [29, 94], [31, 77], [56, 49], [46, 52], [45, 52], [49, 87], [44, 100], [99, 80], [100, 64], [96, 77], [96, 90], [92, 49], [88, 26], [76, 14], [19, 16], [1, 0]], 'prizes': [0, 15, 98, 27, 90, 16, 13, 32, 31, 42, 33, 57, 10, 80, 27, 91, 90, 2, 85, 68, 4, 31, 56, 59], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 1, 19, 16, 17, 15, 18, 11, 12, 0], [0, 22, 2, 3, 4, 5, 6, 7, 8, 14, 13, 9, 0]], 'total_route_length': 448.6132964941289, 'collected_prize': 930.0, 'objective': 930.0}","[[0, 1, 19, 16, 17, 15, 18, 11, 12, 0], [0, 22, 2, 3, 4, 5, 6, 7, 8, 14, 13, 9, 0]]",930.0,"{'problem_type': 'TOP', 'num_nodes': 24, 'nodes': [{'id': 1, 'x': 18, 'y': 26, 'prize': 0}, {'id': 2, 'x': 39, 'y': 35, 'prize': 15}, {'id': 3, 'x': 8, 'y': 30, 'prize': 98}, {'id': 4, 'x': 1, 'y': 27, 'prize': 27}, {'id': 5, 'x': 0, 'y': 70, 'prize': 90}, {'id': 6, 'x': 9, 'y': 77, 'prize': 16}, {'id': 7, 'x': 9, 'y': 79, 'prize': 13}, {'id': 8, 'x': 9, 'y': 87, 'prize': 32}, {'id': 9, 'x': 29, 'y': 94, 'prize': 31}, {'id': 10, 'x': 31, 'y': 77, 'prize': 42}, {'id': 11, 'x': 56, 'y': 49, 'prize': 33}, {'id': 12, 'x': 46, 'y': 52, 'prize': 57}, {'id': 13, 'x': 45, 'y': 52, 'prize': 10}, {'id': 14, 'x': 49, 'y': 87, 'prize': 80}, {'id': 15, 'x': 44, 'y': 100, 'prize': 27}, {'id': 16, 'x': 99, 'y': 80, 'prize': 91}, {'id': 17, 'x': 100, 'y': 64, 'prize': 90}, {'id': 18, 'x': 96, 'y': 77, 'prize': 2}, {'id': 19, 'x': 96, 'y': 90, 'prize': 85}, {'id': 20, 'x': 92, 'y': 49, 'prize': 68}, {'id': 21, 'x': 88, 'y': 26, 'prize': 4}, {'id': 22, 'x': 76, 'y': 14, 'prize': 31}, {'id': 23, 'x': 19, 'y': 16, 'prize': 56}, {'id': 24, 'x': 1, 'y': 0, 'prize': 59}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.6132964941289, 'collected_prize': 930.0, 'objective': 930.0}","[[1, 2, 20, 17, 18, 16, 19, 12, 13, 1], [1, 23, 3, 4, 5, 6, 7, 8, 9, 15, 14, 10, 1]]",3,csv,1
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.
{
""total_sites_including_clinic"": 23,
""nodes"": [
{
""site_id"": 1,
""x_coordinate"": 0,
""y_coordinate"": 24,
""outreach_impact"": 0
},
{
""site_id"": 2,
""x_coordinate"": 10,
""y_coordinate"": 90,
""outreach_impact"": 63
},
{
""site_id"": 3,
""x_coordinate"": 10,
""y_coordinate"": 88,
""outreach_impact"": 94
},
{
""site_id"": 4,
""x_coordinate"": 7,
""y_coordinate"": 83,
""outreach_impact"": 74
},
{
""site_id"": 5,
""x_coordinate"": 13,
""y_coordinate"": 55,
""outreach_impact"": 74
},
{
""site_id"": 6,
""x_coordinate"": 13,
""y_coordinate"": 59,
""outreach_impact"": 11
},
{
""site_id"": 7,
""x_coordinate"": 34,
""y_coordinate"": 41,
""outreach_impact"": 49
},
{
""site_id"": 8,
""x_coordinate"": 39,
""y_coordinate"": 8,
""outreach_impact"": 87
},
{
""site_id"": 9,
""x_coordinate"": 39,
""y_coordinate"": 11,
""outreach_impact"": 2
},
{
""site_id"": 10,
""x_coordinate"": 39,
""y_coordinate"": 69,
""outreach_impact"": 18
},
{
""site_id"": 11,
""x_coordinate"": 39,
""y_coordinate"": 75,
""outreach_impact"": 11
},
{
""site_id"": 12,
""x_coordinate"": 39,
""y_coordinate"": 78,
""outreach_impact"": 85
},
{
""site_id"": 13,
""x_coordinate"": 37,
""y_coordinate"": 100,
""outreach_impact"": 5
},
{
""site_id"": 14,
""x_coordinate"": 38,
""y_coordinate"": 100,
""outreach_impact"": 50
},
{
""site_id"": 15,
""x_coordinate"": 65,
""y_coordinate"": 24,
""outreach_impact"": 50
},
{
""site_id"": 16,
""x_coordinate"": 74,
""y_coordinate"": 0,
""outreach_impact"": 76
},
{
""site_id"": 17,
""x_coordinate"": 100,
""y_coordinate"": 74,
""outreach_impact"": 35
},
{
""site_id"": 18,
""x_coordinate"": 100,
""y_coordinate"": 73,
""outreach_impact"": 93
},
{
""site_id"": 19,
""x_coordinate"": 100,
""y_coordinate"": 67,
""outreach_impact"": 30
},
{
""site_id"": 20,
""x_coordinate"": 96,
""y_coordinate"": 41,
""outreach_impact"": 55
},
{
""site_id"": 21,
""x_coordinate"": 98,
""y_coordinate"": 41,
""outreach_impact"": 6
},
{
""site_id"": 22,
""x_coordinate"": 100,
""y_coordinate"": 19,
""outreach_impact"": 60
},
{
""site_id"": 23,
""x_coordinate"": 100,
""y_coordinate"": 7,
""outreach_impact"": 64
}
],
""clinic_node_id"": 1,
""max_route_distance_per_van"": 225.0,
""num_vans_available"": 2
}
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, 24], [10, 90], [10, 88], [7, 83], [13, 55], [13, 59], [34, 41], [39, 8], [39, 11], [39, 69], [39, 75], [39, 78], [37, 100], [38, 100], [65, 24], [74, 0], [100, 74], [100, 73], [100, 67], [96, 41], [98, 41], [100, 19], [100, 7]], 'prizes': [0, 63, 94, 74, 74, 11, 49, 87, 2, 18, 11, 85, 5, 50, 50, 76, 35, 93, 30, 55, 6, 60, 64], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 14, 21, 22, 15, 8, 7, 0], [0, 4, 5, 3, 1, 2, 13, 12, 9, 11, 10, 6, 0]], 'total_route_length': 439.9997707847666, 'collected_prize': 873.0, 'objective': 873.0}","[[0, 14, 21, 22, 15, 8, 7, 0], [0, 4, 5, 3, 1, 2, 13, 12, 9, 11, 10, 6, 0]]",873.0,"{'problem_type': 'TOP', 'num_nodes': 23, 'nodes': [{'id': 1, 'x': 0, 'y': 24, 'prize': 0}, {'id': 2, 'x': 10, 'y': 90, 'prize': 63}, {'id': 3, 'x': 10, 'y': 88, 'prize': 94}, {'id': 4, 'x': 7, 'y': 83, 'prize': 74}, {'id': 5, 'x': 13, 'y': 55, 'prize': 74}, {'id': 6, 'x': 13, 'y': 59, 'prize': 11}, {'id': 7, 'x': 34, 'y': 41, 'prize': 49}, {'id': 8, 'x': 39, 'y': 8, 'prize': 87}, {'id': 9, 'x': 39, 'y': 11, 'prize': 2}, {'id': 10, 'x': 39, 'y': 69, 'prize': 18}, {'id': 11, 'x': 39, 'y': 75, 'prize': 11}, {'id': 12, 'x': 39, 'y': 78, 'prize': 85}, {'id': 13, 'x': 37, 'y': 100, 'prize': 5}, {'id': 14, 'x': 38, 'y': 100, 'prize': 50}, {'id': 15, 'x': 65, 'y': 24, 'prize': 50}, {'id': 16, 'x': 74, 'y': 0, 'prize': 76}, {'id': 17, 'x': 100, 'y': 74, 'prize': 35}, {'id': 18, 'x': 100, 'y': 73, 'prize': 93}, {'id': 19, 'x': 100, 'y': 67, 'prize': 30}, {'id': 20, 'x': 96, 'y': 41, 'prize': 55}, {'id': 21, 'x': 98, 'y': 41, 'prize': 6}, {'id': 22, 'x': 100, 'y': 19, 'prize': 60}, {'id': 23, 'x': 100, 'y': 7, 'prize': 64}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 439.9997707847666, 'collected_prize': 873.0, 'objective': 873.0}","[[1, 15, 22, 23, 16, 9, 8, 1], [1, 5, 6, 4, 2, 3, 14, 13, 10, 12, 11, 7, 1]]",4,json,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"": 29,
""nodes"": [
{
""location_id"": 0,
""x_coord"": 0,
""y_coord"": 17,
""urgency_score"": 0
},
{
""location_id"": 1,
""x_coord"": 5,
""y_coord"": 73,
""urgency_score"": 10
},
{
""location_id"": 2,
""x_coord"": 9,
""y_coord"": 75,
""urgency_score"": 34
},
{
""location_id"": 3,
""x_coord"": 9,
""y_coord"": 88,
""urgency_score"": 69
},
{
""location_id"": 4,
""x_coord"": 34,
""y_coord"": 94,
""urgency_score"": 18
},
{
""location_id"": 5,
""x_coord"": 23,
""y_coord"": 94,
""urgency_score"": 0
},
{
""location_id"": 6,
""x_coord"": 23,
""y_coord"": 92,
""urgency_score"": 27
},
{
""location_id"": 7,
""x_coord"": 23,
""y_coord"": 40,
""urgency_score"": 70
},
{
""location_id"": 8,
""x_coord"": 41,
""y_coord"": 37,
""urgency_score"": 42
},
{
""location_id"": 9,
""x_coord"": 38,
""y_coord"": 34,
""urgency_score"": 32
},
{
""location_id"": 10,
""x_coord"": 31,
""y_coord"": 25,
""urgency_score"": 21
},
{
""location_id"": 11,
""x_coord"": 34,
""y_coord"": 24,
""urgency_score"": 31
},
{
""location_id"": 12,
""x_coord"": 34,
""y_coord"": 11,
""urgency_score"": 37
},
{
""location_id"": 13,
""x_coord"": 32,
""y_coord"": 1,
""urgency_score"": 13
},
{
""location_id"": 14,
""x_coord"": 52,
""y_coord"": 55,
""urgency_score"": 68
},
{
""location_id"": 15,
""x_coord"": 60,
""y_coord"": 62,
""urgency_score"": 51
},
{
""location_id"": 16,
""x_coord"": 68,
""y_coord"": 73,
""urgency_score"": 86
},
{
""location_id"": 17,
""x_coord"": 63,
""y_coord"": 73,
""urgency_score"": 0
},
{
""location_id"": 18,
""x_coord"": 57,
""y_coord"": 82,
""urgency_score"": 78
},
{
""location_id"": 19,
""x_coord"": 52,
""y_coord"": 85,
""urgency_score"": 79
},
{
""location_id"": 20,
""x_coord"": 100,
""y_coord"": 85,
""urgency_score"": 6
},
{
""location_id"": 21,
""x_coord"": 64,
""y_coord"": 91,
""urgency_score"": 43
},
{
""location_id"": 22,
""x_coord"": 87,
""y_coord"": 97,
""urgency_score"": 35
},
{
""location_id"": 23,
""x_coord"": 55,
""y_coord"": 100,
""urgency_score"": 84
},
{
""location_id"": 24,
""x_coord"": 55,
""y_coord"": 31,
""urgency_score"": 48
},
{
""location_id"": 25,
""x_coord"": 66,
""y_coord"": 28,
""urgency_score"": 26
},
{
""location_id"": 26,
""x_coord"": 52,
""y_coord"": 9,
""urgency_score"": 12
},
{
""location_id"": 27,
""x_coord"": 81,
""y_coord"": 0,
""urgency_score"": 62
},
{
""location_id"": 28,
""x_coord"": 98,
""y_coord"": 9,
""urgency_score"": 35
}
],
""depot_node_id"": 0,
""travel_allowance_per_team"": 225.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, 17], [5, 73], [9, 75], [9, 88], [34, 94], [23, 94], [23, 92], [23, 40], [41, 37], [38, 34], [31, 25], [34, 24], [34, 11], [32, 1], [52, 55], [60, 62], [68, 73], [63, 73], [57, 82], [52, 85], [100, 85], [64, 91], [87, 97], [55, 100], [55, 31], [66, 28], [52, 9], [81, 0], [98, 9]], 'prizes': [0, 10, 34, 69, 18, 0, 27, 70, 42, 32, 21, 31, 37, 13, 68, 51, 86, 0, 78, 79, 6, 43, 35, 84, 48, 26, 12, 62, 35], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 10, 9, 7, 3, 6, 2, 1, 0], [0, 11, 8, 24, 14, 15, 16, 18, 19, 0]], 'total_route_length': 442.45349449379813, 'collected_prize': 783.0, 'objective': 783.0}","[[0, 12, 10, 9, 7, 3, 6, 2, 1, 0], [0, 11, 8, 24, 14, 15, 16, 18, 19, 0]]",783.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 0, 'y': 17, 'prize': 0}, {'id': 1, 'x': 5, 'y': 73, 'prize': 10}, {'id': 2, 'x': 9, 'y': 75, 'prize': 34}, {'id': 3, 'x': 9, 'y': 88, 'prize': 69}, {'id': 4, 'x': 34, 'y': 94, 'prize': 18}, {'id': 5, 'x': 23, 'y': 94, 'prize': 0}, {'id': 6, 'x': 23, 'y': 92, 'prize': 27}, {'id': 7, 'x': 23, 'y': 40, 'prize': 70}, {'id': 8, 'x': 41, 'y': 37, 'prize': 42}, {'id': 9, 'x': 38, 'y': 34, 'prize': 32}, {'id': 10, 'x': 31, 'y': 25, 'prize': 21}, {'id': 11, 'x': 34, 'y': 24, 'prize': 31}, {'id': 12, 'x': 34, 'y': 11, 'prize': 37}, {'id': 13, 'x': 32, 'y': 1, 'prize': 13}, {'id': 14, 'x': 52, 'y': 55, 'prize': 68}, {'id': 15, 'x': 60, 'y': 62, 'prize': 51}, {'id': 16, 'x': 68, 'y': 73, 'prize': 86}, {'id': 17, 'x': 63, 'y': 73, 'prize': 0}, {'id': 18, 'x': 57, 'y': 82, 'prize': 78}, {'id': 19, 'x': 52, 'y': 85, 'prize': 79}, {'id': 20, 'x': 100, 'y': 85, 'prize': 6}, {'id': 21, 'x': 64, 'y': 91, 'prize': 43}, {'id': 22, 'x': 87, 'y': 97, 'prize': 35}, {'id': 23, 'x': 55, 'y': 100, 'prize': 84}, {'id': 24, 'x': 55, 'y': 31, 'prize': 48}, {'id': 25, 'x': 66, 'y': 28, 'prize': 26}, {'id': 26, 'x': 52, 'y': 9, 'prize': 12}, {'id': 27, 'x': 81, 'y': 0, 'prize': 62}, {'id': 28, 'x': 98, 'y': 9, 'prize': 35}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 442.45349449379813, 'collected_prize': 783.0, 'objective': 783.0}","[[0, 12, 10, 9, 7, 3, 6, 2, 1, 0], [0, 11, 8, 24, 14, 15, 16, 18, 19, 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.
Instance summary: 25 total locations including the hub A; each shuttle may travel up to 225.0, and there are 2 shuttles.
| location_id | map_x | map_y | sponsorship_amount |
|---|---|---|---|
| A | 19 | 80 | 0 |
| B | 32 | 21 | 36 |
| C | 54 | 85 | 98 |
| D | 10 | 83 | 41 |
| E | 17 | 9 | 80 |
| F | 54 | 69 | 68 |
| G | 100 | 42 | 27 |
| H | 51 | 42 | 50 |
| I | 79 | 0 | 40 |
| J | 87 | 35 | 73 |
| K | 0 | 34 | 36 |
| L | 35 | 74 | 88 |
| M | 49 | 25 | 46 |
| N | 67 | 100 | 94 |
| O | 42 | 72 | 85 |
| P | 51 | 7 | 31 |
| Q | 3 | 72 | 49 |
| R | 20 | 3 | 40 |
| S | 63 | 81 | 99 |
| T | 20 | 16 | 47 |
| U | 40 | 85 | 34 |
| V | 42 | 87 | 45 |
| W | 88 | 97 | 17 |
| X | 9 | 97 | 57 |
| Y | 24 | 86 | 72 |
Assign loops from the hub so each of the 2 shuttles returns within 225.0, visiting distinct booths to maximize sponsorship across the 25 locations (hub A).
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': [[19, 80], [32, 21], [54, 85], [10, 83], [17, 9], [54, 69], [100, 42], [51, 42], [79, 0], [87, 35], [0, 34], [35, 74], [49, 25], [67, 100], [42, 72], [51, 7], [3, 72], [20, 3], [63, 81], [20, 16], [40, 85], [42, 87], [88, 97], [9, 97], [24, 86]], 'prizes': [0, 36, 98, 41, 80, 68, 27, 50, 40, 73, 36, 88, 46, 94, 85, 31, 49, 40, 99, 47, 34, 45, 17, 57, 72], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 10, 4, 17, 19, 1, 15, 12, 7, 0], [0, 11, 14, 5, 18, 22, 13, 2, 20, 21, 24, 23, 3, 16, 0]], 'total_route_length': 442.1195265922679, 'collected_prize': 1213.0, 'objective': 1213.0}","[[0, 10, 4, 17, 19, 1, 15, 12, 7, 0], [0, 11, 14, 5, 18, 22, 13, 2, 20, 21, 24, 23, 3, 16, 0]]",1213.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 'A', 'x': 19, 'y': 80, 'prize': 0}, {'id': 'B', 'x': 32, 'y': 21, 'prize': 36}, {'id': 'C', 'x': 54, 'y': 85, 'prize': 98}, {'id': 'D', 'x': 10, 'y': 83, 'prize': 41}, {'id': 'E', 'x': 17, 'y': 9, 'prize': 80}, {'id': 'F', 'x': 54, 'y': 69, 'prize': 68}, {'id': 'G', 'x': 100, 'y': 42, 'prize': 27}, {'id': 'H', 'x': 51, 'y': 42, 'prize': 50}, {'id': 'I', 'x': 79, 'y': 0, 'prize': 40}, {'id': 'J', 'x': 87, 'y': 35, 'prize': 73}, {'id': 'K', 'x': 0, 'y': 34, 'prize': 36}, {'id': 'L', 'x': 35, 'y': 74, 'prize': 88}, {'id': 'M', 'x': 49, 'y': 25, 'prize': 46}, {'id': 'N', 'x': 67, 'y': 100, 'prize': 94}, {'id': 'O', 'x': 42, 'y': 72, 'prize': 85}, {'id': 'P', 'x': 51, 'y': 7, 'prize': 31}, {'id': 'Q', 'x': 3, 'y': 72, 'prize': 49}, {'id': 'R', 'x': 20, 'y': 3, 'prize': 40}, {'id': 'S', 'x': 63, 'y': 81, 'prize': 99}, {'id': 'T', 'x': 20, 'y': 16, 'prize': 47}, {'id': 'U', 'x': 40, 'y': 85, 'prize': 34}, {'id': 'V', 'x': 42, 'y': 87, 'prize': 45}, {'id': 'W', 'x': 88, 'y': 97, 'prize': 17}, {'id': 'X', 'x': 9, 'y': 97, 'prize': 57}, {'id': 'Y', 'x': 24, 'y': 86, 'prize': 72}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 442.1195265922679, 'collected_prize': 1213.0, 'objective': 1213.0}","[['A', 'K', 'E', 'R', 'T', 'B', 'P', 'M', 'H', 'A'], ['A', 'L', 'O', 'F', 'S', 'W', 'N', 'C', 'U', 'V', 'Y', 'X', 'D', 'Q', 'A']]",6,markdown_table,names
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.
{
""total_locations_including_port"": 30,
""nodes"": [
{
""location_id"": 1,
""x_coordinate"": 0,
""y_coordinate"": 8,
""condition_score"": 0
},
{
""location_id"": 2,
""x_coordinate"": 5,
""y_coordinate"": 14,
""condition_score"": 79
},
{
""location_id"": 3,
""x_coordinate"": 5,
""y_coordinate"": 17,
""condition_score"": 48
},
{
""location_id"": 4,
""x_coordinate"": 19,
""y_coordinate"": 11,
""condition_score"": 31
},
{
""location_id"": 5,
""x_coordinate"": 26,
""y_coordinate"": 29,
""condition_score"": 70
},
{
""location_id"": 6,
""x_coordinate"": 39,
""y_coordinate"": 3,
""condition_score"": 58
},
{
""location_id"": 7,
""x_coordinate"": 43,
""y_coordinate"": 3,
""condition_score"": 39
},
{
""location_id"": 8,
""x_coordinate"": 60,
""y_coordinate"": 14,
""condition_score"": 46
},
{
""location_id"": 9,
""x_coordinate"": 68,
""y_coordinate"": 29,
""condition_score"": 62
},
{
""location_id"": 10,
""x_coordinate"": 70,
""y_coordinate"": 3,
""condition_score"": 13
},
{
""location_id"": 11,
""x_coordinate"": 74,
""y_coordinate"": 11,
""condition_score"": 59
},
{
""location_id"": 12,
""x_coordinate"": 75,
""y_coordinate"": 15,
""condition_score"": 55
},
{
""location_id"": 13,
""x_coordinate"": 77,
""y_coordinate"": 2,
""condition_score"": 49
},
{
""location_id"": 14,
""x_coordinate"": 80,
""y_coordinate"": 8,
""condition_score"": 55
},
{
""location_id"": 15,
""x_coordinate"": 95,
""y_coordinate"": 0,
""condition_score"": 98
},
{
""location_id"": 16,
""x_coordinate"": 1,
""y_coordinate"": 64,
""condition_score"": 17
},
{
""location_id"": 17,
""x_coordinate"": 5,
""y_coordinate"": 47,
""condition_score"": 53
},
{
""location_id"": 18,
""x_coordinate"": 37,
""y_coordinate"": 62,
""condition_score"": 71
},
{
""location_id"": 19,
""x_coordinate"": 48,
""y_coordinate"": 48,
""condition_score"": 54
},
{
""location_id"": 20,
""x_coordinate"": 48,
""y_coordinate"": 39,
""condition_score"": 41
},
{
""location_id"": 21,
""x_coordinate"": 57,
""y_coordinate"": 64,
""condition_score"": 76
},
{
""location_id"": 22,
""x_coordinate"": 68,
""y_coordinate"": 62,
""condition_score"": 71
},
{
""location_id"": 23,
""x_coordinate"": 94,
""y_coordinate"": 33,
""condition_score"": 20
},
{
""location_id"": 24,
""x_coordinate"": 100,
""y_coordinate"": 33,
""condition_score"": 98
},
{
""location_id"": 25,
""x_coordinate"": 44,
""y_coordinate"": 77,
""condition_score"": 79
},
{
""location_id"": 26,
""x_coordinate"": 66,
""y_coordinate"": 74,
""condition_score"": 1
},
{
""location_id"": 27,
""x_coordinate"": 67,
""y_coordinate"": 97,
""condition_score"": 56
},
{
""location_id"": 28,
""x_coordinate"": 71,
""y_coordinate"": 81,
""condition_score"": 76
},
{
""location_id"": 29,
""x_coordinate"": 100,
""y_coordinate"": 67,
""condition_score"": 24
},
{
""location_id"": 30,
""x_coordinate"": 53,
""y_coordinate"": 100,
""condition_score"": 75
}
],
""drone_port_id"": 1,
""max_flight_range_per_drone"": 225.0,
""n_drones"": 2
}
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': [[0, 8], [5, 14], [5, 17], [19, 11], [26, 29], [39, 3], [43, 3], [60, 14], [68, 29], [70, 3], [74, 11], [75, 15], [77, 2], [80, 8], [95, 0], [1, 64], [5, 47], [37, 62], [48, 48], [48, 39], [57, 64], [68, 62], [94, 33], [100, 33], [44, 77], [66, 74], [67, 97], [71, 81], [100, 67], [53, 100]], 'prizes': [0, 79, 48, 31, 70, 58, 39, 46, 62, 13, 59, 55, 49, 55, 98, 17, 53, 71, 54, 41, 76, 71, 20, 98, 79, 1, 56, 76, 24, 75], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 5, 6, 7, 8, 11, 13, 14, 12, 10, 3, 0], [0, 16, 17, 24, 20, 21, 19, 18, 4, 2, 1, 0]], 'total_route_length': 447.9793217509556, 'collected_prize': 1194.0, 'objective': 1194.0}","[[0, 5, 6, 7, 8, 11, 13, 14, 12, 10, 3, 0], [0, 16, 17, 24, 20, 21, 19, 18, 4, 2, 1, 0]]",1194.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 1, 'x': 0, 'y': 8, 'prize': 0}, {'id': 2, 'x': 5, 'y': 14, 'prize': 79}, {'id': 3, 'x': 5, 'y': 17, 'prize': 48}, {'id': 4, 'x': 19, 'y': 11, 'prize': 31}, {'id': 5, 'x': 26, 'y': 29, 'prize': 70}, {'id': 6, 'x': 39, 'y': 3, 'prize': 58}, {'id': 7, 'x': 43, 'y': 3, 'prize': 39}, {'id': 8, 'x': 60, 'y': 14, 'prize': 46}, {'id': 9, 'x': 68, 'y': 29, 'prize': 62}, {'id': 10, 'x': 70, 'y': 3, 'prize': 13}, {'id': 11, 'x': 74, 'y': 11, 'prize': 59}, {'id': 12, 'x': 75, 'y': 15, 'prize': 55}, {'id': 13, 'x': 77, 'y': 2, 'prize': 49}, {'id': 14, 'x': 80, 'y': 8, 'prize': 55}, {'id': 15, 'x': 95, 'y': 0, 'prize': 98}, {'id': 16, 'x': 1, 'y': 64, 'prize': 17}, {'id': 17, 'x': 5, 'y': 47, 'prize': 53}, {'id': 18, 'x': 37, 'y': 62, 'prize': 71}, {'id': 19, 'x': 48, 'y': 48, 'prize': 54}, {'id': 20, 'x': 48, 'y': 39, 'prize': 41}, {'id': 21, 'x': 57, 'y': 64, 'prize': 76}, {'id': 22, 'x': 68, 'y': 62, 'prize': 71}, {'id': 23, 'x': 94, 'y': 33, 'prize': 20}, {'id': 24, 'x': 100, 'y': 33, 'prize': 98}, {'id': 25, 'x': 44, 'y': 77, 'prize': 79}, {'id': 26, 'x': 66, 'y': 74, 'prize': 1}, {'id': 27, 'x': 67, 'y': 97, 'prize': 56}, {'id': 28, 'x': 71, 'y': 81, 'prize': 76}, {'id': 29, 'x': 100, 'y': 67, 'prize': 24}, {'id': 30, 'x': 53, 'y': 100, 'prize': 75}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 447.9793217509556, 'collected_prize': 1194.0, 'objective': 1194.0}","[[1, 6, 7, 8, 9, 12, 14, 15, 13, 11, 4, 1], [1, 17, 18, 25, 21, 22, 20, 19, 5, 3, 2, 1]]",7,json,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.
{
""total_locations_including_center"": 29,
""nodes"": [
{
""location_id"": 0,
""coord_x"": 9,
""coord_y"": 0,
""engagement_points"": 0
},
{
""location_id"": 1,
""coord_x"": 72,
""coord_y"": 0,
""engagement_points"": 8
},
{
""location_id"": 2,
""coord_x"": 63,
""coord_y"": 5,
""engagement_points"": 77
},
{
""location_id"": 3,
""coord_x"": 37,
""coord_y"": 6,
""engagement_points"": 98
},
{
""location_id"": 4,
""coord_x"": 83,
""coord_y"": 6,
""engagement_points"": 51
},
{
""location_id"": 5,
""coord_x"": 9,
""coord_y"": 9,
""engagement_points"": 29
},
{
""location_id"": 6,
""coord_x"": 37,
""coord_y"": 13,
""engagement_points"": 30
},
{
""location_id"": 7,
""coord_x"": 100,
""coord_y"": 26,
""engagement_points"": 21
},
{
""location_id"": 8,
""coord_x"": 83,
""coord_y"": 26,
""engagement_points"": 5
},
{
""location_id"": 9,
""coord_x"": 9,
""coord_y"": 29,
""engagement_points"": 97
},
{
""location_id"": 10,
""coord_x"": 72,
""coord_y"": 29,
""engagement_points"": 7
},
{
""location_id"": 11,
""coord_x"": 88,
""coord_y"": 29,
""engagement_points"": 51
},
{
""location_id"": 12,
""coord_x"": 83,
""coord_y"": 33,
""engagement_points"": 41
},
{
""location_id"": 13,
""coord_x"": 63,
""coord_y"": 34,
""engagement_points"": 57
},
{
""location_id"": 14,
""coord_x"": 37,
""coord_y"": 33,
""engagement_points"": 64
},
{
""location_id"": 15,
""coord_x"": 19,
""coord_y"": 35,
""engagement_points"": 14
},
{
""location_id"": 16,
""coord_x"": 83,
""coord_y"": 35,
""engagement_points"": 49
},
{
""location_id"": 17,
""coord_x"": 19,
""coord_y"": 55,
""engagement_points"": 13
},
{
""location_id"": 18,
""coord_x"": 25,
""coord_y"": 58,
""engagement_points"": 28
},
{
""location_id"": 19,
""coord_x"": 100,
""coord_y"": 64,
""engagement_points"": 18
},
{
""location_id"": 20,
""coord_x"": 83,
""coord_y"": 71,
""engagement_points"": 85
},
{
""location_id"": 21,
""coord_x"": 19,
""coord_y"": 84,
""engagement_points"": 16
},
{
""location_id"": 22,
""coord_x"": 31,
""coord_y"": 87,
""engagement_points"": 81
},
{
""location_id"": 23,
""coord_x"": 94,
""coord_y"": 87,
""engagement_points"": 62
},
{
""location_id"": 24,
""coord_x"": 100,
""coord_y"": 91,
""engagement_points"": 40
},
{
""location_id"": 25,
""coord_x"": 0,
""coord_y"": 92,
""engagement_points"": 68
},
{
""location_id"": 26,
""coord_x"": 100,
""coord_y"": 93,
""engagement_points"": 2
},
{
""location_id"": 27,
""coord_x"": 31,
""coord_y"": 96,
""engagement_points"": 36
},
{
""location_id"": 28,
""coord_x"": 19,
""coord_y"": 100,
""engagement_points"": 35
}
],
""community_center_id"": 0,
""route_cap_per_worker"": 225.0,
""n_workers"": 2
}
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': [[9, 0], [72, 0], [63, 5], [37, 6], [83, 6], [9, 9], [37, 13], [100, 26], [83, 26], [9, 29], [72, 29], [88, 29], [83, 33], [63, 34], [37, 33], [19, 35], [83, 35], [19, 55], [25, 58], [100, 64], [83, 71], [19, 84], [31, 87], [94, 87], [100, 91], [0, 92], [100, 93], [31, 96], [19, 100]], 'prizes': [0, 8, 77, 98, 51, 29, 30, 21, 5, 97, 7, 51, 41, 57, 64, 14, 49, 13, 28, 18, 85, 16, 81, 62, 40, 68, 2, 36, 35], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 18, 22, 27, 28, 25, 9, 0], [0, 5, 15, 14, 13, 10, 12, 16, 11, 8, 4, 1, 2, 6, 3, 0]], 'total_route_length': 448.97735017820736, 'collected_prize': 926.0, 'objective': 926.0}","[[0, 18, 22, 27, 28, 25, 9, 0], [0, 5, 15, 14, 13, 10, 12, 16, 11, 8, 4, 1, 2, 6, 3, 0]]",926.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 9, 'y': 0, 'prize': 0}, {'id': 1, 'x': 72, 'y': 0, 'prize': 8}, {'id': 2, 'x': 63, 'y': 5, 'prize': 77}, {'id': 3, 'x': 37, 'y': 6, 'prize': 98}, {'id': 4, 'x': 83, 'y': 6, 'prize': 51}, {'id': 5, 'x': 9, 'y': 9, 'prize': 29}, {'id': 6, 'x': 37, 'y': 13, 'prize': 30}, {'id': 7, 'x': 100, 'y': 26, 'prize': 21}, {'id': 8, 'x': 83, 'y': 26, 'prize': 5}, {'id': 9, 'x': 9, 'y': 29, 'prize': 97}, {'id': 10, 'x': 72, 'y': 29, 'prize': 7}, {'id': 11, 'x': 88, 'y': 29, 'prize': 51}, {'id': 12, 'x': 83, 'y': 33, 'prize': 41}, {'id': 13, 'x': 63, 'y': 34, 'prize': 57}, {'id': 14, 'x': 37, 'y': 33, 'prize': 64}, {'id': 15, 'x': 19, 'y': 35, 'prize': 14}, {'id': 16, 'x': 83, 'y': 35, 'prize': 49}, {'id': 17, 'x': 19, 'y': 55, 'prize': 13}, {'id': 18, 'x': 25, 'y': 58, 'prize': 28}, {'id': 19, 'x': 100, 'y': 64, 'prize': 18}, {'id': 20, 'x': 83, 'y': 71, 'prize': 85}, {'id': 21, 'x': 19, 'y': 84, 'prize': 16}, {'id': 22, 'x': 31, 'y': 87, 'prize': 81}, {'id': 23, 'x': 94, 'y': 87, 'prize': 62}, {'id': 24, 'x': 100, 'y': 91, 'prize': 40}, {'id': 25, 'x': 0, 'y': 92, 'prize': 68}, {'id': 26, 'x': 100, 'y': 93, 'prize': 2}, {'id': 27, 'x': 31, 'y': 96, 'prize': 36}, {'id': 28, 'x': 19, 'y': 100, 'prize': 35}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.97735017820736, 'collected_prize': 926.0, 'objective': 926.0}","[[0, 18, 22, 27, 28, 25, 9, 0], [0, 5, 15, 14, 13, 10, 12, 16, 11, 8, 4, 1, 2, 6, 3, 0]]",8,json,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.
# total_locations=25
# regional_office_id=0
# max_travel_length_per_rep=225.0
# n_salespeople=2
location_id,x_coord,y_coord,potential_revenue
0,45,89,0
1,71,17,19
2,88,100,68
3,14,69,88
4,20,8,81
5,22,16,18
6,8,66,52
7,94,57,64
8,17,60,92
9,23,14,63
10,100,88,93
11,46,1,17
12,7,82,55
13,81,50,48
14,0,47,41
15,58,100,74
16,24,11,35
17,75,73,54
18,37,92,50
19,55,6,99
20,1,2,13
21,14,0,72
22,97,78,30
23,18,31,72
24,21,7,39
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': [[45, 89], [71, 17], [88, 100], [14, 69], [20, 8], [22, 16], [8, 66], [94, 57], [17, 60], [23, 14], [100, 88], [46, 1], [7, 82], [81, 50], [0, 47], [58, 100], [24, 11], [75, 73], [37, 92], [55, 6], [1, 2], [14, 0], [97, 78], [18, 31], [21, 7]], 'prizes': [0, 19, 68, 88, 81, 18, 52, 64, 92, 63, 93, 17, 55, 48, 41, 74, 35, 54, 50, 99, 13, 72, 30, 72, 39], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 23, 5, 9, 4, 24, 21, 19, 0], [0, 18, 12, 6, 3, 8, 17, 10, 2, 15, 0]], 'total_route_length': 449.7824410538176, 'collected_prize': 1070.0, 'objective': 1070.0}","[[0, 23, 5, 9, 4, 24, 21, 19, 0], [0, 18, 12, 6, 3, 8, 17, 10, 2, 15, 0]]",1070.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 0, 'x': 45, 'y': 89, 'prize': 0}, {'id': 1, 'x': 71, 'y': 17, 'prize': 19}, {'id': 2, 'x': 88, 'y': 100, 'prize': 68}, {'id': 3, 'x': 14, 'y': 69, 'prize': 88}, {'id': 4, 'x': 20, 'y': 8, 'prize': 81}, {'id': 5, 'x': 22, 'y': 16, 'prize': 18}, {'id': 6, 'x': 8, 'y': 66, 'prize': 52}, {'id': 7, 'x': 94, 'y': 57, 'prize': 64}, {'id': 8, 'x': 17, 'y': 60, 'prize': 92}, {'id': 9, 'x': 23, 'y': 14, 'prize': 63}, {'id': 10, 'x': 100, 'y': 88, 'prize': 93}, {'id': 11, 'x': 46, 'y': 1, 'prize': 17}, {'id': 12, 'x': 7, 'y': 82, 'prize': 55}, {'id': 13, 'x': 81, 'y': 50, 'prize': 48}, {'id': 14, 'x': 0, 'y': 47, 'prize': 41}, {'id': 15, 'x': 58, 'y': 100, 'prize': 74}, {'id': 16, 'x': 24, 'y': 11, 'prize': 35}, {'id': 17, 'x': 75, 'y': 73, 'prize': 54}, {'id': 18, 'x': 37, 'y': 92, 'prize': 50}, {'id': 19, 'x': 55, 'y': 6, 'prize': 99}, {'id': 20, 'x': 1, 'y': 2, 'prize': 13}, {'id': 21, 'x': 14, 'y': 0, 'prize': 72}, {'id': 22, 'x': 97, 'y': 78, 'prize': 30}, {'id': 23, 'x': 18, 'y': 31, 'prize': 72}, {'id': 24, 'x': 21, 'y': 7, 'prize': 39}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 449.7824410538176, 'collected_prize': 1070.0, 'objective': 1070.0}","[[0, 23, 5, 9, 4, 24, 21, 19, 0], [0, 18, 12, 6, 3, 8, 17, 10, 2, 15, 0]]",9,csv,0
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.
There are 26 locations including the depot A; each of the 2 trucks must run one route from and back to the depot that does not exceed 225.0.
| location_id | x_coordinate | y_coordinate | material_weight |
|---|---|---|---|
| A | 9 | 2 | 0 |
| B | 34 | 2 | 45 |
| C | 67 | 0 | 31 |
| D | 89 | 9 | 42 |
| E | 40 | 23 | 58 |
| F | 6 | 32 | 60 |
| G | 39 | 32 | 15 |
| H | 48 | 28 | 35 |
| I | 31 | 38 | 16 |
| J | 100 | 37 | 74 |
| K | 0 | 43 | 20 |
| L | 40 | 45 | 84 |
| M | 63 | 45 | 43 |
| N | 32 | 58 | 60 |
| O | 39 | 60 | 38 |
| P | 58 | 59 | 59 |
| Q | 74 | 60 | 92 |
| R | 83 | 66 | 14 |
| S | 57 | 73 | 77 |
| T | 49 | 86 | 67 |
| U | 56 | 85 | 41 |
| V | 99 | 88 | 97 |
| W | 8 | 95 | 79 |
| X | 32 | 93 | 15 |
| Y | 83 | 91 | 46 |
| Z | 51 | 100 | 71 |
Plan routes for the 2 trucks to maximize total collected weight without exceeding 225.0 per route.
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': [[9, 2], [34, 2], [67, 0], [89, 9], [40, 23], [6, 32], [39, 32], [48, 28], [31, 38], [100, 37], [0, 43], [40, 45], [63, 45], [32, 58], [39, 60], [58, 59], [74, 60], [83, 66], [57, 73], [49, 86], [56, 85], [99, 88], [8, 95], [32, 93], [83, 91], [51, 100]], 'prizes': [0, 45, 31, 42, 58, 60, 15, 35, 16, 74, 20, 84, 43, 60, 38, 59, 92, 14, 77, 67, 41, 97, 79, 15, 46, 71], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 6, 8, 11, 16, 13, 10, 5, 0], [0, 14, 19, 20, 18, 15, 12, 7, 4, 1, 0]], 'total_route_length': 441.1747129078427, 'collected_prize': 810.0, 'objective': 810.0}","[[0, 6, 8, 11, 16, 13, 10, 5, 0], [0, 14, 19, 20, 18, 15, 12, 7, 4, 1, 0]]",810.0,"{'problem_type': 'TOP', 'num_nodes': 26, 'nodes': [{'id': 'A', 'x': 9, 'y': 2, 'prize': 0}, {'id': 'B', 'x': 34, 'y': 2, 'prize': 45}, {'id': 'C', 'x': 67, 'y': 0, 'prize': 31}, {'id': 'D', 'x': 89, 'y': 9, 'prize': 42}, {'id': 'E', 'x': 40, 'y': 23, 'prize': 58}, {'id': 'F', 'x': 6, 'y': 32, 'prize': 60}, {'id': 'G', 'x': 39, 'y': 32, 'prize': 15}, {'id': 'H', 'x': 48, 'y': 28, 'prize': 35}, {'id': 'I', 'x': 31, 'y': 38, 'prize': 16}, {'id': 'J', 'x': 100, 'y': 37, 'prize': 74}, {'id': 'K', 'x': 0, 'y': 43, 'prize': 20}, {'id': 'L', 'x': 40, 'y': 45, 'prize': 84}, {'id': 'M', 'x': 63, 'y': 45, 'prize': 43}, {'id': 'N', 'x': 32, 'y': 58, 'prize': 60}, {'id': 'O', 'x': 39, 'y': 60, 'prize': 38}, {'id': 'P', 'x': 58, 'y': 59, 'prize': 59}, {'id': 'Q', 'x': 74, 'y': 60, 'prize': 92}, {'id': 'R', 'x': 83, 'y': 66, 'prize': 14}, {'id': 'S', 'x': 57, 'y': 73, 'prize': 77}, {'id': 'T', 'x': 49, 'y': 86, 'prize': 67}, {'id': 'U', 'x': 56, 'y': 85, 'prize': 41}, {'id': 'V', 'x': 99, 'y': 88, 'prize': 97}, {'id': 'W', 'x': 8, 'y': 95, 'prize': 79}, {'id': 'X', 'x': 32, 'y': 93, 'prize': 15}, {'id': 'Y', 'x': 83, 'y': 91, 'prize': 46}, {'id': 'Z', 'x': 51, 'y': 100, 'prize': 71}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 441.1747129078427, 'collected_prize': 810.0, 'objective': 810.0}","[['A', 'G', 'I', 'L', 'Q', 'N', 'K', 'F', 'A'], ['A', 'O', 'T', 'U', 'S', 'P', 'M', 'H', 'E', 'B', 'A']]",10,markdown_table,names
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=21
# equipment_shed_id=0
# max_miles_per_run=225.0
# n_teams=2
location_id,x_coordinate,y_coordinate,quality_score_gain
0,0,29,0
1,0,79,84
2,6,100,96
3,8,100,29
4,11,86,84
5,6,79,27
6,9,79,31
7,14,0,67
8,13,85,22
9,36,95,38
10,40,20,100
11,39,41,85
12,40,71,69
13,60,32,15
14,68,46,78
15,69,79,49
16,68,100,63
17,71,79,58
18,74,2,32
19,100,72,22
20,100,20,12
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': [[0, 29], [0, 79], [6, 100], [8, 100], [11, 86], [6, 79], [9, 79], [14, 0], [13, 85], [36, 95], [40, 20], [39, 41], [40, 71], [60, 32], [68, 46], [69, 79], [68, 100], [71, 79], [74, 2], [100, 72], [100, 20]], 'prizes': [0, 84, 96, 29, 84, 27, 31, 67, 22, 38, 100, 85, 69, 15, 78, 49, 63, 58, 32, 22, 12], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 11, 12, 9, 3, 2, 5, 4, 8, 6, 1, 0], [0, 15, 17, 14, 13, 10, 7, 0]], 'total_route_length': 448.4453757976862, 'collected_prize': 932.0, 'objective': 932.0}","[[0, 11, 12, 9, 3, 2, 5, 4, 8, 6, 1, 0], [0, 15, 17, 14, 13, 10, 7, 0]]",932.0,"{'problem_type': 'TOP', 'num_nodes': 21, 'nodes': [{'id': 0, 'x': 0, 'y': 29, 'prize': 0}, {'id': 1, 'x': 0, 'y': 79, 'prize': 84}, {'id': 2, 'x': 6, 'y': 100, 'prize': 96}, {'id': 3, 'x': 8, 'y': 100, 'prize': 29}, {'id': 4, 'x': 11, 'y': 86, 'prize': 84}, {'id': 5, 'x': 6, 'y': 79, 'prize': 27}, {'id': 6, 'x': 9, 'y': 79, 'prize': 31}, {'id': 7, 'x': 14, 'y': 0, 'prize': 67}, {'id': 8, 'x': 13, 'y': 85, 'prize': 22}, {'id': 9, 'x': 36, 'y': 95, 'prize': 38}, {'id': 10, 'x': 40, 'y': 20, 'prize': 100}, {'id': 11, 'x': 39, 'y': 41, 'prize': 85}, {'id': 12, 'x': 40, 'y': 71, 'prize': 69}, {'id': 13, 'x': 60, 'y': 32, 'prize': 15}, {'id': 14, 'x': 68, 'y': 46, 'prize': 78}, {'id': 15, 'x': 69, 'y': 79, 'prize': 49}, {'id': 16, 'x': 68, 'y': 100, 'prize': 63}, {'id': 17, 'x': 71, 'y': 79, 'prize': 58}, {'id': 18, 'x': 74, 'y': 2, 'prize': 32}, {'id': 19, 'x': 100, 'y': 72, 'prize': 22}, {'id': 20, 'x': 100, 'y': 20, 'prize': 12}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.4453757976862, 'collected_prize': 932.0, 'objective': 932.0}","[[0, 11, 12, 9, 3, 2, 5, 4, 8, 6, 1, 0], [0, 15, 17, 14, 13, 10, 7, 0]]",11,csv,0
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.
{
""total_locations_including_kitchen"": 21,
""nodes"": [
{
""location_id"": 0,
""x_coordinate"": 0,
""y_coordinate"": 6,
""tasting_value"": 0
},
{
""location_id"": 1,
""x_coordinate"": 5,
""y_coordinate"": 4,
""tasting_value"": 22
},
{
""location_id"": 2,
""x_coordinate"": 10,
""y_coordinate"": 8,
""tasting_value"": 38
},
{
""location_id"": 3,
""x_coordinate"": 13,
""y_coordinate"": 29,
""tasting_value"": 19
},
{
""location_id"": 4,
""x_coordinate"": 14,
""y_coordinate"": 45,
""tasting_value"": 83
},
{
""location_id"": 5,
""x_coordinate"": 21,
""y_coordinate"": 86,
""tasting_value"": 50
},
{
""location_id"": 6,
""x_coordinate"": 39,
""y_coordinate"": 7,
""tasting_value"": 28
},
{
""location_id"": 7,
""x_coordinate"": 35,
""y_coordinate"": 19,
""tasting_value"": 19
},
{
""location_id"": 8,
""x_coordinate"": 41,
""y_coordinate"": 51,
""tasting_value"": 65
},
{
""location_id"": 9,
""x_coordinate"": 34,
""y_coordinate"": 93,
""tasting_value"": 79
},
{
""location_id"": 10,
""x_coordinate"": 41,
""y_coordinate"": 100,
""tasting_value"": 84
},
{
""location_id"": 11,
""x_coordinate"": 62,
""y_coordinate"": 90,
""tasting_value"": 89
},
{
""location_id"": 12,
""x_coordinate"": 66,
""y_coordinate"": 81,
""tasting_value"": 8
},
{
""location_id"": 13,
""x_coordinate"": 81,
""y_coordinate"": 0,
""tasting_value"": 59
},
{
""location_id"": 14,
""x_coordinate"": 82,
""y_coordinate"": 14,
""tasting_value"": 13
},
{
""location_id"": 15,
""x_coordinate"": 80,
""y_coordinate"": 39,
""tasting_value"": 4
},
{
""location_id"": 16,
""x_coordinate"": 95,
""y_coordinate"": 92,
""tasting_value"": 48
},
{
""location_id"": 17,
""x_coordinate"": 94,
""y_coordinate"": 97,
""tasting_value"": 88
},
{
""location_id"": 18,
""x_coordinate"": 100,
""y_coordinate"": 79,
""tasting_value"": 81
},
{
""location_id"": 19,
""x_coordinate"": 94,
""y_coordinate"": 72,
""tasting_value"": 97
},
{
""location_id"": 20,
""x_coordinate"": 94,
""y_coordinate"": 24,
""tasting_value"": 96
}
],
""starting_kitchen_id"": 0,
""max_route_distance_per_guide"": 225.0,
""number_of_guides"": 2
}
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': [[0, 6], [5, 4], [10, 8], [13, 29], [14, 45], [21, 86], [39, 7], [35, 19], [41, 51], [34, 93], [41, 100], [62, 90], [66, 81], [81, 0], [82, 14], [80, 39], [95, 92], [94, 97], [100, 79], [94, 72], [94, 24]], 'prizes': [0, 22, 38, 19, 83, 50, 28, 19, 65, 79, 84, 89, 8, 59, 13, 4, 48, 88, 81, 97, 96], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 3, 8, 10, 9, 5, 4, 2, 0], [0, 6, 13, 14, 20, 15, 7, 1, 0]], 'total_route_length': 444.6369734239102, 'collected_prize': 659.0, 'objective': 659.0}","[[0, 3, 8, 10, 9, 5, 4, 2, 0], [0, 6, 13, 14, 20, 15, 7, 1, 0]]",659.0,"{'problem_type': 'TOP', 'num_nodes': 21, 'nodes': [{'id': 0, 'x': 0, 'y': 6, 'prize': 0}, {'id': 1, 'x': 5, 'y': 4, 'prize': 22}, {'id': 2, 'x': 10, 'y': 8, 'prize': 38}, {'id': 3, 'x': 13, 'y': 29, 'prize': 19}, {'id': 4, 'x': 14, 'y': 45, 'prize': 83}, {'id': 5, 'x': 21, 'y': 86, 'prize': 50}, {'id': 6, 'x': 39, 'y': 7, 'prize': 28}, {'id': 7, 'x': 35, 'y': 19, 'prize': 19}, {'id': 8, 'x': 41, 'y': 51, 'prize': 65}, {'id': 9, 'x': 34, 'y': 93, 'prize': 79}, {'id': 10, 'x': 41, 'y': 100, 'prize': 84}, {'id': 11, 'x': 62, 'y': 90, 'prize': 89}, {'id': 12, 'x': 66, 'y': 81, 'prize': 8}, {'id': 13, 'x': 81, 'y': 0, 'prize': 59}, {'id': 14, 'x': 82, 'y': 14, 'prize': 13}, {'id': 15, 'x': 80, 'y': 39, 'prize': 4}, {'id': 16, 'x': 95, 'y': 92, 'prize': 48}, {'id': 17, 'x': 94, 'y': 97, 'prize': 88}, {'id': 18, 'x': 100, 'y': 79, 'prize': 81}, {'id': 19, 'x': 94, 'y': 72, 'prize': 97}, {'id': 20, 'x': 94, 'y': 24, 'prize': 96}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.6369734239102, 'collected_prize': 659.0, 'objective': 659.0}","[[0, 3, 8, 10, 9, 5, 4, 2, 0], [0, 6, 13, 14, 20, 15, 7, 1, 0]]",12,json,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: 29 total sites (including exchange 1); assign exactly 2 closed circuits, each no longer than 225.0.
| site_id | x_coordinate | y_coordinate | service_priority_score |
|---|---|---|---|
| 1 | 47 | 92 | 0 |
| 2 | 82 | 72 | 87 |
| 3 | 19 | 66 | 84 |
| 4 | 56 | 45 | 13 |
| 5 | 59 | 33 | 15 |
| 6 | 87 | 99 | 92 |
| 7 | 85 | 100 | 55 |
| 8 | 84 | 99 | 38 |
| 9 | 86 | 99 | 48 |
| 10 | 3 | 99 | 41 |
| 11 | 0 | 100 | 2 |
| 12 | 78 | 0 | 7 |
| 13 | 76 | 1 | 56 |
| 14 | 3 | 0 | 60 |
| 15 | 2 | 0 | 22 |
| 16 | 0 | 0 | 30 |
| 17 | 6 | 0 | 59 |
| 18 | 5 | 1 | 89 |
| 19 | 0 | 1 | 99 |
| 20 | 99 | 100 | 11 |
| 21 | 30 | 100 | 35 |
| 22 | 27 | 100 | 12 |
| 23 | 29 | 100 | 78 |
| 24 | 94 | 99 | 62 |
| 25 | 100 | 99 | 34 |
| 26 | 22 | 99 | 4 |
| 27 | 20 | 0 | 27 |
| 28 | 18 | 0 | 1 |
| 29 | 96 | 0 | 89 |
Use these records to plan 2 circuits that maximize total priority without exceeding 225.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': [[47, 92], [82, 72], [19, 66], [56, 45], [59, 33], [87, 99], [85, 100], [84, 99], [86, 99], [3, 99], [0, 100], [78, 0], [76, 1], [3, 0], [2, 0], [0, 0], [6, 0], [5, 1], [0, 1], [99, 100], [30, 100], [27, 100], [29, 100], [94, 99], [100, 99], [22, 99], [20, 0], [18, 0], [96, 0]], 'prizes': [0, 87, 84, 13, 15, 92, 55, 38, 48, 41, 2, 7, 56, 60, 22, 30, 59, 89, 99, 11, 35, 12, 78, 62, 34, 4, 27, 1, 89], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 20, 22, 21, 9, 10, 25, 0], [0, 27, 16, 17, 18, 15, 14, 13, 2, 0]], 'total_route_length': 321.95391691990324, 'collected_prize': 1043.0, 'objective': 1043.0}","[[0, 20, 22, 21, 9, 10, 25, 0], [0, 27, 16, 17, 18, 15, 14, 13, 2, 0]]",1043.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 1, 'x': 47, 'y': 92, 'prize': 0}, {'id': 2, 'x': 82, 'y': 72, 'prize': 87}, {'id': 3, 'x': 19, 'y': 66, 'prize': 84}, {'id': 4, 'x': 56, 'y': 45, 'prize': 13}, {'id': 5, 'x': 59, 'y': 33, 'prize': 15}, {'id': 6, 'x': 87, 'y': 99, 'prize': 92}, {'id': 7, 'x': 85, 'y': 100, 'prize': 55}, {'id': 8, 'x': 84, 'y': 99, 'prize': 38}, {'id': 9, 'x': 86, 'y': 99, 'prize': 48}, {'id': 10, 'x': 3, 'y': 99, 'prize': 41}, {'id': 11, 'x': 0, 'y': 100, 'prize': 2}, {'id': 12, 'x': 78, 'y': 0, 'prize': 7}, {'id': 13, 'x': 76, 'y': 1, 'prize': 56}, {'id': 14, 'x': 3, 'y': 0, 'prize': 60}, {'id': 15, 'x': 2, 'y': 0, 'prize': 22}, {'id': 16, 'x': 0, 'y': 0, 'prize': 30}, {'id': 17, 'x': 6, 'y': 0, 'prize': 59}, {'id': 18, 'x': 5, 'y': 1, 'prize': 89}, {'id': 19, 'x': 0, 'y': 1, 'prize': 99}, {'id': 20, 'x': 99, 'y': 100, 'prize': 11}, {'id': 21, 'x': 30, 'y': 100, 'prize': 35}, {'id': 22, 'x': 27, 'y': 100, 'prize': 12}, {'id': 23, 'x': 29, 'y': 100, 'prize': 78}, {'id': 24, 'x': 94, 'y': 99, 'prize': 62}, {'id': 25, 'x': 100, 'y': 99, 'prize': 34}, {'id': 26, 'x': 22, 'y': 99, 'prize': 4}, {'id': 27, 'x': 20, 'y': 0, 'prize': 27}, {'id': 28, 'x': 18, 'y': 0, 'prize': 1}, {'id': 29, 'x': 96, 'y': 0, 'prize': 89}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 321.95391691990324, 'collected_prize': 1043.0, 'objective': 1043.0}","[[1, 21, 23, 22, 10, 11, 26, 1], [1, 28, 17, 18, 19, 16, 15, 14, 3, 1]]",13,markdown_table,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"": 25,
""nodes"": [
{
""location_id"": ""A"",
""x_coord"": 0,
""y_coord"": 69,
""pledge_amount"": 0
},
{
""location_id"": ""B"",
""x_coord"": 2,
""y_coord"": 28,
""pledge_amount"": 81
},
{
""location_id"": ""C"",
""x_coord"": 11,
""y_coord"": 19,
""pledge_amount"": 30
},
{
""location_id"": ""D"",
""x_coord"": 18,
""y_coord"": 49,
""pledge_amount"": 33
},
{
""location_id"": ""E"",
""x_coord"": 24,
""y_coord"": 41,
""pledge_amount"": 31
},
{
""location_id"": ""F"",
""x_coord"": 25,
""y_coord"": 14,
""pledge_amount"": 47
},
{
""location_id"": ""G"",
""x_coord"": 25,
""y_coord"": 0,
""pledge_amount"": 42
},
{
""location_id"": ""H"",
""x_coord"": 31,
""y_coord"": 8,
""pledge_amount"": 70
},
{
""location_id"": ""I"",
""x_coord"": 43,
""y_coord"": 37,
""pledge_amount"": 3
},
{
""location_id"": ""J"",
""x_coord"": 45,
""y_coord"": 2,
""pledge_amount"": 42
},
{
""location_id"": ""K"",
""x_coord"": 46,
""y_coord"": 37,
""pledge_amount"": 1
},
{
""location_id"": ""L"",
""x_coord"": 46,
""y_coord"": 22,
""pledge_amount"": 97
},
{
""location_id"": ""M"",
""x_coord"": 47,
""y_coord"": 60,
""pledge_amount"": 89
},
{
""location_id"": ""N"",
""x_coord"": 54,
""y_coord"": 88,
""pledge_amount"": 59
},
{
""location_id"": ""O"",
""x_coord"": 56,
""y_coord"": 78,
""pledge_amount"": 52
},
{
""location_id"": ""P"",
""x_coord"": 57,
""y_coord"": 37,
""pledge_amount"": 43
},
{
""location_id"": ""Q"",
""x_coord"": 62,
""y_coord"": 45,
""pledge_amount"": 87
},
{
""location_id"": ""R"",
""x_coord"": 62,
""y_coord"": 47,
""pledge_amount"": 46
},
{
""location_id"": ""S"",
""x_coord"": 63,
""y_coord"": 75,
""pledge_amount"": 25
},
{
""location_id"": ""T"",
""x_coord"": 68,
""y_coord"": 49,
""pledge_amount"": 57
},
{
""location_id"": ""U"",
""x_coord"": 80,
""y_coord"": 18,
""pledge_amount"": 67
},
{
""location_id"": ""V"",
""x_coord"": 85,
""y_coord"": 84,
""pledge_amount"": 33
},
{
""location_id"": ""W"",
""x_coord"": 86,
""y_coord"": 82,
""pledge_amount"": 37
},
{
""location_id"": ""X"",
""x_coord"": 90,
""y_coord"": 100,
""pledge_amount"": 89
},
{
""location_id"": ""Y"",
""x_coord"": 100,
""y_coord"": 68,
""pledge_amount"": 86
}
],
""headquarters_node_id"": ""A"",
""distance_cap_per_team"": 225.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': [[0, 69], [2, 28], [11, 19], [18, 49], [24, 41], [25, 14], [25, 0], [31, 8], [43, 37], [45, 2], [46, 37], [46, 22], [47, 60], [54, 88], [56, 78], [57, 37], [62, 45], [62, 47], [63, 75], [68, 49], [80, 18], [85, 84], [86, 82], [90, 100], [100, 68]], 'prizes': [0, 81, 30, 33, 31, 47, 42, 70, 3, 42, 1, 97, 89, 59, 52, 43, 87, 46, 25, 57, 67, 33, 37, 89, 86], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 3, 4, 8, 10, 15, 11, 9, 7, 5, 6, 2, 1, 0], [0, 14, 13, 18, 22, 21, 19, 16, 17, 12, 0]], 'total_route_length': 448.8745068393528, 'collected_prize': 1005.0, 'objective': 1005.0}","[[0, 3, 4, 8, 10, 15, 11, 9, 7, 5, 6, 2, 1, 0], [0, 14, 13, 18, 22, 21, 19, 16, 17, 12, 0]]",1005.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 'A', 'x': 0, 'y': 69, 'prize': 0}, {'id': 'B', 'x': 2, 'y': 28, 'prize': 81}, {'id': 'C', 'x': 11, 'y': 19, 'prize': 30}, {'id': 'D', 'x': 18, 'y': 49, 'prize': 33}, {'id': 'E', 'x': 24, 'y': 41, 'prize': 31}, {'id': 'F', 'x': 25, 'y': 14, 'prize': 47}, {'id': 'G', 'x': 25, 'y': 0, 'prize': 42}, {'id': 'H', 'x': 31, 'y': 8, 'prize': 70}, {'id': 'I', 'x': 43, 'y': 37, 'prize': 3}, {'id': 'J', 'x': 45, 'y': 2, 'prize': 42}, {'id': 'K', 'x': 46, 'y': 37, 'prize': 1}, {'id': 'L', 'x': 46, 'y': 22, 'prize': 97}, {'id': 'M', 'x': 47, 'y': 60, 'prize': 89}, {'id': 'N', 'x': 54, 'y': 88, 'prize': 59}, {'id': 'O', 'x': 56, 'y': 78, 'prize': 52}, {'id': 'P', 'x': 57, 'y': 37, 'prize': 43}, {'id': 'Q', 'x': 62, 'y': 45, 'prize': 87}, {'id': 'R', 'x': 62, 'y': 47, 'prize': 46}, {'id': 'S', 'x': 63, 'y': 75, 'prize': 25}, {'id': 'T', 'x': 68, 'y': 49, 'prize': 57}, {'id': 'U', 'x': 80, 'y': 18, 'prize': 67}, {'id': 'V', 'x': 85, 'y': 84, 'prize': 33}, {'id': 'W', 'x': 86, 'y': 82, 'prize': 37}, {'id': 'X', 'x': 90, 'y': 100, 'prize': 89}, {'id': 'Y', 'x': 100, 'y': 68, 'prize': 86}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.8745068393528, 'collected_prize': 1005.0, 'objective': 1005.0}","[['A', 'D', 'E', 'I', 'K', 'P', 'L', 'J', 'H', 'F', 'G', 'C', 'B', 'A'], ['A', 'O', 'N', 'S', 'W', 'V', 'T', 'Q', 'R', 'M', 'A']]",14,json,names
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.
{
""total_locations_including_main_library"": 21,
""nodes"": [
{
""stop_id"": 0,
""location_x_coordinate"": 9,
""location_y_coordinate"": 7,
""readership_points"": 0
},
{
""stop_id"": 1,
""location_x_coordinate"": 37,
""location_y_coordinate"": 7,
""readership_points"": 22
},
{
""stop_id"": 2,
""location_x_coordinate"": 80,
""location_y_coordinate"": 0,
""readership_points"": 80
},
{
""stop_id"": 3,
""location_x_coordinate"": 100,
""location_y_coordinate"": 16,
""readership_points"": 39
},
{
""stop_id"": 4,
""location_x_coordinate"": 37,
""location_y_coordinate"": 18,
""readership_points"": 87
},
{
""stop_id"": 5,
""location_x_coordinate"": 29,
""location_y_coordinate"": 34,
""readership_points"": 99
},
{
""stop_id"": 6,
""location_x_coordinate"": 80,
""location_y_coordinate"": 37,
""readership_points"": 27
},
{
""stop_id"": 7,
""location_x_coordinate"": 91,
""location_y_coordinate"": 43,
""readership_points"": 59
},
{
""stop_id"": 8,
""location_x_coordinate"": 43,
""location_y_coordinate"": 51,
""readership_points"": 8
},
{
""stop_id"": 9,
""location_x_coordinate"": 15,
""location_y_coordinate"": 40,
""readership_points"": 92
},
{
""stop_id"": 10,
""location_x_coordinate"": 0,
""location_y_coordinate"": 44,
""readership_points"": 30
},
{
""stop_id"": 11,
""location_x_coordinate"": 15,
""location_y_coordinate"": 61,
""readership_points"": 39
},
{
""stop_id"": 12,
""location_x_coordinate"": 87,
""location_y_coordinate"": 78,
""readership_points"": 4
},
{
""stop_id"": 13,
""location_x_coordinate"": 57,
""location_y_coordinate"": 83,
""readership_points"": 53
},
{
""stop_id"": 14,
""location_x_coordinate"": 70,
""location_y_coordinate"": 80,
""readership_points"": 58
},
{
""stop_id"": 15,
""location_x_coordinate"": 85,
""location_y_coordinate"": 90,
""readership_points"": 75
},
{
""stop_id"": 16,
""location_x_coordinate"": 83,
""location_y_coordinate"": 83,
""readership_points"": 8
},
{
""stop_id"": 17,
""location_x_coordinate"": 65,
""location_y_coordinate"": 100,
""readership_points"": 67
},
{
""stop_id"": 18,
""location_x_coordinate"": 45,
""location_y_coordinate"": 97,
""readership_points"": 37
},
{
""stop_id"": 19,
""location_x_coordinate"": 34,
""location_y_coordinate"": 97,
""readership_points"": 87
},
{
""stop_id"": 20,
""location_x_coordinate"": 15,
""location_y_coordinate"": 100,
""readership_points"": 44
}
],
""main_library_node_id"": 0,
""max_route_distance_per_van"": 225.0,
""number_of_book_vans"": 2
}
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': [[9, 7], [37, 7], [80, 0], [100, 16], [37, 18], [29, 34], [80, 37], [91, 43], [43, 51], [15, 40], [0, 44], [15, 61], [87, 78], [57, 83], [70, 80], [85, 90], [83, 83], [65, 100], [45, 97], [34, 97], [15, 100]], 'prizes': [0, 22, 80, 39, 87, 99, 27, 59, 8, 92, 30, 39, 4, 53, 58, 75, 8, 67, 37, 87, 44], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 4, 6, 7, 3, 2, 1, 0], [0, 5, 8, 13, 18, 19, 11, 9, 0]], 'total_route_length': 430.50103942881964, 'collected_prize': 729.0, 'objective': 729.0}","[[0, 4, 6, 7, 3, 2, 1, 0], [0, 5, 8, 13, 18, 19, 11, 9, 0]]",729.0,"{'problem_type': 'TOP', 'num_nodes': 21, 'nodes': [{'id': 0, 'x': 9, 'y': 7, 'prize': 0}, {'id': 1, 'x': 37, 'y': 7, 'prize': 22}, {'id': 2, 'x': 80, 'y': 0, 'prize': 80}, {'id': 3, 'x': 100, 'y': 16, 'prize': 39}, {'id': 4, 'x': 37, 'y': 18, 'prize': 87}, {'id': 5, 'x': 29, 'y': 34, 'prize': 99}, {'id': 6, 'x': 80, 'y': 37, 'prize': 27}, {'id': 7, 'x': 91, 'y': 43, 'prize': 59}, {'id': 8, 'x': 43, 'y': 51, 'prize': 8}, {'id': 9, 'x': 15, 'y': 40, 'prize': 92}, {'id': 10, 'x': 0, 'y': 44, 'prize': 30}, {'id': 11, 'x': 15, 'y': 61, 'prize': 39}, {'id': 12, 'x': 87, 'y': 78, 'prize': 4}, {'id': 13, 'x': 57, 'y': 83, 'prize': 53}, {'id': 14, 'x': 70, 'y': 80, 'prize': 58}, {'id': 15, 'x': 85, 'y': 90, 'prize': 75}, {'id': 16, 'x': 83, 'y': 83, 'prize': 8}, {'id': 17, 'x': 65, 'y': 100, 'prize': 67}, {'id': 18, 'x': 45, 'y': 97, 'prize': 37}, {'id': 19, 'x': 34, 'y': 97, 'prize': 87}, {'id': 20, 'x': 15, 'y': 100, 'prize': 44}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 430.50103942881964, 'collected_prize': 729.0, 'objective': 729.0}","[[0, 4, 6, 7, 3, 2, 1, 0], [0, 5, 8, 13, 18, 19, 11, 9, 0]]",15,json,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"": 28,
""nodes"": [
{
""block_id"": 0,
""x_coord"": 32,
""y_coord"": 54,
""safety_coverage_score"": 0
},
{
""block_id"": 1,
""x_coord"": 67,
""y_coord"": 63,
""safety_coverage_score"": 75
},
{
""block_id"": 2,
""x_coord"": 5,
""y_coord"": 55,
""safety_coverage_score"": 75
},
{
""block_id"": 3,
""x_coord"": 0,
""y_coord"": 23,
""safety_coverage_score"": 71
},
{
""block_id"": 4,
""x_coord"": 1,
""y_coord"": 25,
""safety_coverage_score"": 54
},
{
""block_id"": 5,
""x_coord"": 0,
""y_coord"": 91,
""safety_coverage_score"": 67
},
{
""block_id"": 6,
""x_coord"": 1,
""y_coord"": 94,
""safety_coverage_score"": 33
},
{
""block_id"": 7,
""x_coord"": 0,
""y_coord"": 94,
""safety_coverage_score"": 54
},
{
""block_id"": 8,
""x_coord"": 0,
""y_coord"": 95,
""safety_coverage_score"": 22
},
{
""block_id"": 9,
""x_coord"": 1,
""y_coord"": 99,
""safety_coverage_score"": 36
},
{
""block_id"": 10,
""x_coord"": 100,
""y_coord"": 20,
""safety_coverage_score"": 97
},
{
""block_id"": 11,
""x_coord"": 100,
""y_coord"": 22,
""safety_coverage_score"": 76
},
{
""block_id"": 12,
""x_coord"": 100,
""y_coord"": 22,
""safety_coverage_score"": 18
},
{
""block_id"": 13,
""x_coord"": 100,
""y_coord"": 91,
""safety_coverage_score"": 7
},
{
""block_id"": 14,
""x_coord"": 100,
""y_coord"": 92,
""safety_coverage_score"": 89
},
{
""block_id"": 15,
""x_coord"": 100,
""y_coord"": 94,
""safety_coverage_score"": 67
},
{
""block_id"": 16,
""x_coord"": 99,
""y_coord"": 100,
""safety_coverage_score"": 3
},
{
""block_id"": 17,
""x_coord"": 0,
""y_coord"": 4,
""safety_coverage_score"": 83
},
{
""block_id"": 18,
""x_coord"": 1,
""y_coord"": 72,
""safety_coverage_score"": 11
},
{
""block_id"": 19,
""x_coord"": 1,
""y_coord"": 84,
""safety_coverage_score"": 85
},
{
""block_id"": 20,
""x_coord"": 1,
""y_coord"": 1,
""safety_coverage_score"": 23
},
{
""block_id"": 21,
""x_coord"": 1,
""y_coord"": 74,
""safety_coverage_score"": 61
},
{
""block_id"": 22,
""x_coord"": 99,
""y_coord"": 0,
""safety_coverage_score"": 3
},
{
""block_id"": 23,
""x_coord"": 99,
""y_coord"": 10,
""safety_coverage_score"": 27
},
{
""block_id"": 24,
""x_coord"": 100,
""y_coord"": 14,
""safety_coverage_score"": 64
},
{
""block_id"": 25,
""x_coord"": 100,
""y_coord"": 74,
""safety_coverage_score"": 78
},
{
""block_id"": 26,
""x_coord"": 100,
""y_coord"": 1,
""safety_coverage_score"": 14
},
{
""block_id"": 27,
""x_coord"": 100,
""y_coord"": 81,
""safety_coverage_score"": 50
}
],
""station_id"": 0,
""max_patrol_distance_per_volunteer"": 225.0,
""n_volunteers"": 2
}
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': [[32, 54], [67, 63], [5, 55], [0, 23], [1, 25], [0, 91], [1, 94], [0, 94], [0, 95], [1, 99], [100, 20], [100, 22], [100, 22], [100, 91], [100, 92], [100, 94], [99, 100], [0, 4], [1, 72], [1, 84], [1, 1], [1, 74], [99, 0], [99, 10], [100, 14], [100, 74], [100, 1], [100, 81]], 'prizes': [0, 75, 75, 71, 54, 67, 33, 54, 22, 36, 97, 76, 18, 7, 89, 67, 3, 83, 11, 85, 23, 61, 3, 27, 64, 78, 14, 50], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 24, 10, 11, 12, 25, 27, 1, 0], [0, 20, 17, 3, 4, 2, 18, 9, 8, 7, 6, 5, 19, 21, 0]], 'total_route_length': 443.39744300703865, 'collected_prize': 1133.0, 'objective': 1133.0}","[[0, 24, 10, 11, 12, 25, 27, 1, 0], [0, 20, 17, 3, 4, 2, 18, 9, 8, 7, 6, 5, 19, 21, 0]]",1133.0,"{'problem_type': 'TOP', 'num_nodes': 28, 'nodes': [{'id': 0, 'x': 32, 'y': 54, 'prize': 0}, {'id': 1, 'x': 67, 'y': 63, 'prize': 75}, {'id': 2, 'x': 5, 'y': 55, 'prize': 75}, {'id': 3, 'x': 0, 'y': 23, 'prize': 71}, {'id': 4, 'x': 1, 'y': 25, 'prize': 54}, {'id': 5, 'x': 0, 'y': 91, 'prize': 67}, {'id': 6, 'x': 1, 'y': 94, 'prize': 33}, {'id': 7, 'x': 0, 'y': 94, 'prize': 54}, {'id': 8, 'x': 0, 'y': 95, 'prize': 22}, {'id': 9, 'x': 1, 'y': 99, 'prize': 36}, {'id': 10, 'x': 100, 'y': 20, 'prize': 97}, {'id': 11, 'x': 100, 'y': 22, 'prize': 76}, {'id': 12, 'x': 100, 'y': 22, 'prize': 18}, {'id': 13, 'x': 100, 'y': 91, 'prize': 7}, {'id': 14, 'x': 100, 'y': 92, 'prize': 89}, {'id': 15, 'x': 100, 'y': 94, 'prize': 67}, {'id': 16, 'x': 99, 'y': 100, 'prize': 3}, {'id': 17, 'x': 0, 'y': 4, 'prize': 83}, {'id': 18, 'x': 1, 'y': 72, 'prize': 11}, {'id': 19, 'x': 1, 'y': 84, 'prize': 85}, {'id': 20, 'x': 1, 'y': 1, 'prize': 23}, {'id': 21, 'x': 1, 'y': 74, 'prize': 61}, {'id': 22, 'x': 99, 'y': 0, 'prize': 3}, {'id': 23, 'x': 99, 'y': 10, 'prize': 27}, {'id': 24, 'x': 100, 'y': 14, 'prize': 64}, {'id': 25, 'x': 100, 'y': 74, 'prize': 78}, {'id': 26, 'x': 100, 'y': 1, 'prize': 14}, {'id': 27, 'x': 100, 'y': 81, 'prize': 50}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 443.39744300703865, 'collected_prize': 1133.0, 'objective': 1133.0}","[[0, 24, 10, 11, 12, 25, 27, 1, 0], [0, 20, 17, 3, 4, 2, 18, 9, 8, 7, 6, 5, 19, 21, 0]]",16,json,0
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.
The map lists 26 locations including the barn at node A; assign 2 pickers and ensure each loop stays within 225.0 distance.
| location_id | x_coordinate | y_coordinate | expected_harvest_value |
|---|---|---|---|
| A | 2 | 1 | 0 |
| B | 55 | 0 | 0 |
| C | 2 | 4 | 95 |
| D | 57 | 6 | 62 |
| E | 0 | 9 | 32 |
| F | 0 | 12 | 76 |
| G | 49 | 10 | 12 |
| H | 81 | 11 | 32 |
| I | 7 | 28 | 32 |
| J | 12 | 29 | 95 |
| K | 55 | 45 | 5 |
| L | 59 | 46 | 46 |
| M | 82 | 45 | 74 |
| N | 16 | 49 | 72 |
| O | 100 | 53 | 30 |
| P | 52 | 62 | 60 |
| Q | 63 | 64 | 88 |
| R | 39 | 71 | 70 |
| S | 93 | 69 | 97 |
| T | 63 | 76 | 56 |
| U | 89 | 90 | 66 |
| V | 20 | 92 | 77 |
| W | 20 | 98 | 64 |
| X | 33 | 100 | 59 |
| Y | 49 | 100 | 63 |
| Z | 54 | 99 | 82 |
Organize the picker loops accordingly.
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': [[2, 1], [55, 0], [2, 4], [57, 6], [0, 9], [0, 12], [49, 10], [81, 11], [7, 28], [12, 29], [55, 45], [59, 46], [82, 45], [16, 49], [100, 53], [52, 62], [63, 64], [39, 71], [93, 69], [63, 76], [89, 90], [20, 92], [20, 98], [33, 100], [49, 100], [54, 99]], 'prizes': [0, 0, 95, 62, 32, 76, 12, 32, 32, 95, 5, 46, 74, 72, 30, 60, 88, 70, 97, 56, 66, 77, 64, 59, 63, 82], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 2, 5, 8, 13, 21, 23, 22, 0], [0, 4, 10, 11, 16, 19, 15, 17, 9, 0]], 'total_route_length': 443.6373674287746, 'collected_prize': 927.0, 'objective': 927.0}","[[0, 2, 5, 8, 13, 21, 23, 22, 0], [0, 4, 10, 11, 16, 19, 15, 17, 9, 0]]",927.0,"{'problem_type': 'TOP', 'num_nodes': 26, 'nodes': [{'id': 'A', 'x': 2, 'y': 1, 'prize': 0}, {'id': 'B', 'x': 55, 'y': 0, 'prize': 0}, {'id': 'C', 'x': 2, 'y': 4, 'prize': 95}, {'id': 'D', 'x': 57, 'y': 6, 'prize': 62}, {'id': 'E', 'x': 0, 'y': 9, 'prize': 32}, {'id': 'F', 'x': 0, 'y': 12, 'prize': 76}, {'id': 'G', 'x': 49, 'y': 10, 'prize': 12}, {'id': 'H', 'x': 81, 'y': 11, 'prize': 32}, {'id': 'I', 'x': 7, 'y': 28, 'prize': 32}, {'id': 'J', 'x': 12, 'y': 29, 'prize': 95}, {'id': 'K', 'x': 55, 'y': 45, 'prize': 5}, {'id': 'L', 'x': 59, 'y': 46, 'prize': 46}, {'id': 'M', 'x': 82, 'y': 45, 'prize': 74}, {'id': 'N', 'x': 16, 'y': 49, 'prize': 72}, {'id': 'O', 'x': 100, 'y': 53, 'prize': 30}, {'id': 'P', 'x': 52, 'y': 62, 'prize': 60}, {'id': 'Q', 'x': 63, 'y': 64, 'prize': 88}, {'id': 'R', 'x': 39, 'y': 71, 'prize': 70}, {'id': 'S', 'x': 93, 'y': 69, 'prize': 97}, {'id': 'T', 'x': 63, 'y': 76, 'prize': 56}, {'id': 'U', 'x': 89, 'y': 90, 'prize': 66}, {'id': 'V', 'x': 20, 'y': 92, 'prize': 77}, {'id': 'W', 'x': 20, 'y': 98, 'prize': 64}, {'id': 'X', 'x': 33, 'y': 100, 'prize': 59}, {'id': 'Y', 'x': 49, 'y': 100, 'prize': 63}, {'id': 'Z', 'x': 54, 'y': 99, 'prize': 82}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 443.6373674287746, 'collected_prize': 927.0, 'objective': 927.0}","[['A', 'C', 'F', 'I', 'N', 'V', 'X', 'W', 'A'], ['A', 'E', 'K', 'L', 'Q', 'T', 'P', 'R', 'J', 'A']]",17,markdown_table,names
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.
{
""total_locations_including_warehouse"": 21,
""nodes"": [
{
""location_id"": 0,
""x_coord"": 49,
""y_coord"": 20,
""resale_value"": 0
},
{
""location_id"": 1,
""x_coord"": 83,
""y_coord"": 25,
""resale_value"": 87
},
{
""location_id"": 2,
""x_coord"": 15,
""y_coord"": 42,
""resale_value"": 63
},
{
""location_id"": 3,
""x_coord"": 24,
""y_coord"": 100,
""resale_value"": 89
},
{
""location_id"": 4,
""x_coord"": 83,
""y_coord"": 0,
""resale_value"": 89
},
{
""location_id"": 5,
""x_coord"": 100,
""y_coord"": 25,
""resale_value"": 98
},
{
""location_id"": 6,
""x_coord"": 66,
""y_coord"": 42,
""resale_value"": 40
},
{
""location_id"": 7,
""x_coord"": 80,
""y_coord"": 78,
""resale_value"": 93
},
{
""location_id"": 8,
""x_coord"": 24,
""y_coord"": 25,
""resale_value"": 6
},
{
""location_id"": 9,
""x_coord"": 92,
""y_coord"": 12,
""resale_value"": 86
},
{
""location_id"": 10,
""x_coord"": 58,
""y_coord"": 33,
""resale_value"": 92
},
{
""location_id"": 11,
""x_coord"": 0,
""y_coord"": 55,
""resale_value"": 36
},
{
""location_id"": 12,
""x_coord"": 53,
""y_coord"": 43,
""resale_value"": 9
},
{
""location_id"": 13,
""x_coord"": 97,
""y_coord"": 30,
""resale_value"": 34
},
{
""location_id"": 14,
""x_coord"": 80,
""y_coord"": 12,
""resale_value"": 97
},
{
""location_id"": 15,
""x_coord"": 25,
""y_coord"": 32,
""resale_value"": 41
},
{
""location_id"": 16,
""x_coord"": 85,
""y_coord"": 57,
""resale_value"": 72
},
{
""location_id"": 17,
""x_coord"": 83,
""y_coord"": 82,
""resale_value"": 44
},
{
""location_id"": 18,
""x_coord"": 14,
""y_coord"": 53,
""resale_value"": 10
},
{
""location_id"": 19,
""x_coord"": 20,
""y_coord"": 32,
""resale_value"": 49
},
{
""location_id"": 20,
""x_coord"": 32,
""y_coord"": 27,
""resale_value"": 49
}
],
""warehouse_node_id"": 0,
""max_route_length_per_attendant"": 225.0,
""num_attendants"": 2
}
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': [[49, 20], [83, 25], [15, 42], [24, 100], [83, 0], [100, 25], [66, 42], [80, 78], [24, 25], [92, 12], [58, 33], [0, 55], [53, 43], [97, 30], [80, 12], [25, 32], [85, 57], [83, 82], [14, 53], [20, 32], [32, 27]], 'prizes': [0, 87, 63, 89, 89, 98, 40, 93, 6, 86, 92, 36, 9, 34, 97, 41, 72, 44, 10, 49, 49], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 3, 11, 18, 2, 19, 15, 20, 8, 0], [0, 1, 14, 4, 9, 5, 13, 16, 17, 7, 6, 10, 0]], 'total_route_length': 444.2876089336193, 'collected_prize': 1184.0, 'objective': 1184.0}","[[0, 12, 3, 11, 18, 2, 19, 15, 20, 8, 0], [0, 1, 14, 4, 9, 5, 13, 16, 17, 7, 6, 10, 0]]",1184.0,"{'problem_type': 'TOP', 'num_nodes': 21, 'nodes': [{'id': 0, 'x': 49, 'y': 20, 'prize': 0}, {'id': 1, 'x': 83, 'y': 25, 'prize': 87}, {'id': 2, 'x': 15, 'y': 42, 'prize': 63}, {'id': 3, 'x': 24, 'y': 100, 'prize': 89}, {'id': 4, 'x': 83, 'y': 0, 'prize': 89}, {'id': 5, 'x': 100, 'y': 25, 'prize': 98}, {'id': 6, 'x': 66, 'y': 42, 'prize': 40}, {'id': 7, 'x': 80, 'y': 78, 'prize': 93}, {'id': 8, 'x': 24, 'y': 25, 'prize': 6}, {'id': 9, 'x': 92, 'y': 12, 'prize': 86}, {'id': 10, 'x': 58, 'y': 33, 'prize': 92}, {'id': 11, 'x': 0, 'y': 55, 'prize': 36}, {'id': 12, 'x': 53, 'y': 43, 'prize': 9}, {'id': 13, 'x': 97, 'y': 30, 'prize': 34}, {'id': 14, 'x': 80, 'y': 12, 'prize': 97}, {'id': 15, 'x': 25, 'y': 32, 'prize': 41}, {'id': 16, 'x': 85, 'y': 57, 'prize': 72}, {'id': 17, 'x': 83, 'y': 82, 'prize': 44}, {'id': 18, 'x': 14, 'y': 53, 'prize': 10}, {'id': 19, 'x': 20, 'y': 32, 'prize': 49}, {'id': 20, 'x': 32, 'y': 27, 'prize': 49}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.2876089336193, 'collected_prize': 1184.0, 'objective': 1184.0}","[[0, 12, 3, 11, 18, 2, 19, 15, 20, 8, 0], [0, 1, 14, 4, 9, 5, 13, 16, 17, 7, 6, 10, 0]]",18,json,0
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.
There are 22 total locations including the hub A; 2 mobile teams are available and each must run a single loop no longer than 225.0.
Site A at coordinates (68, 0) yields 0 high-priority tests if visited.
Site B at coordinates (77, 4) yields 56 high-priority tests if visited.
Site C at coordinates (51, 19) yields 67 high-priority tests if visited.
Site D at coordinates (74, 24) yields 81 high-priority tests if visited.
Site E at coordinates (91, 31) yields 98 high-priority tests if visited.
Site F at coordinates (24, 32) yields 16 high-priority tests if visited.
Site G at coordinates (69, 38) yields 75 high-priority tests if visited.
Site H at coordinates (48, 41) yields 8 high-priority tests if visited.
Site I at coordinates (32, 42) yields 60 high-priority tests if visited.
Site J at coordinates (93, 49) yields 45 high-priority tests if visited.
Site K at coordinates (100, 52) yields 93 high-priority tests if visited.
Site L at coordinates (2, 58) yields 64 high-priority tests if visited.
Site M at coordinates (67, 60) yields 50 high-priority tests if visited.
Site N at coordinates (76, 65) yields 29 high-priority tests if visited.
Site O at coordinates (68, 69) yields 33 high-priority tests if visited.
Site P at coordinates (11, 71) yields 86 high-priority tests if visited.
Site Q at coordinates (48, 71) yields 25 high-priority tests if visited.
Site R at coordinates (52, 79) yields 45 high-priority tests if visited.
Site S at coordinates (73, 81) yields 72 high-priority tests if visited.
Site T at coordinates (0, 94) yields 29 high-priority tests if visited.
Site U at coordinates (76, 97) yields 79 high-priority tests if visited.
Site V at coordinates (18, 100) yields 28 high-priority tests if visited.
Assign each team a single hub-based loop, keeping every route within 225.0 and ensuring no site is visited more than once.
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': [[68, 0], [77, 4], [51, 19], [74, 24], [91, 31], [24, 32], [69, 38], [48, 41], [32, 42], [93, 49], [100, 52], [2, 58], [67, 60], [76, 65], [68, 69], [11, 71], [48, 71], [52, 79], [73, 81], [0, 94], [76, 97], [18, 100]], 'prizes': [0, 56, 67, 81, 98, 16, 75, 8, 60, 45, 93, 64, 50, 29, 33, 86, 25, 45, 72, 29, 79, 28], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 1, 4, 9, 10, 13, 18, 20, 14, 12, 0], [0, 2, 8, 11, 15, 16, 6, 3, 0]], 'total_route_length': 444.88497118690594, 'collected_prize': 1013.0, 'objective': 1013.0}","[[0, 1, 4, 9, 10, 13, 18, 20, 14, 12, 0], [0, 2, 8, 11, 15, 16, 6, 3, 0]]",1013.0,"{'problem_type': 'TOP', 'num_nodes': 22, 'nodes': [{'id': 'A', 'x': 68, 'y': 0, 'prize': 0}, {'id': 'B', 'x': 77, 'y': 4, 'prize': 56}, {'id': 'C', 'x': 51, 'y': 19, 'prize': 67}, {'id': 'D', 'x': 74, 'y': 24, 'prize': 81}, {'id': 'E', 'x': 91, 'y': 31, 'prize': 98}, {'id': 'F', 'x': 24, 'y': 32, 'prize': 16}, {'id': 'G', 'x': 69, 'y': 38, 'prize': 75}, {'id': 'H', 'x': 48, 'y': 41, 'prize': 8}, {'id': 'I', 'x': 32, 'y': 42, 'prize': 60}, {'id': 'J', 'x': 93, 'y': 49, 'prize': 45}, {'id': 'K', 'x': 100, 'y': 52, 'prize': 93}, {'id': 'L', 'x': 2, 'y': 58, 'prize': 64}, {'id': 'M', 'x': 67, 'y': 60, 'prize': 50}, {'id': 'N', 'x': 76, 'y': 65, 'prize': 29}, {'id': 'O', 'x': 68, 'y': 69, 'prize': 33}, {'id': 'P', 'x': 11, 'y': 71, 'prize': 86}, {'id': 'Q', 'x': 48, 'y': 71, 'prize': 25}, {'id': 'R', 'x': 52, 'y': 79, 'prize': 45}, {'id': 'S', 'x': 73, 'y': 81, 'prize': 72}, {'id': 'T', 'x': 0, 'y': 94, 'prize': 29}, {'id': 'U', 'x': 76, 'y': 97, 'prize': 79}, {'id': 'V', 'x': 18, 'y': 100, 'prize': 28}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.88497118690594, 'collected_prize': 1013.0, 'objective': 1013.0}","[['A', 'B', 'E', 'J', 'K', 'N', 'S', 'U', 'O', 'M', 'A'], ['A', 'C', 'I', 'L', 'P', 'Q', 'G', 'D', 'A']]",19,nl,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 25 locations (including the information tent 1); arrange 2 circuits so each circuit stays within 225.0.
Location 1 at coordinates (59, 13) is estimated to yield 0 contacts.
Location 2 at coordinates (38, 77) is estimated to yield 64 contacts.
Location 3 at coordinates (5, 72) is estimated to yield 29 contacts.
Location 4 at coordinates (17, 26) is estimated to yield 69 contacts.
Location 5 at coordinates (44, 4) is estimated to yield 71 contacts.
Location 6 at coordinates (97, 98) is estimated to yield 42 contacts.
Location 7 at coordinates (51, 80) is estimated to yield 51 contacts.
Location 8 at coordinates (0, 27) is estimated to yield 13 contacts.
Location 9 at coordinates (16, 33) is estimated to yield 14 contacts.
Location 10 at coordinates (15, 78) is estimated to yield 77 contacts.
Location 11 at coordinates (22, 61) is estimated to yield 8 contacts.
Location 12 at coordinates (8, 2) is estimated to yield 26 contacts.
Location 13 at coordinates (89, 14) is estimated to yield 39 contacts.
Location 14 at coordinates (100, 48) is estimated to yield 9 contacts.
Location 15 at coordinates (12, 14) is estimated to yield 4 contacts.
Location 16 at coordinates (73, 96) is estimated to yield 1 contacts.
Location 17 at coordinates (34, 27) is estimated to yield 58 contacts.
Location 18 at coordinates (24, 2) is estimated to yield 100 contacts.
Location 19 at coordinates (8, 0) is estimated to yield 15 contacts.
Location 20 at coordinates (25, 0) is estimated to yield 68 contacts.
Location 21 at coordinates (92, 100) is estimated to yield 61 contacts.
Location 22 at coordinates (27, 0) is estimated to yield 62 contacts.
Location 23 at coordinates (21, 0) is estimated to yield 82 contacts.
Location 24 at coordinates (34, 0) is estimated to yield 46 contacts.
Location 25 at coordinates (45, 0) is estimated to yield 74 contacts.
Use these details to form the 2 tidy loops, keeping every circuit within 225.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': [[59, 13], [38, 77], [5, 72], [17, 26], [44, 4], [97, 98], [51, 80], [0, 27], [16, 33], [15, 78], [22, 61], [8, 2], [89, 14], [100, 48], [12, 14], [73, 96], [34, 27], [24, 2], [8, 0], [25, 0], [92, 100], [27, 0], [21, 0], [34, 0], [45, 0]], 'prizes': [0, 64, 29, 69, 71, 42, 51, 13, 14, 77, 8, 26, 39, 9, 4, 1, 58, 100, 15, 68, 61, 62, 82, 46, 74], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 16, 8, 3, 7, 14, 11, 18, 22, 19, 17, 21, 23, 24, 4, 0], [0, 2, 9, 6, 1, 10, 0]], 'total_route_length': 448.67778970558624, 'collected_prize': 970.0, 'objective': 970.0}","[[0, 12, 16, 8, 3, 7, 14, 11, 18, 22, 19, 17, 21, 23, 24, 4, 0], [0, 2, 9, 6, 1, 10, 0]]",970.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 1, 'x': 59, 'y': 13, 'prize': 0}, {'id': 2, 'x': 38, 'y': 77, 'prize': 64}, {'id': 3, 'x': 5, 'y': 72, 'prize': 29}, {'id': 4, 'x': 17, 'y': 26, 'prize': 69}, {'id': 5, 'x': 44, 'y': 4, 'prize': 71}, {'id': 6, 'x': 97, 'y': 98, 'prize': 42}, {'id': 7, 'x': 51, 'y': 80, 'prize': 51}, {'id': 8, 'x': 0, 'y': 27, 'prize': 13}, {'id': 9, 'x': 16, 'y': 33, 'prize': 14}, {'id': 10, 'x': 15, 'y': 78, 'prize': 77}, {'id': 11, 'x': 22, 'y': 61, 'prize': 8}, {'id': 12, 'x': 8, 'y': 2, 'prize': 26}, {'id': 13, 'x': 89, 'y': 14, 'prize': 39}, {'id': 14, 'x': 100, 'y': 48, 'prize': 9}, {'id': 15, 'x': 12, 'y': 14, 'prize': 4}, {'id': 16, 'x': 73, 'y': 96, 'prize': 1}, {'id': 17, 'x': 34, 'y': 27, 'prize': 58}, {'id': 18, 'x': 24, 'y': 2, 'prize': 100}, {'id': 19, 'x': 8, 'y': 0, 'prize': 15}, {'id': 20, 'x': 25, 'y': 0, 'prize': 68}, {'id': 21, 'x': 92, 'y': 100, 'prize': 61}, {'id': 22, 'x': 27, 'y': 0, 'prize': 62}, {'id': 23, 'x': 21, 'y': 0, 'prize': 82}, {'id': 24, 'x': 34, 'y': 0, 'prize': 46}, {'id': 25, 'x': 45, 'y': 0, 'prize': 74}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.67778970558624, 'collected_prize': 970.0, 'objective': 970.0}","[[1, 13, 17, 9, 4, 8, 15, 12, 19, 23, 20, 18, 22, 24, 25, 5, 1], [1, 3, 10, 7, 2, 11, 1]]",20,nl,1
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.
Instance specifics: 30 total locations (garage 1), 2 technicians, each with max route time 225.0.
Worksite 1 at (80, 47) awards 0 importance points if visited.
Worksite 2 at (70, 61) awards 80 importance points if visited.
Worksite 3 at (67, 55) awards 85 importance points if visited.
Worksite 4 at (66, 54) awards 62 importance points if visited.
Worksite 5 at (69, 46) awards 14 importance points if visited.
Worksite 6 at (5, 56) awards 72 importance points if visited.
Worksite 7 at (1, 19) awards 87 importance points if visited.
Worksite 8 at (1, 20) awards 58 importance points if visited.
Worksite 9 at (0, 22) awards 56 importance points if visited.
Worksite 10 at (0, 25) awards 52 importance points if visited.
Worksite 11 at (0, 91) awards 72 importance points if visited.
Worksite 12 at (0, 95) awards 84 importance points if visited.
Worksite 13 at (1, 98) awards 44 importance points if visited.
Worksite 14 at (0, 100) awards 24 importance points if visited.
Worksite 15 at (100, 24) awards 81 importance points if visited.
Worksite 16 at (99, 25) awards 92 importance points if visited.
Worksite 17 at (99, 25) awards 33 importance points if visited.
Worksite 18 at (99, 25) awards 2 importance points if visited.
Worksite 19 at (100, 26) awards 9 importance points if visited.
Worksite 20 at (100, 26) awards 93 importance points if visited.
Worksite 21 at (99, 92) awards 65 importance points if visited.
Worksite 22 at (100, 93) awards 40 importance points if visited.
Worksite 23 at (100, 95) awards 16 importance points if visited.
Worksite 24 at (99, 96) awards 46 importance points if visited.
Worksite 25 at (99, 98) awards 71 importance points if visited.
Worksite 26 at (100, 99) awards 95 importance points if visited.
Worksite 27 at (100, 99) awards 74 importance points if visited.
Worksite 28 at (0, 71) awards 84 importance points if visited.
Worksite 29 at (1, 0) awards 49 importance points if visited.
Worksite 30 at (1, 75) awards 95 importance points if visited.
The planner must assign routes to maximize total importance while ensuring each route starts and ends at garage 1 and stays within 225.0.
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': [[80, 47], [70, 61], [67, 55], [66, 54], [69, 46], [5, 56], [1, 19], [1, 20], [0, 22], [0, 25], [0, 91], [0, 95], [1, 98], [0, 100], [100, 24], [99, 25], [99, 25], [99, 25], [100, 26], [100, 26], [99, 92], [100, 93], [100, 95], [99, 96], [99, 98], [100, 99], [100, 99], [0, 71], [1, 0], [1, 75]], 'prizes': [0, 80, 85, 62, 14, 72, 87, 58, 56, 52, 72, 84, 44, 24, 81, 92, 33, 2, 9, 93, 65, 40, 16, 46, 71, 95, 74, 84, 49, 95], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 19, 17, 14, 15, 16, 18, 0], [0, 5, 27, 29, 13, 12, 11, 10, 4, 0]], 'total_route_length': 286.9702980157619, 'collected_prize': 1433.0, 'objective': 1433.0}","[[0, 19, 17, 14, 15, 16, 18, 0], [0, 5, 27, 29, 13, 12, 11, 10, 4, 0]]",1433.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 1, 'x': 80, 'y': 47, 'prize': 0}, {'id': 2, 'x': 70, 'y': 61, 'prize': 80}, {'id': 3, 'x': 67, 'y': 55, 'prize': 85}, {'id': 4, 'x': 66, 'y': 54, 'prize': 62}, {'id': 5, 'x': 69, 'y': 46, 'prize': 14}, {'id': 6, 'x': 5, 'y': 56, 'prize': 72}, {'id': 7, 'x': 1, 'y': 19, 'prize': 87}, {'id': 8, 'x': 1, 'y': 20, 'prize': 58}, {'id': 9, 'x': 0, 'y': 22, 'prize': 56}, {'id': 10, 'x': 0, 'y': 25, 'prize': 52}, {'id': 11, 'x': 0, 'y': 91, 'prize': 72}, {'id': 12, 'x': 0, 'y': 95, 'prize': 84}, {'id': 13, 'x': 1, 'y': 98, 'prize': 44}, {'id': 14, 'x': 0, 'y': 100, 'prize': 24}, {'id': 15, 'x': 100, 'y': 24, 'prize': 81}, {'id': 16, 'x': 99, 'y': 25, 'prize': 92}, {'id': 17, 'x': 99, 'y': 25, 'prize': 33}, {'id': 18, 'x': 99, 'y': 25, 'prize': 2}, {'id': 19, 'x': 100, 'y': 26, 'prize': 9}, {'id': 20, 'x': 100, 'y': 26, 'prize': 93}, {'id': 21, 'x': 99, 'y': 92, 'prize': 65}, {'id': 22, 'x': 100, 'y': 93, 'prize': 40}, {'id': 23, 'x': 100, 'y': 95, 'prize': 16}, {'id': 24, 'x': 99, 'y': 96, 'prize': 46}, {'id': 25, 'x': 99, 'y': 98, 'prize': 71}, {'id': 26, 'x': 100, 'y': 99, 'prize': 95}, {'id': 27, 'x': 100, 'y': 99, 'prize': 74}, {'id': 28, 'x': 0, 'y': 71, 'prize': 84}, {'id': 29, 'x': 1, 'y': 0, 'prize': 49}, {'id': 30, 'x': 1, 'y': 75, 'prize': 95}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 286.9702980157619, 'collected_prize': 1433.0, 'objective': 1433.0}","[[1, 20, 18, 15, 16, 17, 19, 1], [1, 6, 28, 30, 14, 13, 12, 11, 5, 1]]",21,nl,1
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=30
# commissary_node_id=1
# max_route_distance_per_truck=225.0
# number_of_trucks=2
location_id,x_coordinate,y_coordinate,stop_revenue
1,0,4,0
2,3,4,55
3,1,10,46
4,1,14,24
5,3,24,21
6,0,39,44
7,3,91,8
8,6,77,2
9,4,14,54
10,10,20,85
11,9,24,80
12,9,29,14
13,10,33,8
14,9,39,5
15,90,10,31
16,90,43,59
17,90,97,62
18,94,100,90
19,93,43,78
20,91,33,77
21,93,33,70
22,94,4,34
23,91,4,90
24,97,0,90
25,96,10,81
26,97,29,96
27,96,43,69
28,99,97,63
29,99,43,70
30,100,29,19
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': [[0, 4], [3, 4], [1, 10], [1, 14], [3, 24], [0, 39], [3, 91], [6, 77], [4, 14], [10, 20], [9, 24], [9, 29], [10, 33], [9, 39], [90, 10], [90, 43], [90, 97], [94, 100], [93, 43], [91, 33], [93, 33], [94, 4], [91, 4], [97, 0], [96, 10], [97, 29], [96, 43], [99, 97], [99, 43], [100, 29]], 'prizes': [0, 55, 46, 24, 21, 44, 8, 2, 54, 85, 80, 14, 8, 5, 31, 59, 62, 90, 78, 77, 70, 34, 90, 90, 81, 96, 69, 63, 70, 19], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 8, 5, 7, 6, 12, 13, 11, 10, 4, 9, 3, 0], [0, 15, 26, 18, 25, 20, 19, 0]], 'total_route_length': 428.1222652431302, 'collected_prize': 895.0, 'objective': 895.0}","[[0, 8, 5, 7, 6, 12, 13, 11, 10, 4, 9, 3, 0], [0, 15, 26, 18, 25, 20, 19, 0]]",895.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 1, 'x': 0, 'y': 4, 'prize': 0}, {'id': 2, 'x': 3, 'y': 4, 'prize': 55}, {'id': 3, 'x': 1, 'y': 10, 'prize': 46}, {'id': 4, 'x': 1, 'y': 14, 'prize': 24}, {'id': 5, 'x': 3, 'y': 24, 'prize': 21}, {'id': 6, 'x': 0, 'y': 39, 'prize': 44}, {'id': 7, 'x': 3, 'y': 91, 'prize': 8}, {'id': 8, 'x': 6, 'y': 77, 'prize': 2}, {'id': 9, 'x': 4, 'y': 14, 'prize': 54}, {'id': 10, 'x': 10, 'y': 20, 'prize': 85}, {'id': 11, 'x': 9, 'y': 24, 'prize': 80}, {'id': 12, 'x': 9, 'y': 29, 'prize': 14}, {'id': 13, 'x': 10, 'y': 33, 'prize': 8}, {'id': 14, 'x': 9, 'y': 39, 'prize': 5}, {'id': 15, 'x': 90, 'y': 10, 'prize': 31}, {'id': 16, 'x': 90, 'y': 43, 'prize': 59}, {'id': 17, 'x': 90, 'y': 97, 'prize': 62}, {'id': 18, 'x': 94, 'y': 100, 'prize': 90}, {'id': 19, 'x': 93, 'y': 43, 'prize': 78}, {'id': 20, 'x': 91, 'y': 33, 'prize': 77}, {'id': 21, 'x': 93, 'y': 33, 'prize': 70}, {'id': 22, 'x': 94, 'y': 4, 'prize': 34}, {'id': 23, 'x': 91, 'y': 4, 'prize': 90}, {'id': 24, 'x': 97, 'y': 0, 'prize': 90}, {'id': 25, 'x': 96, 'y': 10, 'prize': 81}, {'id': 26, 'x': 97, 'y': 29, 'prize': 96}, {'id': 27, 'x': 96, 'y': 43, 'prize': 69}, {'id': 28, 'x': 99, 'y': 97, 'prize': 63}, {'id': 29, 'x': 99, 'y': 43, 'prize': 70}, {'id': 30, 'x': 100, 'y': 29, 'prize': 19}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 428.1222652431302, 'collected_prize': 895.0, 'objective': 895.0}","[[1, 9, 6, 8, 7, 13, 14, 12, 11, 5, 10, 4, 1], [1, 16, 27, 19, 26, 21, 20, 1]]",22,csv,1
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.
Here are the instance specifics I have: 22 total locations (including the branch), branch office id A, time allowance per rep 225.0, and 2 reps.
| location_id | coord_x | coord_y | expected_sales |
|---|---|---|---|
| A | 91 | 0 | 0 |
| B | 74 | 81 | 20 |
| C | 6 | 4 | 24 |
| D | 82 | 96 | 31 |
| E | 57 | 29 | 38 |
| F | 71 | 37 | 76 |
| G | 42 | 77 | 39 |
| H | 85 | 38 | 95 |
| I | 100 | 23 | 93 |
| J | 43 | 82 | 98 |
| K | 34 | 67 | 36 |
| L | 8 | 12 | 85 |
| M | 11 | 56 | 85 |
| N | 7 | 48 | 68 |
| O | 0 | 85 | 50 |
| P | 76 | 42 | 44 |
| Q | 82 | 100 | 64 |
| R | 39 | 91 | 39 |
| S | 37 | 14 | 1 |
| T | 58 | 81 | 75 |
| U | 50 | 91 | 9 |
| V | 2 | 53 | 100 |
I'll use these details to pick visits that respect the 225.0 limit and maximize total expected sales.
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': [[91, 0], [74, 81], [6, 4], [82, 96], [57, 29], [71, 37], [42, 77], [85, 38], [100, 23], [43, 82], [34, 67], [8, 12], [11, 56], [7, 48], [0, 85], [76, 42], [82, 100], [39, 91], [37, 14], [58, 81], [50, 91], [2, 53]], 'prizes': [0, 20, 24, 31, 38, 76, 39, 95, 93, 98, 36, 85, 85, 68, 50, 44, 64, 39, 1, 75, 9, 100], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 5, 10, 6, 9, 19, 15, 7, 8, 0], [0, 4, 13, 21, 12, 18, 0]], 'total_route_length': 441.2614520908782, 'collected_prize': 848.0, 'objective': 848.0}","[[0, 5, 10, 6, 9, 19, 15, 7, 8, 0], [0, 4, 13, 21, 12, 18, 0]]",848.0,"{'problem_type': 'TOP', 'num_nodes': 22, 'nodes': [{'id': 'A', 'x': 91, 'y': 0, 'prize': 0}, {'id': 'B', 'x': 74, 'y': 81, 'prize': 20}, {'id': 'C', 'x': 6, 'y': 4, 'prize': 24}, {'id': 'D', 'x': 82, 'y': 96, 'prize': 31}, {'id': 'E', 'x': 57, 'y': 29, 'prize': 38}, {'id': 'F', 'x': 71, 'y': 37, 'prize': 76}, {'id': 'G', 'x': 42, 'y': 77, 'prize': 39}, {'id': 'H', 'x': 85, 'y': 38, 'prize': 95}, {'id': 'I', 'x': 100, 'y': 23, 'prize': 93}, {'id': 'J', 'x': 43, 'y': 82, 'prize': 98}, {'id': 'K', 'x': 34, 'y': 67, 'prize': 36}, {'id': 'L', 'x': 8, 'y': 12, 'prize': 85}, {'id': 'M', 'x': 11, 'y': 56, 'prize': 85}, {'id': 'N', 'x': 7, 'y': 48, 'prize': 68}, {'id': 'O', 'x': 0, 'y': 85, 'prize': 50}, {'id': 'P', 'x': 76, 'y': 42, 'prize': 44}, {'id': 'Q', 'x': 82, 'y': 100, 'prize': 64}, {'id': 'R', 'x': 39, 'y': 91, 'prize': 39}, {'id': 'S', 'x': 37, 'y': 14, 'prize': 1}, {'id': 'T', 'x': 58, 'y': 81, 'prize': 75}, {'id': 'U', 'x': 50, 'y': 91, 'prize': 9}, {'id': 'V', 'x': 2, 'y': 53, 'prize': 100}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 441.2614520908782, 'collected_prize': 848.0, 'objective': 848.0}","[['A', 'F', 'K', 'G', 'J', 'T', 'P', 'H', 'I', 'A'], ['A', 'E', 'N', 'V', 'M', 'S', 'A']]",23,markdown_table,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"": 27,
""nodes"": [
{
""checkpoint_id"": 1,
""coord_x"": 100,
""coord_y"": 39,
""security_importance"": 0
},
{
""checkpoint_id"": 2,
""coord_x"": 81,
""coord_y"": 87,
""security_importance"": 92
},
{
""checkpoint_id"": 3,
""coord_x"": 0,
""coord_y"": 24,
""security_importance"": 66
},
{
""checkpoint_id"": 4,
""coord_x"": 28,
""coord_y"": 33,
""security_importance"": 86
},
{
""checkpoint_id"": 5,
""coord_x"": 48,
""coord_y"": 90,
""security_importance"": 73
},
{
""checkpoint_id"": 6,
""coord_x"": 19,
""coord_y"": 67,
""security_importance"": 41
},
{
""checkpoint_id"": 7,
""coord_x"": 89,
""coord_y"": 100,
""security_importance"": 7
},
{
""checkpoint_id"": 8,
""coord_x"": 62,
""coord_y"": 33,
""security_importance"": 10
},
{
""checkpoint_id"": 9,
""coord_x"": 64,
""coord_y"": 80,
""security_importance"": 19
},
{
""checkpoint_id"": 10,
""coord_x"": 14,
""coord_y"": 95,
""security_importance"": 98
},
{
""checkpoint_id"": 11,
""coord_x"": 94,
""coord_y"": 100,
""security_importance"": 58
},
{
""checkpoint_id"": 12,
""coord_x"": 12,
""coord_y"": 70,
""security_importance"": 64
},
{
""checkpoint_id"": 13,
""coord_x"": 35,
""coord_y"": 80,
""security_importance"": 20
},
{
""checkpoint_id"": 14,
""coord_x"": 23,
""coord_y"": 81,
""security_importance"": 7
},
{
""checkpoint_id"": 15,
""coord_x"": 2,
""coord_y"": 55,
""security_importance"": 52
},
{
""checkpoint_id"": 16,
""coord_x"": 73,
""coord_y"": 67,
""security_importance"": 87
},
{
""checkpoint_id"": 17,
""coord_x"": 65,
""coord_y"": 34,
""security_importance"": 86
},
{
""checkpoint_id"": 18,
""coord_x"": 77,
""coord_y"": 76,
""security_importance"": 35
},
{
""checkpoint_id"": 19,
""coord_x"": 60,
""coord_y"": 59,
""security_importance"": 48
},
{
""checkpoint_id"": 20,
""coord_x"": 21,
""coord_y"": 14,
""security_importance"": 5
},
{
""checkpoint_id"": 21,
""coord_x"": 2,
""coord_y"": 28,
""security_importance"": 13
},
{
""checkpoint_id"": 22,
""coord_x"": 40,
""coord_y"": 93,
""security_importance"": 39
},
{
""checkpoint_id"": 23,
""coord_x"": 0,
""coord_y"": 0,
""security_importance"": 95
},
{
""checkpoint_id"": 24,
""coord_x"": 100,
""coord_y"": 72,
""security_importance"": 21
},
{
""checkpoint_id"": 25,
""coord_x"": 82,
""coord_y"": 21,
""security_importance"": 75
},
{
""checkpoint_id"": 26,
""coord_x"": 85,
""coord_y"": 19,
""security_importance"": 95
},
{
""checkpoint_id"": 27,
""coord_x"": 22,
""coord_y"": 38,
""security_importance"": 46
}
],
""headquarters_id"": 1,
""max_patrol_distance_per_vehicle"": 225.0,
""n_patrol_vehicles"": 2
}
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': [[100, 39], [81, 87], [0, 24], [28, 33], [48, 90], [19, 67], [89, 100], [62, 33], [64, 80], [14, 95], [94, 100], [12, 70], [35, 80], [23, 81], [2, 55], [73, 67], [65, 34], [77, 76], [60, 59], [21, 14], [2, 28], [40, 93], [0, 0], [100, 72], [82, 21], [85, 19], [22, 38]], 'prizes': [0, 92, 66, 86, 73, 41, 7, 10, 19, 98, 58, 64, 20, 7, 52, 87, 86, 35, 48, 5, 13, 39, 95, 21, 75, 95, 46], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 7, 3, 26, 5, 21, 4, 0], [0, 24, 25, 16, 18, 15, 8, 17, 1, 6, 10, 23, 0]], 'total_route_length': 442.0751307493915, 'collected_prize': 918.0, 'objective': 918.0}","[[0, 7, 3, 26, 5, 21, 4, 0], [0, 24, 25, 16, 18, 15, 8, 17, 1, 6, 10, 23, 0]]",918.0,"{'problem_type': 'TOP', 'num_nodes': 27, 'nodes': [{'id': 1, 'x': 100, 'y': 39, 'prize': 0}, {'id': 2, 'x': 81, 'y': 87, 'prize': 92}, {'id': 3, 'x': 0, 'y': 24, 'prize': 66}, {'id': 4, 'x': 28, 'y': 33, 'prize': 86}, {'id': 5, 'x': 48, 'y': 90, 'prize': 73}, {'id': 6, 'x': 19, 'y': 67, 'prize': 41}, {'id': 7, 'x': 89, 'y': 100, 'prize': 7}, {'id': 8, 'x': 62, 'y': 33, 'prize': 10}, {'id': 9, 'x': 64, 'y': 80, 'prize': 19}, {'id': 10, 'x': 14, 'y': 95, 'prize': 98}, {'id': 11, 'x': 94, 'y': 100, 'prize': 58}, {'id': 12, 'x': 12, 'y': 70, 'prize': 64}, {'id': 13, 'x': 35, 'y': 80, 'prize': 20}, {'id': 14, 'x': 23, 'y': 81, 'prize': 7}, {'id': 15, 'x': 2, 'y': 55, 'prize': 52}, {'id': 16, 'x': 73, 'y': 67, 'prize': 87}, {'id': 17, 'x': 65, 'y': 34, 'prize': 86}, {'id': 18, 'x': 77, 'y': 76, 'prize': 35}, {'id': 19, 'x': 60, 'y': 59, 'prize': 48}, {'id': 20, 'x': 21, 'y': 14, 'prize': 5}, {'id': 21, 'x': 2, 'y': 28, 'prize': 13}, {'id': 22, 'x': 40, 'y': 93, 'prize': 39}, {'id': 23, 'x': 0, 'y': 0, 'prize': 95}, {'id': 24, 'x': 100, 'y': 72, 'prize': 21}, {'id': 25, 'x': 82, 'y': 21, 'prize': 75}, {'id': 26, 'x': 85, 'y': 19, 'prize': 95}, {'id': 27, 'x': 22, 'y': 38, 'prize': 46}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 442.0751307493915, 'collected_prize': 918.0, 'objective': 918.0}","[[1, 8, 4, 27, 6, 22, 5, 1], [1, 25, 26, 17, 19, 16, 9, 18, 2, 7, 11, 24, 1]]",24,json,1
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.
Instance details: 23 total locations (including the lab at node 1), 2 couriers available, each loop must not exceed 225.0 distance.
| location_node_id | x_coordinate_map | y_coordinate_map | insured_value |
|---|---|---|---|
| 1 | 0 | 6 | 0 |
| 2 | 8 | 2 | 74 |
| 3 | 12 | 12 | 48 |
| 4 | 18 | 17 | 19 |
| 5 | 50 | 26 | 33 |
| 6 | 28 | 37 | 71 |
| 7 | 9 | 46 | 14 |
| 8 | 42 | 57 | 95 |
| 9 | 51 | 61 | 74 |
| 10 | 32 | 64 | 54 |
| 11 | 45 | 74 | 82 |
| 12 | 12 | 80 | 100 |
| 13 | 59 | 90 | 100 |
| 14 | 45 | 98 | 35 |
| 15 | 56 | 98 | 41 |
| 16 | 26 | 100 | 78 |
| 17 | 31 | 1 | 43 |
| 18 | 27 | 0 | 96 |
| 19 | 50 | 19 | 75 |
| 20 | 67 | 13 | 13 |
| 21 | 100 | 63 | 65 |
| 22 | 90 | 71 | 9 |
| 23 | 96 | 15 | 66 |
Assign up to 2 courier loops that each respect the 225.0 travel allowance.
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, 6], [8, 2], [12, 12], [18, 17], [50, 26], [28, 37], [9, 46], [42, 57], [51, 61], [32, 64], [45, 74], [12, 80], [59, 90], [45, 98], [56, 98], [26, 100], [31, 1], [27, 0], [50, 19], [67, 13], [100, 63], [90, 71], [96, 15]], 'prizes': [0, 74, 48, 19, 33, 71, 14, 95, 74, 54, 82, 100, 100, 35, 41, 78, 43, 96, 75, 13, 65, 9, 66], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 6, 11, 15, 13, 9, 5, 0], [0, 2, 3, 18, 7, 10, 8, 4, 16, 17, 1, 0]], 'total_route_length': 446.4084557743578, 'collected_prize': 991.0, 'objective': 991.0}","[[0, 6, 11, 15, 13, 9, 5, 0], [0, 2, 3, 18, 7, 10, 8, 4, 16, 17, 1, 0]]",991.0,"{'problem_type': 'TOP', 'num_nodes': 23, 'nodes': [{'id': 1, 'x': 0, 'y': 6, 'prize': 0}, {'id': 2, 'x': 8, 'y': 2, 'prize': 74}, {'id': 3, 'x': 12, 'y': 12, 'prize': 48}, {'id': 4, 'x': 18, 'y': 17, 'prize': 19}, {'id': 5, 'x': 50, 'y': 26, 'prize': 33}, {'id': 6, 'x': 28, 'y': 37, 'prize': 71}, {'id': 7, 'x': 9, 'y': 46, 'prize': 14}, {'id': 8, 'x': 42, 'y': 57, 'prize': 95}, {'id': 9, 'x': 51, 'y': 61, 'prize': 74}, {'id': 10, 'x': 32, 'y': 64, 'prize': 54}, {'id': 11, 'x': 45, 'y': 74, 'prize': 82}, {'id': 12, 'x': 12, 'y': 80, 'prize': 100}, {'id': 13, 'x': 59, 'y': 90, 'prize': 100}, {'id': 14, 'x': 45, 'y': 98, 'prize': 35}, {'id': 15, 'x': 56, 'y': 98, 'prize': 41}, {'id': 16, 'x': 26, 'y': 100, 'prize': 78}, {'id': 17, 'x': 31, 'y': 1, 'prize': 43}, {'id': 18, 'x': 27, 'y': 0, 'prize': 96}, {'id': 19, 'x': 50, 'y': 19, 'prize': 75}, {'id': 20, 'x': 67, 'y': 13, 'prize': 13}, {'id': 21, 'x': 100, 'y': 63, 'prize': 65}, {'id': 22, 'x': 90, 'y': 71, 'prize': 9}, {'id': 23, 'x': 96, 'y': 15, 'prize': 66}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 446.4084557743578, 'collected_prize': 991.0, 'objective': 991.0}","[[1, 7, 12, 16, 14, 10, 6, 1], [1, 3, 4, 19, 8, 11, 9, 5, 17, 18, 2, 1]]",25,markdown_table,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.
{
""total_locations_including_depot"": 27,
""nodes"": [
{
""location_id"": 0,
""x_coordinate"": 67,
""y_coordinate"": 0,
""weighted_patron_count"": 0
},
{
""location_id"": 1,
""x_coordinate"": 10,
""y_coordinate"": 9,
""weighted_patron_count"": 38
},
{
""location_id"": 2,
""x_coordinate"": 27,
""y_coordinate"": 17,
""weighted_patron_count"": 66
},
{
""location_id"": 3,
""x_coordinate"": 49,
""y_coordinate"": 17,
""weighted_patron_count"": 85
},
{
""location_id"": 4,
""x_coordinate"": 81,
""y_coordinate"": 17,
""weighted_patron_count"": 74
},
{
""location_id"": 5,
""x_coordinate"": 10,
""y_coordinate"": 24,
""weighted_patron_count"": 18
},
{
""location_id"": 6,
""x_coordinate"": 41,
""y_coordinate"": 23,
""weighted_patron_count"": 6
},
{
""location_id"": 7,
""x_coordinate"": 8,
""y_coordinate"": 31,
""weighted_patron_count"": 46
},
{
""location_id"": 8,
""x_coordinate"": 65,
""y_coordinate"": 29,
""weighted_patron_count"": 0
},
{
""location_id"": 9,
""x_coordinate"": 92,
""y_coordinate"": 52,
""weighted_patron_count"": 34
},
{
""location_id"": 10,
""x_coordinate"": 0,
""y_coordinate"": 56,
""weighted_patron_count"": 18
},
{
""location_id"": 11,
""x_coordinate"": 10,
""y_coordinate"": 58,
""weighted_patron_count"": 93
},
{
""location_id"": 12,
""x_coordinate"": 18,
""y_coordinate"": 56,
""weighted_patron_count"": 39
},
{
""location_id"": 13,
""x_coordinate"": 33,
""y_coordinate"": 57,
""weighted_patron_count"": 14
},
{
""location_id"": 14,
""x_coordinate"": 40,
""y_coordinate"": 59,
""weighted_patron_count"": 26
},
{
""location_id"": 15,
""x_coordinate"": 59,
""y_coordinate"": 58,
""weighted_patron_count"": 94
},
{
""location_id"": 16,
""x_coordinate"": 90,
""y_coordinate"": 57,
""weighted_patron_count"": 49
},
{
""location_id"": 17,
""x_coordinate"": 60,
""y_coordinate"": 65,
""weighted_patron_count"": 45
},
{
""location_id"": 18,
""x_coordinate"": 66,
""y_coordinate"": 64,
""weighted_patron_count"": 42
},
{
""location_id"": 19,
""x_coordinate"": 17,
""y_coordinate"": 71,
""weighted_patron_count"": 62
},
{
""location_id"": 20,
""x_coordinate"": 32,
""y_coordinate"": 70,
""weighted_patron_count"": 70
},
{
""location_id"": 21,
""x_coordinate"": 25,
""y_coordinate"": 77,
""weighted_patron_count"": 76
},
{
""location_id"": 22,
""x_coordinate"": 50,
""y_coordinate"": 85,
""weighted_patron_count"": 16
},
{
""location_id"": 23,
""x_coordinate"": 27,
""y_coordinate"": 92,
""weighted_patron_count"": 90
},
{
""location_id"": 24,
""x_coordinate"": 41,
""y_coordinate"": 92,
""weighted_patron_count"": 76
},
{
""location_id"": 25,
""x_coordinate"": 73,
""y_coordinate"": 98,
""weighted_patron_count"": 53
},
{
""location_id"": 26,
""x_coordinate"": 100,
""y_coordinate"": 100,
""weighted_patron_count"": 50
}
],
""headquarters_node"": 0,
""max_route_length"": 225.0,
""num_bookmobiles"": 2
}
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': [[67, 0], [10, 9], [27, 17], [49, 17], [81, 17], [10, 24], [41, 23], [8, 31], [65, 29], [92, 52], [0, 56], [10, 58], [18, 56], [33, 57], [40, 59], [59, 58], [90, 57], [60, 65], [66, 64], [17, 71], [32, 70], [25, 77], [50, 85], [27, 92], [41, 92], [73, 98], [100, 100]], 'prizes': [0, 38, 66, 85, 74, 18, 6, 46, 0, 34, 18, 93, 39, 14, 26, 94, 49, 45, 42, 62, 70, 76, 16, 90, 76, 53, 50], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 21, 19, 11, 7, 5, 2, 0], [0, 4, 9, 16, 18, 17, 15, 14, 20, 13, 6, 3, 0]], 'total_route_length': 435.1163653957874, 'collected_prize': 939.0, 'objective': 939.0}","[[0, 12, 21, 19, 11, 7, 5, 2, 0], [0, 4, 9, 16, 18, 17, 15, 14, 20, 13, 6, 3, 0]]",939.0,"{'problem_type': 'TOP', 'num_nodes': 27, 'nodes': [{'id': 0, 'x': 67, 'y': 0, 'prize': 0}, {'id': 1, 'x': 10, 'y': 9, 'prize': 38}, {'id': 2, 'x': 27, 'y': 17, 'prize': 66}, {'id': 3, 'x': 49, 'y': 17, 'prize': 85}, {'id': 4, 'x': 81, 'y': 17, 'prize': 74}, {'id': 5, 'x': 10, 'y': 24, 'prize': 18}, {'id': 6, 'x': 41, 'y': 23, 'prize': 6}, {'id': 7, 'x': 8, 'y': 31, 'prize': 46}, {'id': 8, 'x': 65, 'y': 29, 'prize': 0}, {'id': 9, 'x': 92, 'y': 52, 'prize': 34}, {'id': 10, 'x': 0, 'y': 56, 'prize': 18}, {'id': 11, 'x': 10, 'y': 58, 'prize': 93}, {'id': 12, 'x': 18, 'y': 56, 'prize': 39}, {'id': 13, 'x': 33, 'y': 57, 'prize': 14}, {'id': 14, 'x': 40, 'y': 59, 'prize': 26}, {'id': 15, 'x': 59, 'y': 58, 'prize': 94}, {'id': 16, 'x': 90, 'y': 57, 'prize': 49}, {'id': 17, 'x': 60, 'y': 65, 'prize': 45}, {'id': 18, 'x': 66, 'y': 64, 'prize': 42}, {'id': 19, 'x': 17, 'y': 71, 'prize': 62}, {'id': 20, 'x': 32, 'y': 70, 'prize': 70}, {'id': 21, 'x': 25, 'y': 77, 'prize': 76}, {'id': 22, 'x': 50, 'y': 85, 'prize': 16}, {'id': 23, 'x': 27, 'y': 92, 'prize': 90}, {'id': 24, 'x': 41, 'y': 92, 'prize': 76}, {'id': 25, 'x': 73, 'y': 98, 'prize': 53}, {'id': 26, 'x': 100, 'y': 100, 'prize': 50}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 435.1163653957874, 'collected_prize': 939.0, 'objective': 939.0}","[[0, 12, 21, 19, 11, 7, 5, 2, 0], [0, 4, 9, 16, 18, 17, 15, 14, 20, 13, 6, 3, 0]]",26,json,0
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.
# total_locations_including_media_center=29
# media_center_id=0
# max_shift_time_per_photographer=225.0
# n_photographers=2
venue_id,x_coordinate_on_event_map,y_coordinate_on_event_map,editorial_value
0,11,4,0
1,0,23,93
2,7,39,46
3,5,82,100
4,24,74,1
5,39,73,54
6,24,72,51
7,22,62,90
8,39,33,44
9,24,5,52
10,36,4,74
11,30,0,76
12,69,54,53
13,84,59,71
14,68,59,29
15,66,76,51
16,84,77,5
17,79,79,75
18,90,82,49
19,84,82,36
20,79,82,44
21,55,92,5
22,77,100,13
23,90,43,15
24,85,37,37
25,69,11,87
26,78,9,90
27,100,1,88
28,98,38,63
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': [[11, 4], [0, 23], [7, 39], [5, 82], [24, 74], [39, 73], [24, 72], [22, 62], [39, 33], [24, 5], [36, 4], [30, 0], [69, 54], [84, 59], [68, 59], [66, 76], [84, 77], [79, 79], [90, 82], [84, 82], [79, 82], [55, 92], [77, 100], [90, 43], [85, 37], [69, 11], [78, 9], [100, 1], [98, 38]], 'prizes': [0, 93, 46, 100, 1, 54, 51, 90, 44, 52, 74, 76, 53, 71, 29, 51, 5, 75, 49, 36, 44, 5, 13, 15, 37, 87, 90, 88, 63], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 25, 24, 27, 26, 10, 11, 9, 0], [0, 1, 2, 7, 5, 6, 4, 3, 8, 0]], 'total_route_length': 446.4422587610834, 'collected_prize': 983.0, 'objective': 983.0}","[[0, 25, 24, 27, 26, 10, 11, 9, 0], [0, 1, 2, 7, 5, 6, 4, 3, 8, 0]]",983.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 11, 'y': 4, 'prize': 0}, {'id': 1, 'x': 0, 'y': 23, 'prize': 93}, {'id': 2, 'x': 7, 'y': 39, 'prize': 46}, {'id': 3, 'x': 5, 'y': 82, 'prize': 100}, {'id': 4, 'x': 24, 'y': 74, 'prize': 1}, {'id': 5, 'x': 39, 'y': 73, 'prize': 54}, {'id': 6, 'x': 24, 'y': 72, 'prize': 51}, {'id': 7, 'x': 22, 'y': 62, 'prize': 90}, {'id': 8, 'x': 39, 'y': 33, 'prize': 44}, {'id': 9, 'x': 24, 'y': 5, 'prize': 52}, {'id': 10, 'x': 36, 'y': 4, 'prize': 74}, {'id': 11, 'x': 30, 'y': 0, 'prize': 76}, {'id': 12, 'x': 69, 'y': 54, 'prize': 53}, {'id': 13, 'x': 84, 'y': 59, 'prize': 71}, {'id': 14, 'x': 68, 'y': 59, 'prize': 29}, {'id': 15, 'x': 66, 'y': 76, 'prize': 51}, {'id': 16, 'x': 84, 'y': 77, 'prize': 5}, {'id': 17, 'x': 79, 'y': 79, 'prize': 75}, {'id': 18, 'x': 90, 'y': 82, 'prize': 49}, {'id': 19, 'x': 84, 'y': 82, 'prize': 36}, {'id': 20, 'x': 79, 'y': 82, 'prize': 44}, {'id': 21, 'x': 55, 'y': 92, 'prize': 5}, {'id': 22, 'x': 77, 'y': 100, 'prize': 13}, {'id': 23, 'x': 90, 'y': 43, 'prize': 15}, {'id': 24, 'x': 85, 'y': 37, 'prize': 37}, {'id': 25, 'x': 69, 'y': 11, 'prize': 87}, {'id': 26, 'x': 78, 'y': 9, 'prize': 90}, {'id': 27, 'x': 100, 'y': 1, 'prize': 88}, {'id': 28, 'x': 98, 'y': 38, 'prize': 63}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 446.4422587610834, 'collected_prize': 983.0, 'objective': 983.0}","[[0, 25, 24, 27, 26, 10, 11, 9, 0], [0, 1, 2, 7, 5, 6, 4, 3, 8, 0]]",27,csv,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.
The run has 22 locations (hub A), 2 riders available, and each rider's round is limited to 225.0.
Stop A at (23, 28) pays 0.
Stop B at (2, 26) pays 64.
Stop C at (3, 17) pays 85.
Stop D at (6, 9) pays 9.
Stop E at (45, 9) pays 61.
Stop F at (31, 0) pays 25.
Stop G at (43, 0) pays 32.
Stop H at (0, 72) pays 37.
Stop I at (8, 94) pays 46.
Stop J at (14, 96) pays 75.
Stop K at (29, 100) pays 86.
Stop L at (67, 9) pays 79.
Stop M at (72, 19) pays 98.
Stop N at (70, 19) pays 30.
Stop O at (68, 28) pays 81.
Stop P at (60, 28) pays 88.
Stop Q at (63, 43) pays 1.
Stop R at (75, 53) pays 30.
Stop S at (81, 77) pays 14.
Stop T at (81, 77) pays 76.
Stop U at (76, 85) pays 7.
Stop V at (100, 34) pays 65.
I'll use these details to choose which stops each rider should hit.
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': [[23, 28], [2, 26], [3, 17], [6, 9], [45, 9], [31, 0], [43, 0], [0, 72], [8, 94], [14, 96], [29, 100], [67, 9], [72, 19], [70, 19], [68, 28], [60, 28], [63, 43], [75, 53], [81, 77], [81, 77], [76, 85], [100, 34]], 'prizes': [0, 64, 85, 9, 61, 25, 32, 37, 46, 75, 86, 79, 98, 30, 81, 88, 1, 30, 14, 76, 7, 65], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 5, 6, 4, 11, 13, 12, 21, 17, 16, 14, 15, 0], [0, 3, 2, 1, 7, 9, 10, 8, 0]], 'total_route_length': 446.3479970241093, 'collected_prize': 992.0, 'objective': 992.0}","[[0, 5, 6, 4, 11, 13, 12, 21, 17, 16, 14, 15, 0], [0, 3, 2, 1, 7, 9, 10, 8, 0]]",992.0,"{'problem_type': 'TOP', 'num_nodes': 22, 'nodes': [{'id': 'A', 'x': 23, 'y': 28, 'prize': 0}, {'id': 'B', 'x': 2, 'y': 26, 'prize': 64}, {'id': 'C', 'x': 3, 'y': 17, 'prize': 85}, {'id': 'D', 'x': 6, 'y': 9, 'prize': 9}, {'id': 'E', 'x': 45, 'y': 9, 'prize': 61}, {'id': 'F', 'x': 31, 'y': 0, 'prize': 25}, {'id': 'G', 'x': 43, 'y': 0, 'prize': 32}, {'id': 'H', 'x': 0, 'y': 72, 'prize': 37}, {'id': 'I', 'x': 8, 'y': 94, 'prize': 46}, {'id': 'J', 'x': 14, 'y': 96, 'prize': 75}, {'id': 'K', 'x': 29, 'y': 100, 'prize': 86}, {'id': 'L', 'x': 67, 'y': 9, 'prize': 79}, {'id': 'M', 'x': 72, 'y': 19, 'prize': 98}, {'id': 'N', 'x': 70, 'y': 19, 'prize': 30}, {'id': 'O', 'x': 68, 'y': 28, 'prize': 81}, {'id': 'P', 'x': 60, 'y': 28, 'prize': 88}, {'id': 'Q', 'x': 63, 'y': 43, 'prize': 1}, {'id': 'R', 'x': 75, 'y': 53, 'prize': 30}, {'id': 'S', 'x': 81, 'y': 77, 'prize': 14}, {'id': 'T', 'x': 81, 'y': 77, 'prize': 76}, {'id': 'U', 'x': 76, 'y': 85, 'prize': 7}, {'id': 'V', 'x': 100, 'y': 34, 'prize': 65}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 446.3479970241093, 'collected_prize': 992.0, 'objective': 992.0}","[['A', 'F', 'G', 'E', 'L', 'N', 'M', 'V', 'R', 'Q', 'O', 'P', 'A'], ['A', 'D', 'C', 'B', 'H', 'J', 'K', 'I', 'A']]",28,nl,names
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=22
# ranger_station_id=1
# max_patrol_distance_per_team=225.0
# n_ranger_teams=2
site_id,x_coord,y_coord,conservation_priority_score
1,47,52,0
2,49,48,92
3,31,38,95
4,26,26,10
5,26,42,97
6,33,48,54
7,25,65,68
8,54,70,71
9,60,61,5
10,53,100,95
11,55,31,2
12,50,29,30
13,52,17,34
14,52,1,92
15,49,0,38
16,100,34,73
17,10,79,82
18,88,27,9
19,0,24,6
20,88,32,97
21,0,93,71
22,55,82,42
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': [[47, 52], [49, 48], [31, 38], [26, 26], [26, 42], [33, 48], [25, 65], [54, 70], [60, 61], [53, 100], [55, 31], [50, 29], [52, 17], [52, 1], [49, 0], [100, 34], [10, 79], [88, 27], [0, 24], [88, 32], [0, 93], [55, 82]], 'prizes': [0, 92, 95, 10, 97, 54, 68, 71, 5, 95, 2, 30, 34, 92, 38, 73, 82, 9, 6, 97, 71, 42], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 5, 2, 4, 3, 12, 14, 13, 17, 15, 19, 0], [0, 10, 11, 6, 16, 20, 9, 21, 7, 8, 0]], 'total_route_length': 430.8333163001637, 'collected_prize': 1157.0, 'objective': 1157.0}","[[0, 5, 2, 4, 3, 12, 14, 13, 17, 15, 19, 0], [0, 10, 11, 6, 16, 20, 9, 21, 7, 8, 0]]",1157.0,"{'problem_type': 'TOP', 'num_nodes': 22, 'nodes': [{'id': 1, 'x': 47, 'y': 52, 'prize': 0}, {'id': 2, 'x': 49, 'y': 48, 'prize': 92}, {'id': 3, 'x': 31, 'y': 38, 'prize': 95}, {'id': 4, 'x': 26, 'y': 26, 'prize': 10}, {'id': 5, 'x': 26, 'y': 42, 'prize': 97}, {'id': 6, 'x': 33, 'y': 48, 'prize': 54}, {'id': 7, 'x': 25, 'y': 65, 'prize': 68}, {'id': 8, 'x': 54, 'y': 70, 'prize': 71}, {'id': 9, 'x': 60, 'y': 61, 'prize': 5}, {'id': 10, 'x': 53, 'y': 100, 'prize': 95}, {'id': 11, 'x': 55, 'y': 31, 'prize': 2}, {'id': 12, 'x': 50, 'y': 29, 'prize': 30}, {'id': 13, 'x': 52, 'y': 17, 'prize': 34}, {'id': 14, 'x': 52, 'y': 1, 'prize': 92}, {'id': 15, 'x': 49, 'y': 0, 'prize': 38}, {'id': 16, 'x': 100, 'y': 34, 'prize': 73}, {'id': 17, 'x': 10, 'y': 79, 'prize': 82}, {'id': 18, 'x': 88, 'y': 27, 'prize': 9}, {'id': 19, 'x': 0, 'y': 24, 'prize': 6}, {'id': 20, 'x': 88, 'y': 32, 'prize': 97}, {'id': 21, 'x': 0, 'y': 93, 'prize': 71}, {'id': 22, 'x': 55, 'y': 82, 'prize': 42}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 430.8333163001637, 'collected_prize': 1157.0, 'objective': 1157.0}","[[1, 6, 3, 5, 4, 13, 15, 14, 18, 16, 20, 1], [1, 11, 12, 7, 17, 21, 10, 22, 8, 9, 1]]",29,csv,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.
Instance specifics: 24 total locations (including distribution center 0), 2 vans available, and a maximum round-trip length of 225.0 per van.
| market_or_node_id | x_coordinate_of_location | y_coordinate_of_location | projected_sales_from_market |
|---|---|---|---|
| 0 | 32 | 100 | 0 |
| 1 | 49 | 98 | 18 |
| 2 | 32 | 94 | 37 |
| 3 | 28 | 98 | 97 |
| 4 | 30 | 86 | 20 |
| 5 | 26 | 86 | 15 |
| 6 | 68 | 76 | 28 |
| 7 | 96 | 70 | 33 |
| 8 | 78 | 62 | 50 |
| 9 | 100 | 56 | 28 |
| 10 | 94 | 55 | 35 |
| 11 | 86 | 52 | 61 |
| 12 | 95 | 46 | 73 |
| 13 | 73 | 46 | 91 |
| 14 | 16 | 43 | 70 |
| 15 | 83 | 42 | 74 |
| 16 | 65 | 36 | 71 |
| 17 | 86 | 27 | 98 |
| 18 | 79 | 27 | 21 |
| 19 | 34 | 26 | 76 |
| 20 | 69 | 19 | 4 |
| 21 | 30 | 0 | 17 |
| 22 | 9 | 2 | 7 |
| 23 | 0 | 1 | 74 |
Plan up to 2 routes that start and end at 0 and do not exceed 225.0, to maximize the summed projected sales from the visited markets.
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': [[32, 100], [49, 98], [32, 94], [28, 98], [30, 86], [26, 86], [68, 76], [96, 70], [78, 62], [100, 56], [94, 55], [86, 52], [95, 46], [73, 46], [16, 43], [83, 42], [65, 36], [86, 27], [79, 27], [34, 26], [69, 19], [30, 0], [9, 2], [0, 1]], 'prizes': [0, 18, 37, 97, 20, 15, 28, 33, 50, 28, 35, 61, 73, 91, 70, 74, 71, 98, 21, 76, 4, 17, 7, 74], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 1, 6, 8, 9, 12, 11, 10, 7, 4, 5, 2, 3, 0], [0, 13, 15, 17, 18, 16, 19, 0]], 'total_route_length': 448.0206286176774, 'collected_prize': 926.0, 'objective': 926.0}","[[0, 1, 6, 8, 9, 12, 11, 10, 7, 4, 5, 2, 3, 0], [0, 13, 15, 17, 18, 16, 19, 0]]",926.0,"{'problem_type': 'TOP', 'num_nodes': 24, 'nodes': [{'id': 0, 'x': 32, 'y': 100, 'prize': 0}, {'id': 1, 'x': 49, 'y': 98, 'prize': 18}, {'id': 2, 'x': 32, 'y': 94, 'prize': 37}, {'id': 3, 'x': 28, 'y': 98, 'prize': 97}, {'id': 4, 'x': 30, 'y': 86, 'prize': 20}, {'id': 5, 'x': 26, 'y': 86, 'prize': 15}, {'id': 6, 'x': 68, 'y': 76, 'prize': 28}, {'id': 7, 'x': 96, 'y': 70, 'prize': 33}, {'id': 8, 'x': 78, 'y': 62, 'prize': 50}, {'id': 9, 'x': 100, 'y': 56, 'prize': 28}, {'id': 10, 'x': 94, 'y': 55, 'prize': 35}, {'id': 11, 'x': 86, 'y': 52, 'prize': 61}, {'id': 12, 'x': 95, 'y': 46, 'prize': 73}, {'id': 13, 'x': 73, 'y': 46, 'prize': 91}, {'id': 14, 'x': 16, 'y': 43, 'prize': 70}, {'id': 15, 'x': 83, 'y': 42, 'prize': 74}, {'id': 16, 'x': 65, 'y': 36, 'prize': 71}, {'id': 17, 'x': 86, 'y': 27, 'prize': 98}, {'id': 18, 'x': 79, 'y': 27, 'prize': 21}, {'id': 19, 'x': 34, 'y': 26, 'prize': 76}, {'id': 20, 'x': 69, 'y': 19, 'prize': 4}, {'id': 21, 'x': 30, 'y': 0, 'prize': 17}, {'id': 22, 'x': 9, 'y': 2, 'prize': 7}, {'id': 23, 'x': 0, 'y': 1, 'prize': 74}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.0206286176774, 'collected_prize': 926.0, 'objective': 926.0}","[[0, 1, 6, 8, 9, 12, 11, 10, 7, 4, 5, 2, 3, 0], [0, 13, 15, 17, 18, 16, 19, 0]]",30,markdown_table,0
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.
Below are the 29 locations β hub 0, drone range 225.0, and 2 drones available.
Location 0 at (96, 48) offers reward 0.
Location 1 at (49, 37) offers reward 18.
Location 2 at (14, 52) offers reward 95.
Location 3 at (59, 83) offers reward 96.
Location 4 at (77, 75) offers reward 76.
Location 5 at (85, 100) offers reward 29.
Location 6 at (92, 95) offers reward 21.
Location 7 at (5, 0) offers reward 61.
Location 8 at (69, 60) offers reward 56.
Location 9 at (98, 0) offers reward 83.
Location 10 at (38, 44) offers reward 40.
Location 11 at (46, 62) offers reward 50.
Location 12 at (84, 63) offers reward 20.
Location 13 at (76, 13) offers reward 26.
Location 14 at (100, 26) offers reward 24.
Location 15 at (20, 42) offers reward 32.
Location 16 at (83, 8) offers reward 65.
Location 17 at (86, 82) offers reward 35.
Location 18 at (84, 6) offers reward 37.
Location 19 at (69, 6) offers reward 46.
Location 20 at (89, 18) offers reward 25.
Location 21 at (26, 86) offers reward 24.
Location 22 at (95, 2) offers reward 31.
Location 23 at (56, 75) offers reward 6.
Location 24 at (94, 39) offers reward 6.
Location 25 at (3, 60) offers reward 59.
Location 26 at (25, 4) offers reward 55.
Location 27 at (73, 67) offers reward 50.
Location 28 at (0, 12) offers reward 31.
Plan each sortie from hub 0 so it stays within 225.0 and use at most 2 drones.
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': [[96, 48], [49, 37], [14, 52], [59, 83], [77, 75], [85, 100], [92, 95], [5, 0], [69, 60], [98, 0], [38, 44], [46, 62], [84, 63], [76, 13], [100, 26], [20, 42], [83, 8], [86, 82], [84, 6], [69, 6], [89, 18], [26, 86], [95, 2], [56, 75], [94, 39], [3, 60], [25, 4], [73, 67], [0, 12]], 'prizes': [0, 18, 95, 96, 76, 29, 21, 61, 56, 83, 40, 50, 20, 26, 24, 32, 65, 35, 37, 46, 25, 24, 31, 6, 6, 59, 55, 50, 31], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 3, 23, 11, 25, 2, 15, 10, 1, 0], [0, 12, 17, 4, 27, 8, 19, 13, 18, 16, 22, 9, 20, 14, 24, 0]], 'total_route_length': 441.37940444516033, 'collected_prize': 976.0, 'objective': 976.0}","[[0, 3, 23, 11, 25, 2, 15, 10, 1, 0], [0, 12, 17, 4, 27, 8, 19, 13, 18, 16, 22, 9, 20, 14, 24, 0]]",976.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 96, 'y': 48, 'prize': 0}, {'id': 1, 'x': 49, 'y': 37, 'prize': 18}, {'id': 2, 'x': 14, 'y': 52, 'prize': 95}, {'id': 3, 'x': 59, 'y': 83, 'prize': 96}, {'id': 4, 'x': 77, 'y': 75, 'prize': 76}, {'id': 5, 'x': 85, 'y': 100, 'prize': 29}, {'id': 6, 'x': 92, 'y': 95, 'prize': 21}, {'id': 7, 'x': 5, 'y': 0, 'prize': 61}, {'id': 8, 'x': 69, 'y': 60, 'prize': 56}, {'id': 9, 'x': 98, 'y': 0, 'prize': 83}, {'id': 10, 'x': 38, 'y': 44, 'prize': 40}, {'id': 11, 'x': 46, 'y': 62, 'prize': 50}, {'id': 12, 'x': 84, 'y': 63, 'prize': 20}, {'id': 13, 'x': 76, 'y': 13, 'prize': 26}, {'id': 14, 'x': 100, 'y': 26, 'prize': 24}, {'id': 15, 'x': 20, 'y': 42, 'prize': 32}, {'id': 16, 'x': 83, 'y': 8, 'prize': 65}, {'id': 17, 'x': 86, 'y': 82, 'prize': 35}, {'id': 18, 'x': 84, 'y': 6, 'prize': 37}, {'id': 19, 'x': 69, 'y': 6, 'prize': 46}, {'id': 20, 'x': 89, 'y': 18, 'prize': 25}, {'id': 21, 'x': 26, 'y': 86, 'prize': 24}, {'id': 22, 'x': 95, 'y': 2, 'prize': 31}, {'id': 23, 'x': 56, 'y': 75, 'prize': 6}, {'id': 24, 'x': 94, 'y': 39, 'prize': 6}, {'id': 25, 'x': 3, 'y': 60, 'prize': 59}, {'id': 26, 'x': 25, 'y': 4, 'prize': 55}, {'id': 27, 'x': 73, 'y': 67, 'prize': 50}, {'id': 28, 'x': 0, 'y': 12, 'prize': 31}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 441.37940444516033, 'collected_prize': 976.0, 'objective': 976.0}","[[0, 3, 23, 11, 25, 2, 15, 10, 1, 0], [0, 12, 17, 4, 27, 8, 19, 13, 18, 16, 22, 9, 20, 14, 24, 0]]",31,nl,0
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=21
# lab_node_id=A
# max_travel_time_per_team=225.0
# n_teams=2
site_node_id,site_x_coordinate,site_y_coordinate,research_value_of_site
A,41,39,0
B,0,0,4
C,62,47,12
D,38,82,36
E,42,100,85
F,9,48,27
G,41,18,35
H,38,40,4
I,98,13,13
J,93,22,32
K,30,37,70
L,42,48,57
M,51,40,58
N,50,41,0
O,53,45,80
P,65,74,36
Q,51,32,84
R,61,30,21
S,61,43,95
T,43,18,48
U,100,55,54
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': [[41, 39], [0, 0], [62, 47], [38, 82], [42, 100], [9, 48], [41, 18], [38, 40], [98, 13], [93, 22], [30, 37], [42, 48], [51, 40], [50, 41], [53, 45], [65, 74], [51, 32], [61, 30], [61, 43], [43, 18], [100, 55]], 'prizes': [0, 4, 12, 36, 85, 27, 35, 4, 13, 32, 70, 57, 58, 0, 80, 36, 84, 21, 95, 48, 54], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 16, 17, 8, 9, 20, 2, 18, 14, 7, 11, 0], [0, 19, 6, 5, 4, 3, 15, 0]], 'total_route_length': 415.59300323528277, 'collected_prize': 847.0, 'objective': 847.0}","[[0, 12, 16, 17, 8, 9, 20, 2, 18, 14, 7, 11, 0], [0, 19, 6, 5, 4, 3, 15, 0]]",847.0,"{'problem_type': 'TOP', 'num_nodes': 21, 'nodes': [{'id': 'A', 'x': 41, 'y': 39, 'prize': 0}, {'id': 'B', 'x': 0, 'y': 0, 'prize': 4}, {'id': 'C', 'x': 62, 'y': 47, 'prize': 12}, {'id': 'D', 'x': 38, 'y': 82, 'prize': 36}, {'id': 'E', 'x': 42, 'y': 100, 'prize': 85}, {'id': 'F', 'x': 9, 'y': 48, 'prize': 27}, {'id': 'G', 'x': 41, 'y': 18, 'prize': 35}, {'id': 'H', 'x': 38, 'y': 40, 'prize': 4}, {'id': 'I', 'x': 98, 'y': 13, 'prize': 13}, {'id': 'J', 'x': 93, 'y': 22, 'prize': 32}, {'id': 'K', 'x': 30, 'y': 37, 'prize': 70}, {'id': 'L', 'x': 42, 'y': 48, 'prize': 57}, {'id': 'M', 'x': 51, 'y': 40, 'prize': 58}, {'id': 'N', 'x': 50, 'y': 41, 'prize': 0}, {'id': 'O', 'x': 53, 'y': 45, 'prize': 80}, {'id': 'P', 'x': 65, 'y': 74, 'prize': 36}, {'id': 'Q', 'x': 51, 'y': 32, 'prize': 84}, {'id': 'R', 'x': 61, 'y': 30, 'prize': 21}, {'id': 'S', 'x': 61, 'y': 43, 'prize': 95}, {'id': 'T', 'x': 43, 'y': 18, 'prize': 48}, {'id': 'U', 'x': 100, 'y': 55, 'prize': 54}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 415.59300323528277, 'collected_prize': 847.0, 'objective': 847.0}","[['A', 'M', 'Q', 'R', 'I', 'J', 'U', 'C', 'S', 'O', 'H', 'L', 'A'], ['A', 'T', 'G', 'F', 'E', 'D', 'P', '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 29 total locations including the charity office (depot 1); each vehicle's route must not exceed 225.0 distance and we have 2 vehicles available.
| location_id | x_coord | y_coord | assistance_value |
|---|---|---|---|
| 1 | 11 | 2 | 0 |
| 2 | 58 | 0 | 21 |
| 3 | 57 | 9 | 13 |
| 4 | 66 | 10 | 50 |
| 5 | 41 | 24 | 85 |
| 6 | 51 | 23 | 83 |
| 7 | 98 | 23 | 40 |
| 8 | 40 | 33 | 91 |
| 9 | 90 | 33 | 31 |
| 10 | 49 | 39 | 89 |
| 11 | 77 | 38 | 11 |
| 12 | 99 | 38 | 64 |
| 13 | 33 | 47 | 73 |
| 14 | 41 | 47 | 99 |
| 15 | 81 | 54 | 74 |
| 16 | 92 | 55 | 80 |
| 17 | 98 | 61 | 54 |
| 18 | 0 | 69 | 3 |
| 19 | 66 | 68 | 68 |
| 20 | 73 | 67 | 40 |
| 21 | 49 | 77 | 52 |
| 22 | 19 | 86 | 63 |
| 23 | 32 | 83 | 58 |
| 24 | 68 | 84 | 71 |
| 25 | 74 | 86 | 10 |
| 26 | 81 | 94 | 55 |
| 27 | 68 | 97 | 20 |
| 28 | 83 | 97 | 67 |
| 29 | 100 | 100 | 96 |
We must assign visits so each of the 2 vehicles stays within 225.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': [[11, 2], [58, 0], [57, 9], [66, 10], [41, 24], [51, 23], [98, 23], [40, 33], [90, 33], [49, 39], [77, 38], [99, 38], [33, 47], [41, 47], [81, 54], [92, 55], [98, 61], [0, 69], [66, 68], [73, 67], [49, 77], [19, 86], [32, 83], [68, 84], [74, 86], [81, 94], [68, 97], [83, 97], [100, 100]], 'prizes': [0, 21, 13, 50, 85, 83, 40, 91, 31, 89, 11, 64, 73, 99, 74, 80, 54, 3, 68, 40, 52, 63, 58, 71, 10, 55, 20, 67, 96], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 18, 19, 15, 14, 10, 5, 0], [0, 12, 21, 22, 20, 13, 9, 7, 0]], 'total_route_length': 436.71261342125354, 'collected_prize': 881.0, 'objective': 881.0}","[[0, 18, 19, 15, 14, 10, 5, 0], [0, 12, 21, 22, 20, 13, 9, 7, 0]]",881.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 1, 'x': 11, 'y': 2, 'prize': 0}, {'id': 2, 'x': 58, 'y': 0, 'prize': 21}, {'id': 3, 'x': 57, 'y': 9, 'prize': 13}, {'id': 4, 'x': 66, 'y': 10, 'prize': 50}, {'id': 5, 'x': 41, 'y': 24, 'prize': 85}, {'id': 6, 'x': 51, 'y': 23, 'prize': 83}, {'id': 7, 'x': 98, 'y': 23, 'prize': 40}, {'id': 8, 'x': 40, 'y': 33, 'prize': 91}, {'id': 9, 'x': 90, 'y': 33, 'prize': 31}, {'id': 10, 'x': 49, 'y': 39, 'prize': 89}, {'id': 11, 'x': 77, 'y': 38, 'prize': 11}, {'id': 12, 'x': 99, 'y': 38, 'prize': 64}, {'id': 13, 'x': 33, 'y': 47, 'prize': 73}, {'id': 14, 'x': 41, 'y': 47, 'prize': 99}, {'id': 15, 'x': 81, 'y': 54, 'prize': 74}, {'id': 16, 'x': 92, 'y': 55, 'prize': 80}, {'id': 17, 'x': 98, 'y': 61, 'prize': 54}, {'id': 18, 'x': 0, 'y': 69, 'prize': 3}, {'id': 19, 'x': 66, 'y': 68, 'prize': 68}, {'id': 20, 'x': 73, 'y': 67, 'prize': 40}, {'id': 21, 'x': 49, 'y': 77, 'prize': 52}, {'id': 22, 'x': 19, 'y': 86, 'prize': 63}, {'id': 23, 'x': 32, 'y': 83, 'prize': 58}, {'id': 24, 'x': 68, 'y': 84, 'prize': 71}, {'id': 25, 'x': 74, 'y': 86, 'prize': 10}, {'id': 26, 'x': 81, 'y': 94, 'prize': 55}, {'id': 27, 'x': 68, 'y': 97, 'prize': 20}, {'id': 28, 'x': 83, 'y': 97, 'prize': 67}, {'id': 29, 'x': 100, 'y': 100, 'prize': 96}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 436.71261342125354, 'collected_prize': 881.0, 'objective': 881.0}","[[1, 19, 20, 16, 15, 11, 6, 1], [1, 13, 22, 23, 21, 14, 10, 8, 1]]",33,markdown_table,1
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 26 total locations (including campaign base 1); the campaign has 2 vans and each van's route length must not exceed 225.0.
| location_id | x_coordinate | y_coordinate | reach_score |
|---|---|---|---|
| 1 | 10 | 7 | 0 |
| 2 | 16 | 0 | 21 |
| 3 | 16 | 2 | 33 |
| 4 | 6 | 79 | 75 |
| 5 | 12 | 100 | 16 |
| 6 | 39 | 98 | 92 |
| 7 | 67 | 93 | 42 |
| 8 | 55 | 93 | 43 |
| 9 | 24 | 91 | 68 |
| 10 | 16 | 16 | 61 |
| 11 | 73 | 30 | 86 |
| 12 | 73 | 67 | 16 |
| 13 | 63 | 35 | 22 |
| 14 | 59 | 44 | 50 |
| 15 | 29 | 40 | 13 |
| 16 | 31 | 40 | 44 |
| 17 | 39 | 30 | 45 |
| 18 | 22 | 81 | 50 |
| 19 | 82 | 65 | 10 |
| 20 | 78 | 2 | 16 |
| 21 | 84 | 0 | 30 |
| 22 | 96 | 49 | 86 |
| 23 | 100 | 72 | 31 |
| 24 | 98 | 98 | 53 |
| 25 | 88 | 65 | 13 |
| 26 | 0 | 21 | 16 |
No billboard may be assigned to more than one van, and every van route must start and end at 1 while staying within the 225.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': [[10, 7], [16, 0], [16, 2], [6, 79], [12, 100], [39, 98], [67, 93], [55, 93], [24, 91], [16, 16], [73, 30], [73, 67], [63, 35], [59, 44], [29, 40], [31, 40], [39, 30], [22, 81], [82, 65], [78, 2], [84, 0], [96, 49], [100, 72], [98, 98], [88, 65], [0, 21]], 'prizes': [0, 21, 33, 75, 16, 92, 42, 43, 68, 61, 86, 16, 22, 50, 13, 44, 45, 50, 10, 16, 30, 86, 31, 53, 13, 16], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 25, 3, 8, 5, 17, 14, 15, 9, 0], [0, 2, 1, 12, 10, 21, 24, 13, 16, 0]], 'total_route_length': 444.9979112793824, 'collected_prize': 775.0, 'objective': 775.0}","[[0, 25, 3, 8, 5, 17, 14, 15, 9, 0], [0, 2, 1, 12, 10, 21, 24, 13, 16, 0]]",775.0,"{'problem_type': 'TOP', 'num_nodes': 26, 'nodes': [{'id': 1, 'x': 10, 'y': 7, 'prize': 0}, {'id': 2, 'x': 16, 'y': 0, 'prize': 21}, {'id': 3, 'x': 16, 'y': 2, 'prize': 33}, {'id': 4, 'x': 6, 'y': 79, 'prize': 75}, {'id': 5, 'x': 12, 'y': 100, 'prize': 16}, {'id': 6, 'x': 39, 'y': 98, 'prize': 92}, {'id': 7, 'x': 67, 'y': 93, 'prize': 42}, {'id': 8, 'x': 55, 'y': 93, 'prize': 43}, {'id': 9, 'x': 24, 'y': 91, 'prize': 68}, {'id': 10, 'x': 16, 'y': 16, 'prize': 61}, {'id': 11, 'x': 73, 'y': 30, 'prize': 86}, {'id': 12, 'x': 73, 'y': 67, 'prize': 16}, {'id': 13, 'x': 63, 'y': 35, 'prize': 22}, {'id': 14, 'x': 59, 'y': 44, 'prize': 50}, {'id': 15, 'x': 29, 'y': 40, 'prize': 13}, {'id': 16, 'x': 31, 'y': 40, 'prize': 44}, {'id': 17, 'x': 39, 'y': 30, 'prize': 45}, {'id': 18, 'x': 22, 'y': 81, 'prize': 50}, {'id': 19, 'x': 82, 'y': 65, 'prize': 10}, {'id': 20, 'x': 78, 'y': 2, 'prize': 16}, {'id': 21, 'x': 84, 'y': 0, 'prize': 30}, {'id': 22, 'x': 96, 'y': 49, 'prize': 86}, {'id': 23, 'x': 100, 'y': 72, 'prize': 31}, {'id': 24, 'x': 98, 'y': 98, 'prize': 53}, {'id': 25, 'x': 88, 'y': 65, 'prize': 13}, {'id': 26, 'x': 0, 'y': 21, 'prize': 16}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.9979112793824, 'collected_prize': 775.0, 'objective': 775.0}","[[1, 26, 4, 9, 6, 18, 15, 16, 10, 1], [1, 3, 2, 13, 11, 22, 25, 14, 17, 1]]",34,markdown_table,1
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=23
# maintenance_yard_id=A
# max_travel_distance_per_van=225.0
# num_repair_vans=2
site_id,x_coordinate,y_coordinate,urgency_score
A,91,71,0
B,3,50,27
C,27,0,81
D,0,33,46
E,100,62,64
F,40,61,66
G,26,66,49
H,81,21,45
I,57,61,88
J,6,63,54
K,4,43,42
L,9,64,61
M,64,40,21
N,15,14,99
O,58,78,46
P,19,70,7
Q,11,0,32
R,17,50,40
S,98,81,4
T,88,38,33
U,7,1,17
V,43,35,30
W,51,100,62
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': [[91, 71], [3, 50], [27, 0], [0, 33], [100, 62], [40, 61], [26, 66], [81, 21], [57, 61], [6, 63], [4, 43], [9, 64], [64, 40], [15, 14], [58, 78], [19, 70], [11, 0], [17, 50], [98, 81], [88, 38], [7, 1], [43, 35], [51, 100]], 'prizes': [0, 27, 81, 46, 64, 66, 49, 45, 88, 54, 42, 61, 21, 99, 46, 7, 32, 40, 4, 33, 17, 30, 62], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 19, 7, 12, 8, 14, 22, 18, 4, 0], [0, 5, 6, 15, 11, 9, 1, 10, 3, 17, 0]], 'total_route_length': 443.6665266285117, 'collected_prize': 755.0, 'objective': 755.0}","[[0, 19, 7, 12, 8, 14, 22, 18, 4, 0], [0, 5, 6, 15, 11, 9, 1, 10, 3, 17, 0]]",755.0,"{'problem_type': 'TOP', 'num_nodes': 23, 'nodes': [{'id': 'A', 'x': 91, 'y': 71, 'prize': 0}, {'id': 'B', 'x': 3, 'y': 50, 'prize': 27}, {'id': 'C', 'x': 27, 'y': 0, 'prize': 81}, {'id': 'D', 'x': 0, 'y': 33, 'prize': 46}, {'id': 'E', 'x': 100, 'y': 62, 'prize': 64}, {'id': 'F', 'x': 40, 'y': 61, 'prize': 66}, {'id': 'G', 'x': 26, 'y': 66, 'prize': 49}, {'id': 'H', 'x': 81, 'y': 21, 'prize': 45}, {'id': 'I', 'x': 57, 'y': 61, 'prize': 88}, {'id': 'J', 'x': 6, 'y': 63, 'prize': 54}, {'id': 'K', 'x': 4, 'y': 43, 'prize': 42}, {'id': 'L', 'x': 9, 'y': 64, 'prize': 61}, {'id': 'M', 'x': 64, 'y': 40, 'prize': 21}, {'id': 'N', 'x': 15, 'y': 14, 'prize': 99}, {'id': 'O', 'x': 58, 'y': 78, 'prize': 46}, {'id': 'P', 'x': 19, 'y': 70, 'prize': 7}, {'id': 'Q', 'x': 11, 'y': 0, 'prize': 32}, {'id': 'R', 'x': 17, 'y': 50, 'prize': 40}, {'id': 'S', 'x': 98, 'y': 81, 'prize': 4}, {'id': 'T', 'x': 88, 'y': 38, 'prize': 33}, {'id': 'U', 'x': 7, 'y': 1, 'prize': 17}, {'id': 'V', 'x': 43, 'y': 35, 'prize': 30}, {'id': 'W', 'x': 51, 'y': 100, 'prize': 62}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 443.6665266285117, 'collected_prize': 755.0, 'objective': 755.0}","[['A', 'T', 'H', 'M', 'I', 'O', 'W', 'S', 'E', 'A'], ['A', 'F', 'G', 'P', 'L', 'J', 'B', 'K', 'D', 'R', 'A']]",35,csv,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.
It lists 29 locations in total, with the warehouse at node A; each van may travel up to 225.0 and we have 2 vans.
| location_id | x_coordinate | y_coordinate | donation_value |
|---|---|---|---|
| A | 82 | 21 | 0 |
| B | 20 | 35 | 78 |
| C | 35 | 35 | 52 |
| D | 12 | 53 | 56 |
| E | 82 | 76 | 91 |
| F | 28 | 83 | 96 |
| G | 43 | 28 | 95 |
| H | 20 | 7 | 61 |
| I | 51 | 49 | 56 |
| J | 60 | 44 | 32 |
| K | 94 | 83 | 71 |
| L | 5 | 0 | 39 |
| M | 89 | 10 | 81 |
| N | 34 | 10 | 13 |
| O | 0 | 60 | 36 |
| P | 72 | 74 | 16 |
| Q | 85 | 33 | 89 |
| R | 23 | 40 | 28 |
| S | 20 | 100 | 34 |
| T | 100 | 0 | 83 |
| U | 83 | 47 | 40 |
| V | 72 | 8 | 40 |
| W | 72 | 51 | 70 |
| X | 91 | 65 | 80 |
| Y | 20 | 58 | 44 |
| Z | 20 | 19 | 99 |
| AA | 31 | 24 | 6 |
| AB | 37 | 31 | 72 |
| AC | 28 | 29 | 50 |
Use these rows to plan routes that maximize the donations you can collect while keeping each van within the 225.0 limit.
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': [[82, 21], [20, 35], [35, 35], [12, 53], [82, 76], [28, 83], [43, 28], [20, 7], [51, 49], [60, 44], [94, 83], [5, 0], [89, 10], [34, 10], [0, 60], [72, 74], [85, 33], [23, 40], [20, 100], [100, 0], [83, 47], [72, 8], [72, 51], [91, 65], [20, 58], [20, 19], [31, 24], [37, 31], [28, 29]], 'prizes': [0, 78, 52, 56, 91, 96, 95, 61, 56, 32, 71, 39, 81, 13, 36, 16, 89, 28, 34, 83, 40, 40, 70, 80, 44, 99, 6, 72, 50], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 27, 2, 24, 3, 17, 1, 7, 25, 26, 28, 6, 0], [0, 12, 19, 16, 20, 23, 10, 4, 22, 9, 8, 0]], 'total_route_length': 445.9150474296103, 'collected_prize': 1334.0, 'objective': 1334.0}","[[0, 27, 2, 24, 3, 17, 1, 7, 25, 26, 28, 6, 0], [0, 12, 19, 16, 20, 23, 10, 4, 22, 9, 8, 0]]",1334.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 'A', 'x': 82, 'y': 21, 'prize': 0}, {'id': 'B', 'x': 20, 'y': 35, 'prize': 78}, {'id': 'C', 'x': 35, 'y': 35, 'prize': 52}, {'id': 'D', 'x': 12, 'y': 53, 'prize': 56}, {'id': 'E', 'x': 82, 'y': 76, 'prize': 91}, {'id': 'F', 'x': 28, 'y': 83, 'prize': 96}, {'id': 'G', 'x': 43, 'y': 28, 'prize': 95}, {'id': 'H', 'x': 20, 'y': 7, 'prize': 61}, {'id': 'I', 'x': 51, 'y': 49, 'prize': 56}, {'id': 'J', 'x': 60, 'y': 44, 'prize': 32}, {'id': 'K', 'x': 94, 'y': 83, 'prize': 71}, {'id': 'L', 'x': 5, 'y': 0, 'prize': 39}, {'id': 'M', 'x': 89, 'y': 10, 'prize': 81}, {'id': 'N', 'x': 34, 'y': 10, 'prize': 13}, {'id': 'O', 'x': 0, 'y': 60, 'prize': 36}, {'id': 'P', 'x': 72, 'y': 74, 'prize': 16}, {'id': 'Q', 'x': 85, 'y': 33, 'prize': 89}, {'id': 'R', 'x': 23, 'y': 40, 'prize': 28}, {'id': 'S', 'x': 20, 'y': 100, 'prize': 34}, {'id': 'T', 'x': 100, 'y': 0, 'prize': 83}, {'id': 'U', 'x': 83, 'y': 47, 'prize': 40}, {'id': 'V', 'x': 72, 'y': 8, 'prize': 40}, {'id': 'W', 'x': 72, 'y': 51, 'prize': 70}, {'id': 'X', 'x': 91, 'y': 65, 'prize': 80}, {'id': 'Y', 'x': 20, 'y': 58, 'prize': 44}, {'id': 'Z', 'x': 20, 'y': 19, 'prize': 99}, {'id': 'AA', 'x': 31, 'y': 24, 'prize': 6}, {'id': 'AB', 'x': 37, 'y': 31, 'prize': 72}, {'id': 'AC', 'x': 28, 'y': 29, 'prize': 50}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 445.9150474296103, 'collected_prize': 1334.0, 'objective': 1334.0}","[['A', 'AB', 'C', 'Y', 'D', 'R', 'B', 'H', 'Z', 'AA', 'AC', 'G', 'A'], ['A', 'M', 'T', 'Q', 'U', 'X', 'K', 'E', 'W', 'J', 'I', 'A']]",36,markdown_table,names
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.
We have 25 locations in total, depot A; we can send up to 2 inspectors and each must keep their round trip within 225.0.
Site A at (2, 0) is worth 0 priority points.
Site B at (0, 5) is worth 30 priority points.
Site C at (22, 14) is worth 19 priority points.
Site D at (21, 11) is worth 58 priority points.
Site E at (28, 11) is worth 32 priority points.
Site F at (30, 16) is worth 33 priority points.
Site G at (26, 19) is worth 10 priority points.
Site H at (25, 32) is worth 33 priority points.
Site I at (23, 35) is worth 20 priority points.
Site J at (28, 41) is worth 55 priority points.
Site K at (23, 42) is worth 94 priority points.
Site L at (22, 43) is worth 84 priority points.
Site M at (25, 43) is worth 56 priority points.
Site N at (26, 46) is worth 13 priority points.
Site O at (23, 49) is worth 72 priority points.
Site P at (28, 51) is worth 22 priority points.
Site Q at (30, 54) is worth 66 priority points.
Site R at (38, 59) is worth 57 priority points.
Site S at (48, 78) is worth 90 priority points.
Site T at (45, 84) is worth 67 priority points.
Site U at (45, 97) is worth 94 priority points.
Site V at (45, 100) is worth 21 priority points.
Site W at (89, 1) is worth 45 priority points.
Site X at (100, 33) is worth 40 priority points.
Site Y at (89, 42) is worth 72 priority points.
We must plan up to 2 depot-returning loops that respect the 225.0 limit and collect the maximum total priority points without visiting any site more than once.
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': [[2, 0], [0, 5], [22, 14], [21, 11], [28, 11], [30, 16], [26, 19], [25, 32], [23, 35], [28, 41], [23, 42], [22, 43], [25, 43], [26, 46], [23, 49], [28, 51], [30, 54], [38, 59], [48, 78], [45, 84], [45, 97], [45, 100], [89, 1], [100, 33], [89, 42]], 'prizes': [0, 30, 19, 58, 32, 33, 10, 33, 20, 55, 94, 84, 56, 13, 72, 22, 66, 57, 90, 67, 94, 21, 45, 40, 72], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 7, 17, 18, 19, 20, 21, 14, 8, 0], [0, 5, 4, 2, 3, 6, 9, 12, 13, 11, 10, 16, 15, 0]], 'total_route_length': 390.86782862380875, 'collected_prize': 1026.0, 'objective': 1026.0}","[[0, 7, 17, 18, 19, 20, 21, 14, 8, 0], [0, 5, 4, 2, 3, 6, 9, 12, 13, 11, 10, 16, 15, 0]]",1026.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 'A', 'x': 2, 'y': 0, 'prize': 0}, {'id': 'B', 'x': 0, 'y': 5, 'prize': 30}, {'id': 'C', 'x': 22, 'y': 14, 'prize': 19}, {'id': 'D', 'x': 21, 'y': 11, 'prize': 58}, {'id': 'E', 'x': 28, 'y': 11, 'prize': 32}, {'id': 'F', 'x': 30, 'y': 16, 'prize': 33}, {'id': 'G', 'x': 26, 'y': 19, 'prize': 10}, {'id': 'H', 'x': 25, 'y': 32, 'prize': 33}, {'id': 'I', 'x': 23, 'y': 35, 'prize': 20}, {'id': 'J', 'x': 28, 'y': 41, 'prize': 55}, {'id': 'K', 'x': 23, 'y': 42, 'prize': 94}, {'id': 'L', 'x': 22, 'y': 43, 'prize': 84}, {'id': 'M', 'x': 25, 'y': 43, 'prize': 56}, {'id': 'N', 'x': 26, 'y': 46, 'prize': 13}, {'id': 'O', 'x': 23, 'y': 49, 'prize': 72}, {'id': 'P', 'x': 28, 'y': 51, 'prize': 22}, {'id': 'Q', 'x': 30, 'y': 54, 'prize': 66}, {'id': 'R', 'x': 38, 'y': 59, 'prize': 57}, {'id': 'S', 'x': 48, 'y': 78, 'prize': 90}, {'id': 'T', 'x': 45, 'y': 84, 'prize': 67}, {'id': 'U', 'x': 45, 'y': 97, 'prize': 94}, {'id': 'V', 'x': 45, 'y': 100, 'prize': 21}, {'id': 'W', 'x': 89, 'y': 1, 'prize': 45}, {'id': 'X', 'x': 100, 'y': 33, 'prize': 40}, {'id': 'Y', 'x': 89, 'y': 42, 'prize': 72}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 390.86782862380875, 'collected_prize': 1026.0, 'objective': 1026.0}","[['A', 'H', 'R', 'S', 'T', 'U', 'V', 'O', 'I', 'A'], ['A', 'F', 'E', 'C', 'D', 'G', 'J', 'M', 'N', 'L', 'K', 'Q', 'P', 'A']]",37,nl,names
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.
Concrete details: there are 28 locations including the hub 1; each shuttle's loop must not exceed 225.0, and there are 2 shuttles.
| location_id | x_coordinate | y_coordinate | enjoyment_points |
|---|---|---|---|
| 1 | 36 | 19 | 0 |
| 2 | 26 | 51 | 6 |
| 3 | 11 | 66 | 93 |
| 4 | 95 | 31 | 94 |
| 5 | 56 | 34 | 59 |
| 6 | 46 | 47 | 11 |
| 7 | 91 | 53 | 5 |
| 8 | 5 | 54 | 62 |
| 9 | 9 | 100 | 77 |
| 10 | 5 | 0 | 19 |
| 11 | 11 | 12 | 48 |
| 12 | 84 | 39 | 78 |
| 13 | 64 | 18 | 6 |
| 14 | 48 | 98 | 80 |
| 15 | 75 | 56 | 91 |
| 16 | 9 | 9 | 44 |
| 17 | 79 | 46 | 24 |
| 18 | 24 | 25 | 39 |
| 19 | 31 | 49 | 39 |
| 20 | 26 | 16 | 21 |
| 21 | 47 | 81 | 32 |
| 22 | 41 | 17 | 47 |
| 23 | 64 | 80 | 89 |
| 24 | 70 | 4 | 80 |
| 25 | 4 | 54 | 52 |
| 26 | 100 | 35 | 12 |
| 27 | 96 | 14 | 49 |
| 28 | 0 | 78 | 57 |
Use these lines to assign each attraction at most once to the 2 shuttles so every loop stays within 225.0.
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': [[36, 19], [26, 51], [11, 66], [95, 31], [56, 34], [46, 47], [91, 53], [5, 54], [9, 100], [5, 0], [11, 12], [84, 39], [64, 18], [48, 98], [75, 56], [9, 9], [79, 46], [24, 25], [31, 49], [26, 16], [47, 81], [41, 17], [64, 80], [70, 4], [4, 54], [100, 35], [96, 14], [0, 78]], 'prizes': [0, 6, 93, 94, 59, 11, 5, 62, 77, 19, 48, 78, 6, 80, 91, 44, 24, 39, 39, 21, 32, 47, 89, 80, 52, 12, 49, 57], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 20, 22, 14, 16, 11, 3, 26, 23, 0], [0, 15, 10, 19, 17, 24, 7, 27, 2, 1, 18, 5, 4, 21, 0]], 'total_route_length': 441.7731354984302, 'collected_prize': 1115.0, 'objective': 1115.0}","[[0, 20, 22, 14, 16, 11, 3, 26, 23, 0], [0, 15, 10, 19, 17, 24, 7, 27, 2, 1, 18, 5, 4, 21, 0]]",1115.0,"{'problem_type': 'TOP', 'num_nodes': 28, 'nodes': [{'id': 1, 'x': 36, 'y': 19, 'prize': 0}, {'id': 2, 'x': 26, 'y': 51, 'prize': 6}, {'id': 3, 'x': 11, 'y': 66, 'prize': 93}, {'id': 4, 'x': 95, 'y': 31, 'prize': 94}, {'id': 5, 'x': 56, 'y': 34, 'prize': 59}, {'id': 6, 'x': 46, 'y': 47, 'prize': 11}, {'id': 7, 'x': 91, 'y': 53, 'prize': 5}, {'id': 8, 'x': 5, 'y': 54, 'prize': 62}, {'id': 9, 'x': 9, 'y': 100, 'prize': 77}, {'id': 10, 'x': 5, 'y': 0, 'prize': 19}, {'id': 11, 'x': 11, 'y': 12, 'prize': 48}, {'id': 12, 'x': 84, 'y': 39, 'prize': 78}, {'id': 13, 'x': 64, 'y': 18, 'prize': 6}, {'id': 14, 'x': 48, 'y': 98, 'prize': 80}, {'id': 15, 'x': 75, 'y': 56, 'prize': 91}, {'id': 16, 'x': 9, 'y': 9, 'prize': 44}, {'id': 17, 'x': 79, 'y': 46, 'prize': 24}, {'id': 18, 'x': 24, 'y': 25, 'prize': 39}, {'id': 19, 'x': 31, 'y': 49, 'prize': 39}, {'id': 20, 'x': 26, 'y': 16, 'prize': 21}, {'id': 21, 'x': 47, 'y': 81, 'prize': 32}, {'id': 22, 'x': 41, 'y': 17, 'prize': 47}, {'id': 23, 'x': 64, 'y': 80, 'prize': 89}, {'id': 24, 'x': 70, 'y': 4, 'prize': 80}, {'id': 25, 'x': 4, 'y': 54, 'prize': 52}, {'id': 26, 'x': 100, 'y': 35, 'prize': 12}, {'id': 27, 'x': 96, 'y': 14, 'prize': 49}, {'id': 28, 'x': 0, 'y': 78, 'prize': 57}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 441.7731354984302, 'collected_prize': 1115.0, 'objective': 1115.0}","[[1, 21, 23, 15, 17, 12, 4, 27, 24, 1], [1, 16, 11, 20, 18, 25, 8, 28, 3, 2, 19, 6, 5, 22, 1]]",38,markdown_table,1
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=29
# central_kitchen_id=0
# max_distance_per_rider=225.0
# number_of_bikers=2
location_id,x_coordinate,y_coordinate,tip_potential
0,11,4,0
1,6,15,31
2,0,23,27
3,11,35,25
4,11,90,92
5,32,73,83
6,43,70,95
7,36,67,89
8,24,28,5
9,36,22,21
10,43,12,36
11,24,10,9
12,82,77,92
13,95,77,4
14,90,80,7
15,79,83,20
16,100,87,58
17,61,89,15
18,92,91,84
19,73,99,14
20,67,100,57
21,63,42,38
22,68,41,50
23,63,33,69
24,60,20,17
25,53,17,14
26,60,1,40
27,79,0,57
28,98,35,35
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': [[11, 4], [6, 15], [0, 23], [11, 35], [11, 90], [32, 73], [43, 70], [36, 67], [24, 28], [36, 22], [43, 12], [24, 10], [82, 77], [95, 77], [90, 80], [79, 83], [100, 87], [61, 89], [92, 91], [73, 99], [67, 100], [63, 42], [68, 41], [63, 33], [60, 20], [53, 17], [60, 1], [79, 0], [98, 35]], 'prizes': [0, 31, 27, 25, 92, 83, 95, 89, 5, 21, 36, 9, 92, 4, 7, 20, 58, 15, 84, 14, 57, 38, 50, 69, 17, 14, 40, 57, 35], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 1, 2, 3, 4, 5, 7, 6, 9, 8, 0], [0, 26, 27, 28, 21, 22, 23, 24, 25, 10, 11, 0]], 'total_route_length': 448.15545419871125, 'collected_prize': 833.0, 'objective': 833.0}","[[0, 1, 2, 3, 4, 5, 7, 6, 9, 8, 0], [0, 26, 27, 28, 21, 22, 23, 24, 25, 10, 11, 0]]",833.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 11, 'y': 4, 'prize': 0}, {'id': 1, 'x': 6, 'y': 15, 'prize': 31}, {'id': 2, 'x': 0, 'y': 23, 'prize': 27}, {'id': 3, 'x': 11, 'y': 35, 'prize': 25}, {'id': 4, 'x': 11, 'y': 90, 'prize': 92}, {'id': 5, 'x': 32, 'y': 73, 'prize': 83}, {'id': 6, 'x': 43, 'y': 70, 'prize': 95}, {'id': 7, 'x': 36, 'y': 67, 'prize': 89}, {'id': 8, 'x': 24, 'y': 28, 'prize': 5}, {'id': 9, 'x': 36, 'y': 22, 'prize': 21}, {'id': 10, 'x': 43, 'y': 12, 'prize': 36}, {'id': 11, 'x': 24, 'y': 10, 'prize': 9}, {'id': 12, 'x': 82, 'y': 77, 'prize': 92}, {'id': 13, 'x': 95, 'y': 77, 'prize': 4}, {'id': 14, 'x': 90, 'y': 80, 'prize': 7}, {'id': 15, 'x': 79, 'y': 83, 'prize': 20}, {'id': 16, 'x': 100, 'y': 87, 'prize': 58}, {'id': 17, 'x': 61, 'y': 89, 'prize': 15}, {'id': 18, 'x': 92, 'y': 91, 'prize': 84}, {'id': 19, 'x': 73, 'y': 99, 'prize': 14}, {'id': 20, 'x': 67, 'y': 100, 'prize': 57}, {'id': 21, 'x': 63, 'y': 42, 'prize': 38}, {'id': 22, 'x': 68, 'y': 41, 'prize': 50}, {'id': 23, 'x': 63, 'y': 33, 'prize': 69}, {'id': 24, 'x': 60, 'y': 20, 'prize': 17}, {'id': 25, 'x': 53, 'y': 17, 'prize': 14}, {'id': 26, 'x': 60, 'y': 1, 'prize': 40}, {'id': 27, 'x': 79, 'y': 0, 'prize': 57}, {'id': 28, 'x': 98, 'y': 35, 'prize': 35}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.15545419871125, 'collected_prize': 833.0, 'objective': 833.0}","[[0, 1, 2, 3, 4, 5, 7, 6, 9, 8, 0], [0, 26, 27, 28, 21, 22, 23, 24, 25, 10, 11, 0]]",39,csv,0
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"": 28,
""nodes"": [
{
""location_id"": 1,
""location_x_coordinate"": 73,
""location_y_coordinate"": 0,
""patient_need_score"": 0
},
{
""location_id"": 2,
""location_x_coordinate"": 56,
""location_y_coordinate"": 8,
""patient_need_score"": 57
},
{
""location_id"": 3,
""location_x_coordinate"": 17,
""location_y_coordinate"": 15,
""patient_need_score"": 73
},
{
""location_id"": 4,
""location_x_coordinate"": 35,
""location_y_coordinate"": 15,
""patient_need_score"": 12
},
{
""location_id"": 5,
""location_x_coordinate"": 40,
""location_y_coordinate"": 13,
""patient_need_score"": 51
},
{
""location_id"": 6,
""location_x_coordinate"": 90,
""location_y_coordinate"": 14,
""patient_need_score"": 46
},
{
""location_id"": 7,
""location_x_coordinate"": 7,
""location_y_coordinate"": 23,
""patient_need_score"": 46
},
{
""location_id"": 8,
""location_x_coordinate"": 50,
""location_y_coordinate"": 21,
""patient_need_score"": 77
},
{
""location_id"": 9,
""location_x_coordinate"": 65,
""location_y_coordinate"": 20,
""patient_need_score"": 33
},
{
""location_id"": 10,
""location_x_coordinate"": 6,
""location_y_coordinate"": 30,
""patient_need_score"": 93
},
{
""location_id"": 11,
""location_x_coordinate"": 59,
""location_y_coordinate"": 30,
""patient_need_score"": 22
},
{
""location_id"": 12,
""location_x_coordinate"": 76,
""location_y_coordinate"": 35,
""patient_need_score"": 36
},
{
""location_id"": 13,
""location_x_coordinate"": 99,
""location_y_coordinate"": 35,
""patient_need_score"": 45
},
{
""location_id"": 14,
""location_x_coordinate"": 0,
""location_y_coordinate"": 41,
""patient_need_score"": 11
},
{
""location_id"": 15,
""location_x_coordinate"": 40,
""location_y_coordinate"": 43,
""patient_need_score"": 33
},
{
""location_id"": 16,
""location_x_coordinate"": 99,
""location_y_coordinate"": 44,
""patient_need_score"": 7
},
{
""location_id"": 17,
""location_x_coordinate"": 100,
""location_y_coordinate"": 49,
""patient_need_score"": 84
},
{
""location_id"": 18,
""location_x_coordinate"": 58,
""location_y_coordinate"": 57,
""patient_need_score"": 8
},
{
""location_id"": 19,
""location_x_coordinate"": 72,
""location_y_coordinate"": 62,
""patient_need_score"": 48
},
{
""location_id"": 20,
""location_x_coordinate"": 22,
""location_y_coordinate"": 72,
""patient_need_score"": 37
},
{
""location_id"": 21,
""location_x_coordinate"": 39,
""location_y_coordinate"": 71,
""patient_need_score"": 24
},
{
""location_id"": 22,
""location_x_coordinate"": 100,
""location_y_coordinate"": 77,
""patient_need_score"": 73
},
{
""location_id"": 23,
""location_x_coordinate"": 17,
""location_y_coordinate"": 86,
""patient_need_score"": 34
},
{
""location_id"": 24,
""location_x_coordinate"": 67,
""location_y_coordinate"": 84,
""patient_need_score"": 0
},
{
""location_id"": 25,
""location_x_coordinate"": 14,
""location_y_coordinate"": 97,
""patient_need_score"": 100
},
{
""location_id"": 26,
""location_x_coordinate"": 39,
""location_y_coordinate"": 100,
""patient_need_score"": 92
},
{
""location_id"": 27,
""location_x_coordinate"": 50,
""location_y_coordinate"": 98,
""patient_need_score"": 65
},
{
""location_id"": 28,
""location_x_coordinate"": 89,
""location_y_coordinate"": 100,
""patient_need_score"": 37
}
],
""clinic_node_id"": 1,
""max_travel_distance_per_clinician"": 225.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': [[73, 0], [56, 8], [17, 15], [35, 15], [40, 13], [90, 14], [7, 23], [50, 21], [65, 20], [6, 30], [59, 30], [76, 35], [99, 35], [0, 41], [40, 43], [99, 44], [100, 49], [58, 57], [72, 62], [22, 72], [39, 71], [100, 77], [17, 86], [67, 84], [14, 97], [39, 100], [50, 98], [89, 100]], 'prizes': [0, 57, 73, 12, 51, 46, 46, 77, 33, 93, 22, 36, 45, 11, 33, 7, 84, 8, 48, 37, 24, 73, 34, 0, 100, 92, 65, 37], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 5, 12, 15, 16, 21, 18, 11, 7, 0], [0, 8, 10, 14, 19, 13, 9, 6, 2, 3, 4, 1, 0]], 'total_route_length': 426.4163098346643, 'collected_prize': 884.0, 'objective': 884.0}","[[0, 5, 12, 15, 16, 21, 18, 11, 7, 0], [0, 8, 10, 14, 19, 13, 9, 6, 2, 3, 4, 1, 0]]",884.0,"{'problem_type': 'TOP', 'num_nodes': 28, 'nodes': [{'id': 1, 'x': 73, 'y': 0, 'prize': 0}, {'id': 2, 'x': 56, 'y': 8, 'prize': 57}, {'id': 3, 'x': 17, 'y': 15, 'prize': 73}, {'id': 4, 'x': 35, 'y': 15, 'prize': 12}, {'id': 5, 'x': 40, 'y': 13, 'prize': 51}, {'id': 6, 'x': 90, 'y': 14, 'prize': 46}, {'id': 7, 'x': 7, 'y': 23, 'prize': 46}, {'id': 8, 'x': 50, 'y': 21, 'prize': 77}, {'id': 9, 'x': 65, 'y': 20, 'prize': 33}, {'id': 10, 'x': 6, 'y': 30, 'prize': 93}, {'id': 11, 'x': 59, 'y': 30, 'prize': 22}, {'id': 12, 'x': 76, 'y': 35, 'prize': 36}, {'id': 13, 'x': 99, 'y': 35, 'prize': 45}, {'id': 14, 'x': 0, 'y': 41, 'prize': 11}, {'id': 15, 'x': 40, 'y': 43, 'prize': 33}, {'id': 16, 'x': 99, 'y': 44, 'prize': 7}, {'id': 17, 'x': 100, 'y': 49, 'prize': 84}, {'id': 18, 'x': 58, 'y': 57, 'prize': 8}, {'id': 19, 'x': 72, 'y': 62, 'prize': 48}, {'id': 20, 'x': 22, 'y': 72, 'prize': 37}, {'id': 21, 'x': 39, 'y': 71, 'prize': 24}, {'id': 22, 'x': 100, 'y': 77, 'prize': 73}, {'id': 23, 'x': 17, 'y': 86, 'prize': 34}, {'id': 24, 'x': 67, 'y': 84, 'prize': 0}, {'id': 25, 'x': 14, 'y': 97, 'prize': 100}, {'id': 26, 'x': 39, 'y': 100, 'prize': 92}, {'id': 27, 'x': 50, 'y': 98, 'prize': 65}, {'id': 28, 'x': 89, 'y': 100, 'prize': 37}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 426.4163098346643, 'collected_prize': 884.0, 'objective': 884.0}","[[1, 6, 13, 16, 17, 22, 19, 12, 8, 1], [1, 9, 11, 15, 20, 14, 10, 7, 3, 4, 5, 2, 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.
{
""total_locations_including_hq"": 26,
""nodes"": [
{
""site_id"": 1,
""x_coord"": 5,
""y_coord"": 2,
""artistic_value"": 0
},
{
""site_id"": 2,
""x_coord"": 27,
""y_coord"": 15,
""artistic_value"": 64
},
{
""site_id"": 3,
""x_coord"": 42,
""y_coord"": 27,
""artistic_value"": 17
},
{
""site_id"": 4,
""x_coord"": 25,
""y_coord"": 34,
""artistic_value"": 42
},
{
""site_id"": 5,
""x_coord"": 29,
""y_coord"": 34,
""artistic_value"": 11
},
{
""site_id"": 6,
""x_coord"": 24,
""y_coord"": 37,
""artistic_value"": 77
},
{
""site_id"": 7,
""x_coord"": 56,
""y_coord"": 41,
""artistic_value"": 93
},
{
""site_id"": 8,
""x_coord"": 0,
""y_coord"": 45,
""artistic_value"": 65
},
{
""site_id"": 9,
""x_coord"": 28,
""y_coord"": 48,
""artistic_value"": 12
},
{
""site_id"": 10,
""x_coord"": 23,
""y_coord"": 53,
""artistic_value"": 38
},
{
""site_id"": 11,
""x_coord"": 68,
""y_coord"": 58,
""artistic_value"": 86
},
{
""site_id"": 12,
""x_coord"": 7,
""y_coord"": 65,
""artistic_value"": 15
},
{
""site_id"": 13,
""x_coord"": 34,
""y_coord"": 66,
""artistic_value"": 9
},
{
""site_id"": 14,
""x_coord"": 72,
""y_coord"": 73,
""artistic_value"": 62
},
{
""site_id"": 15,
""x_coord"": 7,
""y_coord"": 77,
""artistic_value"": 90
},
{
""site_id"": 16,
""x_coord"": 61,
""y_coord"": 83,
""artistic_value"": 85
},
{
""site_id"": 17,
""x_coord"": 18,
""y_coord"": 93,
""artistic_value"": 73
},
{
""site_id"": 18,
""x_coord"": 57,
""y_coord"": 93,
""artistic_value"": 0
},
{
""site_id"": 19,
""x_coord"": 31,
""y_coord"": 95,
""artistic_value"": 48
},
{
""site_id"": 20,
""x_coord"": 41,
""y_coord"": 7,
""artistic_value"": 41
},
{
""site_id"": 21,
""x_coord"": 30,
""y_coord"": 13,
""artistic_value"": 34
},
{
""site_id"": 22,
""x_coord"": 83,
""y_coord"": 70,
""artistic_value"": 18
},
{
""site_id"": 23,
""x_coord"": 100,
""y_coord"": 87,
""artistic_value"": 97
},
{
""site_id"": 24,
""x_coord"": 76,
""y_coord"": 90,
""artistic_value"": 68
},
{
""site_id"": 25,
""x_coord"": 90,
""y_coord"": 100,
""artistic_value"": 50
},
{
""site_id"": 26,
""x_coord"": 97,
""y_coord"": 0,
""artistic_value"": 14
}
],
""hq_node_id"": 1,
""max_distance_per_photographer"": 225.0,
""n_photographers"": 2
}
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': [[5, 2], [27, 15], [42, 27], [25, 34], [29, 34], [24, 37], [56, 41], [0, 45], [28, 48], [23, 53], [68, 58], [7, 65], [34, 66], [72, 73], [7, 77], [61, 83], [18, 93], [57, 93], [31, 95], [41, 7], [30, 13], [83, 70], [100, 87], [76, 90], [90, 100], [97, 0]], 'prizes': [0, 64, 17, 42, 11, 77, 93, 65, 12, 38, 86, 15, 9, 62, 90, 85, 73, 0, 48, 41, 34, 18, 97, 68, 50, 14], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 7, 11, 14, 16, 18, 12, 9, 8, 5, 4, 3, 0], [0, 20, 2, 10, 13, 15, 6, 1, 0]], 'total_route_length': 444.9768764126898, 'collected_prize': 921.0, 'objective': 921.0}","[[0, 7, 11, 14, 16, 18, 12, 9, 8, 5, 4, 3, 0], [0, 20, 2, 10, 13, 15, 6, 1, 0]]",921.0,"{'problem_type': 'TOP', 'num_nodes': 26, 'nodes': [{'id': 1, 'x': 5, 'y': 2, 'prize': 0}, {'id': 2, 'x': 27, 'y': 15, 'prize': 64}, {'id': 3, 'x': 42, 'y': 27, 'prize': 17}, {'id': 4, 'x': 25, 'y': 34, 'prize': 42}, {'id': 5, 'x': 29, 'y': 34, 'prize': 11}, {'id': 6, 'x': 24, 'y': 37, 'prize': 77}, {'id': 7, 'x': 56, 'y': 41, 'prize': 93}, {'id': 8, 'x': 0, 'y': 45, 'prize': 65}, {'id': 9, 'x': 28, 'y': 48, 'prize': 12}, {'id': 10, 'x': 23, 'y': 53, 'prize': 38}, {'id': 11, 'x': 68, 'y': 58, 'prize': 86}, {'id': 12, 'x': 7, 'y': 65, 'prize': 15}, {'id': 13, 'x': 34, 'y': 66, 'prize': 9}, {'id': 14, 'x': 72, 'y': 73, 'prize': 62}, {'id': 15, 'x': 7, 'y': 77, 'prize': 90}, {'id': 16, 'x': 61, 'y': 83, 'prize': 85}, {'id': 17, 'x': 18, 'y': 93, 'prize': 73}, {'id': 18, 'x': 57, 'y': 93, 'prize': 0}, {'id': 19, 'x': 31, 'y': 95, 'prize': 48}, {'id': 20, 'x': 41, 'y': 7, 'prize': 41}, {'id': 21, 'x': 30, 'y': 13, 'prize': 34}, {'id': 22, 'x': 83, 'y': 70, 'prize': 18}, {'id': 23, 'x': 100, 'y': 87, 'prize': 97}, {'id': 24, 'x': 76, 'y': 90, 'prize': 68}, {'id': 25, 'x': 90, 'y': 100, 'prize': 50}, {'id': 26, 'x': 97, 'y': 0, 'prize': 14}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.9768764126898, 'collected_prize': 921.0, 'objective': 921.0}","[[1, 8, 12, 15, 17, 19, 13, 10, 9, 6, 5, 4, 1], [1, 21, 3, 11, 14, 16, 7, 2, 1]]",41,json,1
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.
I'm listing the 25 mapped locations (distribution center 0 included); I'm scheduling 2 volunteers and each round trip must not exceed 225.0.
| location_id | coord_x | coord_y | donation_amount |
|---|---|---|---|
| 0 | 43 | 100 | 0 |
| 1 | 75 | 95 | 78 |
| 2 | 75 | 88 | 58 |
| 3 | 48 | 82 | 74 |
| 4 | 78 | 78 | 20 |
| 5 | 88 | 60 | 18 |
| 6 | 78 | 57 | 72 |
| 7 | 87 | 55 | 24 |
| 8 | 99 | 59 | 40 |
| 9 | 100 | 55 | 82 |
| 10 | 99 | 50 | 66 |
| 11 | 84 | 51 | 86 |
| 12 | 78 | 50 | 28 |
| 13 | 94 | 49 | 7 |
| 14 | 22 | 44 | 76 |
| 15 | 95 | 36 | 19 |
| 16 | 94 | 31 | 94 |
| 17 | 68 | 30 | 24 |
| 18 | 9 | 34 | 12 |
| 19 | 29 | 28 | 9 |
| 20 | 82 | 27 | 10 |
| 21 | 65 | 21 | 82 |
| 22 | 27 | 22 | 16 |
| 23 | 0 | 21 | 2 |
| 24 | 33 | 0 | 13 |
I'll make sure every run starts and ends at 0, stays within the 225.0 limit, and no donor house is visited more than once.
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': [[43, 100], [75, 95], [75, 88], [48, 82], [78, 78], [88, 60], [78, 57], [87, 55], [99, 59], [100, 55], [99, 50], [84, 51], [78, 50], [94, 49], [22, 44], [95, 36], [94, 31], [68, 30], [9, 34], [29, 28], [82, 27], [65, 21], [27, 22], [0, 21], [33, 0]], 'prizes': [0, 78, 58, 74, 20, 18, 72, 24, 40, 82, 66, 86, 28, 7, 76, 19, 94, 24, 12, 9, 10, 82, 16, 2, 13], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 3, 7, 6, 12, 11, 16, 15, 13, 10, 9, 8, 5, 1, 0], [0, 14, 19, 22, 21, 17, 4, 2, 0]], 'total_route_length': 448.75094574880467, 'collected_prize': 973.0, 'objective': 973.0}","[[0, 3, 7, 6, 12, 11, 16, 15, 13, 10, 9, 8, 5, 1, 0], [0, 14, 19, 22, 21, 17, 4, 2, 0]]",973.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 0, 'x': 43, 'y': 100, 'prize': 0}, {'id': 1, 'x': 75, 'y': 95, 'prize': 78}, {'id': 2, 'x': 75, 'y': 88, 'prize': 58}, {'id': 3, 'x': 48, 'y': 82, 'prize': 74}, {'id': 4, 'x': 78, 'y': 78, 'prize': 20}, {'id': 5, 'x': 88, 'y': 60, 'prize': 18}, {'id': 6, 'x': 78, 'y': 57, 'prize': 72}, {'id': 7, 'x': 87, 'y': 55, 'prize': 24}, {'id': 8, 'x': 99, 'y': 59, 'prize': 40}, {'id': 9, 'x': 100, 'y': 55, 'prize': 82}, {'id': 10, 'x': 99, 'y': 50, 'prize': 66}, {'id': 11, 'x': 84, 'y': 51, 'prize': 86}, {'id': 12, 'x': 78, 'y': 50, 'prize': 28}, {'id': 13, 'x': 94, 'y': 49, 'prize': 7}, {'id': 14, 'x': 22, 'y': 44, 'prize': 76}, {'id': 15, 'x': 95, 'y': 36, 'prize': 19}, {'id': 16, 'x': 94, 'y': 31, 'prize': 94}, {'id': 17, 'x': 68, 'y': 30, 'prize': 24}, {'id': 18, 'x': 9, 'y': 34, 'prize': 12}, {'id': 19, 'x': 29, 'y': 28, 'prize': 9}, {'id': 20, 'x': 82, 'y': 27, 'prize': 10}, {'id': 21, 'x': 65, 'y': 21, 'prize': 82}, {'id': 22, 'x': 27, 'y': 22, 'prize': 16}, {'id': 23, 'x': 0, 'y': 21, 'prize': 2}, {'id': 24, 'x': 33, 'y': 0, 'prize': 13}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 448.75094574880467, 'collected_prize': 973.0, 'objective': 973.0}","[[0, 3, 7, 6, 12, 11, 16, 15, 13, 10, 9, 8, 5, 1, 0], [0, 14, 19, 22, 21, 17, 4, 2, 0]]",42,markdown_table,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.
{
""total_nodes_including_depot"": 30,
""nodes"": [
{
""meter_node_id"": 0,
""x_coord"": 62,
""y_coord"": 100,
""critical_issue_score"": 0
},
{
""meter_node_id"": 1,
""x_coord"": 46,
""y_coord"": 100,
""critical_issue_score"": 86
},
{
""meter_node_id"": 2,
""x_coord"": 29,
""y_coord"": 100,
""critical_issue_score"": 64
},
{
""meter_node_id"": 3,
""x_coord"": 3,
""y_coord"": 100,
""critical_issue_score"": 95
},
{
""meter_node_id"": 4,
""x_coord"": 0,
""y_coord"": 65,
""critical_issue_score"": 77
},
{
""meter_node_id"": 5,
""x_coord"": 0,
""y_coord"": 5,
""critical_issue_score"": 6
},
{
""meter_node_id"": 6,
""x_coord"": 10,
""y_coord"": 5,
""critical_issue_score"": 30
},
{
""meter_node_id"": 7,
""x_coord"": 10,
""y_coord"": 20,
""critical_issue_score"": 75
},
{
""meter_node_id"": 8,
""x_coord"": 13,
""y_coord"": 20,
""critical_issue_score"": 5
},
{
""meter_node_id"": 9,
""x_coord"": 6,
""y_coord"": 34,
""critical_issue_score"": 55
},
{
""meter_node_id"": 10,
""x_coord"": 56,
""y_coord"": 72,
""critical_issue_score"": 84
},
{
""meter_node_id"": 11,
""x_coord"": 56,
""y_coord"": 68,
""critical_issue_score"": 71
},
{
""meter_node_id"": 12,
""x_coord"": 59,
""y_coord"": 48,
""critical_issue_score"": 59
},
{
""meter_node_id"": 13,
""x_coord"": 37,
""y_coord"": 52,
""critical_issue_score"": 27
},
{
""meter_node_id"": 14,
""x_coord"": 29,
""y_coord"": 5,
""critical_issue_score"": 56
},
{
""meter_node_id"": 15,
""x_coord"": 16,
""y_coord"": 0,
""critical_issue_score"": 87
},
{
""meter_node_id"": 16,
""x_coord"": 37,
""y_coord"": 28,
""critical_issue_score"": 54
},
{
""meter_node_id"": 17,
""x_coord"": 78,
""y_coord"": 38,
""critical_issue_score"": 46
},
{
""meter_node_id"": 18,
""x_coord"": 81,
""y_coord"": 32,
""critical_issue_score"": 39
},
{
""meter_node_id"": 19,
""x_coord"": 90,
""y_coord"": 38,
""critical_issue_score"": 8
},
{
""meter_node_id"": 20,
""x_coord"": 90,
""y_coord"": 42,
""critical_issue_score"": 43
},
{
""meter_node_id"": 21,
""x_coord"": 100,
""y_coord"": 38,
""critical_issue_score"": 72
},
{
""meter_node_id"": 22,
""x_coord"": 90,
""y_coord"": 62,
""critical_issue_score"": 92
},
{
""meter_node_id"": 23,
""x_coord"": 90,
""y_coord"": 52,
""critical_issue_score"": 100
},
{
""meter_node_id"": 24,
""x_coord"": 68,
""y_coord"": 62,
""critical_issue_score"": 92
},
{
""meter_node_id"": 25,
""x_coord"": 59,
""y_coord"": 52,
""critical_issue_score"": 19
},
{
""meter_node_id"": 26,
""x_coord"": 59,
""y_coord"": 68,
""critical_issue_score"": 82
},
{
""meter_node_id"": 27,
""x_coord"": 59,
""y_coord"": 72,
""critical_issue_score"": 42
},
{
""meter_node_id"": 28,
""x_coord"": 68,
""y_coord"": 85,
""critical_issue_score"": 7
},
{
""meter_node_id"": 29,
""x_coord"": 81,
""y_coord"": 85,
""critical_issue_score"": 3
}
],
""depot_node_id"": 0,
""max_travel_distance_per_crew"": 225.0,
""num_crews_available"": 2
}
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': [[62, 100], [46, 100], [29, 100], [3, 100], [0, 65], [0, 5], [10, 5], [10, 20], [13, 20], [6, 34], [56, 72], [56, 68], [59, 48], [37, 52], [29, 5], [16, 0], [37, 28], [78, 38], [81, 32], [90, 38], [90, 42], [100, 38], [90, 62], [90, 52], [68, 62], [59, 52], [59, 68], [59, 72], [68, 85], [81, 85]], 'prizes': [0, 86, 64, 95, 77, 6, 30, 75, 5, 55, 84, 71, 59, 27, 56, 87, 54, 46, 39, 8, 43, 72, 92, 100, 92, 19, 82, 42, 7, 3], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 10, 27, 11, 13, 9, 4, 3, 2, 1, 0], [0, 26, 22, 23, 20, 21, 19, 18, 17, 12, 25, 24, 29, 28, 0]], 'total_route_length': 439.536196619503, 'collected_prize': 1263.0, 'objective': 1263.0}","[[0, 10, 27, 11, 13, 9, 4, 3, 2, 1, 0], [0, 26, 22, 23, 20, 21, 19, 18, 17, 12, 25, 24, 29, 28, 0]]",1263.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 0, 'x': 62, 'y': 100, 'prize': 0}, {'id': 1, 'x': 46, 'y': 100, 'prize': 86}, {'id': 2, 'x': 29, 'y': 100, 'prize': 64}, {'id': 3, 'x': 3, 'y': 100, 'prize': 95}, {'id': 4, 'x': 0, 'y': 65, 'prize': 77}, {'id': 5, 'x': 0, 'y': 5, 'prize': 6}, {'id': 6, 'x': 10, 'y': 5, 'prize': 30}, {'id': 7, 'x': 10, 'y': 20, 'prize': 75}, {'id': 8, 'x': 13, 'y': 20, 'prize': 5}, {'id': 9, 'x': 6, 'y': 34, 'prize': 55}, {'id': 10, 'x': 56, 'y': 72, 'prize': 84}, {'id': 11, 'x': 56, 'y': 68, 'prize': 71}, {'id': 12, 'x': 59, 'y': 48, 'prize': 59}, {'id': 13, 'x': 37, 'y': 52, 'prize': 27}, {'id': 14, 'x': 29, 'y': 5, 'prize': 56}, {'id': 15, 'x': 16, 'y': 0, 'prize': 87}, {'id': 16, 'x': 37, 'y': 28, 'prize': 54}, {'id': 17, 'x': 78, 'y': 38, 'prize': 46}, {'id': 18, 'x': 81, 'y': 32, 'prize': 39}, {'id': 19, 'x': 90, 'y': 38, 'prize': 8}, {'id': 20, 'x': 90, 'y': 42, 'prize': 43}, {'id': 21, 'x': 100, 'y': 38, 'prize': 72}, {'id': 22, 'x': 90, 'y': 62, 'prize': 92}, {'id': 23, 'x': 90, 'y': 52, 'prize': 100}, {'id': 24, 'x': 68, 'y': 62, 'prize': 92}, {'id': 25, 'x': 59, 'y': 52, 'prize': 19}, {'id': 26, 'x': 59, 'y': 68, 'prize': 82}, {'id': 27, 'x': 59, 'y': 72, 'prize': 42}, {'id': 28, 'x': 68, 'y': 85, 'prize': 7}, {'id': 29, 'x': 81, 'y': 85, 'prize': 3}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 439.536196619503, 'collected_prize': 1263.0, 'objective': 1263.0}","[[0, 10, 27, 11, 13, 9, 4, 3, 2, 1, 0], [0, 26, 22, 23, 20, 21, 19, 18, 17, 12, 25, 24, 29, 28, 0]]",43,json,0
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.
# total_locations_including_garage=29
# garage_node_id=0
# max_route_distance_per_technician=225.0
# num_technicians=2
location_id,x_coord,y_coord,maintenance_priority
0,0,33,0
1,9,48,28
2,7,59,85
3,9,81,91
4,19,0,3
5,68,1,77
6,60,2,89
7,43,2,75
8,18,2,21
9,19,18,10
10,54,18,27
11,25,28,57
12,25,30,37
13,27,32,23
14,51,33,71
15,43,40,31
16,97,46,27
17,81,46,8
18,19,60,63
19,49,63,22
20,40,63,13
21,98,70,28
22,19,71,19
23,57,93,27
24,40,98,6
25,55,99,9
26,68,100,45
27,100,2,15
28,95,4,4
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, 33], [9, 48], [7, 59], [9, 81], [19, 0], [68, 1], [60, 2], [43, 2], [18, 2], [19, 18], [54, 18], [25, 28], [25, 30], [27, 32], [51, 33], [43, 40], [97, 46], [81, 46], [19, 60], [49, 63], [40, 63], [98, 70], [19, 71], [57, 93], [40, 98], [55, 99], [68, 100], [100, 2], [95, 4]], 'prizes': [0, 28, 85, 91, 3, 77, 89, 75, 21, 10, 27, 57, 37, 23, 71, 31, 27, 8, 63, 22, 13, 28, 19, 27, 6, 9, 45, 15, 4], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 18, 15, 14, 10, 5, 6, 7, 4, 8, 9, 11, 12, 13, 0], [0, 1, 2, 3, 22, 23, 26, 19, 20, 0]], 'total_route_length': 445.57436767995364, 'collected_prize': 914.0, 'objective': 914.0}","[[0, 18, 15, 14, 10, 5, 6, 7, 4, 8, 9, 11, 12, 13, 0], [0, 1, 2, 3, 22, 23, 26, 19, 20, 0]]",914.0,"{'problem_type': 'TOP', 'num_nodes': 29, 'nodes': [{'id': 0, 'x': 0, 'y': 33, 'prize': 0}, {'id': 1, 'x': 9, 'y': 48, 'prize': 28}, {'id': 2, 'x': 7, 'y': 59, 'prize': 85}, {'id': 3, 'x': 9, 'y': 81, 'prize': 91}, {'id': 4, 'x': 19, 'y': 0, 'prize': 3}, {'id': 5, 'x': 68, 'y': 1, 'prize': 77}, {'id': 6, 'x': 60, 'y': 2, 'prize': 89}, {'id': 7, 'x': 43, 'y': 2, 'prize': 75}, {'id': 8, 'x': 18, 'y': 2, 'prize': 21}, {'id': 9, 'x': 19, 'y': 18, 'prize': 10}, {'id': 10, 'x': 54, 'y': 18, 'prize': 27}, {'id': 11, 'x': 25, 'y': 28, 'prize': 57}, {'id': 12, 'x': 25, 'y': 30, 'prize': 37}, {'id': 13, 'x': 27, 'y': 32, 'prize': 23}, {'id': 14, 'x': 51, 'y': 33, 'prize': 71}, {'id': 15, 'x': 43, 'y': 40, 'prize': 31}, {'id': 16, 'x': 97, 'y': 46, 'prize': 27}, {'id': 17, 'x': 81, 'y': 46, 'prize': 8}, {'id': 18, 'x': 19, 'y': 60, 'prize': 63}, {'id': 19, 'x': 49, 'y': 63, 'prize': 22}, {'id': 20, 'x': 40, 'y': 63, 'prize': 13}, {'id': 21, 'x': 98, 'y': 70, 'prize': 28}, {'id': 22, 'x': 19, 'y': 71, 'prize': 19}, {'id': 23, 'x': 57, 'y': 93, 'prize': 27}, {'id': 24, 'x': 40, 'y': 98, 'prize': 6}, {'id': 25, 'x': 55, 'y': 99, 'prize': 9}, {'id': 26, 'x': 68, 'y': 100, 'prize': 45}, {'id': 27, 'x': 100, 'y': 2, 'prize': 15}, {'id': 28, 'x': 95, 'y': 4, 'prize': 4}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 445.57436767995364, 'collected_prize': 914.0, 'objective': 914.0}","[[0, 18, 15, 14, 10, 5, 6, 7, 4, 8, 9, 11, 12, 13, 0], [0, 1, 2, 3, 22, 23, 26, 19, 20, 0]]",44,csv,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"": 30,
""nodes"": [
{
""block_id"": 0,
""map_x_coordinate"": 80,
""map_y_coordinate"": 70,
""litter_reduction_score"": 0
},
{
""block_id"": 1,
""map_x_coordinate"": 92,
""map_y_coordinate"": 5,
""litter_reduction_score"": 78
},
{
""block_id"": 2,
""map_x_coordinate"": 52,
""map_y_coordinate"": 59,
""litter_reduction_score"": 63
},
{
""block_id"": 3,
""map_x_coordinate"": 75,
""map_y_coordinate"": 78,
""litter_reduction_score"": 46
},
{
""block_id"": 4,
""map_x_coordinate"": 21,
""map_y_coordinate"": 67,
""litter_reduction_score"": 31
},
{
""block_id"": 5,
""map_x_coordinate"": 8,
""map_y_coordinate"": 30,
""litter_reduction_score"": 80
},
{
""block_id"": 6,
""map_x_coordinate"": 10,
""map_y_coordinate"": 9,
""litter_reduction_score"": 97
},
{
""block_id"": 7,
""map_x_coordinate"": 68,
""map_y_coordinate"": 62,
""litter_reduction_score"": 51
},
{
""block_id"": 8,
""map_x_coordinate"": 75,
""map_y_coordinate"": 26,
""litter_reduction_score"": 64
},
{
""block_id"": 9,
""map_x_coordinate"": 59,
""map_y_coordinate"": 63,
""litter_reduction_score"": 50
},
{
""block_id"": 10,
""map_x_coordinate"": 10,
""map_y_coordinate"": 23,
""litter_reduction_score"": 13
},
{
""block_id"": 11,
""map_x_coordinate"": 38,
""map_y_coordinate"": 56,
""litter_reduction_score"": 77
},
{
""block_id"": 12,
""map_x_coordinate"": 1,
""map_y_coordinate"": 3,
""litter_reduction_score"": 23
},
{
""block_id"": 13,
""map_x_coordinate"": 69,
""map_y_coordinate"": 61,
""litter_reduction_score"": 8
},
{
""block_id"": 14,
""map_x_coordinate"": 4,
""map_y_coordinate"": 69,
""litter_reduction_score"": 81
},
{
""block_id"": 15,
""map_x_coordinate"": 31,
""map_y_coordinate"": 45,
""litter_reduction_score"": 94
},
{
""block_id"": 16,
""map_x_coordinate"": 0,
""map_y_coordinate"": 91,
""litter_reduction_score"": 15
},
{
""block_id"": 17,
""map_x_coordinate"": 47,
""map_y_coordinate"": 40,
""litter_reduction_score"": 31
},
{
""block_id"": 18,
""map_x_coordinate"": 55,
""map_y_coordinate"": 71,
""litter_reduction_score"": 91
},
{
""block_id"": 19,
""map_x_coordinate"": 98,
""map_y_coordinate"": 6,
""litter_reduction_score"": 74
},
{
""block_id"": 20,
""map_x_coordinate"": 75,
""map_y_coordinate"": 24,
""litter_reduction_score"": 82
},
{
""block_id"": 21,
""map_x_coordinate"": 88,
""map_y_coordinate"": 100,
""litter_reduction_score"": 69
},
{
""block_id"": 22,
""map_x_coordinate"": 67,
""map_y_coordinate"": 9,
""litter_reduction_score"": 84
},
{
""block_id"": 23,
""map_x_coordinate"": 67,
""map_y_coordinate"": 0,
""litter_reduction_score"": 6
},
{
""block_id"": 24,
""map_x_coordinate"": 41,
""map_y_coordinate"": 16,
""litter_reduction_score"": 51
},
{
""block_id"": 25,
""map_x_coordinate"": 78,
""map_y_coordinate"": 63,
""litter_reduction_score"": 51
},
{
""block_id"": 26,
""map_x_coordinate"": 100,
""map_y_coordinate"": 72,
""litter_reduction_score"": 68
},
{
""block_id"": 27,
""map_x_coordinate"": 56,
""map_y_coordinate"": 79,
""litter_reduction_score"": 19
},
{
""block_id"": 28,
""map_x_coordinate"": 82,
""map_y_coordinate"": 72,
""litter_reduction_score"": 20
},
{
""block_id"": 29,
""map_x_coordinate"": 78,
""map_y_coordinate"": 7,
""litter_reduction_score"": 55
}
],
""municipal_yard_id"": 0,
""max_mileage_per_crew"": 225.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': [[80, 70], [92, 5], [52, 59], [75, 78], [21, 67], [8, 30], [10, 9], [68, 62], [75, 26], [59, 63], [10, 23], [38, 56], [1, 3], [69, 61], [4, 69], [31, 45], [0, 91], [47, 40], [55, 71], [98, 6], [75, 24], [88, 100], [67, 9], [67, 0], [41, 16], [78, 63], [100, 72], [56, 79], [82, 72], [78, 7]], 'prizes': [0, 78, 63, 46, 31, 80, 97, 51, 64, 50, 13, 77, 23, 8, 81, 94, 15, 31, 91, 74, 82, 69, 84, 6, 51, 51, 68, 19, 20, 55], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 28, 26, 21, 3, 27, 18, 11, 15, 17, 2, 9, 7, 13, 25, 0], [0, 24, 22, 23, 29, 1, 19, 8, 20, 0]], 'total_route_length': 425.6357400341518, 'collected_prize': 1232.0, 'objective': 1232.0}","[[0, 28, 26, 21, 3, 27, 18, 11, 15, 17, 2, 9, 7, 13, 25, 0], [0, 24, 22, 23, 29, 1, 19, 8, 20, 0]]",1232.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 0, 'x': 80, 'y': 70, 'prize': 0}, {'id': 1, 'x': 92, 'y': 5, 'prize': 78}, {'id': 2, 'x': 52, 'y': 59, 'prize': 63}, {'id': 3, 'x': 75, 'y': 78, 'prize': 46}, {'id': 4, 'x': 21, 'y': 67, 'prize': 31}, {'id': 5, 'x': 8, 'y': 30, 'prize': 80}, {'id': 6, 'x': 10, 'y': 9, 'prize': 97}, {'id': 7, 'x': 68, 'y': 62, 'prize': 51}, {'id': 8, 'x': 75, 'y': 26, 'prize': 64}, {'id': 9, 'x': 59, 'y': 63, 'prize': 50}, {'id': 10, 'x': 10, 'y': 23, 'prize': 13}, {'id': 11, 'x': 38, 'y': 56, 'prize': 77}, {'id': 12, 'x': 1, 'y': 3, 'prize': 23}, {'id': 13, 'x': 69, 'y': 61, 'prize': 8}, {'id': 14, 'x': 4, 'y': 69, 'prize': 81}, {'id': 15, 'x': 31, 'y': 45, 'prize': 94}, {'id': 16, 'x': 0, 'y': 91, 'prize': 15}, {'id': 17, 'x': 47, 'y': 40, 'prize': 31}, {'id': 18, 'x': 55, 'y': 71, 'prize': 91}, {'id': 19, 'x': 98, 'y': 6, 'prize': 74}, {'id': 20, 'x': 75, 'y': 24, 'prize': 82}, {'id': 21, 'x': 88, 'y': 100, 'prize': 69}, {'id': 22, 'x': 67, 'y': 9, 'prize': 84}, {'id': 23, 'x': 67, 'y': 0, 'prize': 6}, {'id': 24, 'x': 41, 'y': 16, 'prize': 51}, {'id': 25, 'x': 78, 'y': 63, 'prize': 51}, {'id': 26, 'x': 100, 'y': 72, 'prize': 68}, {'id': 27, 'x': 56, 'y': 79, 'prize': 19}, {'id': 28, 'x': 82, 'y': 72, 'prize': 20}, {'id': 29, 'x': 78, 'y': 7, 'prize': 55}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 425.6357400341518, 'collected_prize': 1232.0, 'objective': 1232.0}","[[0, 28, 26, 21, 3, 27, 18, 11, 15, 17, 2, 9, 7, 13, 25, 0], [0, 24, 22, 23, 29, 1, 19, 8, 20, 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=25
# headquarters_location_id=A
# max_route_distance_per_representative=225.0
# n_representatives=2
location_id,x_coordinate,y_coordinate,subscription_revenue_potential
A,64,100,0
B,67,94,22
C,33,100,93
D,6,94,62
E,0,22,29
F,10,1,28
G,18,11,7
H,33,61,72
I,43,83,17
J,58,64,94
K,58,58,99
L,58,47,43
M,58,31,58
N,33,17,89
O,33,0,95
P,33,22,24
Q,40,19,27
R,70,22,83
S,79,19,8
T,79,8,28
U,100,47,38
V,97,42,33
W,82,47,17
X,67,53,41
Y,86,81,55
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': [[64, 100], [67, 94], [33, 100], [6, 94], [0, 22], [10, 1], [18, 11], [33, 61], [43, 83], [58, 64], [58, 58], [58, 47], [58, 31], [33, 17], [33, 0], [33, 22], [40, 19], [70, 22], [79, 19], [79, 8], [100, 47], [97, 42], [82, 47], [67, 53], [86, 81]], 'prizes': [0, 22, 93, 62, 29, 28, 7, 72, 17, 94, 99, 43, 58, 89, 95, 24, 27, 83, 8, 28, 38, 33, 17, 41, 55], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 23, 11, 16, 15, 13, 7, 8, 2, 0], [0, 9, 10, 12, 17, 18, 19, 21, 20, 24, 1, 0]], 'total_route_length': 438.488496715339, 'collected_prize': 924.0, 'objective': 924.0}","[[0, 23, 11, 16, 15, 13, 7, 8, 2, 0], [0, 9, 10, 12, 17, 18, 19, 21, 20, 24, 1, 0]]",924.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 'A', 'x': 64, 'y': 100, 'prize': 0}, {'id': 'B', 'x': 67, 'y': 94, 'prize': 22}, {'id': 'C', 'x': 33, 'y': 100, 'prize': 93}, {'id': 'D', 'x': 6, 'y': 94, 'prize': 62}, {'id': 'E', 'x': 0, 'y': 22, 'prize': 29}, {'id': 'F', 'x': 10, 'y': 1, 'prize': 28}, {'id': 'G', 'x': 18, 'y': 11, 'prize': 7}, {'id': 'H', 'x': 33, 'y': 61, 'prize': 72}, {'id': 'I', 'x': 43, 'y': 83, 'prize': 17}, {'id': 'J', 'x': 58, 'y': 64, 'prize': 94}, {'id': 'K', 'x': 58, 'y': 58, 'prize': 99}, {'id': 'L', 'x': 58, 'y': 47, 'prize': 43}, {'id': 'M', 'x': 58, 'y': 31, 'prize': 58}, {'id': 'N', 'x': 33, 'y': 17, 'prize': 89}, {'id': 'O', 'x': 33, 'y': 0, 'prize': 95}, {'id': 'P', 'x': 33, 'y': 22, 'prize': 24}, {'id': 'Q', 'x': 40, 'y': 19, 'prize': 27}, {'id': 'R', 'x': 70, 'y': 22, 'prize': 83}, {'id': 'S', 'x': 79, 'y': 19, 'prize': 8}, {'id': 'T', 'x': 79, 'y': 8, 'prize': 28}, {'id': 'U', 'x': 100, 'y': 47, 'prize': 38}, {'id': 'V', 'x': 97, 'y': 42, 'prize': 33}, {'id': 'W', 'x': 82, 'y': 47, 'prize': 17}, {'id': 'X', 'x': 67, 'y': 53, 'prize': 41}, {'id': 'Y', 'x': 86, 'y': 81, 'prize': 55}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 438.488496715339, 'collected_prize': 924.0, 'objective': 924.0}","[['A', 'X', 'L', 'Q', 'P', 'N', 'H', 'I', 'C', 'A'], ['A', 'J', 'K', 'M', 'R', 'S', 'T', 'V', 'U', 'Y', 'B', 'A']]",46,csv,names
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.
{
""total_locations_including_hub"": 23,
""nodes"": [
{
""location_id"": 1,
""x_coordinate"": 21,
""y_coordinate"": 83,
""installation_priority_score"": 0
},
{
""location_id"": 2,
""x_coordinate"": 71,
""y_coordinate"": 67,
""installation_priority_score"": 36
},
{
""location_id"": 3,
""x_coordinate"": 67,
""y_coordinate"": 81,
""installation_priority_score"": 73
},
{
""location_id"": 4,
""x_coordinate"": 79,
""y_coordinate"": 93,
""installation_priority_score"": 38
},
{
""location_id"": 5,
""x_coordinate"": 83,
""y_coordinate"": 93,
""installation_priority_score"": 60
},
{
""location_id"": 6,
""x_coordinate"": 85,
""y_coordinate"": 100,
""installation_priority_score"": 86
},
{
""location_id"": 7,
""x_coordinate"": 96,
""y_coordinate"": 100,
""installation_priority_score"": 58
},
{
""location_id"": 8,
""x_coordinate"": 100,
""y_coordinate"": 83,
""installation_priority_score"": 71
},
{
""location_id"": 9,
""x_coordinate"": 94,
""y_coordinate"": 31,
""installation_priority_score"": 34
},
{
""location_id"": 10,
""x_coordinate"": 52,
""y_coordinate"": 19,
""installation_priority_score"": 63
},
{
""location_id"": 11,
""x_coordinate"": 58,
""y_coordinate"": 17,
""installation_priority_score"": 14
},
{
""location_id"": 12,
""x_coordinate"": 58,
""y_coordinate"": 14,
""installation_priority_score"": 72
},
{
""location_id"": 13,
""x_coordinate"": 65,
""y_coordinate"": 48,
""installation_priority_score"": 45
},
{
""location_id"": 14,
""x_coordinate"": 44,
""y_coordinate"": 55,
""installation_priority_score"": 23
},
{
""location_id"": 15,
""x_coordinate"": 35,
""y_coordinate"": 40,
""installation_priority_score"": 14
},
{
""location_id"": 16,
""x_coordinate"": 25,
""y_coordinate"": 40,
""installation_priority_score"": 74
},
{
""location_id"": 17,
""x_coordinate"": 6,
""y_coordinate"": 0,
""installation_priority_score"": 80
},
{
""location_id"": 18,
""x_coordinate"": 4,
""y_coordinate"": 24,
""installation_priority_score"": 62
},
{
""location_id"": 19,
""x_coordinate"": 2,
""y_coordinate"": 50,
""installation_priority_score"": 21
},
{
""location_id"": 20,
""x_coordinate"": 2,
""y_coordinate"": 69,
""installation_priority_score"": 14
},
{
""location_id"": 21,
""x_coordinate"": 0,
""y_coordinate"": 86,
""installation_priority_score"": 75
},
{
""location_id"": 22,
""x_coordinate"": 13,
""y_coordinate"": 100,
""installation_priority_score"": 93
},
{
""location_id"": 23,
""x_coordinate"": 12,
""y_coordinate"": 95,
""installation_priority_score"": 11
}
],
""service_hub_id"": 1,
""max_trip_distance_per_technician"": 225.0,
""n_technicians_available"": 2
}
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': [[21, 83], [71, 67], [67, 81], [79, 93], [83, 93], [85, 100], [96, 100], [100, 83], [94, 31], [52, 19], [58, 17], [58, 14], [65, 48], [44, 55], [35, 40], [25, 40], [6, 0], [4, 24], [2, 50], [2, 69], [0, 86], [13, 100], [12, 95]], 'prizes': [0, 36, 73, 38, 60, 86, 58, 71, 34, 63, 14, 72, 45, 23, 14, 74, 80, 62, 21, 14, 75, 93, 11], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 13, 12, 1, 7, 6, 5, 3, 4, 2, 0], [0, 11, 10, 9, 14, 15, 18, 19, 20, 22, 21, 0]], 'total_route_length': 443.86619897549065, 'collected_prize': 941.0, 'objective': 941.0}","[[0, 13, 12, 1, 7, 6, 5, 3, 4, 2, 0], [0, 11, 10, 9, 14, 15, 18, 19, 20, 22, 21, 0]]",941.0,"{'problem_type': 'TOP', 'num_nodes': 23, 'nodes': [{'id': 1, 'x': 21, 'y': 83, 'prize': 0}, {'id': 2, 'x': 71, 'y': 67, 'prize': 36}, {'id': 3, 'x': 67, 'y': 81, 'prize': 73}, {'id': 4, 'x': 79, 'y': 93, 'prize': 38}, {'id': 5, 'x': 83, 'y': 93, 'prize': 60}, {'id': 6, 'x': 85, 'y': 100, 'prize': 86}, {'id': 7, 'x': 96, 'y': 100, 'prize': 58}, {'id': 8, 'x': 100, 'y': 83, 'prize': 71}, {'id': 9, 'x': 94, 'y': 31, 'prize': 34}, {'id': 10, 'x': 52, 'y': 19, 'prize': 63}, {'id': 11, 'x': 58, 'y': 17, 'prize': 14}, {'id': 12, 'x': 58, 'y': 14, 'prize': 72}, {'id': 13, 'x': 65, 'y': 48, 'prize': 45}, {'id': 14, 'x': 44, 'y': 55, 'prize': 23}, {'id': 15, 'x': 35, 'y': 40, 'prize': 14}, {'id': 16, 'x': 25, 'y': 40, 'prize': 74}, {'id': 17, 'x': 6, 'y': 0, 'prize': 80}, {'id': 18, 'x': 4, 'y': 24, 'prize': 62}, {'id': 19, 'x': 2, 'y': 50, 'prize': 21}, {'id': 20, 'x': 2, 'y': 69, 'prize': 14}, {'id': 21, 'x': 0, 'y': 86, 'prize': 75}, {'id': 22, 'x': 13, 'y': 100, 'prize': 93}, {'id': 23, 'x': 12, 'y': 95, 'prize': 11}], 'depot': 1, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 443.86619897549065, 'collected_prize': 941.0, 'objective': 941.0}","[[1, 14, 13, 2, 8, 7, 6, 4, 5, 3, 1], [1, 12, 11, 10, 15, 16, 19, 20, 21, 23, 22, 1]]",47,json,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.
Here are the 25 distinct map locations (the shelter is node 0); 2 volunteers will run routes that must each stay within 225.0 round-trip distance.
| location_node_id | x_coord | y_coord | estimated_meals |
|---|---|---|---|
| 0 | 44 | 65 | 0 |
| 1 | 20 | 97 | 7 |
| 2 | 87 | 59 | 12 |
| 3 | 57 | 99 | 43 |
| 4 | 69 | 75 | 53 |
| 5 | 23 | 25 | 14 |
| 6 | 65 | 45 | 74 |
| 7 | 65 | 92 | 61 |
| 8 | 5 | 93 | 45 |
| 9 | 9 | 22 | 3 |
| 10 | 38 | 50 | 52 |
| 11 | 23 | 35 | 55 |
| 12 | 58 | 35 | 69 |
| 13 | 75 | 0 | 87 |
| 14 | 40 | 18 | 26 |
| 15 | 0 | 20 | 19 |
| 16 | 14 | 39 | 57 |
| 17 | 80 | 54 | 27 |
| 18 | 76 | 62 | 19 |
| 19 | 46 | 74 | 75 |
| 20 | 6 | 61 | 12 |
| 21 | 13 | 16 | 24 |
| 22 | 100 | 100 | 29 |
| 23 | 23 | 10 | 69 |
| 24 | 8 | 0 | 95 |
Plan routes to maximize the total estimated meals while keeping every volunteer's round trip at or below 225.0 and visiting each donor at most once.
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': [[44, 65], [20, 97], [87, 59], [57, 99], [69, 75], [23, 25], [65, 45], [65, 92], [5, 93], [9, 22], [38, 50], [23, 35], [58, 35], [75, 0], [40, 18], [0, 20], [14, 39], [80, 54], [76, 62], [46, 74], [6, 61], [13, 16], [100, 100], [23, 10], [8, 0]], 'prizes': [0, 7, 12, 43, 53, 14, 74, 61, 45, 3, 52, 55, 69, 87, 26, 19, 57, 27, 19, 75, 12, 24, 29, 69, 95], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 12, 13, 14, 23, 24, 21, 5, 0], [0, 10, 11, 16, 6, 17, 2, 18, 4, 7, 3, 19, 0]], 'total_route_length': 439.0415204600521, 'collected_prize': 912.0, 'objective': 912.0}","[[0, 12, 13, 14, 23, 24, 21, 5, 0], [0, 10, 11, 16, 6, 17, 2, 18, 4, 7, 3, 19, 0]]",912.0,"{'problem_type': 'TOP', 'num_nodes': 25, 'nodes': [{'id': 0, 'x': 44, 'y': 65, 'prize': 0}, {'id': 1, 'x': 20, 'y': 97, 'prize': 7}, {'id': 2, 'x': 87, 'y': 59, 'prize': 12}, {'id': 3, 'x': 57, 'y': 99, 'prize': 43}, {'id': 4, 'x': 69, 'y': 75, 'prize': 53}, {'id': 5, 'x': 23, 'y': 25, 'prize': 14}, {'id': 6, 'x': 65, 'y': 45, 'prize': 74}, {'id': 7, 'x': 65, 'y': 92, 'prize': 61}, {'id': 8, 'x': 5, 'y': 93, 'prize': 45}, {'id': 9, 'x': 9, 'y': 22, 'prize': 3}, {'id': 10, 'x': 38, 'y': 50, 'prize': 52}, {'id': 11, 'x': 23, 'y': 35, 'prize': 55}, {'id': 12, 'x': 58, 'y': 35, 'prize': 69}, {'id': 13, 'x': 75, 'y': 0, 'prize': 87}, {'id': 14, 'x': 40, 'y': 18, 'prize': 26}, {'id': 15, 'x': 0, 'y': 20, 'prize': 19}, {'id': 16, 'x': 14, 'y': 39, 'prize': 57}, {'id': 17, 'x': 80, 'y': 54, 'prize': 27}, {'id': 18, 'x': 76, 'y': 62, 'prize': 19}, {'id': 19, 'x': 46, 'y': 74, 'prize': 75}, {'id': 20, 'x': 6, 'y': 61, 'prize': 12}, {'id': 21, 'x': 13, 'y': 16, 'prize': 24}, {'id': 22, 'x': 100, 'y': 100, 'prize': 29}, {'id': 23, 'x': 23, 'y': 10, 'prize': 69}, {'id': 24, 'x': 8, 'y': 0, 'prize': 95}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 439.0415204600521, 'collected_prize': 912.0, 'objective': 912.0}","[[0, 12, 13, 14, 23, 24, 21, 5, 0], [0, 10, 11, 16, 6, 17, 2, 18, 4, 7, 3, 19, 0]]",48,markdown_table,0
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.
There are 22 total locations (the office is node A); the coordinator has 2 volunteers, and no volunteer's round-trip may exceed 225.0.
| location_id | coord_x | coord_y | persuasion_score |
|---|---|---|---|
| A | 1 | 0 | 0 |
| B | 6 | 0 | 27 |
| C | 0 | 99 | 72 |
| D | 32 | 10 | 52 |
| E | 45 | 24 | 99 |
| F | 45 | 35 | 44 |
| G | 16 | 35 | 18 |
| H | 22 | 36 | 12 |
| I | 62 | 39 | 96 |
| J | 87 | 40 | 11 |
| K | 78 | 42 | 57 |
| L | 51 | 42 | 40 |
| M | 22 | 42 | 88 |
| N | 69 | 52 | 64 |
| O | 43 | 52 | 37 |
| P | 34 | 59 | 28 |
| Q | 49 | 63 | 7 |
| R | 43 | 82 | 63 |
| S | 25 | 84 | 67 |
| T | 31 | 89 | 44 |
| U | 21 | 92 | 44 |
| V | 100 | 100 | 9 |
Each house may be visited at most once, and every volunteer route must begin and end at node A.
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': [[1, 0], [6, 0], [0, 99], [32, 10], [45, 24], [45, 35], [16, 35], [22, 36], [62, 39], [87, 40], [78, 42], [51, 42], [22, 42], [69, 52], [43, 52], [34, 59], [49, 63], [43, 82], [25, 84], [31, 89], [21, 92], [100, 100]], 'prizes': [0, 27, 72, 52, 99, 44, 18, 12, 96, 11, 57, 40, 88, 64, 37, 28, 7, 63, 67, 44, 44, 9], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 7, 12, 15, 14, 10, 13, 8, 5, 1, 0], [0, 6, 18, 19, 17, 16, 11, 4, 3, 0]], 'total_route_length': 440.6460241058625, 'collected_prize': 843.0, 'objective': 843.0}","[[0, 7, 12, 15, 14, 10, 13, 8, 5, 1, 0], [0, 6, 18, 19, 17, 16, 11, 4, 3, 0]]",843.0,"{'problem_type': 'TOP', 'num_nodes': 22, 'nodes': [{'id': 'A', 'x': 1, 'y': 0, 'prize': 0}, {'id': 'B', 'x': 6, 'y': 0, 'prize': 27}, {'id': 'C', 'x': 0, 'y': 99, 'prize': 72}, {'id': 'D', 'x': 32, 'y': 10, 'prize': 52}, {'id': 'E', 'x': 45, 'y': 24, 'prize': 99}, {'id': 'F', 'x': 45, 'y': 35, 'prize': 44}, {'id': 'G', 'x': 16, 'y': 35, 'prize': 18}, {'id': 'H', 'x': 22, 'y': 36, 'prize': 12}, {'id': 'I', 'x': 62, 'y': 39, 'prize': 96}, {'id': 'J', 'x': 87, 'y': 40, 'prize': 11}, {'id': 'K', 'x': 78, 'y': 42, 'prize': 57}, {'id': 'L', 'x': 51, 'y': 42, 'prize': 40}, {'id': 'M', 'x': 22, 'y': 42, 'prize': 88}, {'id': 'N', 'x': 69, 'y': 52, 'prize': 64}, {'id': 'O', 'x': 43, 'y': 52, 'prize': 37}, {'id': 'P', 'x': 34, 'y': 59, 'prize': 28}, {'id': 'Q', 'x': 49, 'y': 63, 'prize': 7}, {'id': 'R', 'x': 43, 'y': 82, 'prize': 63}, {'id': 'S', 'x': 25, 'y': 84, 'prize': 67}, {'id': 'T', 'x': 31, 'y': 89, 'prize': 44}, {'id': 'U', 'x': 21, 'y': 92, 'prize': 44}, {'id': 'V', 'x': 100, 'y': 100, 'prize': 9}], 'depot': 'A', 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 440.6460241058625, 'collected_prize': 843.0, 'objective': 843.0}","[['A', 'H', 'M', 'P', 'O', 'K', 'N', 'I', 'F', 'B', 'A'], ['A', 'G', 'S', 'T', 'R', 'Q', 'L', 'E', 'D', 'A']]",49,markdown_table,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"": 30,
""nodes"": [
{
""spot_id"": 0,
""x_coord"": 100,
""y_coord"": 0,
""congestion_relief_value"": 0
},
{
""spot_id"": 1,
""x_coord"": 90,
""y_coord"": 3,
""congestion_relief_value"": 45
},
{
""spot_id"": 2,
""x_coord"": 86,
""y_coord"": 57,
""congestion_relief_value"": 73
},
{
""spot_id"": 3,
""x_coord"": 91,
""y_coord"": 88,
""congestion_relief_value"": 46
},
{
""spot_id"": 4,
""x_coord"": 82,
""y_coord"": 20,
""congestion_relief_value"": 80
},
{
""spot_id"": 5,
""x_coord"": 80,
""y_coord"": 61,
""congestion_relief_value"": 30
},
{
""spot_id"": 6,
""x_coord"": 74,
""y_coord"": 91,
""congestion_relief_value"": 92
},
{
""spot_id"": 7,
""x_coord"": 53,
""y_coord"": 56,
""congestion_relief_value"": 24
},
{
""spot_id"": 8,
""x_coord"": 58,
""y_coord"": 67,
""congestion_relief_value"": 40
},
{
""spot_id"": 9,
""x_coord"": 53,
""y_coord"": 81,
""congestion_relief_value"": 1
},
{
""spot_id"": 10,
""x_coord"": 57,
""y_coord"": 87,
""congestion_relief_value"": 74
},
{
""spot_id"": 11,
""x_coord"": 50,
""y_coord"": 21,
""congestion_relief_value"": 11
},
{
""spot_id"": 12,
""x_coord"": 40,
""y_coord"": 8,
""congestion_relief_value"": 76
},
{
""spot_id"": 13,
""x_coord"": 60,
""y_coord"": 41,
""congestion_relief_value"": 45
},
{
""spot_id"": 14,
""x_coord"": 53,
""y_coord"": 50,
""congestion_relief_value"": 36
},
{
""spot_id"": 15,
""x_coord"": 31,
""y_coord"": 52,
""congestion_relief_value"": 15
},
{
""spot_id"": 16,
""x_coord"": 45,
""y_coord"": 100,
""congestion_relief_value"": 86
},
{
""spot_id"": 17,
""x_coord"": 44,
""y_coord"": 60,
""congestion_relief_value"": 89
},
{
""spot_id"": 18,
""x_coord"": 38,
""y_coord"": 84,
""congestion_relief_value"": 56
},
{
""spot_id"": 19,
""x_coord"": 36,
""y_coord"": 56,
""congestion_relief_value"": 39
},
{
""spot_id"": 20,
""x_coord"": 20,
""y_coord"": 58,
""congestion_relief_value"": 81
},
{
""spot_id"": 21,
""x_coord"": 20,
""y_coord"": 78,
""congestion_relief_value"": 80
},
{
""spot_id"": 22,
""x_coord"": 2,
""y_coord"": 1,
""congestion_relief_value"": 1
},
{
""spot_id"": 23,
""x_coord"": 3,
""y_coord"": 21,
""congestion_relief_value"": 73
},
{
""spot_id"": 24,
""x_coord"": 16,
""y_coord"": 66,
""congestion_relief_value"": 78
},
{
""spot_id"": 25,
""x_coord"": 19,
""y_coord"": 92,
""congestion_relief_value"": 17
},
{
""spot_id"": 26,
""x_coord"": 11,
""y_coord"": 83,
""congestion_relief_value"": 31
},
{
""spot_id"": 27,
""x_coord"": 11,
""y_coord"": 88,
""congestion_relief_value"": 79
},
{
""spot_id"": 28,
""x_coord"": 6,
""y_coord"": 56,
""congestion_relief_value"": 44
},
{
""spot_id"": 29,
""x_coord"": 0,
""y_coord"": 73,
""congestion_relief_value"": 72
}
],
""depot_location_id"": 0,
""max_mileage_per_crew"": 225.0,
""n_crews"": 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': [[100, 0], [90, 3], [86, 57], [91, 88], [82, 20], [80, 61], [74, 91], [53, 56], [58, 67], [53, 81], [57, 87], [50, 21], [40, 8], [60, 41], [53, 50], [31, 52], [45, 100], [44, 60], [38, 84], [36, 56], [20, 58], [20, 78], [2, 1], [3, 21], [16, 66], [19, 92], [11, 83], [11, 88], [6, 56], [0, 73]], 'prizes': [0, 45, 73, 46, 80, 30, 92, 24, 40, 1, 74, 11, 76, 45, 36, 15, 86, 89, 56, 39, 81, 80, 1, 73, 78, 17, 31, 79, 44, 72], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'routes': [[0, 17, 19, 24, 20, 15, 1, 0], [0, 2, 5, 6, 10, 9, 8, 7, 14, 13, 4, 0]], 'total_route_length': 444.83345372088263, 'collected_prize': 842.0, 'objective': 842.0}","[[0, 17, 19, 24, 20, 15, 1, 0], [0, 2, 5, 6, 10, 9, 8, 7, 14, 13, 4, 0]]",842.0,"{'problem_type': 'TOP', 'num_nodes': 30, 'nodes': [{'id': 0, 'x': 100, 'y': 0, 'prize': 0}, {'id': 1, 'x': 90, 'y': 3, 'prize': 45}, {'id': 2, 'x': 86, 'y': 57, 'prize': 73}, {'id': 3, 'x': 91, 'y': 88, 'prize': 46}, {'id': 4, 'x': 82, 'y': 20, 'prize': 80}, {'id': 5, 'x': 80, 'y': 61, 'prize': 30}, {'id': 6, 'x': 74, 'y': 91, 'prize': 92}, {'id': 7, 'x': 53, 'y': 56, 'prize': 24}, {'id': 8, 'x': 58, 'y': 67, 'prize': 40}, {'id': 9, 'x': 53, 'y': 81, 'prize': 1}, {'id': 10, 'x': 57, 'y': 87, 'prize': 74}, {'id': 11, 'x': 50, 'y': 21, 'prize': 11}, {'id': 12, 'x': 40, 'y': 8, 'prize': 76}, {'id': 13, 'x': 60, 'y': 41, 'prize': 45}, {'id': 14, 'x': 53, 'y': 50, 'prize': 36}, {'id': 15, 'x': 31, 'y': 52, 'prize': 15}, {'id': 16, 'x': 45, 'y': 100, 'prize': 86}, {'id': 17, 'x': 44, 'y': 60, 'prize': 89}, {'id': 18, 'x': 38, 'y': 84, 'prize': 56}, {'id': 19, 'x': 36, 'y': 56, 'prize': 39}, {'id': 20, 'x': 20, 'y': 58, 'prize': 81}, {'id': 21, 'x': 20, 'y': 78, 'prize': 80}, {'id': 22, 'x': 2, 'y': 1, 'prize': 1}, {'id': 23, 'x': 3, 'y': 21, 'prize': 73}, {'id': 24, 'x': 16, 'y': 66, 'prize': 78}, {'id': 25, 'x': 19, 'y': 92, 'prize': 17}, {'id': 26, 'x': 11, 'y': 83, 'prize': 31}, {'id': 27, 'x': 11, 'y': 88, 'prize': 79}, {'id': 28, 'x': 6, 'y': 56, 'prize': 44}, {'id': 29, 'x': 0, 'y': 73, 'prize': 72}], 'depot': 0, 'max_length_per_vehicle': 225.0, 'n_vehicles': 2, 'total_route_length': 444.83345372088263, 'collected_prize': 842.0, 'objective': 842.0}","[[0, 17, 19, 24, 20, 15, 1, 0], [0, 2, 5, 6, 10, 9, 8, 7, 14, 13, 4, 0]]",50,json,0
|