File size: 263,407 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 | task_name,problem_type,instruction,instance,solution,obj,instance_variant,solution_variant,context_index,input_format,input_index_base
LOP,LOP,"Someone in the back office measured how each dish plays with every other: for any two different plates, thereβs a number saying how much better it is to serve A before B. The head chefβs job is to create a single tasting order that uses every plate exactly once and then add up those pairwise numbers according to that order. The better the sum, the smoother the tasting β so the plan is to find the order with the biggest combined harmony. The detailed menu and the pairwise numbers follow below.
# total_dishes=10
# dish_ids=A, B, C, D, E, F, G, H, I, J
# Meaning: this is a directed pairwise_harmony matrix over items in dish_ids (10 total). Entry at row preceding_dish_id=i and column following_dish_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_harmony
| preceding_dish_id\following_dish_id | A | B | C | D | E | F | G | H | I | J |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 0.0 | 7010.0 | 0.0 | 170.0 | 240.0 | 40.0 | 10.0 | 130.0 | 0.0 | 40.0 |
| B | 130.0 | 10.0 | 0.0 | 5660.0 | 220.0 | 10.0 | 0.0 | 10.0 | 0.0 | 0.0 |
| C | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| D | 740.0 | 0.0 | 0.0 | 20040.0 | 690.0 | 1095.0 | 0.0 | 120.0 | 2170.0 | 0.0 |
| E | 180.0 | 80.0 | 0.0 | 450.0 | 4100.0 | 150.0 | 50.0 | 540.0 | 10.0 | 20.0 |
| F | 0.0 | 0.0 | 0.0 | 10.0 | 0.0 | 450.0 | 0.0 | 0.0 | 20.0 | 0.0 |
| G | 0.0 | 0.0 | 0.0 | 0.0 | 180.0 | 0.0 | 1030.0 | 210.0 | 0.0 | 0.0 |
| H | 0.0 | 0.0 | 0.0 | 10.0 | 520.0 | 0.0 | 200.0 | 7000.0 | 0.0 | 0.0 |
| I | 0.0 | 10.0 | 0.0 | 4420.0 | 60.0 | 0.0 | 140.0 | 20.0 | 410.0 | 80.0 |
| J | 590.0 | 20.0 | 0.0 | 200.0 | 140.0 | 115.0 | 100.0 | 330.0 | 100.0 | 0.0 |
Also, when you send back the final tasting order, you can just use a simple JSON snippet like this so it's easy to read and parse:
{
""solution"": [<first_dish>, <second_dish>, ..., <last_dish>]
}
This just means ""solution"" is an ordered list of the plates from the one served first to the one served last β swap each placeholder with the actual plate identifier from the instance. It's just the expected shape, not the actual answer itself.
Please make sure to use the identifiers exactly as they appear in the instance input β no renaming and no 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"".","[[0.0, 7010.0, 0.0, 170.0, 240.0, 40.0, 10.0, 130.0, 0.0, 40.0], [130.0, 10.0, 0.0, 5660.0, 220.0, 10.0, 0.0, 10.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [740.0, 0.0, 0.0, 20040.0, 690.0, 1095.0, 0.0, 120.0, 2170.0, 0.0], [180.0, 80.0, 0.0, 450.0, 4100.0, 150.0, 50.0, 540.0, 10.0, 20.0], [0.0, 0.0, 0.0, 10.0, 0.0, 450.0, 0.0, 0.0, 20.0, 0.0], [0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 1030.0, 210.0, 0.0, 0.0], [0.0, 0.0, 0.0, 10.0, 520.0, 0.0, 200.0, 7000.0, 0.0, 0.0], [0.0, 10.0, 0.0, 4420.0, 60.0, 0.0, 140.0, 20.0, 410.0, 80.0], [590.0, 20.0, 0.0, 200.0, 140.0, 115.0, 100.0, 330.0, 100.0, 0.0]]","[9, 8, 0, 6, 1, 3, 4, 7, 5, 2]",22730.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 7010.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 170.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 240.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 40.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 10.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 130.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'J', 'weight': 40.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 130.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 5660.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 220.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 10.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 10.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 740.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 690.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 1095.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 120.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 2170.0}, {'from_id': 'D', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 180.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 80.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 450.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 150.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 50.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 540.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 10.0}, {'from_id': 'E', 'to_id': 'J', 'weight': 20.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 10.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 20.0}, {'from_id': 'F', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 180.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 210.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 10.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 520.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 200.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 10.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 4420.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 60.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 140.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 20.0}, {'from_id': 'I', 'to_id': 'J', 'weight': 80.0}, {'from_id': 'J', 'to_id': 'A', 'weight': 590.0}, {'from_id': 'J', 'to_id': 'B', 'weight': 20.0}, {'from_id': 'J', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'D', 'weight': 200.0}, {'from_id': 'J', 'to_id': 'E', 'weight': 140.0}, {'from_id': 'J', 'to_id': 'F', 'weight': 115.0}, {'from_id': 'J', 'to_id': 'G', 'weight': 100.0}, {'from_id': 'J', 'to_id': 'H', 'weight': 330.0}, {'from_id': 'J', 'to_id': 'I', 'weight': 100.0}]}","['J', 'I', 'A', 'G', 'B', 'D', 'E', 'H', 'F', 'C']",1,csv,names
LOP,LOP,"Imagine a DJ lining up a deck of tracks and being told each song must appear once in a single, uninterrupted set. For every two different songs thereβs a little energy value tied to playing one before the other, and the playlistβs magic comes from summing all those values for every ordered pair in the lineup. The challenge is to choose the order that makes that total sum as large as possible, with all songs included and no duplicates. The specific track names and the pairwise energy numbers are provided below.
# num_tracks=5
# track_ids=0, 1, 2, 3, 4
# Meaning: this is a directed energy_gain matrix over items in track_ids (5 total). Entry at row preceding_track_id=i and column following_track_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# energy_gain
| preceding_track_id\following_track_id | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 807.0 | 14.0 | 0.0 | 0.0 | 1.0 |
| 1 | 128.0 | 3078.0 | 0.0 | 0.0 | 20.0 |
| 2 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 4 | 1.0 | 5.0 | 0.0 | 0.0 | 0.0 |
When you send back the final ordering, toss it into a tiny JSON snippet like this β just a single ""solution"" key with the playlist listed from first to last:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of that ""solution"" array as the exact play order: the first entry is the opening track, the next is what follows, and so on until the last one. This JSON is just a sketch of the shape I want β not the real answer β so replace those placeholders with the actual track identifiers from the instance.
Please use the identifiers exactly as they appear in the 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β.","[[807.0, 14.0, 0.0, 0.0, 1.0], [128.0, 3078.0, 0.0, 0.0, 20.0], [0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0], [1.0, 5.0, 0.0, 0.0, 0.0]]","[1, 4, 3, 2, 0]",149.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [0, 1, 2, 3, 4], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 14.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 1.0}, {'from_id': 1, 'to_id': 0, 'weight': 128.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 20.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 1.0}, {'from_id': 4, 'to_id': 1, 'weight': 5.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}]}","[1, 4, 3, 2, 0]",2,csv,0
LOP,LOP,"Thereβs a presenter trying to make a one-shot run of slides that tells a smooth story, which means every slide must appear once and only once. For every two different slides thereβs a number that says how much clarity you get if one precedes the other, and the overall clarity of a particular lineup is just the sum of those numbers for every pair in that order β so the job is to find the lineup that makes that total as high as it can be. The exact slide items and their pairwise clarity values are listed below.
{
""total_slides"": 10,
""slide_ids"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F"",
""G"",
""H"",
""I"",
""J""
]
}
# Meaning: this is a directed pairwise_clarity_gain matrix over items in slide_ids (10 total). Entry at row preceding_slide_id=i and column following_slide_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_clarity_gain
| preceding_slide_id\following_slide_id | A | B | C | D | E | F | G | H | I | J |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 233.0 | 2.0 | 616.0 | 18.0 | 12.0 | 18.0 | 28.0 | 298.0 | 19.0 | 1432.0 |
| B | 9.0 | 75.0 | 18.0 | 2.0 | 0.0 | 2.0 | 1.0 | 14.0 | 13.0 | 25.0 |
| C | 3.0 | 10.0 | 1714.0 | 0.0 | 1.0 | 1.0 | 0.0 | 8.0 | 210.0 | 35.0 |
| D | 224.0 | 0.0 | 87.0 | 391.0 | 0.0 | 6.0 | 0.0 | 6.0 | 13.0 | 16.0 |
| E | 6.0 | 2.0 | 16.0 | 9.0 | 36.0 | 9.0 | 0.0 | 4.0 | 4.0 | 11.0 |
| F | 6.0 | 0.0 | 65.0 | 4.0 | 69.0 | 207.0 | 0.0 | 5.0 | 5.0 | 14.0 |
| G | 1508.0 | 0.0 | 4.0 | 5.0 | 1.0 | 0.0 | 21.0 | 2.0 | 23.0 | 9.0 |
| H | 136.0 | 797.0 | 797.0 | 44.0 | 407.0 | 319.0 | 0.0 | 993.0 | 122.0 | 213.0 |
| I | 0.0 | 0.0 | 307.0 | 3.0 | 2.0 | 5.0 | 0.0 | 19.0 | 512.0 | 83.0 |
| J | 678.0 | 0.0 | 39.0 | 36.0 | 12.0 | 23.0 | 22.0 | 60.0 | 16.0 | 2975.0 |
Oh, and when you give the final lineup, just drop it into a tiny JSON object like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
""solution"" is just the ordered list of slide identifiers from first to last β basically the sequence you want the presenter to run through. Consider this JSON a simple sketch of the shape I expect, not the actual ordering answer.
Please use the exact identifiers as they appear in the instance input β don't rename them or make up new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[233.0, 2.0, 616.0, 18.0, 12.0, 18.0, 28.0, 298.0, 19.0, 1432.0], [9.0, 75.0, 18.0, 2.0, 0.0, 2.0, 1.0, 14.0, 13.0, 25.0], [3.0, 10.0, 1714.0, 0.0, 1.0, 1.0, 0.0, 8.0, 210.0, 35.0], [224.0, 0.0, 87.0, 391.0, 0.0, 6.0, 0.0, 6.0, 13.0, 16.0], [6.0, 2.0, 16.0, 9.0, 36.0, 9.0, 0.0, 4.0, 4.0, 11.0], [6.0, 0.0, 65.0, 4.0, 69.0, 207.0, 0.0, 5.0, 5.0, 14.0], [1508.0, 0.0, 4.0, 5.0, 1.0, 0.0, 21.0, 2.0, 23.0, 9.0], [136.0, 797.0, 797.0, 44.0, 407.0, 319.0, 0.0, 993.0, 122.0, 213.0], [0.0, 0.0, 307.0, 3.0, 2.0, 5.0, 0.0, 19.0, 512.0, 83.0], [678.0, 0.0, 39.0, 36.0, 12.0, 23.0, 22.0, 60.0, 16.0, 2975.0]]","[6, 3, 0, 7, 1, 8, 9, 5, 4, 2]",7635.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 2.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 616.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 18.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 12.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 18.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 28.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 298.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 19.0}, {'from_id': 'A', 'to_id': 'J', 'weight': 1432.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 9.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 18.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 2.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 2.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 1.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 14.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 13.0}, {'from_id': 'B', 'to_id': 'J', 'weight': 25.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 3.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 10.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 1.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 1.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 8.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 210.0}, {'from_id': 'C', 'to_id': 'J', 'weight': 35.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 224.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 87.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 6.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 6.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 13.0}, {'from_id': 'D', 'to_id': 'J', 'weight': 16.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 6.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 2.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 16.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 9.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 9.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 4.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 4.0}, {'from_id': 'E', 'to_id': 'J', 'weight': 11.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 6.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 65.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 4.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 69.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 5.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 5.0}, {'from_id': 'F', 'to_id': 'J', 'weight': 14.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 1508.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 4.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 5.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 1.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 2.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 23.0}, {'from_id': 'G', 'to_id': 'J', 'weight': 9.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 136.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 797.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 797.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 44.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 407.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 319.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 122.0}, {'from_id': 'H', 'to_id': 'J', 'weight': 213.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 307.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 3.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 2.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 5.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 19.0}, {'from_id': 'I', 'to_id': 'J', 'weight': 83.0}, {'from_id': 'J', 'to_id': 'A', 'weight': 678.0}, {'from_id': 'J', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'C', 'weight': 39.0}, {'from_id': 'J', 'to_id': 'D', 'weight': 36.0}, {'from_id': 'J', 'to_id': 'E', 'weight': 12.0}, {'from_id': 'J', 'to_id': 'F', 'weight': 23.0}, {'from_id': 'J', 'to_id': 'G', 'weight': 22.0}, {'from_id': 'J', 'to_id': 'H', 'weight': 60.0}, {'from_id': 'J', 'to_id': 'I', 'weight': 16.0}]}","['G', 'D', 'A', 'H', 'B', 'I', 'J', 'F', 'E', 'C']",3,json,names
LOP,LOP,"Backstage at the museum the crew debated the running order, agreeing it should be one continuous route that lists each painting just once so the visitors donβt miss or see anything twice. Someone had already scored every possible pair with how much better it is to see one painting before another, and the total value of any order comes from adding those pairwise scores wherever the earlier painting precedes the later one. The preferable lineup is simply the one with the biggest total sum under that rule. The concrete details are shown below.
{
""total_paintings"": 7,
""painting_ids"": [
1,
2,
3,
4,
5,
6,
7
]
}
# Meaning: this is a directed continuity_gain matrix over items in painting_ids (7 total). Entry at row preceding_painting_id=i and column succeeding_painting_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# continuity_gain
| preceding_painting_id\succeeding_painting_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 2 | 0.0 | 2129.0 | 54.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 0.0 | 0.0 | 218.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 4 | 0.0 | 0.0 | 1.0 | 126.0 | 2.0 | 0.0 | 0.0 |
| 5 | 0.0 | 1.0 | 12.0 | 2.0 | 369.0 | 0.0 | 25.0 |
| 6 | 0.0 | 1.0 | 36.0 | 22.0 | 13.0 | 13.0 | 1.0 |
| 7 | 0.0 | 0.0 | 1.0 | 0.0 | 2.0 | 0.0 | 10.0 |
Oh, and before you send the final ordering, please put it into this little JSON shape so it's easy to read and process:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single, continuous route through the gallery β just list the paintings in order from the one visitors see first to the one they see last. This JSON is just a sketch of the shape I want, not the actual answer itself.
Please use the exact identifiers from the problem 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β.""","[[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 2129.0, 54.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 218.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 1.0, 126.0, 2.0, 0.0, 0.0], [0.0, 1.0, 12.0, 2.0, 369.0, 0.0, 25.0], [0.0, 1.0, 36.0, 22.0, 13.0, 13.0, 1.0], [0.0, 0.0, 1.0, 0.0, 2.0, 0.0, 10.0]]","[5, 4, 6, 3, 1, 2, 0]",169.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 54.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 1.0}, {'from_id': 4, 'to_id': 5, 'weight': 2.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 1.0}, {'from_id': 5, 'to_id': 3, 'weight': 12.0}, {'from_id': 5, 'to_id': 4, 'weight': 2.0}, {'from_id': 5, 'to_id': 6, 'weight': 0.0}, {'from_id': 5, 'to_id': 7, 'weight': 25.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 1.0}, {'from_id': 6, 'to_id': 3, 'weight': 36.0}, {'from_id': 6, 'to_id': 4, 'weight': 22.0}, {'from_id': 6, 'to_id': 5, 'weight': 13.0}, {'from_id': 6, 'to_id': 7, 'weight': 1.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 1.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 2.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[6, 5, 7, 4, 2, 3, 1]",4,json,1
LOP,LOP,"Imagine arranging a one-shot tour that starts and ends smoothly: every stop goes into the loop once and only once, and the order matters because each time one stop comes before another it adds a specific bit of extra interest. Score any proposed order by summing all those one-before-the-other interest amounts for every pair, and the order with the highest total is the one to use. The concrete pairwise interest details are shown below.
Imagine these 7 stops to place into the loop: 0, 1, 2, 3, 4, 5, 6.
Meaning: this is a directed interest_gain matrix over items in stop_ids (7 total). Entry at row from_stop=i and column to_stop=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
interest_gain:
| from_stop\to_stop | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| 0 | 169.0 | 0.0 | 9.0 | 7.0 | 2.0 | 2.0 | 11.0 |
| 1 | 4.0 | 2.0 | 0.0 | 2.0 | 0.0 | 0.0 | 1.0 |
| 2 | 4.0 | 0.0 | 202.0 | 11.0 | 10.0 | 3.0 | 5.0 |
| 3 | 1.0 | 0.0 | 1.0 | 98.0 | 5.0 | 13.0 | 14.0 |
| 4 | 2.0 | 0.0 | 0.0 | 9.0 | 638.0 | 3.0 | 9.0 |
| 5 | 28.0 | 0.0 | 2.0 | 27.0 | 12.0 | 27.0 | 207.0 |
| 6 | 10.0 | 0.0 | 6.0 | 21.0 | 2.0 | 62.0 | 568.0 |
Arrange them to maximize the total summed interest.
Also, when you send your final ordering back, please use this little JSON layout so everything's neat and easy to read:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the ordered list of stops for the tour. The array is read left-to-right: the first entry is where you start, and the last entry is where you finish. The angle-bracket placeholders are just showing the shape β replace them with the actual identifiers from the instance when you submit the real order.
This JSON block is only a sketch of the expected shape, not the actual answer β don't paste it verbatim as your solution.
Please make sure you use the exact identifiers from the instance input, with no renaming and no extra 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β.","[[169.0, 0.0, 9.0, 7.0, 2.0, 2.0, 11.0], [4.0, 2.0, 0.0, 2.0, 0.0, 0.0, 1.0], [4.0, 0.0, 202.0, 11.0, 10.0, 3.0, 5.0], [1.0, 0.0, 1.0, 98.0, 5.0, 13.0, 14.0], [2.0, 0.0, 0.0, 9.0, 638.0, 3.0, 9.0], [28.0, 0.0, 2.0, 27.0, 12.0, 27.0, 207.0], [10.0, 0.0, 6.0, 21.0, 2.0, 62.0, 568.0]]","[5, 1, 0, 2, 4, 6, 3]",377.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [0, 1, 2, 3, 4, 5, 6], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 9.0}, {'from_id': 0, 'to_id': 3, 'weight': 7.0}, {'from_id': 0, 'to_id': 4, 'weight': 2.0}, {'from_id': 0, 'to_id': 5, 'weight': 2.0}, {'from_id': 0, 'to_id': 6, 'weight': 11.0}, {'from_id': 1, 'to_id': 0, 'weight': 4.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 2.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 1.0}, {'from_id': 2, 'to_id': 0, 'weight': 4.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 11.0}, {'from_id': 2, 'to_id': 4, 'weight': 10.0}, {'from_id': 2, 'to_id': 5, 'weight': 3.0}, {'from_id': 2, 'to_id': 6, 'weight': 5.0}, {'from_id': 3, 'to_id': 0, 'weight': 1.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 1.0}, {'from_id': 3, 'to_id': 4, 'weight': 5.0}, {'from_id': 3, 'to_id': 5, 'weight': 13.0}, {'from_id': 3, 'to_id': 6, 'weight': 14.0}, {'from_id': 4, 'to_id': 0, 'weight': 2.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 9.0}, {'from_id': 4, 'to_id': 5, 'weight': 3.0}, {'from_id': 4, 'to_id': 6, 'weight': 9.0}, {'from_id': 5, 'to_id': 0, 'weight': 28.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 2.0}, {'from_id': 5, 'to_id': 3, 'weight': 27.0}, {'from_id': 5, 'to_id': 4, 'weight': 12.0}, {'from_id': 5, 'to_id': 6, 'weight': 207.0}, {'from_id': 6, 'to_id': 0, 'weight': 10.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 6.0}, {'from_id': 6, 'to_id': 3, 'weight': 21.0}, {'from_id': 6, 'to_id': 4, 'weight': 2.0}, {'from_id': 6, 'to_id': 5, 'weight': 62.0}]}","[5, 1, 0, 2, 4, 6, 3]",5,nl,0
LOP,LOP,"I was asked to put together a lineup of candidate interviews for a hiring round β everyone has to go once and only once, no skipping or repeats. For every pair of people thereβs a little piece of insight you get if one is interviewed before the other, and the plan is to order the whole list so that, when you look at each pair and take whichever βbeforeβ benefit applies, the total of those benefits is as big as it can be. The lineup itself is the decision: which candidate goes first, second, third, and so on. The actual candidate names and the pairwise insight numbers are shown below.
B) We have a stack of candidates to interview and the job is to make a single run-through where each person is seen exactly once β nobody appears twice and nobody is left out. Between any two candidates thereβs a known advantage to interviewing one before the other, and the trick is to pick an order so that, if you add up those pairwise advantages according to who comes earlier in your list, the sum is as high as possible. In short, choose the interview order that gives the biggest total comparative insight. The specific list of candidates and their pairwise values are given below.
C) Thereβs a hiring day coming up and the goal is to arrange the interviews into one clean sequence with every candidate interviewed one time only. For each pair of candidates someone already estimated how much more youβd learn if candidate A goes before candidate B, so the way to judge any ordering is to go through every pair and add the appropriate value for whoever is earlier. A better order is simply one that leads to a larger total when you add up those pairwise gains. The concrete candidate names and those pairwise numbers are shown below.
D) Someone in HR handed over a pile of profiles and a small table saying, for each pair, how much more clarity you get if person X is seen before person Y. The job is to make a single schedule where each candidate shows up exactly once, and then score that schedule by summing the pairwise benefits for every pair according to whoβs earlier. The aim is to pick the order that ends up with the highest total sum. The exact candidates and their pairwise insights are listed below.
E) Recently the hiring lead wanted a single interview run where everyone gets one turn β no repeats, no misses. Theyβd already rated every head-to-head ordering with a number that tells how much comparative learning you get if one candidate comes before another; to compare schedules you just add up the appropriate numbers for all pairs based on the order you chose. The better schedule is the one with the bigger total. The specific candidate list and pairwise numbers follow below.
F) Many teams face the same little puzzle: line up a set of applicants so each is interviewed exactly once, and use the known βif A is before Bβ benefits to judge the lineup. For every pair thereβs a number saying how much more useful it is to see one before the other, and you score a full schedule by summing those numbers for all pairs according to their positions. The best lineup is simply the one that gives the largest total sum. The actual candidates and the pairwise benefit values are shown below.
G) Back at the office the hiring coordinator scribbled down a rule: every candidate gets one interview, listed in one order, and for every pair thereβs a recorded benefit if one comes before the other. To pick the order you mentally go through each pair, pick the benefit that corresponds to whoever is earlier, and add all those numbers up β the order with the biggest total is the one to run with. The candidate names and the full table of pairwise numbers are provided below.
H) On a busy Monday the team needed a single-line interview schedule where nobody is repeated and nobody is left off the list. They also had a cheat-sheet that says, for each pair, how much comparative insight results from interviewing person A before person B; a schedule is evaluated by summing those pairwise values for all pairs according to whoβs earlier, and the schedule that yields the highest total sum is the one they want. The detailed list of candidates and the pairwise insight values appears below.
Here are the 5 candidates I must schedule: 0, 1, 2, 3, 4.
Meaning: this is a directed insight_gain matrix over items in candidate_ids (5 total). Entry at row candidate_before_id=i and column candidate_after_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
insight_gain:
| candidate_before_id\candidate_after_id | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 915.0 | 27.0 | 1.0 | 119.0 | 276.0 |
| 1 | 94.0 | 3757.0 | 38.0 | 130.0 | 1092.0 |
| 2 | 0.0 | 0.0 | 0.0 | 0.0 | 370.0 |
| 3 | 18.0 | 73.0 | 541.0 | 237.0 | 829.0 |
| 4 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
I'll choose the interview order that maximizes the total sum of these pairwise insight values.
If you want the result in a simple, machine-friendly form I can return it like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
The ""solution"" entry is just the interview lineup from first to last β put the candidate identifiers in that array in the order you want them to be interviewed. This JSON is only a sketch of the shape I'll use, not the actual answer itself.
Please make sure any 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β.""","[[915.0, 27.0, 1.0, 119.0, 276.0], [94.0, 3757.0, 38.0, 130.0, 1092.0], [0.0, 0.0, 0.0, 0.0, 370.0], [18.0, 73.0, 541.0, 237.0, 829.0], [0.0, 0.0, 0.0, 0.0, 0.0]]","[1, 0, 3, 2, 4]",3490.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [0, 1, 2, 3, 4], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 27.0}, {'from_id': 0, 'to_id': 2, 'weight': 1.0}, {'from_id': 0, 'to_id': 3, 'weight': 119.0}, {'from_id': 0, 'to_id': 4, 'weight': 276.0}, {'from_id': 1, 'to_id': 0, 'weight': 94.0}, {'from_id': 1, 'to_id': 2, 'weight': 38.0}, {'from_id': 1, 'to_id': 3, 'weight': 130.0}, {'from_id': 1, 'to_id': 4, 'weight': 1092.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 370.0}, {'from_id': 3, 'to_id': 0, 'weight': 18.0}, {'from_id': 3, 'to_id': 1, 'weight': 73.0}, {'from_id': 3, 'to_id': 2, 'weight': 541.0}, {'from_id': 3, 'to_id': 4, 'weight': 829.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}]}","[1, 0, 3, 2, 4]",6,nl,0
LOP,LOP,"Picture a small shop with a single long shelf that must show every product in a line, each item occupying one spot and only one. Between every two different products thereβs a known cross-sell value for putting one in front of the other, and the overall score for any lineup is just the sum of those values for all pairs in that order. The point is to pick the sequence that gives the highest total score from those pair values. Nothing can be left off the shelf or shown twice. The full item list and the pairwise scores are shown below.
There are 10 products that must appear exactly once, listed here: A, B, C, D, E, F, G, H, I, J.
Meaning: this is a directed cross_sell_value matrix over items in product_ids (10 total). Entry at row leading_product_id=i and column following_product_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
cross_sell_value:
| leading_product_id\following_product_id | A | B | C | D | E | F | G | H | I | J |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 0.0 | 19.0 | 0.0 | 13.0 | 6.0 | 0.0 | 1.0 | 0.0 | 1.0 | 0.0 |
| B | 50.0 | 4521.0 | 4.0 | 636.0 | 30.0 | 8.0 | 25.0 | 0.0 | 30.0 | 0.0 |
| C | 9.0 | 184.0 | 2773.0 | 253.0 | 0.0 | 1.0 | 54.0 | 0.0 | 12.0 | 0.0 |
| D | 78.0 | 2963.0 | 302.0 | 45165.0 | 458.0 | 37.0 | 357.0 | 0.0 | 34.0 | 0.0 |
| E | 7.0 | 120.0 | 3.0 | 97.0 | 1988.0 | 1.0 | 82.0 | 0.0 | 12.0 | 0.0 |
| F | 0.0 | 0.0 | 0.0 | 295.0 | 40.0 | 302.0 | 8.0 | 0.0 | 7.0 | 0.0 |
| G | 39.0 | 4.0 | 0.0 | 23.0 | 0.0 | 62.0 | 786.0 | 0.0 | 69.0 | 0.0 |
| H | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| I | 1198.0 | 2.0 | 3.0 | 12.0 | 0.0 | 0.0 | 49.0 | 0.0 | 5.0 | 0.0 |
| J | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
Find the order of the 10 products that maximizes the summed cross-sell values.
Also, when you send back the final lineup, just tuck it into this little JSON sketch so it's easy to read and parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" should be the ordered list of every product from left to right on the shelf β first entry is the leftmost product, last entry is the rightmost. Think of it like filling out a simple form: one list, all items once, in the order you want them displayed. This is just the shape I expect, not the actual answer.
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β.""","[[0.0, 19.0, 0.0, 13.0, 6.0, 0.0, 1.0, 0.0, 1.0, 0.0], [50.0, 4521.0, 4.0, 636.0, 30.0, 8.0, 25.0, 0.0, 30.0, 0.0], [9.0, 184.0, 2773.0, 253.0, 0.0, 1.0, 54.0, 0.0, 12.0, 0.0], [78.0, 2963.0, 302.0, 45165.0, 458.0, 37.0, 357.0, 0.0, 34.0, 0.0], [7.0, 120.0, 3.0, 97.0, 1988.0, 1.0, 82.0, 0.0, 12.0, 0.0], [0.0, 0.0, 0.0, 295.0, 40.0, 302.0, 8.0, 0.0, 7.0, 0.0], [39.0, 4.0, 0.0, 23.0, 0.0, 62.0, 786.0, 0.0, 69.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1198.0, 2.0, 3.0, 12.0, 0.0, 0.0, 49.0, 0.0, 5.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[9, 5, 3, 4, 2, 1, 6, 8, 7, 0]",6436.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 19.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 13.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 6.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 1.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 1.0}, {'from_id': 'A', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 50.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 4.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 636.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 30.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 8.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 25.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 30.0}, {'from_id': 'B', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 9.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 184.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 253.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 1.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 54.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 12.0}, {'from_id': 'C', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 78.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 2963.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 302.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 458.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 37.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 357.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 34.0}, {'from_id': 'D', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 7.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 120.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 3.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 97.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 1.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 82.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 12.0}, {'from_id': 'E', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 295.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 40.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 8.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 7.0}, {'from_id': 'F', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 39.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 4.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 23.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 62.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 69.0}, {'from_id': 'G', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 1198.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 2.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 3.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 12.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 49.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'I', 'weight': 0.0}]}","['J', 'F', 'D', 'E', 'C', 'B', 'G', 'I', 'H', 'A']",7,nl,names
LOP,LOP,"Recently the magazine experimented with ordering algorithms, but the human task is familiar: arrange all the articles into one sequence so every article shows up exactly once. Thereβs a number tied to every ordered pair that says how much engagement is gained when article A precedes article B, and a full ordering gets a score by adding up those numbers for all pairs that follow that order. The aim is to get the ordering with the biggest total, and the exact article list and pair scores are laid out below.
{
""total_articles"": 8,
""article_ids"": [
1,
2,
3,
4,
5,
6,
7,
8
]
}
# Meaning: this is a directed engagement_gain matrix over items in article_ids (8 total). Entry at row preceding_article=i and column following_article=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# engagement_gain
| preceding_article\following_article | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 1 | 103.0 | 136.0 | 2.0 | 9.0 | 8.0 | 17.0 | 33.0 | 11.0 |
| 2 | 36.0 | 5051.0 | 111.0 | 0.0 | 114.0 | 193.0 | 650.0 | 26.0 |
| 3 | 0.0 | 163.0 | 348.0 | 0.0 | 9.0 | 11.0 | 31.0 | 5.0 |
| 4 | 22.0 | 65.0 | 4.0 | 60.0 | 140.0 | 11.0 | 18.0 | 3.0 |
| 5 | 267.0 | 676.0 | 52.0 | 5.0 | 4643.0 | 131.0 | 683.0 | 17.0 |
| 6 | 5.0 | 109.0 | 69.0 | 0.0 | 53.0 | 3715.0 | 481.0 | 15.0 |
| 7 | 147.0 | 455.0 | 397.0 | 14.0 | 379.0 | 2530.0 | 6115.0 | 81.0 |
| 8 | 689.0 | 1006.0 | 33.0 | 3.0 | 541.0 | 37.0 | 1398.0 | 863.0 |
When you're ready, just drop the final ordering into a tiny JSON snippet like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is simply the list of articles in the order you want them to appear, from first to last. The angle-bracket bits are just placeholders showing the shape β replace them with the real article identifiers from the instance input when you answer. This JSON is only a sketch of the expected shape, not the actual ordering itself.
Please be sure to use the exact identifiers as they appear in the 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β.""","[[103.0, 136.0, 2.0, 9.0, 8.0, 17.0, 33.0, 11.0], [36.0, 5051.0, 111.0, 0.0, 114.0, 193.0, 650.0, 26.0], [0.0, 163.0, 348.0, 0.0, 9.0, 11.0, 31.0, 5.0], [22.0, 65.0, 4.0, 60.0, 140.0, 11.0, 18.0, 3.0], [267.0, 676.0, 52.0, 5.0, 4643.0, 131.0, 683.0, 17.0], [5.0, 109.0, 69.0, 0.0, 53.0, 3715.0, 481.0, 15.0], [147.0, 455.0, 397.0, 14.0, 379.0, 2530.0, 6115.0, 81.0], [689.0, 1006.0, 33.0, 3.0, 541.0, 37.0, 1398.0, 863.0]]","[7, 3, 4, 1, 6, 0, 5, 2]",9928.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': [1, 2, 3, 4, 5, 6, 7, 8], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 136.0}, {'from_id': 1, 'to_id': 3, 'weight': 2.0}, {'from_id': 1, 'to_id': 4, 'weight': 9.0}, {'from_id': 1, 'to_id': 5, 'weight': 8.0}, {'from_id': 1, 'to_id': 6, 'weight': 17.0}, {'from_id': 1, 'to_id': 7, 'weight': 33.0}, {'from_id': 1, 'to_id': 8, 'weight': 11.0}, {'from_id': 2, 'to_id': 1, 'weight': 36.0}, {'from_id': 2, 'to_id': 3, 'weight': 111.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 114.0}, {'from_id': 2, 'to_id': 6, 'weight': 193.0}, {'from_id': 2, 'to_id': 7, 'weight': 650.0}, {'from_id': 2, 'to_id': 8, 'weight': 26.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 163.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 9.0}, {'from_id': 3, 'to_id': 6, 'weight': 11.0}, {'from_id': 3, 'to_id': 7, 'weight': 31.0}, {'from_id': 3, 'to_id': 8, 'weight': 5.0}, {'from_id': 4, 'to_id': 1, 'weight': 22.0}, {'from_id': 4, 'to_id': 2, 'weight': 65.0}, {'from_id': 4, 'to_id': 3, 'weight': 4.0}, {'from_id': 4, 'to_id': 5, 'weight': 140.0}, {'from_id': 4, 'to_id': 6, 'weight': 11.0}, {'from_id': 4, 'to_id': 7, 'weight': 18.0}, {'from_id': 4, 'to_id': 8, 'weight': 3.0}, {'from_id': 5, 'to_id': 1, 'weight': 267.0}, {'from_id': 5, 'to_id': 2, 'weight': 676.0}, {'from_id': 5, 'to_id': 3, 'weight': 52.0}, {'from_id': 5, 'to_id': 4, 'weight': 5.0}, {'from_id': 5, 'to_id': 6, 'weight': 131.0}, {'from_id': 5, 'to_id': 7, 'weight': 683.0}, {'from_id': 5, 'to_id': 8, 'weight': 17.0}, {'from_id': 6, 'to_id': 1, 'weight': 5.0}, {'from_id': 6, 'to_id': 2, 'weight': 109.0}, {'from_id': 6, 'to_id': 3, 'weight': 69.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 53.0}, {'from_id': 6, 'to_id': 7, 'weight': 481.0}, {'from_id': 6, 'to_id': 8, 'weight': 15.0}, {'from_id': 7, 'to_id': 1, 'weight': 147.0}, {'from_id': 7, 'to_id': 2, 'weight': 455.0}, {'from_id': 7, 'to_id': 3, 'weight': 397.0}, {'from_id': 7, 'to_id': 4, 'weight': 14.0}, {'from_id': 7, 'to_id': 5, 'weight': 379.0}, {'from_id': 7, 'to_id': 6, 'weight': 2530.0}, {'from_id': 7, 'to_id': 8, 'weight': 81.0}, {'from_id': 8, 'to_id': 1, 'weight': 689.0}, {'from_id': 8, 'to_id': 2, 'weight': 1006.0}, {'from_id': 8, 'to_id': 3, 'weight': 33.0}, {'from_id': 8, 'to_id': 4, 'weight': 3.0}, {'from_id': 8, 'to_id': 5, 'weight': 541.0}, {'from_id': 8, 'to_id': 6, 'weight': 37.0}, {'from_id': 8, 'to_id': 7, 'weight': 1398.0}]}","[8, 4, 5, 2, 7, 1, 6, 3]",8,json,1
LOP,LOP,"I remember juggling a similar reception order where the secret was how one speech set up the next; some combinations lit up the room and others didnβt. The task now is to arrange all the speeches in a single sequence, using each speaker one time, so that the sum of those pairwise emotional lifts is as high as possible. The measurement is straightforward: tally each transitionβs contribution and total them. The full list of speakers and the transition details are provided below.
I'll be arranging 10 speeches β 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 β into that single sequence.
Meaning: this is a directed emotional_lift matrix over items in speaker_ids (10 total). Entry at row preceding_speaker_id=i and column following_speaker_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
emotional_lift:
| preceding_speaker_id\following_speaker_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 678.0 | 0.0 | 18.0 | 19.0 | 9.0 | 0.0 | 10.0 | 20.0 | 144.0 | 401.0 |
| 1 | 54.0 | 16.0 | 3.0 | 1.0 | 30.0 | 0.0 | 0.0 | 5.0 | 11.0 | 56.0 |
| 2 | 418.0 | 84.0 | 45165.0 | 37.0 | 163.0 | 6.0 | 10.0 | 22.0 | 1010.0 | 1146.0 |
| 3 | 18.0 | 4.0 | 295.0 | 302.0 | 31.0 | 0.0 | 0.0 | 0.0 | 10.0 | 63.0 |
| 4 | 214.0 | 67.0 | 285.0 | 18.0 | 5348.0 | 7.0 | 3.0 | 11.0 | 201.0 | 868.0 |
| 5 | 80.0 | 0.0 | 30.0 | 5.0 | 35.0 | 764.0 | 2.0 | 3.0 | 17.0 | 137.0 |
| 6 | 290.0 | 0.0 | 2.0 | 16.0 | 29.0 | 4.0 | 9315.0 | 25.0 | 169.0 | 921.0 |
| 7 | 954.0 | 463.0 | 3306.0 | 3.0 | 6977.0 | 28.0 | 13.0 | 275.0 | 405.0 | 1909.0 |
| 8 | 337.0 | 4.0 | 341.0 | 3.0 | 32.0 | 26.0 | 0.0 | 189.0 | 12.0 | 26.0 |
| 9 | 1550.0 | 0.0 | 123.0 | 10.0 | 73.0 | 28.0 | 69.0 | 203.0 | 40.0 | 729.0 |
I'll tally these contributions to pick the sequence with the highest total emotional lift.
Oh, and when you hand me the final ordering, please follow this simple JSON layout so it's easy to read and parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is just the single ordered list of speakers (from the one who goes first to the one who goes last). The angle-bracket names show the slots where each actual speaker identifier goes β think of it like the blanks on a form. This is just a sketch of the expected shape, not the actual final answer.
Please make sure you 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"".","[[678.0, 0.0, 18.0, 19.0, 9.0, 0.0, 10.0, 20.0, 144.0, 401.0], [54.0, 16.0, 3.0, 1.0, 30.0, 0.0, 0.0, 5.0, 11.0, 56.0], [418.0, 84.0, 45165.0, 37.0, 163.0, 6.0, 10.0, 22.0, 1010.0, 1146.0], [18.0, 4.0, 295.0, 302.0, 31.0, 0.0, 0.0, 0.0, 10.0, 63.0], [214.0, 67.0, 285.0, 18.0, 5348.0, 7.0, 3.0, 11.0, 201.0, 868.0], [80.0, 0.0, 30.0, 5.0, 35.0, 764.0, 2.0, 3.0, 17.0, 137.0], [290.0, 0.0, 2.0, 16.0, 29.0, 4.0, 9315.0, 25.0, 169.0, 921.0], [954.0, 463.0, 3306.0, 3.0, 6977.0, 28.0, 13.0, 275.0, 405.0, 1909.0], [337.0, 4.0, 341.0, 3.0, 32.0, 26.0, 0.0, 189.0, 12.0, 26.0], [1550.0, 0.0, 123.0, 10.0, 73.0, 28.0, 69.0, 203.0, 40.0, 729.0]]","[6, 7, 5, 3, 4, 2, 1, 9, 8, 0]",22567.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 18.0}, {'from_id': 0, 'to_id': 3, 'weight': 19.0}, {'from_id': 0, 'to_id': 4, 'weight': 9.0}, {'from_id': 0, 'to_id': 5, 'weight': 0.0}, {'from_id': 0, 'to_id': 6, 'weight': 10.0}, {'from_id': 0, 'to_id': 7, 'weight': 20.0}, {'from_id': 0, 'to_id': 8, 'weight': 144.0}, {'from_id': 0, 'to_id': 9, 'weight': 401.0}, {'from_id': 1, 'to_id': 0, 'weight': 54.0}, {'from_id': 1, 'to_id': 2, 'weight': 3.0}, {'from_id': 1, 'to_id': 3, 'weight': 1.0}, {'from_id': 1, 'to_id': 4, 'weight': 30.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 5.0}, {'from_id': 1, 'to_id': 8, 'weight': 11.0}, {'from_id': 1, 'to_id': 9, 'weight': 56.0}, {'from_id': 2, 'to_id': 0, 'weight': 418.0}, {'from_id': 2, 'to_id': 1, 'weight': 84.0}, {'from_id': 2, 'to_id': 3, 'weight': 37.0}, {'from_id': 2, 'to_id': 4, 'weight': 163.0}, {'from_id': 2, 'to_id': 5, 'weight': 6.0}, {'from_id': 2, 'to_id': 6, 'weight': 10.0}, {'from_id': 2, 'to_id': 7, 'weight': 22.0}, {'from_id': 2, 'to_id': 8, 'weight': 1010.0}, {'from_id': 2, 'to_id': 9, 'weight': 1146.0}, {'from_id': 3, 'to_id': 0, 'weight': 18.0}, {'from_id': 3, 'to_id': 1, 'weight': 4.0}, {'from_id': 3, 'to_id': 2, 'weight': 295.0}, {'from_id': 3, 'to_id': 4, 'weight': 31.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 8, 'weight': 10.0}, {'from_id': 3, 'to_id': 9, 'weight': 63.0}, {'from_id': 4, 'to_id': 0, 'weight': 214.0}, {'from_id': 4, 'to_id': 1, 'weight': 67.0}, {'from_id': 4, 'to_id': 2, 'weight': 285.0}, {'from_id': 4, 'to_id': 3, 'weight': 18.0}, {'from_id': 4, 'to_id': 5, 'weight': 7.0}, {'from_id': 4, 'to_id': 6, 'weight': 3.0}, {'from_id': 4, 'to_id': 7, 'weight': 11.0}, {'from_id': 4, 'to_id': 8, 'weight': 201.0}, {'from_id': 4, 'to_id': 9, 'weight': 868.0}, {'from_id': 5, 'to_id': 0, 'weight': 80.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 30.0}, {'from_id': 5, 'to_id': 3, 'weight': 5.0}, {'from_id': 5, 'to_id': 4, 'weight': 35.0}, {'from_id': 5, 'to_id': 6, 'weight': 2.0}, {'from_id': 5, 'to_id': 7, 'weight': 3.0}, {'from_id': 5, 'to_id': 8, 'weight': 17.0}, {'from_id': 5, 'to_id': 9, 'weight': 137.0}, {'from_id': 6, 'to_id': 0, 'weight': 290.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 2.0}, {'from_id': 6, 'to_id': 3, 'weight': 16.0}, {'from_id': 6, 'to_id': 4, 'weight': 29.0}, {'from_id': 6, 'to_id': 5, 'weight': 4.0}, {'from_id': 6, 'to_id': 7, 'weight': 25.0}, {'from_id': 6, 'to_id': 8, 'weight': 169.0}, {'from_id': 6, 'to_id': 9, 'weight': 921.0}, {'from_id': 7, 'to_id': 0, 'weight': 954.0}, {'from_id': 7, 'to_id': 1, 'weight': 463.0}, {'from_id': 7, 'to_id': 2, 'weight': 3306.0}, {'from_id': 7, 'to_id': 3, 'weight': 3.0}, {'from_id': 7, 'to_id': 4, 'weight': 6977.0}, {'from_id': 7, 'to_id': 5, 'weight': 28.0}, {'from_id': 7, 'to_id': 6, 'weight': 13.0}, {'from_id': 7, 'to_id': 8, 'weight': 405.0}, {'from_id': 7, 'to_id': 9, 'weight': 1909.0}, {'from_id': 8, 'to_id': 0, 'weight': 337.0}, {'from_id': 8, 'to_id': 1, 'weight': 4.0}, {'from_id': 8, 'to_id': 2, 'weight': 341.0}, {'from_id': 8, 'to_id': 3, 'weight': 3.0}, {'from_id': 8, 'to_id': 4, 'weight': 32.0}, {'from_id': 8, 'to_id': 5, 'weight': 26.0}, {'from_id': 8, 'to_id': 6, 'weight': 0.0}, {'from_id': 8, 'to_id': 7, 'weight': 189.0}, {'from_id': 8, 'to_id': 9, 'weight': 26.0}, {'from_id': 9, 'to_id': 0, 'weight': 1550.0}, {'from_id': 9, 'to_id': 1, 'weight': 0.0}, {'from_id': 9, 'to_id': 2, 'weight': 123.0}, {'from_id': 9, 'to_id': 3, 'weight': 10.0}, {'from_id': 9, 'to_id': 4, 'weight': 73.0}, {'from_id': 9, 'to_id': 5, 'weight': 28.0}, {'from_id': 9, 'to_id': 6, 'weight': 69.0}, {'from_id': 9, 'to_id': 7, 'weight': 203.0}, {'from_id': 9, 'to_id': 8, 'weight': 40.0}]}","[6, 7, 5, 3, 4, 2, 1, 9, 8, 0]",9,nl,0
LOP,LOP,"Back when the team experimented with segment order, they noticed a pattern: for any two distinct pieces, placing A before B gives a measurable retention gain (those gains are recorded). The constraint is straightforward β every piece must appear exactly once in the final lineup, no repeats, no omissions β and the episodeβs success is measured by adding up the gains for all ordered pairs that occur in the chosen sequence. The aim is to pick the sequence with the highest total. The specific segment names and pairwise gains follow below.
{
""segments_count"": 6,
""segments_list"": [
0,
1,
2,
3,
4,
5
]
}
# Meaning: this is a directed pairwise_retention_gain matrix over items in segments_list (6 total). Entry at row preceding_segment_id=i and column following_segment_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_retention_gain
| preceding_segment_id\following_segment_id | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| 0 | 1318.0 | 1138.0 | 528.0 | 76.0 | 335.0 | 33.0 |
| 1 | 103.0 | 451.0 | 110.0 | 285.0 | 378.0 | 75.0 |
| 2 | 55.0 | 109.0 | 5778.0 | 952.0 | 579.0 | 61.0 |
| 3 | 96.0 | 99.0 | 2260.0 | 7051.0 | 919.0 | 224.0 |
| 4 | 156.0 | 17.0 | 692.0 | 501.0 | 15016.0 | 1041.0 |
| 5 | 533.0 | 296.0 | 1130.0 | 1475.0 | 25418.0 | 72890.0 |
When youβre ready to send back the chosen lineup, just use this simple JSON shape so itβs easy to read:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
This means ""solution"" holds the final sequence from the piece that plays first to the one that plays last β just list the segment identifiers in order. Think of it like filling out a quick form: one array, ordered exactly how you want the episode to flow. This JSON is only a sketch of the expected shape, not the actual answer.
Please use the identifiers exactly as they appear in the instance input β donβt rename them or add new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[1318.0, 1138.0, 528.0, 76.0, 335.0, 33.0], [103.0, 451.0, 110.0, 285.0, 378.0, 75.0], [55.0, 109.0, 5778.0, 952.0, 579.0, 61.0], [96.0, 99.0, 2260.0, 7051.0, 919.0, 224.0], [156.0, 17.0, 692.0, 501.0, 15016.0, 1041.0], [533.0, 296.0, 1130.0, 1475.0, 25418.0, 72890.0]]","[5, 0, 1, 3, 4, 2]",35573.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': [0, 1, 2, 3, 4, 5], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 1138.0}, {'from_id': 0, 'to_id': 2, 'weight': 528.0}, {'from_id': 0, 'to_id': 3, 'weight': 76.0}, {'from_id': 0, 'to_id': 4, 'weight': 335.0}, {'from_id': 0, 'to_id': 5, 'weight': 33.0}, {'from_id': 1, 'to_id': 0, 'weight': 103.0}, {'from_id': 1, 'to_id': 2, 'weight': 110.0}, {'from_id': 1, 'to_id': 3, 'weight': 285.0}, {'from_id': 1, 'to_id': 4, 'weight': 378.0}, {'from_id': 1, 'to_id': 5, 'weight': 75.0}, {'from_id': 2, 'to_id': 0, 'weight': 55.0}, {'from_id': 2, 'to_id': 1, 'weight': 109.0}, {'from_id': 2, 'to_id': 3, 'weight': 952.0}, {'from_id': 2, 'to_id': 4, 'weight': 579.0}, {'from_id': 2, 'to_id': 5, 'weight': 61.0}, {'from_id': 3, 'to_id': 0, 'weight': 96.0}, {'from_id': 3, 'to_id': 1, 'weight': 99.0}, {'from_id': 3, 'to_id': 2, 'weight': 2260.0}, {'from_id': 3, 'to_id': 4, 'weight': 919.0}, {'from_id': 3, 'to_id': 5, 'weight': 224.0}, {'from_id': 4, 'to_id': 0, 'weight': 156.0}, {'from_id': 4, 'to_id': 1, 'weight': 17.0}, {'from_id': 4, 'to_id': 2, 'weight': 692.0}, {'from_id': 4, 'to_id': 3, 'weight': 501.0}, {'from_id': 4, 'to_id': 5, 'weight': 1041.0}, {'from_id': 5, 'to_id': 0, 'weight': 533.0}, {'from_id': 5, 'to_id': 1, 'weight': 296.0}, {'from_id': 5, 'to_id': 2, 'weight': 1130.0}, {'from_id': 5, 'to_id': 3, 'weight': 1475.0}, {'from_id': 5, 'to_id': 4, 'weight': 25418.0}]}","[5, 0, 1, 3, 4, 2]",10,json,0
LOP,LOP,"We found ourselves sorting through a set of class modules and needed to decide a single teaching order that uses each module exactly one time. Between every two modules thereβs a benefit value that applies only if the first module comes before the second, so the overall effectiveness is just the sum of all those chosen-before benefits across every pair. The trick is picking the lineup that makes that sum as large as it can be, while making sure no topic is left out or taught twice. The concrete topic names and the benefit numbers appear below.
We list 7 topics: 1, 2, 3, 4, 5, 6, 7.
Meaning: this is a directed pair_learning_gain matrix over items in topic_identifiers (7 total). Entry at row earlier_topic_id=i and column later_topic_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
pair_learning_gain:
| earlier_topic_id\later_topic_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 20300.0 | 3800.0 | 32000.0 | 5500.0 | 1700.0 | 238100.0 | 0.0 |
| 2 | 2500.0 | 204800.0 | 900.0 | 200.0 | 1200.0 | 0.0 | 0.0 |
| 3 | 1100.0 | 600.0 | 1983000.0 | 13500.0 | 2000.0 | 1000.0 | 0.0 |
| 4 | 1600.0 | 200.0 | 28400.0 | 16700.0 | 2000.0 | 800.0 | 0.0 |
| 5 | 1500.0 | 500.0 | 4400.0 | 1000.0 | 315700.0 | 2600.0 | 0.0 |
| 6 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
We'll use those pairwise benefits to find the single order that maximizes the total learning gain.
When you send back the chosen lineup, just use this simple JSON shape so it's easy to read and parse:
{
""solution"": [<first_module>, <second_module>, ..., <last_module>]
}
Here ""solution"" is just a list that shows the teaching order from the very first module to the very last one β each module appears exactly once. The angle-bracket items are placeholders showing the shape I expect; think of them like blanks on a form you fill in with the real module identifiers. This JSON is only a sketch of the expected shape, not the actual answer.
Please make sure you use the exact identifiers from the instance input β do not rename them or invent new labels.
For example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[20300.0, 3800.0, 32000.0, 5500.0, 1700.0, 238100.0, 0.0], [2500.0, 204800.0, 900.0, 200.0, 1200.0, 0.0, 0.0], [1100.0, 600.0, 1983000.0, 13500.0, 2000.0, 1000.0, 0.0], [1600.0, 200.0, 28400.0, 16700.0, 2000.0, 800.0, 0.0], [1500.0, 500.0, 4400.0, 1000.0, 315700.0, 2600.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[6, 0, 3, 1, 4, 2, 5]",322600.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 3800.0}, {'from_id': 1, 'to_id': 3, 'weight': 32000.0}, {'from_id': 1, 'to_id': 4, 'weight': 5500.0}, {'from_id': 1, 'to_id': 5, 'weight': 1700.0}, {'from_id': 1, 'to_id': 6, 'weight': 238100.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 2500.0}, {'from_id': 2, 'to_id': 3, 'weight': 900.0}, {'from_id': 2, 'to_id': 4, 'weight': 200.0}, {'from_id': 2, 'to_id': 5, 'weight': 1200.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 1100.0}, {'from_id': 3, 'to_id': 2, 'weight': 600.0}, {'from_id': 3, 'to_id': 4, 'weight': 13500.0}, {'from_id': 3, 'to_id': 5, 'weight': 2000.0}, {'from_id': 3, 'to_id': 6, 'weight': 1000.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 1600.0}, {'from_id': 4, 'to_id': 2, 'weight': 200.0}, {'from_id': 4, 'to_id': 3, 'weight': 28400.0}, {'from_id': 4, 'to_id': 5, 'weight': 2000.0}, {'from_id': 4, 'to_id': 6, 'weight': 800.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 1500.0}, {'from_id': 5, 'to_id': 2, 'weight': 500.0}, {'from_id': 5, 'to_id': 3, 'weight': 4400.0}, {'from_id': 5, 'to_id': 4, 'weight': 1000.0}, {'from_id': 5, 'to_id': 6, 'weight': 2600.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 0.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 0.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[7, 1, 4, 2, 5, 3, 6]",11,nl,1
LOP,LOP,"Picture this: the festival has one continuous short-film set and every possible head-to-head of films has a little preference score for which should come first. The job is to arrange every short exactly once into a single sequence, and then total all the scores for each pair where the first film is placed before the second β that total tells how well the sequence works for the audience. The full list of films and those pairwise scores is shown below.
# num_films=10
# film_ids=A, B, C, D, E, F, G, H, I, J
# Meaning: this is a directed pairwise_audience_score matrix over items in film_ids (10 total). Entry at row preceding_film_id=i and column succeeding_film_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_audience_score
| preceding_film_id\succeeding_film_id | A | B | C | D | E | F | G | H | I | J |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 8969643.0 | 78425.0 | 28402.0 | 880794.0 | 106331.0 | 156583.0 | 48236.0 | 275856.0 | 13681.0 | 35882.0 |
| B | 54120.0 | 1390184.0 | 4175.0 | 0.0 | 9546.0 | 0.0 | 0.0 | 180.0 | 0.0 | 42612.0 |
| C | 28905.0 | 16237.0 | 35012.0 | 1366.0 | 276.0 | 0.0 | 0.0 | 0.0 | 0.0 | 33709.0 |
| D | 1200845.0 | 118129.0 | 145031.0 | 6486809.0 | 67850.0 | 75361.0 | 422483.0 | 1101716.0 | 165565.0 | 102573.0 |
| E | 26538.0 | 7914.0 | 2925.0 | 11138.0 | 352910.0 | 15723.0 | 21725.0 | 19769.0 | 9831.0 | 20555.0 |
| F | 159311.0 | 36571.0 | 26363.0 | 339586.0 | 8728.0 | 86024.0 | 79932.0 | 211566.0 | 14774.0 | 4135.0 |
| G | 127576.0 | 26982.0 | 17338.0 | 87065.0 | 13250.0 | 98637.0 | 13039466.0 | 114899.0 | 12961.0 | 13923.0 |
| H | 1017761.0 | 83942.0 | 97608.0 | 538317.0 | 63879.0 | 190967.0 | 2680558.0 | 1502778.0 | 118554.0 | 77837.0 |
| I | 101381.0 | 1372.0 | 1009.0 | 12069.0 | 802.0 | 826.0 | 30084.0 | 14982.0 | 6267.0 | 546.0 |
| J | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 552.0 | 0.0 | 0.0 | 0.0 | 0.0 |
When you're ready to give the film order back, just pop it into this little JSON layout so it's easy to read and parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is the single list that shows the screening order from the very first short to the very last one. The angle-bracket placeholders are just showing where each film's identifier goes β replace each placeholder with the exact film ID from the instance. This is only a sketch of the shape I want, not the actual answer itself.
Please use the identifiers exactly as they appear in the instance input β don't rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[8969643.0, 78425.0, 28402.0, 880794.0, 106331.0, 156583.0, 48236.0, 275856.0, 13681.0, 35882.0], [54120.0, 1390184.0, 4175.0, 0.0, 9546.0, 0.0, 0.0, 180.0, 0.0, 42612.0], [28905.0, 16237.0, 35012.0, 1366.0, 276.0, 0.0, 0.0, 0.0, 0.0, 33709.0], [1200845.0, 118129.0, 145031.0, 6486809.0, 67850.0, 75361.0, 422483.0, 1101716.0, 165565.0, 102573.0], [26538.0, 7914.0, 2925.0, 11138.0, 352910.0, 15723.0, 21725.0, 19769.0, 9831.0, 20555.0], [159311.0, 36571.0, 26363.0, 339586.0, 8728.0, 86024.0, 79932.0, 211566.0, 14774.0, 4135.0], [127576.0, 26982.0, 17338.0, 87065.0, 13250.0, 98637.0, 13039466.0, 114899.0, 12961.0, 13923.0], [1017761.0, 83942.0, 97608.0, 538317.0, 63879.0, 190967.0, 2680558.0, 1502778.0, 118554.0, 77837.0], [101381.0, 1372.0, 1009.0, 12069.0, 802.0, 826.0, 30084.0, 14982.0, 6267.0, 546.0], [0.0, 0.0, 0.0, 0.0, 0.0, 552.0, 0.0, 0.0, 0.0, 0.0]]","[5, 3, 7, 8, 6, 0, 4, 2, 1, 9]",9052552.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 78425.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 28402.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 880794.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 106331.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 156583.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 48236.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 275856.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 13681.0}, {'from_id': 'A', 'to_id': 'J', 'weight': 35882.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 54120.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 4175.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 9546.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 180.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'J', 'weight': 42612.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 28905.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 16237.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 1366.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 276.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'J', 'weight': 33709.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 1200845.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 118129.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 145031.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 67850.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 75361.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 422483.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 1101716.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 165565.0}, {'from_id': 'D', 'to_id': 'J', 'weight': 102573.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 26538.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 7914.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 2925.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 11138.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 15723.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 21725.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 19769.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 9831.0}, {'from_id': 'E', 'to_id': 'J', 'weight': 20555.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 159311.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 36571.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 26363.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 339586.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 8728.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 79932.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 211566.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 14774.0}, {'from_id': 'F', 'to_id': 'J', 'weight': 4135.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 127576.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 26982.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 17338.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 87065.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 13250.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 98637.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 114899.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 12961.0}, {'from_id': 'G', 'to_id': 'J', 'weight': 13923.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 1017761.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 83942.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 97608.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 538317.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 63879.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 190967.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 2680558.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 118554.0}, {'from_id': 'H', 'to_id': 'J', 'weight': 77837.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 101381.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 1372.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 1009.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 12069.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 802.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 826.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 30084.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 14982.0}, {'from_id': 'I', 'to_id': 'J', 'weight': 546.0}, {'from_id': 'J', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'F', 'weight': 552.0}, {'from_id': 'J', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'I', 'weight': 0.0}]}","['F', 'D', 'H', 'I', 'G', 'A', 'E', 'C', 'B', 'J']",12,csv,names
LOP,LOP,"Iβm putting together a single announcement that lists every new feature, and the trick is choosing the order. The plan is to list each feature once, no repeats, so that when a feature appears before another it can give a certain adoption lift β those lifts are different for each pair. The aim is to pick the sequence that makes the total adoption lift as big as it can be, by adding up the lift values for every pair where the earlier feature boosts the later one. The concrete numbers and details will be shown below.
{
""total_features_count"": 6,
""feature_identifiers"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F""
]
}
# Meaning: this is a directed adoption_lift_value matrix over items in feature_identifiers (6 total). Entry at row preceding_feature_id=i and column succeeding_feature_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# adoption_lift_value
| preceding_feature_id\succeeding_feature_id | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| A | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| B | 0.0 | 0.0 | 280.0 | 822.0 | 6.0 | 0.0 |
| C | 0.0 | 6.0 | 16.0 | 5.0 | 2.0 | 15.0 |
| D | 0.0 | 11.0 | 81.0 | 62.0 | 41.0 | 1622.0 |
| E | 0.0 | 6.0 | 122.0 | 29.0 | 152.0 | 82.0 |
| F | 2.0 | 25.0 | 97.0 | 49.0 | 12.0 | 142.0 |
When youβre ready to send back the ordering, please use this simple JSON shape so everythingβs easy to parse and check:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
""solution"" is just the list of features in the exact order you want them announced. The angle-bracket names are placeholders showing where each real feature identifier should go β think of it like filling in a form rather than writing a paragraph. This block is only a sketch of the expected shape, not the actual answer.
Please make sure to use the exact identifiers from the instance input β donβt rename them or invent new labels. 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β.","[[0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 280.0, 822.0, 6.0, 0.0], [0.0, 6.0, 16.0, 5.0, 2.0, 15.0], [0.0, 11.0, 81.0, 62.0, 41.0, 1622.0], [0.0, 6.0, 122.0, 29.0, 152.0, 82.0], [2.0, 25.0, 97.0, 49.0, 12.0, 142.0]]","[1, 3, 4, 5, 2, 0]",3155.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 280.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 822.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 6.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 6.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 5.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 2.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 15.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 11.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 81.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 41.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 1622.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 6.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 122.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 29.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 82.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 2.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 25.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 97.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 49.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 12.0}]}","['B', 'D', 'E', 'F', 'C', 'A']",13,json,names
LOP,LOP,"Recently the test kitchen handed over a stack of recipes and the editorβs job became arranging them into one smooth chapter. Each time Recipe A precedes Recipe B thereβs a known bit of extra menu-compatibility, and the chapterβs quality is just the sum of all those bits across every ordered pair β the goal is to make that sum as large as possible. Nothing can be left out or slotted in twice, and the concrete details follow below.
{
""total_recipes"": 9,
""recipe_ids"": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
}
# Meaning: this is a directed compatibility_gain matrix over items in recipe_ids (9 total). Entry at row prior_recipe_id=i and column subsequent_recipe_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# compatibility_gain
| prior_recipe_id\subsequent_recipe_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 11954.0 | 148.0 | 1.0 | 72.0 | 23.0 | 4566.0 | 79.0 | 1447.0 | 1092.0 |
| 2 | 0.0 | 901.0 | 3.0 | 144.0 | 5.0 | 0.0 | 0.0 | 24.0 | 171.0 |
| 3 | 0.0 | 0.0 | 302.0 | 31.0 | 1.0 | 0.0 | 0.0 | 10.0 | 63.0 |
| 4 | 3.0 | 98.0 | 18.0 | 5348.0 | 446.0 | 3.0 | 9.0 | 580.0 | 868.0 |
| 5 | 166.0 | 0.0 | 5.0 | 78.0 | 5401.0 | 3.0 | 4.0 | 113.0 | 323.0 |
| 6 | 3721.0 | 260.0 | 16.0 | 29.0 | 24.0 | 9315.0 | 253.0 | 603.0 | 921.0 |
| 7 | 859.0 | 384.0 | 11.0 | 32.0 | 29.0 | 759.0 | 1964.0 | 109.0 | 289.0 |
| 8 | 29.0 | 1.0 | 211.0 | 43.0 | 172.0 | 54.0 | 235.0 | 750.0 | 151.0 |
| 9 | 8.0 | 0.0 | 10.0 | 73.0 | 26.0 | 69.0 | 45.0 | 268.0 | 729.0 |
When you hand back the chapter order, a simple JSON reply is perfect β just a single list that runs from the first recipe to the last. Hereβs the shape Iβm expecting:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the ordered list of recipes in the chapter, from the one that should appear first through to the one that should appear last. This JSON is just a sketch of the shape I want you to follow, not the actual answer itself.
Please make sure to use the exact identifiers from the instance input β no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[11954.0, 148.0, 1.0, 72.0, 23.0, 4566.0, 79.0, 1447.0, 1092.0], [0.0, 901.0, 3.0, 144.0, 5.0, 0.0, 0.0, 24.0, 171.0], [0.0, 0.0, 302.0, 31.0, 1.0, 0.0, 0.0, 10.0, 63.0], [3.0, 98.0, 18.0, 5348.0, 446.0, 3.0, 9.0, 580.0, 868.0], [166.0, 0.0, 5.0, 78.0, 5401.0, 3.0, 4.0, 113.0, 323.0], [3721.0, 260.0, 16.0, 29.0, 24.0, 9315.0, 253.0, 603.0, 921.0], [859.0, 384.0, 11.0, 32.0, 29.0, 759.0, 1964.0, 109.0, 289.0], [29.0, 1.0, 211.0, 43.0, 172.0, 54.0, 235.0, 750.0, 151.0], [8.0, 0.0, 10.0, 73.0, 26.0, 69.0, 45.0, 268.0, 729.0]]","[6, 0, 5, 1, 3, 4, 8, 7, 2]",14863.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': [1, 2, 3, 4, 5, 6, 7, 8, 9], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 148.0}, {'from_id': 1, 'to_id': 3, 'weight': 1.0}, {'from_id': 1, 'to_id': 4, 'weight': 72.0}, {'from_id': 1, 'to_id': 5, 'weight': 23.0}, {'from_id': 1, 'to_id': 6, 'weight': 4566.0}, {'from_id': 1, 'to_id': 7, 'weight': 79.0}, {'from_id': 1, 'to_id': 8, 'weight': 1447.0}, {'from_id': 1, 'to_id': 9, 'weight': 1092.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 3.0}, {'from_id': 2, 'to_id': 4, 'weight': 144.0}, {'from_id': 2, 'to_id': 5, 'weight': 5.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 8, 'weight': 24.0}, {'from_id': 2, 'to_id': 9, 'weight': 171.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 31.0}, {'from_id': 3, 'to_id': 5, 'weight': 1.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 8, 'weight': 10.0}, {'from_id': 3, 'to_id': 9, 'weight': 63.0}, {'from_id': 4, 'to_id': 1, 'weight': 3.0}, {'from_id': 4, 'to_id': 2, 'weight': 98.0}, {'from_id': 4, 'to_id': 3, 'weight': 18.0}, {'from_id': 4, 'to_id': 5, 'weight': 446.0}, {'from_id': 4, 'to_id': 6, 'weight': 3.0}, {'from_id': 4, 'to_id': 7, 'weight': 9.0}, {'from_id': 4, 'to_id': 8, 'weight': 580.0}, {'from_id': 4, 'to_id': 9, 'weight': 868.0}, {'from_id': 5, 'to_id': 1, 'weight': 166.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 5.0}, {'from_id': 5, 'to_id': 4, 'weight': 78.0}, {'from_id': 5, 'to_id': 6, 'weight': 3.0}, {'from_id': 5, 'to_id': 7, 'weight': 4.0}, {'from_id': 5, 'to_id': 8, 'weight': 113.0}, {'from_id': 5, 'to_id': 9, 'weight': 323.0}, {'from_id': 6, 'to_id': 1, 'weight': 3721.0}, {'from_id': 6, 'to_id': 2, 'weight': 260.0}, {'from_id': 6, 'to_id': 3, 'weight': 16.0}, {'from_id': 6, 'to_id': 4, 'weight': 29.0}, {'from_id': 6, 'to_id': 5, 'weight': 24.0}, {'from_id': 6, 'to_id': 7, 'weight': 253.0}, {'from_id': 6, 'to_id': 8, 'weight': 603.0}, {'from_id': 6, 'to_id': 9, 'weight': 921.0}, {'from_id': 7, 'to_id': 1, 'weight': 859.0}, {'from_id': 7, 'to_id': 2, 'weight': 384.0}, {'from_id': 7, 'to_id': 3, 'weight': 11.0}, {'from_id': 7, 'to_id': 4, 'weight': 32.0}, {'from_id': 7, 'to_id': 5, 'weight': 29.0}, {'from_id': 7, 'to_id': 6, 'weight': 759.0}, {'from_id': 7, 'to_id': 8, 'weight': 109.0}, {'from_id': 7, 'to_id': 9, 'weight': 289.0}, {'from_id': 8, 'to_id': 1, 'weight': 29.0}, {'from_id': 8, 'to_id': 2, 'weight': 1.0}, {'from_id': 8, 'to_id': 3, 'weight': 211.0}, {'from_id': 8, 'to_id': 4, 'weight': 43.0}, {'from_id': 8, 'to_id': 5, 'weight': 172.0}, {'from_id': 8, 'to_id': 6, 'weight': 54.0}, {'from_id': 8, 'to_id': 7, 'weight': 235.0}, {'from_id': 8, 'to_id': 9, 'weight': 151.0}, {'from_id': 9, 'to_id': 1, 'weight': 8.0}, {'from_id': 9, 'to_id': 2, 'weight': 0.0}, {'from_id': 9, 'to_id': 3, 'weight': 10.0}, {'from_id': 9, 'to_id': 4, 'weight': 73.0}, {'from_id': 9, 'to_id': 5, 'weight': 26.0}, {'from_id': 9, 'to_id': 6, 'weight': 69.0}, {'from_id': 9, 'to_id': 7, 'weight': 45.0}, {'from_id': 9, 'to_id': 8, 'weight': 268.0}]}","[7, 1, 6, 2, 4, 5, 9, 8, 3]",14,json,1
LOP,LOP,"Thereβs a tiny pressure-cooker moment before a show where the order of looks gets locked inβevery dress has to appear once, no repeats, no skips. For every possible pair of different looks, putting one before the other changes the showβs momentum by a certain amount, and those changes are known ahead of time. The aim is to pick the single lineup so that, if you tally up the effect from every ordered pair (every time an outfit appears before another), the sum is as large as it can be. The exact outfits and those pairwise values are presented below.
{
""total_outfits"": 5,
""outfit_ids"": [
1,
2,
3,
4,
5
]
}
# Meaning: this is a directed visual_impact_delta matrix over items in outfit_ids (5 total). Entry at row preceding_outfit_id=i and column following_outfit_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# visual_impact_delta
| preceding_outfit_id\following_outfit_id | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| 1 | 22.0 | 0.0 | 0.0 | 0.0 | 12.0 |
| 2 | 0.0 | 716.0 | 0.0 | 7.0 | 101.0 |
| 3 | 0.0 | 0.0 | 90.0 | 1.0 | 9.0 |
| 4 | 0.0 | 0.0 | 0.0 | 201.0 | 33.0 |
| 5 | 0.0 | 130.0 | 106.0 | 11.0 | 7051.0 |
If you want to hand me the final lineup in a neat, machine-friendly way, a tiny JSON snippet works nicely. Just follow this shape:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the full run order: the first placeholder is the very first look on the runway, the second is the one after that, and so on down to the last. This block is just a sketch of the shape I expect β you'll replace those placeholders with the actual outfit identifiers from the instance when you send the 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β.","[[22.0, 0.0, 0.0, 0.0, 12.0], [0.0, 716.0, 0.0, 7.0, 101.0], [0.0, 0.0, 90.0, 1.0, 9.0], [0.0, 0.0, 0.0, 201.0, 33.0], [0.0, 130.0, 106.0, 11.0, 7051.0]]","[3, 0, 4, 2, 1]",281.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [1, 2, 3, 4, 5], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 12.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 7.0}, {'from_id': 2, 'to_id': 5, 'weight': 101.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 1.0}, {'from_id': 3, 'to_id': 5, 'weight': 9.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 33.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 130.0}, {'from_id': 5, 'to_id': 3, 'weight': 106.0}, {'from_id': 5, 'to_id': 4, 'weight': 11.0}]}","[4, 1, 5, 3, 2]",15,json,1
LOP,LOP,"On a busy conference morning the schedule has to be set so each panel appears once and only once, and the lineup is judged by how well earlier panels help later ones hold the audience. For each possible pair thereβs a number saying how much audience retention improves when that specific session comes first, and the best lineup is the one with the highest total when all those pairwise numbers are added together. The concrete list of sessions and their pairwise retention values are shown below.
# num_sessions=8
# session_ids=0, 1, 2, 3, 4, 5, 6, 7
# Meaning: this is a directed retention_gain matrix over items in session_ids (8 total). Entry at row preceding_session_id=i and column following_session_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# retention_gain
| preceding_session_id\following_session_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| 0 | 47845.0 | 817.0 | 0.0 | 274152.0 | 25522.0 | 128.0 | 8352.0 | 0.0 |
| 1 | 4605.0 | 285765.0 | 21374.0 | 833.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 2 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | 0.0 | 0.0 |
| 3 | 4646.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 4 | 0.0 | 0.0 | 0.0 | 0.0 | 8657.0 | 0.0 | 0.0 | 0.0 |
| 5 | 13.0 | 1384.0 | 0.0 | 0.0 | 0.0 | 0.0 | 1729.0 | 0.0 |
| 6 | 16973.0 | 5142.0 | 566.0 | 1458.0 | 2836.0 | 1791.0 | 1292.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
When youβre ready to give the final lineup, just use this simple JSON shape so itβs easy to check and plug in:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single ordered list of sessions from the one you want first to the one you want last. Each entry in that list should be the exact session identifier from the instance (not a description, not a new nickname) β itβs just a straight sequence of the session IDs in the order you prefer. This JSON is just a sketch of the shape Iβm expecting, not the actual answer itself.
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β.""","[[47845.0, 817.0, 0.0, 274152.0, 25522.0, 128.0, 8352.0, 0.0], [4605.0, 285765.0, 21374.0, 833.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 100.0, 0.0, 0.0], [4646.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 8657.0, 0.0, 0.0, 0.0], [13.0, 1384.0, 0.0, 0.0, 0.0, 0.0, 1729.0, 0.0], [16973.0, 5142.0, 566.0, 1458.0, 2836.0, 1791.0, 1292.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[7, 6, 5, 1, 0, 4, 3, 2]",356649.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 817.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 274152.0}, {'from_id': 0, 'to_id': 4, 'weight': 25522.0}, {'from_id': 0, 'to_id': 5, 'weight': 128.0}, {'from_id': 0, 'to_id': 6, 'weight': 8352.0}, {'from_id': 0, 'to_id': 7, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 4605.0}, {'from_id': 1, 'to_id': 2, 'weight': 21374.0}, {'from_id': 1, 'to_id': 3, 'weight': 833.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 100.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 4646.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 13.0}, {'from_id': 5, 'to_id': 1, 'weight': 1384.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 0.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 1729.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 0, 'weight': 16973.0}, {'from_id': 6, 'to_id': 1, 'weight': 5142.0}, {'from_id': 6, 'to_id': 2, 'weight': 566.0}, {'from_id': 6, 'to_id': 3, 'weight': 1458.0}, {'from_id': 6, 'to_id': 4, 'weight': 2836.0}, {'from_id': 6, 'to_id': 5, 'weight': 1791.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 7, 'to_id': 0, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[7, 6, 5, 1, 0, 4, 3, 2]",16,csv,0
LOP,LOP,"Recently the team had to stitch together one continuous presentation from a pile of product pitches, and the rule was simple: every product gets exactly one spot, nothing left out, nothing repeated. Each time a product precedes another thereβs a known persuasion boost for that ordering, and the whole show is judged by adding up all those boosts β the goal is to make that total as big as it can be. The detailed product names and their pairwise boosts are listed below.
There are 9 product pitches (A, B, C, D, E, F, G, H, I), each to be placed exactly once in the final presentation.
Meaning: this is a directed persuasion_boost matrix over items in product_ids (9 total). Entry at row preceding_product=i and column succeeding_product=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
persuasion_boost:
| preceding_product\succeeding_product | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| A | 11831.0 | 388.0 | 9.0 | 10215.0 | 553.0 | 0.0 | 2.0 | 0.0 | 249.0 |
| B | 43.0 | 928.0 | 42.0 | 50.0 | 45.0 | 0.0 | 38.0 | 18.0 | 64.0 |
| C | 1015.0 | 96.0 | 2097.0 | 527.0 | 476.0 | 33.0 | 12.0 | 0.0 | 0.0 |
| D | 188.0 | 0.0 | 63.0 | 31426.0 | 100.0 | 0.0 | 14.0 | 0.0 | 81.0 |
| E | 59.0 | 45.0 | 275.0 | 690.0 | 10760.0 | 78.0 | 186.0 | 528.0 | 127.0 |
| F | 0.0 | 0.0 | 88.0 | 142.0 | 0.0 | 10.0 | 0.0 | 90.0 | 0.0 |
| G | 6.0 | 72.0 | 158.0 | 355.0 | 376.0 | 187.0 | 91.0 | 562.0 | 319.0 |
| H | 145.0 | 243.0 | 59.0 | 171.0 | 120.0 | 462.0 | 7.0 | 15896.0 | 25.0 |
| I | 555.0 | 90.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 23.0 | 0.0 |
The team's goal is to order these 9 pitches to maximize the total persuasion boost.
If you want to hand your final order back in a tidy way, just drop it into this little JSON shape so it's easy to read and parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single, ordered playlist β from the very first pitch to the one that closes the show. Each placeholder in the array stands for one of the items (use the exact item labels from the instance). This JSON is just the expected shape β a sketch of how Iβd like to receive the ordering, not the actual answer itself.
Please use the exact identifiers from the 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β.""","[[11831.0, 388.0, 9.0, 10215.0, 553.0, 0.0, 2.0, 0.0, 249.0], [43.0, 928.0, 42.0, 50.0, 45.0, 0.0, 38.0, 18.0, 64.0], [1015.0, 96.0, 2097.0, 527.0, 476.0, 33.0, 12.0, 0.0, 0.0], [188.0, 0.0, 63.0, 31426.0, 100.0, 0.0, 14.0, 0.0, 81.0], [59.0, 45.0, 275.0, 690.0, 10760.0, 78.0, 186.0, 528.0, 127.0], [0.0, 0.0, 88.0, 142.0, 0.0, 10.0, 0.0, 90.0, 0.0], [6.0, 72.0, 158.0, 355.0, 376.0, 187.0, 91.0, 562.0, 319.0], [145.0, 243.0, 59.0, 171.0, 120.0, 462.0, 7.0, 15896.0, 25.0], [555.0, 90.0, 0.0, 0.0, 0.0, 0.0, 0.0, 23.0, 0.0]]","[6, 8, 2, 0, 4, 7, 5, 1, 3]",18415.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 388.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 9.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 10215.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 553.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 2.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 249.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 43.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 42.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 50.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 45.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 38.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 18.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 64.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 1015.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 96.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 527.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 476.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 33.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 12.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 188.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 63.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 100.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 14.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 81.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 59.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 45.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 275.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 690.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 78.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 186.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 528.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 127.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 88.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 142.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 90.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 6.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 72.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 158.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 355.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 376.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 187.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 562.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 319.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 145.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 243.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 59.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 171.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 120.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 462.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 7.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 25.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 555.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 90.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 23.0}]}","['G', 'I', 'C', 'A', 'E', 'H', 'F', 'B', 'D']",17,nl,names
LOP,LOP,"A friend who edits anthologies described the job like arranging people at a dinner: everyone gets one seat, no one sits twice, and the conversation carries better depending on who sits next to whom and whoβs before whom in the course of the meal. Each time one chapter comes before another thereβs a little compatibility score, and the overall harmony of the table of contents is just the total of all those scores across the whole seating plan β the higher that total, the better the flow from start to finish. The exact chapter list and all the compatibility numbers are listed below.
There are 5 contributed chapters to seat in the table of contents: 0, 1, 2, 3, 4.
Meaning: this is a directed compatibility_score matrix over items in chapter_ids (5 total). Entry at row earlier_chapter_id=i and column later_chapter_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
compatibility_score:
| earlier_chapter_id\later_chapter_id | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 11846.0 | 0.0 | 126.0 | 1038.0 | 135.0 |
| 1 | 0.0 | 206.0 | 0.0 | 0.0 | 0.0 |
| 2 | 0.0 | 0.0 | 5206.0 | 0.0 | 0.0 |
| 3 | 21.0 | 0.0 | 0.0 | 651.0 | 4.0 |
| 4 | 46.0 | 0.0 | 10.0 | 0.0 | 1.0 |
Think of each pairwise score as a little nudge in the conversation that, when summed across the whole seating plan, determines how smoothly the book reads from first page to last.
If you'd like the answer in a tidy, machine-friendly shape, I usually lay it out like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of this as a simple form: the ""solution"" field is the sequence from the very first chapter to the very last chapter β just list each chapter identifier in the order you want them to appear. It's just an example of the shape I expect, not the actual finished ordering.
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β.""","[[11846.0, 0.0, 126.0, 1038.0, 135.0], [0.0, 206.0, 0.0, 0.0, 0.0], [0.0, 0.0, 5206.0, 0.0, 0.0], [21.0, 0.0, 0.0, 651.0, 4.0], [46.0, 0.0, 10.0, 0.0, 1.0]]","[0, 3, 4, 2, 1]",1313.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [0, 1, 2, 3, 4], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 126.0}, {'from_id': 0, 'to_id': 3, 'weight': 1038.0}, {'from_id': 0, 'to_id': 4, 'weight': 135.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 21.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 4.0}, {'from_id': 4, 'to_id': 0, 'weight': 46.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 10.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}]}","[0, 3, 4, 2, 1]",18,nl,0
LOP,LOP,"Recently a commuter playlist experiment started: one continuous ride, every track played once, no detours. For any two different songs thereβs a known mood effect tied to their order, and the goal is to line them up so those effects combine into the largest overall mood boost. The way to score a lineup is simple β add together the mood gains for each time a particular song comes before another. The concrete pairwise values are shown below.
There are 5 tracks in the commute playlist: A, B, C, D, E.
Meaning: this is a directed mood_gain matrix over items in track_ids (5 total). Entry at row preceding_track_id=i and column following_track_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
mood_gain:
| preceding_track_id\following_track_id | A | B | C | D | E |
|---|---|---|---|---|---|
| A | 2985.0 | 23.0 | 0.0 | 8.0 | 19.0 |
| B | 37.0 | 63.0 | 0.0 | 9.0 | 12.0 |
| C | 0.0 | 8.0 | 3.0 | 40.0 | 5.0 |
| D | 5.0 | 0.0 | 1.0 | 3757.0 | 47.0 |
| E | 15.0 | 4.0 | 2.0 | 35.0 | 6479.0 |
Orderings of these 5 tracks are scored by summing the listed pairwise mood gains; the best playlist maximizes that total.
If you want to hand me a final playlist, use this simple JSON layout so it's easy to read and parse:
{
""solution"": [<first_track>, <second_track>, ..., <last_track>]
}
""solution"" is just the ordered playlist: the first entry is the very first song on the ride, the next entry is the second song, and so on until the last entry. The angle-bracket names are placeholders showing the shape I expect β replace them with the actual song identifiers from your instance when you give the final lineup. This JSON is just a sketch of the shape I need, not the real answer itself.
Please make sure to use the identifiers exactly as they appear in the instance input β do not rename 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β.","[[2985.0, 23.0, 0.0, 8.0, 19.0], [37.0, 63.0, 0.0, 9.0, 12.0], [0.0, 8.0, 3.0, 40.0, 5.0], [5.0, 0.0, 1.0, 3757.0, 47.0], [15.0, 4.0, 2.0, 35.0, 6479.0]]","[2, 1, 0, 3, 4]",185.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': ['A', 'B', 'C', 'D', 'E'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 23.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 8.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 19.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 37.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 9.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 12.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 8.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 40.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 5.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 5.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 1.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 47.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 15.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 4.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 2.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 35.0}]}","['C', 'B', 'A', 'D', 'E']",19,nl,names
LOP,LOP,"Thereβs a conference schedule to sort out, and ordering actually matters: someone has measured how much better it is if each speaker precedes another. So to see how good a particular order is, just add up those little numbers for every pair where the first speaker appears earlier in the lineup than the second. The task is to pick one single sequence that includes every invited speaker one time only, and that gives the largest total sum of those pairwise perks. The specific speakers and their pairwise values are listed below.
Below are the 7 invited speakers: 0, 1, 2, 3, 4, 5, 6.
Meaning: this is a directed benefit_if_precedes matrix over items in speaker_ids (7 total). Entry at row preceding_speaker_id=i and column following_speaker_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
benefit_if_precedes:
| preceding_speaker_id\following_speaker_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| 0 | 33833.0 | 6557.0 | 31.0 | 121.0 | 556.0 | 1020.0 | 132.0 |
| 1 | 0.0 | 44392.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 2 | 0.0 | 0.0 | 66.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 1888.0 | 596.0 | 2327.0 | 81181.0 | 1237.0 | 13786.0 | 12956.0 |
| 4 | 608.0 | 280.0 | 7.0 | 153.0 | 3286.0 | 654.0 | 98.0 |
| 5 | 5791.0 | 2864.0 | 47.0 | 3290.0 | 1401.0 | 30757.0 | 1218.0 |
| 6 | 1616.0 | 1029.0 | 289.0 | 1559.0 | 514.0 | 13977.0 | 11178.0 |
Arrange all 7 speakers into one sequence that maximizes the summed pairwise perks above.
Also, just so the final reply is easy to parse, please use this simple JSON shape for your answer β nothing fancy, just a single list showing the order.
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
This little block is just a template: ""solution"" should be the full lineup from first speaker to last, and each entry in the list should be the exact identifier used in the instance for that speaker. Think of it like filling in a form β put the speakers in order inside the array. The JSON above is only a sketch of the shape I need, not the finished ordering.
Please use the identifiers exactly as they appear in the 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β.""","[[33833.0, 6557.0, 31.0, 121.0, 556.0, 1020.0, 132.0], [0.0, 44392.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 66.0, 0.0, 0.0, 0.0, 0.0], [1888.0, 596.0, 2327.0, 81181.0, 1237.0, 13786.0, 12956.0], [608.0, 280.0, 7.0, 153.0, 3286.0, 654.0, 98.0], [5791.0, 2864.0, 47.0, 3290.0, 1401.0, 30757.0, 1218.0], [1616.0, 1029.0, 289.0, 1559.0, 514.0, 13977.0, 11178.0]]","[3, 6, 5, 4, 0, 2, 1]",67801.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [0, 1, 2, 3, 4, 5, 6], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 6557.0}, {'from_id': 0, 'to_id': 2, 'weight': 31.0}, {'from_id': 0, 'to_id': 3, 'weight': 121.0}, {'from_id': 0, 'to_id': 4, 'weight': 556.0}, {'from_id': 0, 'to_id': 5, 'weight': 1020.0}, {'from_id': 0, 'to_id': 6, 'weight': 132.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 1888.0}, {'from_id': 3, 'to_id': 1, 'weight': 596.0}, {'from_id': 3, 'to_id': 2, 'weight': 2327.0}, {'from_id': 3, 'to_id': 4, 'weight': 1237.0}, {'from_id': 3, 'to_id': 5, 'weight': 13786.0}, {'from_id': 3, 'to_id': 6, 'weight': 12956.0}, {'from_id': 4, 'to_id': 0, 'weight': 608.0}, {'from_id': 4, 'to_id': 1, 'weight': 280.0}, {'from_id': 4, 'to_id': 2, 'weight': 7.0}, {'from_id': 4, 'to_id': 3, 'weight': 153.0}, {'from_id': 4, 'to_id': 5, 'weight': 654.0}, {'from_id': 4, 'to_id': 6, 'weight': 98.0}, {'from_id': 5, 'to_id': 0, 'weight': 5791.0}, {'from_id': 5, 'to_id': 1, 'weight': 2864.0}, {'from_id': 5, 'to_id': 2, 'weight': 47.0}, {'from_id': 5, 'to_id': 3, 'weight': 3290.0}, {'from_id': 5, 'to_id': 4, 'weight': 1401.0}, {'from_id': 5, 'to_id': 6, 'weight': 1218.0}, {'from_id': 6, 'to_id': 0, 'weight': 1616.0}, {'from_id': 6, 'to_id': 1, 'weight': 1029.0}, {'from_id': 6, 'to_id': 2, 'weight': 289.0}, {'from_id': 6, 'to_id': 3, 'weight': 1559.0}, {'from_id': 6, 'to_id': 4, 'weight': 514.0}, {'from_id': 6, 'to_id': 5, 'weight': 13977.0}]}","[3, 6, 5, 4, 0, 2, 1]",20,nl,0
LOP,LOP,"In a small gallery project the job is to arrange the paintings in a single straight line to get the most engaging visitor journey. For each pair of paintings thereβs a small impact number showing how much better it is when one is placed before the other, and the total effect of any ordering is simply all those numbers added up for every ordered pair. The requirement is to use every painting exactly one time β nothing left out and nothing repeated β and to adopt the ordering that yields the largest combined impact. The specific list of works and their pairwise impact values are shown below.
# num_paintings=9
# painting_ids=A, B, C, D, E, F, G, H, I
# Meaning: this is a directed visitor_impact_score matrix over items in painting_ids (9 total). Entry at row preceding_painting_id=i and column following_painting_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# visitor_impact_score
| preceding_painting_id\following_painting_id | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| A | 26500.0 | 376600.0 | 1900.0 | 700.0 | 800.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| B | 34200.0 | 31600.0 | 19400.0 | 4400.0 | 3600.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| C | 0.0 | 300.0 | 27300.0 | 0.0 | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| D | 0.0 | 0.0 | 0.0 | 5500.0 | 38500.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| E | 0.0 | 300.0 | 200.0 | 0.0 | 60500.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| F | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| G | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| H | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| I | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
Oh, and when you send back the ordering, just stick to a tiny JSON snippet like this so it's easy to read and parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single list that shows the paintings from left to right; each placeholder in the array is where you'd put the exact label for a painting in that position. This JSON is just a sketch of the shape I need β not the final answer itself.
Please use the exact identifiers from the instance input β don't rename them or invent new ones.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[26500.0, 376600.0, 1900.0, 700.0, 800.0, 0.0, 0.0, 0.0, 0.0], [34200.0, 31600.0, 19400.0, 4400.0, 3600.0, 0.0, 0.0, 0.0, 0.0], [0.0, 300.0, 27300.0, 0.0, 100.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 5500.0, 38500.0, 0.0, 0.0, 0.0, 0.0], [0.0, 300.0, 200.0, 0.0, 60500.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[8, 7, 6, 5, 0, 1, 3, 4, 2]",446100.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 376600.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 1900.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 700.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 800.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 34200.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 19400.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 4400.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 3600.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 300.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 100.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 38500.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 300.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 200.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 0.0}]}","['I', 'H', 'G', 'F', 'A', 'B', 'D', 'E', 'C']",21,csv,names
LOP,LOP,"Weβre organizing interviews and trying to pick the sequence that makes the most of the day. Between every pair of candidates thereβs a score that tells how much advantage comes from interviewing one ahead of the other; for a given schedule, simply add all those scores for the pairs that follow that schedule, and the schedule with the largest overall total is the one to aim for. Each candidate has to be scheduled once and only once β no duplicates, no omissions. The concrete pair-by-pair details are listed below.
We have 5 candidates to schedule: 0, 1, 2, 3, 4.
Meaning: this is a directed precedence_benefit matrix over items in candidate_ids (5 total). Entry at row preceding_candidate_id=i and column following_candidate_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
precedence_benefit:
| preceding_candidate_id\following_candidate_id | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 365.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 1 | 0.0 | 2.0 | 0.0 | 1.0 | 0.0 |
| 2 | 0.0 | 80.0 | 2773.0 | 7.0 | 0.0 |
| 3 | 0.0 | 3.0 | 0.0 | 0.0 | 14.0 |
| 4 | 52.0 | 10.0 | 1.0 | 6.0 | 0.0 |
We'll aim for the order that maximizes the total of these pairwise gains across the 5 candidates.
Also, when you send back the final schedule, please use this simple JSON shape so itβs easy to read by whateverβs collecting the answers:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the ordered list of candidates from first interview to last β just fill in the candidate identifiers in the order you want. This JSON is just a sketch of the shape I expect, not the actual answer itself.
Please make sure to use the exact identifiers as they appear in the instance input β donβt rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[365.0, 0.0, 0.0, 0.0, 0.0], [0.0, 2.0, 0.0, 1.0, 0.0], [0.0, 80.0, 2773.0, 7.0, 0.0], [0.0, 3.0, 0.0, 0.0, 14.0], [52.0, 10.0, 1.0, 6.0, 0.0]]","[2, 3, 4, 1, 0]",166.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [0, 1, 2, 3, 4], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 1.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 80.0}, {'from_id': 2, 'to_id': 3, 'weight': 7.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 3.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 14.0}, {'from_id': 4, 'to_id': 0, 'weight': 52.0}, {'from_id': 4, 'to_id': 1, 'weight': 10.0}, {'from_id': 4, 'to_id': 2, 'weight': 1.0}, {'from_id': 4, 'to_id': 3, 'weight': 6.0}]}","[2, 3, 4, 1, 0]",22,nl,0
LOP,LOP,"Iβm putting together a course and need to pick the order of the lesson modules so the class gets the biggest overall learning boost. The idea is simple: for every pair of modules thereβs a little advantage if one comes before the other, and the total usefulness of the whole course is just the sum of those pairwise boosts for every pair where the earlier one comes first. Every module has to appear exactly once β no repeats, no skipping β and the full list of module-to-module boosts and other specifics are shown below.
There are 7 modules: 1, 2, 3, 4, 5, 6, 7.
*Meaning: this is a directed learning_benefit matrix over items in module_ids (7 total). Entry at row earlier_module=i and column later_module=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**learning_benefit)**
| earlier_module\later_module | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 20.0 | 0.0 | 210.0 | 7.0 | 0.0 | 4.0 | 11.0 |
| 2 | 0.0 | 390.0 | 103.0 | 248.0 | 0.0 | 26.0 | 261.0 |
| 3 | 0.0 | 542.0 | 45165.0 | 286.0 | 6.0 | 357.0 | 1146.0 |
| 4 | 0.0 | 6.0 | 13.0 | 1473.0 | 4.0 | 132.0 | 606.0 |
| 5 | 0.0 | 0.0 | 30.0 | 83.0 | 764.0 | 123.0 | 137.0 |
| 6 | 0.0 | 0.0 | 23.0 | 345.0 | 10.0 | 786.0 | 52.0 |
| 7 | 0.0 | 1.0 | 123.0 | 368.0 | 28.0 | 134.0 | 729.0 |
I'll use these to choose the module sequence that maximizes the total learning boost.
Also, when you give the final ordering, please use this simple JSON layout so I can pick it up automatically.
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
The ""solution"" array should list the lesson modules in the exact sequence you want them taught, from the first module to the last. Think of it like a form: one slot per position in the course, each filled with the module identifier. This JSON is just a sketch of the shape I expect β don't treat it as the actual answer unless you replace the placeholders with the real module IDs.
Please make sure to use the identifiers exactly as they appear in the instance input β no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[20.0, 0.0, 210.0, 7.0, 0.0, 4.0, 11.0], [0.0, 390.0, 103.0, 248.0, 0.0, 26.0, 261.0], [0.0, 542.0, 45165.0, 286.0, 6.0, 357.0, 1146.0], [0.0, 6.0, 13.0, 1473.0, 4.0, 132.0, 606.0], [0.0, 0.0, 30.0, 83.0, 764.0, 123.0, 137.0], [0.0, 0.0, 23.0, 345.0, 10.0, 786.0, 52.0], [0.0, 1.0, 123.0, 368.0, 28.0, 134.0, 729.0]]","[4, 0, 2, 1, 5, 3, 6]",4474.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 210.0}, {'from_id': 1, 'to_id': 4, 'weight': 7.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 4.0}, {'from_id': 1, 'to_id': 7, 'weight': 11.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 103.0}, {'from_id': 2, 'to_id': 4, 'weight': 248.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 26.0}, {'from_id': 2, 'to_id': 7, 'weight': 261.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 542.0}, {'from_id': 3, 'to_id': 4, 'weight': 286.0}, {'from_id': 3, 'to_id': 5, 'weight': 6.0}, {'from_id': 3, 'to_id': 6, 'weight': 357.0}, {'from_id': 3, 'to_id': 7, 'weight': 1146.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 6.0}, {'from_id': 4, 'to_id': 3, 'weight': 13.0}, {'from_id': 4, 'to_id': 5, 'weight': 4.0}, {'from_id': 4, 'to_id': 6, 'weight': 132.0}, {'from_id': 4, 'to_id': 7, 'weight': 606.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 30.0}, {'from_id': 5, 'to_id': 4, 'weight': 83.0}, {'from_id': 5, 'to_id': 6, 'weight': 123.0}, {'from_id': 5, 'to_id': 7, 'weight': 137.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 23.0}, {'from_id': 6, 'to_id': 4, 'weight': 345.0}, {'from_id': 6, 'to_id': 5, 'weight': 10.0}, {'from_id': 6, 'to_id': 7, 'weight': 52.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 1.0}, {'from_id': 7, 'to_id': 3, 'weight': 123.0}, {'from_id': 7, 'to_id': 4, 'weight': 368.0}, {'from_id': 7, 'to_id': 5, 'weight': 28.0}, {'from_id': 7, 'to_id': 6, 'weight': 134.0}]}","[5, 1, 3, 2, 6, 4, 7]",23,markdown_table,1
LOP,LOP,"Iβm the email marketing manager putting together a campaign thatβll send a bunch of ad creatives in a row. The choice to make is the exact order to send them in. For any two creatives thereβs a known effect if the first one appears before the second, and the campaignβs overall effectiveness is just the total you get by adding up each of those pairwise effects for every pair in the final line-up. Every creative has to be used once and only once β no repeats, no skipping anything. The concrete pairwise numbers and the list of creatives are shown below.
{
""num_creatives_total"": 9,
""creative_ids_list"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F"",
""G"",
""H"",
""I""
]
}
# Meaning: this is a directed pairwise_effect_value matrix over items in creative_ids_list (9 total). Entry at row first_creative_id=i and column second_creative_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_effect_value
| first_creative_id\second_creative_id | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| A | 1812.0 | 637.0 | 1.0 | 9.0 | 814.0 | 81.0 | 2.0 | 0.0 | 3.0 |
| B | 22.0 | 3861.0 | 1.0 | 6.0 | 853.0 | 264.0 | 110.0 | 1.0 | 5.0 |
| C | 0.0 | 0.0 | 75.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 14.0 |
| D | 1.0 | 14.0 | 1.0 | 931.0 | 1968.0 | 14.0 | 41.0 | 0.0 | 1.0 |
| E | 34.0 | 188.0 | 28.0 | 22.0 | 2350.0 | 13.0 | 85.0 | 29.0 | 48.0 |
| F | 169.0 | 43.0 | 20.0 | 29.0 | 125.0 | 13.0 | 421.0 | 12.0 | 29.0 |
| G | 8.0 | 31.0 | 14.0 | 14.0 | 80.0 | 19.0 | 502.0 | 12.0 | 26.0 |
| H | 7.0 | 9.0 | 2.0 | 3.0 | 16.0 | 3.0 | 3.0 | 12.0 | 8.0 |
| I | 3.0 | 84.0 | 14.0 | 7.0 | 209.0 | 22.0 | 63.0 | 21.0 | 466.0 |
Also, when you send the final ordering back, it'd be handy if you used this simple JSON layout so it's super clear what the answer is:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of that ""solution"" array as the exact campaign run β the creatives listed from the one that goes out first to the one that goes out last. Replace each placeholder with the creative identifier from the instance. This JSON is just a sketch of the shape I need, not the actual ordering itself.
Please make sure to use the identifiers exactly as they appear in the instance input β do not rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[1812.0, 637.0, 1.0, 9.0, 814.0, 81.0, 2.0, 0.0, 3.0], [22.0, 3861.0, 1.0, 6.0, 853.0, 264.0, 110.0, 1.0, 5.0], [0.0, 0.0, 75.0, 0.0, 0.0, 0.0, 0.0, 0.0, 14.0], [1.0, 14.0, 1.0, 931.0, 1968.0, 14.0, 41.0, 0.0, 1.0], [34.0, 188.0, 28.0, 22.0, 2350.0, 13.0, 85.0, 29.0, 48.0], [169.0, 43.0, 20.0, 29.0, 125.0, 13.0, 421.0, 12.0, 29.0], [8.0, 31.0, 14.0, 14.0, 80.0, 19.0, 502.0, 12.0, 26.0], [7.0, 9.0, 2.0, 3.0, 16.0, 3.0, 3.0, 12.0, 8.0], [3.0, 84.0, 14.0, 7.0, 209.0, 22.0, 63.0, 21.0, 466.0]]","[8, 0, 1, 5, 3, 4, 6, 7, 2]",5989.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 637.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 1.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 9.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 814.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 81.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 2.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 3.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 22.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 1.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 6.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 853.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 264.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 110.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 1.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 5.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 14.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 1.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 14.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 1.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 1968.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 14.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 41.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 1.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 34.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 188.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 28.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 22.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 13.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 85.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 29.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 48.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 169.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 43.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 20.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 29.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 125.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 421.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 12.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 29.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 8.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 31.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 14.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 14.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 80.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 19.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 12.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 26.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 7.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 9.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 2.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 3.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 16.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 3.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 3.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 8.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 3.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 84.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 14.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 7.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 209.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 22.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 63.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 21.0}]}","['I', 'A', 'B', 'F', 'D', 'E', 'G', 'H', 'C']",24,json,names
LOP,LOP,"Recently the city asked for a friendly walking order through its sights β a sequence that hits every stop once. Each time one attraction precedes another thereβs a known bonus to the day, and the overall enjoyment of the tour is just the sum of those bonuses across every pair in the schedule, so the guideβs aim is to arrange the stops to make that sum as big as it can be without repeating or skipping attractions. The exact attractions and the pairwise enjoyment values are listed below.
# total_attractions=8
# attraction_ids=A, B, C, D, E, F, G, H
# Meaning: this is a directed enjoyment_bonus matrix over items in attraction_ids (8 total). Entry at row attraction_before=i and column attraction_after=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# enjoyment_bonus
| attraction_before\attraction_after | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
| A | 8076176.0 | 507073.0 | 28818.0 | 13191.0 | 581010.0 | 182071.0 | 62147.0 | 39791.0 |
| B | 25167.0 | 21010120.0 | 5761.0 | 586234.0 | 76786.0 | 31992.0 | 0.0 | 546.0 |
| C | 276.0 | 1999.0 | 1172944.0 | 5219.0 | 161010.0 | 20968.0 | 15847.0 | 7237.0 |
| D | 4404.0 | 5714.0 | 6158.0 | 352910.0 | 86064.0 | 47364.0 | 2187.0 | 20555.0 |
| E | 552.0 | 0.0 | 0.0 | 829.0 | 12431.0 | 0.0 | 0.0 | 0.0 |
| F | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 2762.0 | 0.0 | 0.0 |
| G | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| H | 0.0 | 0.0 | 0.0 | 0.0 | -5525.0 | 829.0 | 0.0 | 0.0 |
Oh, and if you could put your final tour in a tiny, predictable format, that helps a lot. Just use this JSON shape when you send back the ordering:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single list that names the stops in the exact sequence you'd walk them β first stop first, last stop last. This JSON is just a sketch of the shape I expect, not the actual filled-in answer.
Please use the identifiers exactly as they appear in the instance input β do not rename them or invent new labels.
Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.","[[8076176.0, 507073.0, 28818.0, 13191.0, 581010.0, 182071.0, 62147.0, 39791.0], [25167.0, 21010120.0, 5761.0, 586234.0, 76786.0, 31992.0, 0.0, 546.0], [276.0, 1999.0, 1172944.0, 5219.0, 161010.0, 20968.0, 15847.0, 7237.0], [4404.0, 5714.0, 6158.0, 352910.0, 86064.0, 47364.0, 2187.0, 20555.0], [552.0, 0.0, 0.0, 829.0, 12431.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 2762.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, -5525.0, 829.0, 0.0, 0.0]]","[0, 1, 3, 2, 4, 7, 6, 5]",2483639.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 507073.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 28818.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 13191.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 581010.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 182071.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 62147.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 39791.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 25167.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 5761.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 586234.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 76786.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 31992.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 546.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 276.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 1999.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 5219.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 161010.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 20968.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 15847.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 7237.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 4404.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 5714.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 6158.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 86064.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 47364.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 2187.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 20555.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 552.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 829.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'E', 'weight': -5525.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 829.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 0.0}]}","['A', 'B', 'D', 'C', 'E', 'H', 'G', 'F']",25,csv,names
LOP,LOP,"Picture this: a stack of reception cards, each naming one event, and between every two cards thereβs a note saying how much better it is to have card A before card B. The challenge is to lay out all the cards in one neat row β every event must be used exactly once β and then tally up all those little notes for that particular order. The order with the biggest total tally gives the best guest experience. The exact events and the pairwise notes are shown below.
Below are the 6 event cards: 0, 1, 2, 3, 4, 5.
*Meaning: this is a directed guest_experience_points matrix over items in event_list (6 total). Entry at row from_event=i and column to_event=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**guest_experience_points)**
| from_event\to_event | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| 0 | 10908.0 | 12.0 | 619.0 | 53.0 | 208.0 | 116.0 |
| 1 | 15.0 | 58.0 | 1.0 | 57.0 | 0.0 | 0.0 |
| 2 | 508.0 | 0.0 | 14530.0 | 0.0 | 0.0 | 0.0 |
| 3 | 38.0 | 1.0 | 68.0 | 9.0 | 1725.0 | 28.0 |
| 4 | 1326.0 | 35.0 | 1705.0 | 1066.0 | 0.0 | 115.0 |
| 5 | 13.0 | 5.0 | 120.0 | 75.0 | 1026.0 | 15896.0 |
Tally the notes to find the single ordering of these 6 cards that yields the highest total guest-experience points.
When you send the final ordering back, just pop it into a tiny JSON sketch like this β keeps things neat and machine-friendly:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is simply the list that shows the cards in order from first to last β each entry should be the exact item identifier from the instance (the same labels shown in the problem). This block is just a template to show the shape I expect, not the actual answer itself; when you reply, replace the placeholders with the real identifiers in the sequence that gives the biggest total tally.
Please be sure to use the identifiers exactly as they appear in the instance input β no renaming, and donβt invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[10908.0, 12.0, 619.0, 53.0, 208.0, 116.0], [15.0, 58.0, 1.0, 57.0, 0.0, 0.0], [508.0, 0.0, 14530.0, 0.0, 0.0, 0.0], [38.0, 1.0, 68.0, 9.0, 1725.0, 28.0], [1326.0, 35.0, 1705.0, 1066.0, 0.0, 115.0], [13.0, 5.0, 120.0, 75.0, 1026.0, 15896.0]]","[5, 1, 3, 4, 0, 2]",6793.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': [0, 1, 2, 3, 4, 5], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 12.0}, {'from_id': 0, 'to_id': 2, 'weight': 619.0}, {'from_id': 0, 'to_id': 3, 'weight': 53.0}, {'from_id': 0, 'to_id': 4, 'weight': 208.0}, {'from_id': 0, 'to_id': 5, 'weight': 116.0}, {'from_id': 1, 'to_id': 0, 'weight': 15.0}, {'from_id': 1, 'to_id': 2, 'weight': 1.0}, {'from_id': 1, 'to_id': 3, 'weight': 57.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 508.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 38.0}, {'from_id': 3, 'to_id': 1, 'weight': 1.0}, {'from_id': 3, 'to_id': 2, 'weight': 68.0}, {'from_id': 3, 'to_id': 4, 'weight': 1725.0}, {'from_id': 3, 'to_id': 5, 'weight': 28.0}, {'from_id': 4, 'to_id': 0, 'weight': 1326.0}, {'from_id': 4, 'to_id': 1, 'weight': 35.0}, {'from_id': 4, 'to_id': 2, 'weight': 1705.0}, {'from_id': 4, 'to_id': 3, 'weight': 1066.0}, {'from_id': 4, 'to_id': 5, 'weight': 115.0}, {'from_id': 5, 'to_id': 0, 'weight': 13.0}, {'from_id': 5, 'to_id': 1, 'weight': 5.0}, {'from_id': 5, 'to_id': 2, 'weight': 120.0}, {'from_id': 5, 'to_id': 3, 'weight': 75.0}, {'from_id': 5, 'to_id': 4, 'weight': 1026.0}]}","[5, 1, 3, 4, 0, 2]",26,markdown_table,0
LOP,LOP,"Someone in the editing room has to decide how to line up every scene so the audience feels the most from start to finish. Every ordered pair of scenes brings a certain amount of narrative punch if the first comes before the second, and the aim is to choose an ordering that yields the largest total when all those punches are added together. No scene can be repeated or skipped, and the detailed pairwise impacts follow below.
{
""total_scenes"": 8,
""scene_ids"": [
0,
1,
2,
3,
4,
5,
6,
7
]
}
# Meaning: this is a directed impact_score matrix over items in scene_ids (8 total). Entry at row prior_scene_id=i and column subsequent_scene_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# impact_score
| prior_scene_id\subsequent_scene_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| 0 | 1566587.0 | 1083.0 | 0.0 | 987.0 | 765354.0 | 6118.0 | 94.0 | 25.0 |
| 1 | 27819.0 | 667020.0 | 0.0 | 19105.0 | 3448.0 | 185256.0 | 3394.0 | 605.0 |
| 2 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 3988.0 | 2031.0 | 0.0 | 1085632.0 | 455.0 | 0.0 | 0.0 | 0.0 |
| 4 | 0.0 | 2856.0 | 0.0 | 0.0 | 311458.0 | 0.0 | 0.0 | 0.0 |
| 5 | 122511.0 | 1305.0 | 0.0 | 4680.0 | 29151.0 | 90317.0 | 5104.0 | 272.0 |
| 6 | 32748.0 | 9261.0 | 0.0 | 15626.0 | 2686.0 | 58496.0 | 981443.0 | 1320.0 |
| 7 | 988.0 | 100.0 | 0.0 | 1110.0 | 0.0 | 2466.0 | 12524.0 | 0.0 |
If you want to hand me the chosen lineup, just drop it in this simple JSON shape so it's easy to read and reuse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is just the list of scenes in the order you want them to appear, from the first shown to the last. Think of the JSON as a tiny form: replace those placeholders with the actual scene identifiers from the instance β this block is just a sketch of the shape, not the final answer.
Please make sure to use the exact identifiers from the 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β.""","[[1566587.0, 1083.0, 0.0, 987.0, 765354.0, 6118.0, 94.0, 25.0], [27819.0, 667020.0, 0.0, 19105.0, 3448.0, 185256.0, 3394.0, 605.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3988.0, 2031.0, 0.0, 1085632.0, 455.0, 0.0, 0.0, 0.0], [0.0, 2856.0, 0.0, 0.0, 311458.0, 0.0, 0.0, 0.0], [122511.0, 1305.0, 0.0, 4680.0, 29151.0, 90317.0, 5104.0, 272.0], [32748.0, 9261.0, 0.0, 15626.0, 2686.0, 58496.0, 981443.0, 1320.0], [988.0, 100.0, 0.0, 1110.0, 0.0, 2466.0, 12524.0, 0.0]]","[7, 6, 1, 5, 3, 0, 4, 2]",1297772.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 1083.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 987.0}, {'from_id': 0, 'to_id': 4, 'weight': 765354.0}, {'from_id': 0, 'to_id': 5, 'weight': 6118.0}, {'from_id': 0, 'to_id': 6, 'weight': 94.0}, {'from_id': 0, 'to_id': 7, 'weight': 25.0}, {'from_id': 1, 'to_id': 0, 'weight': 27819.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 19105.0}, {'from_id': 1, 'to_id': 4, 'weight': 3448.0}, {'from_id': 1, 'to_id': 5, 'weight': 185256.0}, {'from_id': 1, 'to_id': 6, 'weight': 3394.0}, {'from_id': 1, 'to_id': 7, 'weight': 605.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 3988.0}, {'from_id': 3, 'to_id': 1, 'weight': 2031.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 455.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 2856.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 122511.0}, {'from_id': 5, 'to_id': 1, 'weight': 1305.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 4680.0}, {'from_id': 5, 'to_id': 4, 'weight': 29151.0}, {'from_id': 5, 'to_id': 6, 'weight': 5104.0}, {'from_id': 5, 'to_id': 7, 'weight': 272.0}, {'from_id': 6, 'to_id': 0, 'weight': 32748.0}, {'from_id': 6, 'to_id': 1, 'weight': 9261.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 15626.0}, {'from_id': 6, 'to_id': 4, 'weight': 2686.0}, {'from_id': 6, 'to_id': 5, 'weight': 58496.0}, {'from_id': 6, 'to_id': 7, 'weight': 1320.0}, {'from_id': 7, 'to_id': 0, 'weight': 988.0}, {'from_id': 7, 'to_id': 1, 'weight': 100.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 1110.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 2466.0}, {'from_id': 7, 'to_id': 6, 'weight': 12524.0}]}","[7, 6, 1, 5, 3, 0, 4, 2]",27,json,0
LOP,LOP,"In the office theyβre assembling a workshop playlist and discovered that order changes outcomes β each time a particular module comes before another thereβs a known benefit, and reversing that pair changes the number. The job is to put all modules into one ordered list without skipping or repeating any, then compute the listβs total by summing every pairwise benefit where the earlier item comes before the later one. The best playlist is simply the one with the highest total sum. The detailed module names and pairwise values are listed below.
{
""total_modules"": 6,
""module_ids"": [
1,
2,
3,
4,
5,
6
]
}
# Meaning: this is a directed pairwise_learning_benefit matrix over items in module_ids (6 total). Entry at row preceding_module=i and column succeeding_module=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_learning_benefit
| preceding_module\succeeding_module | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| 1 | 0.0 | 0.0 | 0.0 | 17.0 | 0.0 | 108.0 |
| 2 | 0.0 | 313.0 | 2.0 | 116.0 | 0.0 | 64.0 |
| 3 | 0.0 | 60.0 | 113.0 | 0.0 | 0.0 | 20.0 |
| 4 | 0.0 | 0.0 | 2.0 | 0.0 | 0.0 | 23.0 |
| 5 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 6 | 0.0 | 32.0 | 3.0 | 49.0 | 0.0 | 0.0 |
Oh, and when you send the final ordering back, just stick to a tiny JSON sketch so it's easy to parse β something like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" should be the full playlist in order, from the first module to the last β just list the module identifiers in the sequence you choose. Think of it like filling out a one-line form: the array is the order you want to play things.
This JSON is just the shape I expect, not the actual filled-in answer. And please use the exact identifiers from the instance input β don't rename anything 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β.""","[[0.0, 0.0, 0.0, 17.0, 0.0, 108.0], [0.0, 313.0, 2.0, 116.0, 0.0, 64.0], [0.0, 60.0, 113.0, 0.0, 0.0, 20.0], [0.0, 0.0, 2.0, 0.0, 0.0, 23.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 32.0, 3.0, 49.0, 0.0, 0.0]]","[4, 2, 1, 0, 5, 3]",434.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': [1, 2, 3, 4, 5, 6], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 17.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 108.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 2.0}, {'from_id': 2, 'to_id': 4, 'weight': 116.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 64.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 60.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 20.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 2.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 23.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 0.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 32.0}, {'from_id': 6, 'to_id': 3, 'weight': 3.0}, {'from_id': 6, 'to_id': 4, 'weight': 49.0}, {'from_id': 6, 'to_id': 5, 'weight': 0.0}]}","[5, 3, 2, 1, 6, 4]",28,json,1
LOP,LOP,"Someone in marketing lined up a handful of demos and now itβs time to decide the running order β and that order actually changes how persuasive the day will be. Between any two demos thereβs a specific benefit to showing one ahead of the other, so for any full sequence you can compute a total persuasiveness by adding up all the pairwise benefits that occur in that order. The plan must use every demo once, no repeats, no skips, and the best sequence is the one with the biggest total sum. The specific demos and their pairwise values are shown below.
Here are the 5 demos: 0, 1, 2, 3, 4.
*Meaning: this is a directed pairwise_persuasion matrix over items in demo_ids (5 total). Entry at row demo_before_id=i and column demo_after_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**pairwise_persuasion)**
| demo_before_id\demo_after_id | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 4834.0 | 0.0 | 170515.0 | 0.0 | 0.0 |
| 1 | 7026.0 | 1355.0 | 10441.0 | 30105.0 | 3094.0 |
| 2 | 5319.0 | 324.0 | 0.0 | 13281.0 | 1596.0 |
| 3 | 7603.0 | 1876.0 | 7801.0 | 23618.0 | 28250.0 |
| 4 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
The optimal running order uses every demo once and maximizes the total summed pairwise persuasion.
If you want to hand the running order back to me in a tidy way, just use this little JSON shape β it makes it clear which demo goes first, second, and so on.
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
This shows the expected shape: ""solution"" is an ordered list with the demos in the exact running order (first item listed is shown first, last item listed is shown last). The angle-bracket placeholders just sketch where each demo identifier should go β replace them with the actual identifiers from the instance when you answer.
This JSON is just the shape I expect, not the final answer itself. Please use the identifiers exactly as they appear in the instance input β no renaming, 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β.""","[[4834.0, 0.0, 170515.0, 0.0, 0.0], [7026.0, 1355.0, 10441.0, 30105.0, 3094.0], [5319.0, 324.0, 0.0, 13281.0, 1596.0], [7603.0, 1876.0, 7801.0, 23618.0, 28250.0], [0.0, 0.0, 0.0, 0.0, 0.0]]","[1, 3, 0, 2, 4]",266431.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [0, 1, 2, 3, 4], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 170515.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 7026.0}, {'from_id': 1, 'to_id': 2, 'weight': 10441.0}, {'from_id': 1, 'to_id': 3, 'weight': 30105.0}, {'from_id': 1, 'to_id': 4, 'weight': 3094.0}, {'from_id': 2, 'to_id': 0, 'weight': 5319.0}, {'from_id': 2, 'to_id': 1, 'weight': 324.0}, {'from_id': 2, 'to_id': 3, 'weight': 13281.0}, {'from_id': 2, 'to_id': 4, 'weight': 1596.0}, {'from_id': 3, 'to_id': 0, 'weight': 7603.0}, {'from_id': 3, 'to_id': 1, 'weight': 1876.0}, {'from_id': 3, 'to_id': 2, 'weight': 7801.0}, {'from_id': 3, 'to_id': 4, 'weight': 28250.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}]}","[1, 3, 0, 2, 4]",29,markdown_table,0
LOP,LOP,"A teacher imagined writing the class outline on sticky notes and swapping them until the class flowed smoothly. For any two different notes thereβs a number that measures how much better the lesson is if one comes before the other. The teacher must make a single sequence that contains each topic exactly one time, then total up those pairwise numbers for every earlier-before-later pairing β the sequence with the highest total makes the most sense. The actual topics and their pairwise values are shown below.
{
""num_topics"": 10,
""topic_ids"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F"",
""G"",
""H"",
""I"",
""J""
]
}
# Meaning: this is a directed comprehension_gain matrix over items in topic_ids (10 total). Entry at row earlier_topic_id=i and column later_topic_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# comprehension_gain
| earlier_topic_id\later_topic_id | A | B | C | D | E | F | G | H | I | J |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 26960.0 | 528.0 | 562.0 | 343.0 | 989.0 | 225.0 | 1045.0 | 14.0 | 33.0 | 2168.0 |
| B | 27.0 | 16575.0 | 3850.0 | 4.0 | 7.0 | 490.0 | 1500.0 | 3.0 | 23.0 | 725.0 |
| C | 1.0 | 14.0 | 11144.0 | 4.0 | 3.0 | 17.0 | 49.0 | 0.0 | 3.0 | 3201.0 |
| D | 3.0 | 59.0 | 24.0 | 2911.0 | 7.0 | 49.0 | 668.0 | 8.0 | 0.0 | 96.0 |
| E | 0.0 | 165.0 | 434.0 | 45.0 | 16080.0 | 143.0 | 682.0 | 4.0 | 100.0 | 1759.0 |
| F | 24.0 | 160.0 | 223.0 | 94.0 | 82.0 | 32424.0 | 646.0 | 4.0 | 12.0 | 1259.0 |
| G | 115.0 | 2008.0 | 1928.0 | 486.0 | 656.0 | 8432.0 | 8365.0 | 28.0 | 231.0 | 1868.0 |
| H | 0.0 | 30.0 | 6.0 | 3.0 | 2.0 | 19.0 | 39.0 | 0.0 | 0.0 | 324.0 |
| I | 1.0 | 61.0 | 32.0 | 10.0 | 13.0 | 90.0 | 302.0 | 0.0 | 0.0 | 0.0 |
| J | 14.0 | 223.0 | 166.0 | 77.0 | 111.0 | 167.0 | 342.0 | 9.0 | 5.0 | 865.0 |
Oh β and when you send the final ordering back, a tiny JSON snippet like the one below is perfect and keeps things tidy:
{
""solution"": [""<first_item>"", ""<second_item>"", ""..."", ""<last_item>""]
}
Think of ""solution"" as the single list of sticky-note topics in the exact order you want them taught β first entry is the very first topic, last entry is the very last. This block is just a sketch of the shape I expect, not the real answer itself.
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β.""","[[26960.0, 528.0, 562.0, 343.0, 989.0, 225.0, 1045.0, 14.0, 33.0, 2168.0], [27.0, 16575.0, 3850.0, 4.0, 7.0, 490.0, 1500.0, 3.0, 23.0, 725.0], [1.0, 14.0, 11144.0, 4.0, 3.0, 17.0, 49.0, 0.0, 3.0, 3201.0], [3.0, 59.0, 24.0, 2911.0, 7.0, 49.0, 668.0, 8.0, 0.0, 96.0], [0.0, 165.0, 434.0, 45.0, 16080.0, 143.0, 682.0, 4.0, 100.0, 1759.0], [24.0, 160.0, 223.0, 94.0, 82.0, 32424.0, 646.0, 4.0, 12.0, 1259.0], [115.0, 2008.0, 1928.0, 486.0, 656.0, 8432.0, 8365.0, 28.0, 231.0, 1868.0], [0.0, 30.0, 6.0, 3.0, 2.0, 19.0, 39.0, 0.0, 0.0, 324.0], [1.0, 61.0, 32.0, 10.0, 13.0, 90.0, 302.0, 0.0, 0.0, 0.0], [14.0, 223.0, 166.0, 77.0, 111.0, 167.0, 342.0, 9.0, 5.0, 865.0]]","[0, 4, 8, 3, 7, 6, 1, 5, 2, 9]",35040.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 528.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 562.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 343.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 989.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 225.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 1045.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 14.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 33.0}, {'from_id': 'A', 'to_id': 'J', 'weight': 2168.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 27.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 3850.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 4.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 7.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 490.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 1500.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 3.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 23.0}, {'from_id': 'B', 'to_id': 'J', 'weight': 725.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 1.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 14.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 4.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 3.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 17.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 49.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 3.0}, {'from_id': 'C', 'to_id': 'J', 'weight': 3201.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 3.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 59.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 24.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 7.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 49.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 668.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 8.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'J', 'weight': 96.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 165.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 434.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 45.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 143.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 682.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 4.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 100.0}, {'from_id': 'E', 'to_id': 'J', 'weight': 1759.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 24.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 160.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 223.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 94.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 82.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 646.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 4.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 12.0}, {'from_id': 'F', 'to_id': 'J', 'weight': 1259.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 115.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 2008.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 1928.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 486.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 656.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 8432.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 28.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 231.0}, {'from_id': 'G', 'to_id': 'J', 'weight': 1868.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 30.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 6.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 3.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 2.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 19.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 39.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'J', 'weight': 324.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 1.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 61.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 32.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 10.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 13.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 90.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 302.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'J', 'weight': 0.0}, {'from_id': 'J', 'to_id': 'A', 'weight': 14.0}, {'from_id': 'J', 'to_id': 'B', 'weight': 223.0}, {'from_id': 'J', 'to_id': 'C', 'weight': 166.0}, {'from_id': 'J', 'to_id': 'D', 'weight': 77.0}, {'from_id': 'J', 'to_id': 'E', 'weight': 111.0}, {'from_id': 'J', 'to_id': 'F', 'weight': 167.0}, {'from_id': 'J', 'to_id': 'G', 'weight': 342.0}, {'from_id': 'J', 'to_id': 'H', 'weight': 9.0}, {'from_id': 'J', 'to_id': 'I', 'weight': 5.0}]}","['A', 'E', 'I', 'D', 'H', 'G', 'B', 'F', 'C', 'J']",30,json,names
LOP,LOP,"Iβm the art director putting this issue together and Iβve got a stack of photo spreads that need to run front to back. The job is to pick one long order for them so the whole magazine reads and looks great β for every pair of spreads we already know how much better it is to have one placed before the other. To score any full ordering, just add up those pairwise benefits for every pair that ends up in that direction; the best ordering is the one with the biggest total, and every spread has to appear exactly once, no repeats or skips. The exact pairwise details are shown below.
Iβve listed 9 spreads that need a single front-to-back sequence: A, B, C, D, E, F, G, H, I.
*Meaning: this is a directed visual_benefit_score matrix over items in spread_ids (9 total). Entry at row prior_spread_id=i and column later_spread_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**visual_benefit_score)**
| prior_spread_id\later_spread_id | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| A | 10303237.0 | 1480183.0 | 0.0 | 54324.0 | 111652.0 | 74450.0 | 152438.0 | 282125.0 | 122778.0 |
| B | 276093.0 | 1133446.0 | 1260.0 | 88588.0 | 74716.0 | 48661.0 | 35360.0 | 108789.0 | 105886.0 |
| C | 0.0 | 52488.0 | 37089.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| D | 14871.0 | 34395.0 | 0.0 | 611347.0 | 3024.0 | 24203.0 | 3463.0 | 85901.0 | 22335.0 |
| E | 3851.0 | 0.0 | 0.0 | 0.0 | 1701412.0 | 10151.0 | 820.0 | 154534.0 | 20308.0 |
| F | 4487.0 | 26911.0 | 0.0 | 32885.0 | 8151.0 | 419423.0 | 2519.0 | 29200.0 | 58384.0 |
| G | 158784.0 | 16609.0 | 0.0 | 18734.0 | 61364.0 | 25068.0 | 454510.0 | 1264.0 | 7337.0 |
| H | 1093.0 | 2732.0 | 0.0 | 1366.0 | 2186.0 | 546.0 | 2732.0 | 8547.0 | 2459.0 |
| I | 42283.0 | 43649.0 | 0.0 | 13164.0 | 21199.0 | 6290.0 | 15416.0 | 42336.0 | 460208.0 |
Iβll use these pairwise scores to choose the ordering that maximizes the total visual impact.
When you send the final ordering back, just drop it into a tiny JSON object so itβs easy to parse β something casual, like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Pretty simple: ""solution"" holds an ordered list of the spreads from front to back β the first entry is the opener and the last entry is the closer. Think of the JSON as a little form: replace the placeholders with the actual spread identifiers from the instance input. This block is just a sketch of the shape Iβm expecting, not the actual answer itself.
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β.","[[10303237.0, 1480183.0, 0.0, 54324.0, 111652.0, 74450.0, 152438.0, 282125.0, 122778.0], [276093.0, 1133446.0, 1260.0, 88588.0, 74716.0, 48661.0, 35360.0, 108789.0, 105886.0], [0.0, 52488.0, 37089.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [14871.0, 34395.0, 0.0, 611347.0, 3024.0, 24203.0, 3463.0, 85901.0, 22335.0], [3851.0, 0.0, 0.0, 0.0, 1701412.0, 10151.0, 820.0, 154534.0, 20308.0], [4487.0, 26911.0, 0.0, 32885.0, 8151.0, 419423.0, 2519.0, 29200.0, 58384.0], [158784.0, 16609.0, 0.0, 18734.0, 61364.0, 25068.0, 454510.0, 1264.0, 7337.0], [1093.0, 2732.0, 0.0, 1366.0, 2186.0, 546.0, 2732.0, 8547.0, 2459.0], [42283.0, 43649.0, 0.0, 13164.0, 21199.0, 6290.0, 15416.0, 42336.0, 460208.0]]","[2, 0, 1, 6, 5, 3, 8, 4, 7]",3364154.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 1480183.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 54324.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 111652.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 74450.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 152438.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 282125.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 122778.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 276093.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 1260.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 88588.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 74716.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 48661.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 35360.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 108789.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 105886.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 52488.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 14871.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 34395.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 3024.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 24203.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 3463.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 85901.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 22335.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 3851.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 10151.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 820.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 154534.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 20308.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 4487.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 26911.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 32885.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 8151.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 2519.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 29200.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 58384.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 158784.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 16609.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 18734.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 61364.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 25068.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 1264.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 7337.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 1093.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 2732.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 1366.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 2186.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 546.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 2732.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 2459.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 42283.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 43649.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 13164.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 21199.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 6290.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 15416.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 42336.0}]}","['C', 'A', 'B', 'G', 'F', 'D', 'I', 'E', 'H']",31,markdown_table,names
LOP,LOP,"Someone on the planning committee has to decide the sequence of panels, and the aim is to make the lineup produce the most overall discussion value. Thereβs a tiny score for every ordered pair of topics that tells how beneficial it is to have one precede the other; after assigning each topic a single slot (no repeats, no skipping), combine the appropriate score for every pair according to whoβs earlier, and add them up. The ordering that yields the largest combined score is what we want. The exact topics and their pairwise scores appear below.
# num_topics=5
# topics_list=A, B, C, D, E
# Meaning: this is a directed pairwise_benefit matrix over items in topics_list (5 total). Entry at row earlier_topic_id=i and column later_topic_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_benefit
| earlier_topic_id\later_topic_id | A | B | C | D | E |
|---|---|---|---|---|---|
| A | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| B | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| C | 0.0 | 0.0 | 12.0 | 38.0 | 8.0 |
| D | 0.0 | 0.0 | 0.0 | 66.0 | 6.0 |
| E | 0.0 | 0.0 | 21.0 | 250.0 | 466.0 |
Also, when you send back the final ordering, please use this simple JSON shape so it's easy to read and plug into whatever tool you're using.
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
""solution"" is just a list that shows the topics in the exact order you want them to appear β first slot through last slot. This JSON is only a sketch of the shape I expect, not the actual answer.
And one small but important note: use the identifiers exactly as they appear in the instance input β don't rename them and don't invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 12.0, 38.0, 8.0], [0.0, 0.0, 0.0, 66.0, 6.0], [0.0, 0.0, 21.0, 250.0, 466.0]]","[4, 2, 3, 1, 0]",309.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': ['A', 'B', 'C', 'D', 'E'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 38.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 8.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 6.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 21.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 250.0}]}","['E', 'C', 'D', 'B', 'A']",32,csv,names
LOP,LOP,"Recently the changelog needed rewriting, and the approach was simple β take every commit summary once and order them. Between any two entries thereβs a small score that tells how much better it reads if one is placed before the other, so the task is to choose a single sequence of all commits that gives the best total clarity when those pair-by-pair scores are added together. The full set of commits and their pairwise scores are listed below.
# total_commits=8
# commit_ids=0, 1, 2, 3, 4, 5, 6, 7
# Meaning: this is a directed clarity_score_if_precedes matrix over items in commit_ids (8 total). Entry at row preceding_commit_id=i and column following_commit_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# clarity_score_if_precedes
| preceding_commit_id\following_commit_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| 0 | 8169.0 | 65.0 | 72.0 | 20.0 | 38.0 | 371.0 | 1323.0 | 0.0 |
| 1 | 606.0 | 154.0 | 1.0 | 4.0 | 1.0 | 9.0 | 151.0 | 0.0 |
| 2 | 118.0 | 2.0 | 79.0 | 3.0 | 3.0 | 2.0 | 119.0 | 0.0 |
| 3 | 730.0 | 803.0 | 39.0 | 2482.0 | 879.0 | 32.0 | 978.0 | 0.0 |
| 4 | 54.0 | 1.0 | 3.0 | 5.0 | 123.0 | 6.0 | 154.0 | 0.0 |
| 5 | 361.0 | 25.0 | 7.0 | 27.0 | 0.0 | 4292.0 | 1440.0 | 0.0 |
| 6 | 34.0 | 45.0 | 2.0 | 210.0 | 4.0 | 12.0 | 1092.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
And when you reply, just pop the ordering into a tiny JSON snippet like this β keeps things simple and easy to parse:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
The ""solution"" array is just the commits in the order you want them to appear, from first to last. Each placeholder like <first_item> stands in for the actual commit identifier from the input β think of it as a little form where you list every commit exactly once.
This JSON is only a sketch of the shape I expect, not the final answer itself. Please make sure to use the identifiers exactly as they appear in the instance input β do not rename them or add new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[8169.0, 65.0, 72.0, 20.0, 38.0, 371.0, 1323.0, 0.0], [606.0, 154.0, 1.0, 4.0, 1.0, 9.0, 151.0, 0.0], [118.0, 2.0, 79.0, 3.0, 3.0, 2.0, 119.0, 0.0], [730.0, 803.0, 39.0, 2482.0, 879.0, 32.0, 978.0, 0.0], [54.0, 1.0, 3.0, 5.0, 123.0, 6.0, 154.0, 0.0], [361.0, 25.0, 7.0, 27.0, 0.0, 4292.0, 1440.0, 0.0], [34.0, 45.0, 2.0, 210.0, 4.0, 12.0, 1092.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[7, 3, 4, 5, 2, 1, 0, 6]",7831.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 65.0}, {'from_id': 0, 'to_id': 2, 'weight': 72.0}, {'from_id': 0, 'to_id': 3, 'weight': 20.0}, {'from_id': 0, 'to_id': 4, 'weight': 38.0}, {'from_id': 0, 'to_id': 5, 'weight': 371.0}, {'from_id': 0, 'to_id': 6, 'weight': 1323.0}, {'from_id': 0, 'to_id': 7, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 606.0}, {'from_id': 1, 'to_id': 2, 'weight': 1.0}, {'from_id': 1, 'to_id': 3, 'weight': 4.0}, {'from_id': 1, 'to_id': 4, 'weight': 1.0}, {'from_id': 1, 'to_id': 5, 'weight': 9.0}, {'from_id': 1, 'to_id': 6, 'weight': 151.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 118.0}, {'from_id': 2, 'to_id': 1, 'weight': 2.0}, {'from_id': 2, 'to_id': 3, 'weight': 3.0}, {'from_id': 2, 'to_id': 4, 'weight': 3.0}, {'from_id': 2, 'to_id': 5, 'weight': 2.0}, {'from_id': 2, 'to_id': 6, 'weight': 119.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 730.0}, {'from_id': 3, 'to_id': 1, 'weight': 803.0}, {'from_id': 3, 'to_id': 2, 'weight': 39.0}, {'from_id': 3, 'to_id': 4, 'weight': 879.0}, {'from_id': 3, 'to_id': 5, 'weight': 32.0}, {'from_id': 3, 'to_id': 6, 'weight': 978.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 54.0}, {'from_id': 4, 'to_id': 1, 'weight': 1.0}, {'from_id': 4, 'to_id': 2, 'weight': 3.0}, {'from_id': 4, 'to_id': 3, 'weight': 5.0}, {'from_id': 4, 'to_id': 5, 'weight': 6.0}, {'from_id': 4, 'to_id': 6, 'weight': 154.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 361.0}, {'from_id': 5, 'to_id': 1, 'weight': 25.0}, {'from_id': 5, 'to_id': 2, 'weight': 7.0}, {'from_id': 5, 'to_id': 3, 'weight': 27.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 1440.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 0, 'weight': 34.0}, {'from_id': 6, 'to_id': 1, 'weight': 45.0}, {'from_id': 6, 'to_id': 2, 'weight': 2.0}, {'from_id': 6, 'to_id': 3, 'weight': 210.0}, {'from_id': 6, 'to_id': 4, 'weight': 4.0}, {'from_id': 6, 'to_id': 5, 'weight': 12.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 7, 'to_id': 0, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[7, 3, 4, 5, 2, 1, 0, 6]",33,csv,0
LOP,LOP,"Recently the crew tried to plan a dayβs run using a handy list that assigns a benefit for putting one stop ahead of another. The idea was to build one continuous route that hits every stop exactly once β no repeats, no gaps β and to choose the order that yields the highest total benefit. To score any candidate route, add the benefit number for every pair of stops where the earlier one is placed before the later one; the bigger that sum, the better the route. The full details and the benefit table are given below.
{
""total_stops"": 6,
""stop_ids"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F""
]
}
# Meaning: this is a directed pair_benefit matrix over items in stop_ids (6 total). Entry at row from_stop_id=i and column to_stop_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pair_benefit
| from_stop_id\to_stop_id | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| A | 203.0 | 0.0 | 169.0 | 64.0 | 25.0 | 0.0 |
| B | 0.0 | 19.0 | 0.0 | 0.0 | 5.0 | 0.0 |
| C | 19.0 | 0.0 | 2482.0 | 36.0 | 44.0 | 0.0 |
| D | 152.0 | 0.0 | 5.0 | 304.0 | 9.0 | 0.0 |
| E | 3.0 | 0.0 | 4.0 | 14.0 | 411.0 | 0.0 |
| F | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
When youβre ready to send the final route back, please stick to a tiny JSON sketch so itβs easy to read and parse. Something like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Hereβs what that little block means in plain, non-technical terms: ""solution"" is the ordered list of stops β the first entry is where you start the run, the next is where you go after that, and so on until the last stop. Think of the placeholders as blanks to fill with the actual stop identifiers from the instance. This is just the shape Iβm expecting, not the actual route itself.
Please make sure you use the exact identifiers from the instance input β donβt rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[203.0, 0.0, 169.0, 64.0, 25.0, 0.0], [0.0, 19.0, 0.0, 0.0, 5.0, 0.0], [19.0, 0.0, 2482.0, 36.0, 44.0, 0.0], [152.0, 0.0, 5.0, 304.0, 9.0, 0.0], [3.0, 0.0, 4.0, 14.0, 411.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[5, 3, 0, 2, 1, 4]",409.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 169.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 64.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 25.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 5.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 19.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 36.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 44.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 152.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 5.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 9.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 3.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 4.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 14.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}]}","['F', 'D', 'A', 'C', 'B', 'E']",34,json,names
LOP,LOP,"Iβm the lateβnight DJ trying to stitch together a tight set from a pile of tracks. The trick is to put every song into one continuous run β no repeats, nothing left in the crate β and order them so the flow between each pair feels great. Each possible transition has a little engagement score, and the whole showβs success comes from adding up those scores for every consecutive pair; the higher that total, the better the ride. The exact tracks and their transition scores are shown below.
{
""total_tracks"": 9,
""track_ids"": [
0,
1,
2,
3,
4,
5,
6,
7,
8
]
}
# Meaning: this is a directed transition_engagement matrix over items in track_ids (9 total). Entry at row from_track_id=i and column to_track_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# transition_engagement
| from_track_id\to_track_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 1602.0 | 1208.0 | 26.0 | 51.0 | 100.0 | 54.0 | 71.0 | 161.0 | 0.0 |
| 1 | 113.0 | 4965.0 | 104.0 | 34.0 | 59.0 | 99.0 | 20.0 | 28.0 | 0.0 |
| 2 | 0.0 | 7.0 | 612.0 | 1.0 | 3.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 0.0 | 59.0 | 0.0 | 75.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 4 | 0.0 | 3.0 | 0.0 | 5.0 | 120.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 5 | 1.0 | 33.0 | 13.0 | 1.0 | 3.0 | 931.0 | 5.0 | 0.0 | 0.0 |
| 6 | 1.0 | 11.0 | 0.0 | 0.0 | 7.0 | 1.0 | 24.0 | 23.0 | 0.0 |
| 7 | 18.0 | 113.0 | 14.0 | 13.0 | 21.0 | 21.0 | 29.0 | 8178.0 | 0.0 |
| 8 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
If you want to hand me the run in a simple, machine-friendly way, just drop it into a little JSON sketch like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the playlist order β the first element is the track that opens the set, the next is what follows it, and so on until the last track closes the run. This JSON is just a shape hint for how I expect the answer to be laid out, not the actual ordering itself.
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β.""","[[1602.0, 1208.0, 26.0, 51.0, 100.0, 54.0, 71.0, 161.0, 0.0], [113.0, 4965.0, 104.0, 34.0, 59.0, 99.0, 20.0, 28.0, 0.0], [0.0, 7.0, 612.0, 1.0, 3.0, 0.0, 0.0, 0.0, 0.0], [0.0, 59.0, 0.0, 75.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 3.0, 0.0, 5.0, 120.0, 0.0, 0.0, 0.0, 0.0], [1.0, 33.0, 13.0, 1.0, 3.0, 931.0, 5.0, 0.0, 0.0], [1.0, 11.0, 0.0, 0.0, 7.0, 1.0, 24.0, 23.0, 0.0], [18.0, 113.0, 14.0, 13.0, 21.0, 21.0, 29.0, 8178.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[8, 0, 7, 3, 1, 5, 6, 2, 4]",2254.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 1208.0}, {'from_id': 0, 'to_id': 2, 'weight': 26.0}, {'from_id': 0, 'to_id': 3, 'weight': 51.0}, {'from_id': 0, 'to_id': 4, 'weight': 100.0}, {'from_id': 0, 'to_id': 5, 'weight': 54.0}, {'from_id': 0, 'to_id': 6, 'weight': 71.0}, {'from_id': 0, 'to_id': 7, 'weight': 161.0}, {'from_id': 0, 'to_id': 8, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 113.0}, {'from_id': 1, 'to_id': 2, 'weight': 104.0}, {'from_id': 1, 'to_id': 3, 'weight': 34.0}, {'from_id': 1, 'to_id': 4, 'weight': 59.0}, {'from_id': 1, 'to_id': 5, 'weight': 99.0}, {'from_id': 1, 'to_id': 6, 'weight': 20.0}, {'from_id': 1, 'to_id': 7, 'weight': 28.0}, {'from_id': 1, 'to_id': 8, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 7.0}, {'from_id': 2, 'to_id': 3, 'weight': 1.0}, {'from_id': 2, 'to_id': 4, 'weight': 3.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 8, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 59.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 8, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 3.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 5.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 8, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 1.0}, {'from_id': 5, 'to_id': 1, 'weight': 33.0}, {'from_id': 5, 'to_id': 2, 'weight': 13.0}, {'from_id': 5, 'to_id': 3, 'weight': 1.0}, {'from_id': 5, 'to_id': 4, 'weight': 3.0}, {'from_id': 5, 'to_id': 6, 'weight': 5.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 8, 'weight': 0.0}, {'from_id': 6, 'to_id': 0, 'weight': 1.0}, {'from_id': 6, 'to_id': 1, 'weight': 11.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 0.0}, {'from_id': 6, 'to_id': 4, 'weight': 7.0}, {'from_id': 6, 'to_id': 5, 'weight': 1.0}, {'from_id': 6, 'to_id': 7, 'weight': 23.0}, {'from_id': 6, 'to_id': 8, 'weight': 0.0}, {'from_id': 7, 'to_id': 0, 'weight': 18.0}, {'from_id': 7, 'to_id': 1, 'weight': 113.0}, {'from_id': 7, 'to_id': 2, 'weight': 14.0}, {'from_id': 7, 'to_id': 3, 'weight': 13.0}, {'from_id': 7, 'to_id': 4, 'weight': 21.0}, {'from_id': 7, 'to_id': 5, 'weight': 21.0}, {'from_id': 7, 'to_id': 6, 'weight': 29.0}, {'from_id': 7, 'to_id': 8, 'weight': 0.0}, {'from_id': 8, 'to_id': 0, 'weight': 0.0}, {'from_id': 8, 'to_id': 1, 'weight': 0.0}, {'from_id': 8, 'to_id': 2, 'weight': 0.0}, {'from_id': 8, 'to_id': 3, 'weight': 0.0}, {'from_id': 8, 'to_id': 4, 'weight': 0.0}, {'from_id': 8, 'to_id': 5, 'weight': 0.0}, {'from_id': 8, 'to_id': 6, 'weight': 0.0}, {'from_id': 8, 'to_id': 7, 'weight': 0.0}]}","[8, 0, 7, 3, 1, 5, 6, 2, 4]",35,json,0
LOP,LOP,"Many people on the team are treating this like a puzzle: arrange the whole batch of images into a single chain so every picture appears once and no image is left out or repeated. Thereβs a tiny benefit assigned to every possible ordered pairing β if photo X comes before photo Y you pick up the listed amount β and the storyβs overall strength is the sum of all those picked-up amounts across the entire ordering. So the goal is to order the pictures to collect the biggest total reward. The exact images and their pairwise rewards are shown below.
Here are the 7 photos (A, B, C, D, E, F, G) that must each appear once in the final chain.
Meaning: this is a directed pairwise_story_gain matrix over items in image_ids (7 total). Entry at row preceding_image_id=i and column following_image_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
pairwise_story_gain:
| preceding_image_id\following_image_id | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| A | 8501664.0 | 501908.0 | 25606.0 | 304.0 | 400.0 | 40.0 | 39163.0 |
| B | 1000.0 | 50405.0 | 21090.0 | 250.0 | 2250.0 | 0.0 | 3800.0 |
| C | 821013.0 | 33353.0 | 486028.0 | 21218.0 | 107752.0 | 6184.0 | 392823.0 |
| D | 51934.0 | 5543.0 | 973526.0 | 34117.0 | 246238.0 | 20214.0 | 260560.0 |
| E | 157679.0 | 10858.0 | 505388.0 | 23936.0 | 6491775.0 | 6325.0 | 111599.0 |
| F | 6197.0 | 765.0 | 132552.0 | 4285.0 | 59381.0 | 100.0 | 17270.0 |
| G | 300246.0 | 24944.0 | 1050039.0 | 34882.0 | 1400613.0 | 13152.0 | 663020.0 |
List each ordered pair so the total narrative gain for the full ordering can be computed.
Also, when you send the final ordering back, keep it simple β a tiny JSON object with one key, ""solution"", whose value is the ordered list of the pictures from first to last. Hereβs the shape Iβm expecting:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as just the ordered chain: the first entry is the picture that appears first, the second entry appears next, and so on until the last entry. This JSON is just a sketch of the shape I want, not the actual ordering β fill it with the exact identifiers from the instance when you reply.
Please make sure all identifiers are used exactly as they appear in the instance input β do not rename them and do not invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[8501664.0, 501908.0, 25606.0, 304.0, 400.0, 40.0, 39163.0], [1000.0, 50405.0, 21090.0, 250.0, 2250.0, 0.0, 3800.0], [821013.0, 33353.0, 486028.0, 21218.0, 107752.0, 6184.0, 392823.0], [51934.0, 5543.0, 973526.0, 34117.0, 246238.0, 20214.0, 260560.0], [157679.0, 10858.0, 505388.0, 23936.0, 6491775.0, 6325.0, 111599.0], [6197.0, 765.0, 132552.0, 4285.0, 59381.0, 100.0, 17270.0], [300246.0, 24944.0, 1050039.0, 34882.0, 1400613.0, 13152.0, 663020.0]]","[3, 5, 6, 4, 2, 0, 1]",6580221.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 501908.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 25606.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 304.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 400.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 40.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 39163.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 1000.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 21090.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 250.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 2250.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 3800.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 821013.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 33353.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 21218.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 107752.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 6184.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 392823.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 51934.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 5543.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 973526.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 246238.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 20214.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 260560.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 157679.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 10858.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 505388.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 23936.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 6325.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 111599.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 6197.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 765.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 132552.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 4285.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 59381.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 17270.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 300246.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 24944.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 1050039.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 34882.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 1400613.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 13152.0}]}","['D', 'F', 'G', 'E', 'C', 'A', 'B']",36,nl,names
LOP,LOP,"Iβm putting together a meeting agenda and need to line up every topic into one continuous list β nothing left out, nothing repeated. For every pair of topics thereβs a little score saying how much better it is to cover one before the other, and the overall βgoodnessβ of the agenda is just the sum of all those scores for each time a topic appears ahead of another. The trick is to pick the order that makes that total sum as large as it can be while still including each topic exactly once. The exact topics and their pairwise scores are shown below.
{
""total_topics"": 7,
""topic_ids"": [
1,
2,
3,
4,
5,
6,
7
]
}
# Meaning: this is a directed coherence_score matrix over items in topic_ids (7 total). Entry at row predecessor_topic_id=i and column successor_topic_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# coherence_score
| predecessor_topic_id\successor_topic_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 6.0 | 0.0 | 2.0 | 2.0 | 1.0 | 0.0 | 5.0 |
| 2 | 0.0 | 9.0 | 0.0 | 1.0 | 2.0 | 1.0 | 2.0 |
| 3 | 0.0 | 11.0 | 1677.0 | 198.0 | 23.0 | 6.0 | 96.0 |
| 4 | 0.0 | 2.0 | 447.0 | 4162.0 | 14.0 | 17.0 | 395.0 |
| 5 | 0.0 | 0.0 | 16.0 | 0.0 | 79.0 | 3.0 | 23.0 |
| 6 | 2.0 | 0.0 | 3.0 | 1.0 | 1.0 | 3083.0 | 45.0 |
| 7 | 0.0 | 0.0 | 69.0 | 243.0 | 37.0 | 12.0 | 13.0 |
Oh, and when you send back the final ordering, please use a tiny JSON layout like this so itβs easy to read and parse β just list the topics in order under ""solution"".
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
That ""solution"" array is where you put every topic in the final sequence, from the one to cover first to the one to cover last. Think of it like filling out a simple form: one entry per slot, in order. This block is just a sketch of the shape Iβm expecting, not the actual answer.
Please use the exact identifiers from the instance input β donβt rename them or invent new 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β.""","[[6.0, 0.0, 2.0, 2.0, 1.0, 0.0, 5.0], [0.0, 9.0, 0.0, 1.0, 2.0, 1.0, 2.0], [0.0, 11.0, 1677.0, 198.0, 23.0, 6.0, 96.0], [0.0, 2.0, 447.0, 4162.0, 14.0, 17.0, 395.0], [0.0, 0.0, 16.0, 0.0, 79.0, 3.0, 23.0], [2.0, 0.0, 3.0, 1.0, 1.0, 3083.0, 45.0], [0.0, 0.0, 69.0, 243.0, 37.0, 12.0, 13.0]]","[0, 3, 2, 1, 5, 6, 4]",1109.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 2.0}, {'from_id': 1, 'to_id': 4, 'weight': 2.0}, {'from_id': 1, 'to_id': 5, 'weight': 1.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 5.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 1.0}, {'from_id': 2, 'to_id': 5, 'weight': 2.0}, {'from_id': 2, 'to_id': 6, 'weight': 1.0}, {'from_id': 2, 'to_id': 7, 'weight': 2.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 11.0}, {'from_id': 3, 'to_id': 4, 'weight': 198.0}, {'from_id': 3, 'to_id': 5, 'weight': 23.0}, {'from_id': 3, 'to_id': 6, 'weight': 6.0}, {'from_id': 3, 'to_id': 7, 'weight': 96.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 2.0}, {'from_id': 4, 'to_id': 3, 'weight': 447.0}, {'from_id': 4, 'to_id': 5, 'weight': 14.0}, {'from_id': 4, 'to_id': 6, 'weight': 17.0}, {'from_id': 4, 'to_id': 7, 'weight': 395.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 16.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 3.0}, {'from_id': 5, 'to_id': 7, 'weight': 23.0}, {'from_id': 6, 'to_id': 1, 'weight': 2.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 3.0}, {'from_id': 6, 'to_id': 4, 'weight': 1.0}, {'from_id': 6, 'to_id': 5, 'weight': 1.0}, {'from_id': 6, 'to_id': 7, 'weight': 45.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 69.0}, {'from_id': 7, 'to_id': 4, 'weight': 243.0}, {'from_id': 7, 'to_id': 5, 'weight': 37.0}, {'from_id': 7, 'to_id': 6, 'weight': 12.0}]}","[1, 4, 3, 2, 6, 7, 5]",37,json,1
LOP,LOP,"Weβve got a stretch of gallery and a stack of exhibits that all need to be placed in a single row β each item gets exactly one spot, nobody gets left out and nothing is doubled up. Between every two different exhibits thereβs a given benefit for placing one ahead of the other, and the crowdβs overall reaction to a particular arrangement is just the sum of those little benefits for every time one piece comes before another. So the plan that gives the highest combined interest is the one to aim for. The exact exhibits and the interest values follow below.
Here are the 7 exhibits we need to place: 0, 1, 2, 3, 4, 5, 6.
*Meaning: this is a directed interest_gain matrix over items in exhibit_ids (7 total). Entry at row preceding_exhibit=i and column succeeding_exhibit=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**interest_gain)**
| preceding_exhibit\succeeding_exhibit | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| 0 | 2510662.0 | 2762.0 | 0.0 | 0.0 | 0.0 | 378207.0 | 5969.0 |
| 1 | 0.0 | 2269.0 | 0.0 | 10372.0 | 0.0 | 12020.0 | 1112.0 |
| 2 | 28808.0 | 0.0 | 895358.0 | 661.0 | 572.0 | 46568.0 | 3954.0 |
| 3 | 8455.0 | 1190.0 | 540.0 | 78182.0 | 4183.0 | 57427.0 | 6970.0 |
| 4 | 24351.0 | 2909.0 | 6981.0 | 515332.0 | 3604.0 | 45988.0 | 1804.0 |
| 5 | 296.0 | 160.0 | 0.0 | 2696.0 | 0.0 | 83301.0 | 1422.0 |
| 6 | 620.0 | 552.0 | 0.0 | 2210.0 | 4696.0 | 12983.0 | 3815.0 |
Thatβs everything β we should pick the ordering that maximizes the total interest.
If you want to hand the final ordering back to me, just drop it into a tiny JSON snippet like this β simple and tidy:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single row of exhibits, listed from the one at the very front to the one at the very end. Each placeholder in the array stands for one exhibit identifier β that's all the JSON is doing here, just showing the shape I expect. This is only a sketch of the shape, not the actual answer.
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β.""","[[2510662.0, 2762.0, 0.0, 0.0, 0.0, 378207.0, 5969.0], [0.0, 2269.0, 0.0, 10372.0, 0.0, 12020.0, 1112.0], [28808.0, 0.0, 895358.0, 661.0, 572.0, 46568.0, 3954.0], [8455.0, 1190.0, 540.0, 78182.0, 4183.0, 57427.0, 6970.0], [24351.0, 2909.0, 6981.0, 515332.0, 3604.0, 45988.0, 1804.0], [296.0, 160.0, 0.0, 2696.0, 0.0, 83301.0, 1422.0], [620.0, 552.0, 0.0, 2210.0, 4696.0, 12983.0, 3815.0]]","[4, 2, 1, 3, 0, 6, 5]",1170871.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [0, 1, 2, 3, 4, 5, 6], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 2762.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 0.0}, {'from_id': 0, 'to_id': 5, 'weight': 378207.0}, {'from_id': 0, 'to_id': 6, 'weight': 5969.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 10372.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 12020.0}, {'from_id': 1, 'to_id': 6, 'weight': 1112.0}, {'from_id': 2, 'to_id': 0, 'weight': 28808.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 661.0}, {'from_id': 2, 'to_id': 4, 'weight': 572.0}, {'from_id': 2, 'to_id': 5, 'weight': 46568.0}, {'from_id': 2, 'to_id': 6, 'weight': 3954.0}, {'from_id': 3, 'to_id': 0, 'weight': 8455.0}, {'from_id': 3, 'to_id': 1, 'weight': 1190.0}, {'from_id': 3, 'to_id': 2, 'weight': 540.0}, {'from_id': 3, 'to_id': 4, 'weight': 4183.0}, {'from_id': 3, 'to_id': 5, 'weight': 57427.0}, {'from_id': 3, 'to_id': 6, 'weight': 6970.0}, {'from_id': 4, 'to_id': 0, 'weight': 24351.0}, {'from_id': 4, 'to_id': 1, 'weight': 2909.0}, {'from_id': 4, 'to_id': 2, 'weight': 6981.0}, {'from_id': 4, 'to_id': 3, 'weight': 515332.0}, {'from_id': 4, 'to_id': 5, 'weight': 45988.0}, {'from_id': 4, 'to_id': 6, 'weight': 1804.0}, {'from_id': 5, 'to_id': 0, 'weight': 296.0}, {'from_id': 5, 'to_id': 1, 'weight': 160.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 2696.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 1422.0}, {'from_id': 6, 'to_id': 0, 'weight': 620.0}, {'from_id': 6, 'to_id': 1, 'weight': 552.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 2210.0}, {'from_id': 6, 'to_id': 4, 'weight': 4696.0}, {'from_id': 6, 'to_id': 5, 'weight': 12983.0}]}","[4, 2, 1, 3, 0, 6, 5]",38,markdown_table,0
LOP,LOP,"Picture a long buffet table where each platter must take a unique spot in the line β no duplicates, nothing skipped. For each pair of distinct platters thereβs a little benefit score for putting one ahead of the other, and by summing those scores for every ordered pair in a lineup, the caterer can see which ordering makes the most overall satisfaction. The concrete platter names and the pairwise scores are listed below.
There are 5 distinct platters to place: 1, 2, 3, 4, 5.
*Meaning: this is a directed benefit_score matrix over items in platter_ids (5 total). Entry at row earlier_platter_id=i and column later_platter_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**benefit_score)**
| earlier_platter_id\later_platter_id | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| 1 | 15660.0 | 0.0 | 724.0 | 0.0 | 392.0 |
| 2 | 0.0 | 591.0 | 22.0 | 111.0 | 0.0 |
| 3 | 7.0 | 0.0 | 70327.0 | 0.0 | 2.0 |
| 4 | 1.0 | 0.0 | 1843.0 | 524.0 | 0.0 |
| 5 | 37.0 | 465.0 | 3.0 | 0.0 | 63.0 |
The caterer will sum these pairwise benefits to identify the lineup that maximizes overall satisfaction.
Oh, and when you send back the final lineup, just stick to this simple JSON shape:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the ordered list of platters from the one at the very front of the table to the one at the very end. The placeholders show where each item identifier from the instance should go β one identifier per slot, in order. This JSON is just a sketch of the shape I want, not the actual answer.
Please use the exact identifiers given in the instance input β do not rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[15660.0, 0.0, 724.0, 0.0, 392.0], [0.0, 591.0, 22.0, 111.0, 0.0], [7.0, 0.0, 70327.0, 0.0, 2.0], [1.0, 0.0, 1843.0, 524.0, 0.0], [37.0, 465.0, 3.0, 0.0, 63.0]]","[0, 4, 1, 3, 2]",3560.0,"{'problem_type': 'LOP', 'num_nodes': 5, 'nodes': [1, 2, 3, 4, 5], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 724.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 392.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 22.0}, {'from_id': 2, 'to_id': 4, 'weight': 111.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 7.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 2.0}, {'from_id': 4, 'to_id': 1, 'weight': 1.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 1843.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 37.0}, {'from_id': 5, 'to_id': 2, 'weight': 465.0}, {'from_id': 5, 'to_id': 3, 'weight': 3.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}]}","[1, 5, 2, 4, 3]",39,markdown_table,1
LOP,LOP,"Thereβs a trainer deciding how to line up a handful of exercises into a single workout so nothingβs left out and nothing happens twice. Every time the trainer puts one exercise before another, thereβs a measurable payoff for that specific switch, and the trick is to arrange the whole flow so the payoffs from each transition add up to the biggest number possible. So the plan is to total the benefit of each successive pair in the routine and pick the order with the greatest combined score. The concrete exercise list and the pairwise benefits are shown below.
# total_exercises=6
# exercise_list=0, 1, 2, 3, 4, 5
# Meaning: this is a directed transition_benefit matrix over items in exercise_list (6 total). Entry at row from_exercise=i and column to_exercise=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# transition_benefit
| from_exercise\to_exercise | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| 0 | 103.0 | 0.0 | 2.0 | 3.0 | 184.0 | 48.0 |
| 1 | 2.0 | 33.0 | 7.0 | 1.0 | 55.0 | 6.0 |
| 2 | 0.0 | 53.0 | 139.0 | 1.0 | 112.0 | 14.0 |
| 3 | 0.0 | 0.0 | 0.0 | 3747.0 | 962.0 | 39.0 |
| 4 | 6.0 | 4.0 | 7.0 | 62.0 | 1290.0 | 390.0 |
| 5 | 71.0 | 12.0 | 13.0 | 13.0 | 141.0 | 5.0 |
Oh, and when you send back the actual ordering, please use this simple JSON shape so it's easy to read and check:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is just the final workout flow β a list of the exercises in the exact sequence you want, from the opening move to the closer. Think of it like filling in the blanks with the exercise names in order. This JSON is just the shape I expect, not the real solution itself.
Please make sure every identifier you use matches the instance input exactly β don't rename items 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β.","[[103.0, 0.0, 2.0, 3.0, 184.0, 48.0], [2.0, 33.0, 7.0, 1.0, 55.0, 6.0], [0.0, 53.0, 139.0, 1.0, 112.0, 14.0], [0.0, 0.0, 0.0, 3747.0, 962.0, 39.0], [6.0, 4.0, 7.0, 62.0, 1290.0, 390.0], [71.0, 12.0, 13.0, 13.0, 141.0, 5.0]]","[2, 1, 0, 3, 4, 5]",1870.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': [0, 1, 2, 3, 4, 5], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 2.0}, {'from_id': 0, 'to_id': 3, 'weight': 3.0}, {'from_id': 0, 'to_id': 4, 'weight': 184.0}, {'from_id': 0, 'to_id': 5, 'weight': 48.0}, {'from_id': 1, 'to_id': 0, 'weight': 2.0}, {'from_id': 1, 'to_id': 2, 'weight': 7.0}, {'from_id': 1, 'to_id': 3, 'weight': 1.0}, {'from_id': 1, 'to_id': 4, 'weight': 55.0}, {'from_id': 1, 'to_id': 5, 'weight': 6.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 53.0}, {'from_id': 2, 'to_id': 3, 'weight': 1.0}, {'from_id': 2, 'to_id': 4, 'weight': 112.0}, {'from_id': 2, 'to_id': 5, 'weight': 14.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 962.0}, {'from_id': 3, 'to_id': 5, 'weight': 39.0}, {'from_id': 4, 'to_id': 0, 'weight': 6.0}, {'from_id': 4, 'to_id': 1, 'weight': 4.0}, {'from_id': 4, 'to_id': 2, 'weight': 7.0}, {'from_id': 4, 'to_id': 3, 'weight': 62.0}, {'from_id': 4, 'to_id': 5, 'weight': 390.0}, {'from_id': 5, 'to_id': 0, 'weight': 71.0}, {'from_id': 5, 'to_id': 1, 'weight': 12.0}, {'from_id': 5, 'to_id': 2, 'weight': 13.0}, {'from_id': 5, 'to_id': 3, 'weight': 13.0}, {'from_id': 5, 'to_id': 4, 'weight': 141.0}]}","[2, 1, 0, 3, 4, 5]",40,csv,0
LOP,LOP,"On a busy morning the team had to arrange every product tile into a single carousel rotation β no duplicates, no missing items, every product exactly once. Between every two products someone recorded how many extra clicks you get if the first is placed before the second, so to judge an ordering you go through every pair, take the corresponding number when the earlier product comes before the later one, add them all together, and aim for the ordering with the highest total clicks. The concrete product details and pairwise values are shown below.
# total_products=9
# product_ids=A, B, C, D, E, F, G, H, I
# Meaning: this is a directed pairwise_click_value matrix over items in product_ids (9 total). Entry at row preceding_product_id=i and column succeeding_product_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# pairwise_click_value
| preceding_product_id\succeeding_product_id | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| A | 0.0 | 0.0 | 0.0 | 0.0 | 2.0 | 4.0 | 0.0 | 0.0 | 0.0 |
| B | 0.0 | 0.0 | 0.0 | 0.0 | 6.0 | 15.0 | 0.0 | 0.0 | 0.0 |
| C | 0.0 | 0.0 | 870.0 | 0.0 | 4.0 | 177.0 | 0.0 | 1.0 | 0.0 |
| D | 0.0 | 0.0 | 2.0 | 47.0 | 1.0 | 20.0 | 0.0 | 0.0 | 0.0 |
| E | 0.0 | 0.0 | 0.0 | 0.0 | 1.0 | 51.0 | 0.0 | 0.0 | 0.0 |
| F | 0.0 | 70.0 | 33.0 | 4.0 | 0.0 | 169.0 | 0.0 | 7.0 | 0.0 |
| G | 0.0 | 36.0 | 4.0 | 0.0 | 0.0 | 44.0 | 506.0 | 0.0 | 0.0 |
| H | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 8.0 | 0.0 | 1456.0 | 0.0 |
| I | 0.0 | 26.0 | 8.0 | 0.0 | 0.0 | 114.0 | 0.0 | 0.0 | 0.0 |
Also, when you send back the final ordering, please use this simple JSON layout so it's easy to read and machine-friendly:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
The ""solution"" array should list the product tiles in the exact order you want them in the carousel, from first to last. Think of it as the single line on the form that says ""put these items in this order"" β nothing fancy needed.
This JSON is just a sketch of the shape I expect, not the actual answer β replace the placeholders with the real item identifiers from the instance when you reply.
All identifiers must be used exactly as they appear in the instance input β no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as ""1"" or ""23"", single capital letters like ""A"" or ""B"", or a capital letter followed by digits like ""A1"" or ""X7"".""","[[0.0, 0.0, 0.0, 0.0, 2.0, 4.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 6.0, 15.0, 0.0, 0.0, 0.0], [0.0, 0.0, 870.0, 0.0, 4.0, 177.0, 0.0, 1.0, 0.0], [0.0, 0.0, 2.0, 47.0, 1.0, 20.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 1.0, 51.0, 0.0, 0.0, 0.0], [0.0, 70.0, 33.0, 4.0, 0.0, 169.0, 0.0, 7.0, 0.0], [0.0, 36.0, 4.0, 0.0, 0.0, 44.0, 506.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 8.0, 0.0, 1456.0, 0.0], [0.0, 26.0, 8.0, 0.0, 0.0, 114.0, 0.0, 0.0, 0.0]]","[8, 6, 3, 2, 7, 0, 4, 5, 1]",572.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 2.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 4.0}, {'from_id': 'A', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 6.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 15.0}, {'from_id': 'B', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 4.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 177.0}, {'from_id': 'C', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'H', 'weight': 1.0}, {'from_id': 'C', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 2.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 1.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 20.0}, {'from_id': 'D', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 51.0}, {'from_id': 'E', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 70.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 33.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 4.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'H', 'weight': 7.0}, {'from_id': 'F', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'B', 'weight': 36.0}, {'from_id': 'G', 'to_id': 'C', 'weight': 4.0}, {'from_id': 'G', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'F', 'weight': 44.0}, {'from_id': 'G', 'to_id': 'H', 'weight': 0.0}, {'from_id': 'G', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'F', 'weight': 8.0}, {'from_id': 'H', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'H', 'to_id': 'I', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'B', 'weight': 26.0}, {'from_id': 'I', 'to_id': 'C', 'weight': 8.0}, {'from_id': 'I', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'F', 'weight': 114.0}, {'from_id': 'I', 'to_id': 'G', 'weight': 0.0}, {'from_id': 'I', 'to_id': 'H', 'weight': 0.0}]}","['I', 'G', 'D', 'C', 'H', 'A', 'E', 'F', 'B']",41,csv,names
LOP,LOP,"Thereβs a small team planning a how-to guide, and theyβre deciding the sequence of actions. For each pair of actions, thereβs a number that measures how much better learners do if that specific action is taught before the other; the aim is to pick an order that makes the sum of all those pairwise numbers as large as possible. The plan must use every action one time only β nothing left out or repeated β and the concrete steps and their benefit numbers are shown below.
They must arrange the 8 steps 0, 1, 2, 3, 4, 5, 6, 7 into the single uninterrupted tutorial workflow; the following pairwise learning benefits apply:
*Meaning: this is a directed learning_benefit matrix over items in step_ids (8 total). Entry at row preceding_step_id=i and column following_step_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**learning_benefit)**
| preceding_step_id\following_step_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| 0 | 0.0 | 187.0 | 2.0 | 3.0 | 1529.0 | 118.0 | 41.0 | 0.0 |
| 1 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 2 | 58.0 | 259.0 | 48.0 | 206.0 | 255.0 | 99.0 | 649.0 | 0.0 |
| 3 | 62.0 | 109.0 | 117.0 | 42.0 | 183.0 | 39.0 | 2712.0 | 0.0 |
| 4 | 16.0 | 22.0 | 5.0 | 6.0 | 31.0 | 28.0 | 974.0 | 0.0 |
| 5 | 7.0 | 20.0 | 1.0 | 7.0 | 19.0 | 7.0 | 54.0 | 0.0 |
| 6 | 24.0 | 365.0 | 26.0 | 181.0 | 486.0 | 76.0 | 200.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
They should choose an ordering of all 8 steps in 0, 1, 2, 3, 4, 5, 6, 7 that maximizes the total summed learning benefit.
Also, when you send the final sequence back, it helps to use a tiny JSON shape so it's clear and machine-friendly. Something like this will do:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is just the ordered list of actions from first to last β put each action's identifier in the array in the order you want them taught. This is only a sketch of the shape I expect, not the actual ordering.
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β.""","[[0.0, 187.0, 2.0, 3.0, 1529.0, 118.0, 41.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [58.0, 259.0, 48.0, 206.0, 255.0, 99.0, 649.0, 0.0], [62.0, 109.0, 117.0, 42.0, 183.0, 39.0, 2712.0, 0.0], [16.0, 22.0, 5.0, 6.0, 31.0, 28.0, 974.0, 0.0], [7.0, 20.0, 1.0, 7.0, 19.0, 7.0, 54.0, 0.0], [24.0, 365.0, 26.0, 181.0, 486.0, 76.0, 200.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[7, 2, 3, 0, 4, 6, 5, 1]",7991.0,"{'problem_type': 'LOP', 'num_nodes': 8, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 187.0}, {'from_id': 0, 'to_id': 2, 'weight': 2.0}, {'from_id': 0, 'to_id': 3, 'weight': 3.0}, {'from_id': 0, 'to_id': 4, 'weight': 1529.0}, {'from_id': 0, 'to_id': 5, 'weight': 118.0}, {'from_id': 0, 'to_id': 6, 'weight': 41.0}, {'from_id': 0, 'to_id': 7, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 58.0}, {'from_id': 2, 'to_id': 1, 'weight': 259.0}, {'from_id': 2, 'to_id': 3, 'weight': 206.0}, {'from_id': 2, 'to_id': 4, 'weight': 255.0}, {'from_id': 2, 'to_id': 5, 'weight': 99.0}, {'from_id': 2, 'to_id': 6, 'weight': 649.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 62.0}, {'from_id': 3, 'to_id': 1, 'weight': 109.0}, {'from_id': 3, 'to_id': 2, 'weight': 117.0}, {'from_id': 3, 'to_id': 4, 'weight': 183.0}, {'from_id': 3, 'to_id': 5, 'weight': 39.0}, {'from_id': 3, 'to_id': 6, 'weight': 2712.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 16.0}, {'from_id': 4, 'to_id': 1, 'weight': 22.0}, {'from_id': 4, 'to_id': 2, 'weight': 5.0}, {'from_id': 4, 'to_id': 3, 'weight': 6.0}, {'from_id': 4, 'to_id': 5, 'weight': 28.0}, {'from_id': 4, 'to_id': 6, 'weight': 974.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 7.0}, {'from_id': 5, 'to_id': 1, 'weight': 20.0}, {'from_id': 5, 'to_id': 2, 'weight': 1.0}, {'from_id': 5, 'to_id': 3, 'weight': 7.0}, {'from_id': 5, 'to_id': 4, 'weight': 19.0}, {'from_id': 5, 'to_id': 6, 'weight': 54.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 0, 'weight': 24.0}, {'from_id': 6, 'to_id': 1, 'weight': 365.0}, {'from_id': 6, 'to_id': 2, 'weight': 26.0}, {'from_id': 6, 'to_id': 3, 'weight': 181.0}, {'from_id': 6, 'to_id': 4, 'weight': 486.0}, {'from_id': 6, 'to_id': 5, 'weight': 76.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 7, 'to_id': 0, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[7, 2, 3, 0, 4, 6, 5, 1]",42,markdown_table,0
LOP,LOP,"Iβm putting together a tasting flight and need to line up every bottle into one continuous progression. The trick is that for every pair of different wines thereβs a little note saying how much better the palate gets if one is tasted before the other. The job is to pick an order that uses every wine exactly onceβno skips, no duplicatesβand that makes the whole flight as enjoyable as possible. That enjoyment is measured by adding up those pairwise improvement numbers for every time a wine appears before another, and the plan is to choose the order with the biggest total. The exact pairwise numbers and wines are shown below.
{
""total_wines"": 9,
""wine_identifiers"": [
0,
1,
2,
3,
4,
5,
6,
7,
8
]
}
# Meaning: this is a directed palate_improvement_value matrix over items in wine_identifiers (9 total). Entry at row earlier_wine_id=i and column later_wine_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# palate_improvement_value
| earlier_wine_id\later_wine_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 1 | 0.0 | 313.0 | 0.0 | 0.0 | 0.0 | 77.0 | 85.0 | 0.0 | 0.0 |
| 2 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 3 | 0.0 | 0.0 | 0.0 | 12.0 | 0.0 | 0.0 | 11.0 | 0.0 | 0.0 |
| 4 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 5 | 0.0 | 29.0 | 0.0 | 1.0 | 0.0 | 0.0 | 96.0 | 0.0 | 0.0 |
| 6 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 8 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
Also, when you send back the final ordering, please put it in a simple JSON shape so it's easy to read and parse. Something like this:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Pretty straightforward: ""solution"" should be the tasting sequence from the very first pour to the very last, listed in order. Think of it like filling in the blanks on a form β the array is just the lineup of wines, one identifier per slot. This JSON is only a sketch of the expected shape, not the actual answer.
All identifiers must be used exactly as they appear in the instance input β no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 313.0, 0.0, 0.0, 0.0, 77.0, 85.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 12.0, 0.0, 0.0, 11.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 29.0, 0.0, 1.0, 0.0, 0.0, 96.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[8, 7, 1, 5, 3, 6, 4, 2, 0]",270.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7, 8], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 0.0}, {'from_id': 0, 'to_id': 2, 'weight': 0.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 0.0}, {'from_id': 0, 'to_id': 5, 'weight': 0.0}, {'from_id': 0, 'to_id': 6, 'weight': 0.0}, {'from_id': 0, 'to_id': 7, 'weight': 0.0}, {'from_id': 0, 'to_id': 8, 'weight': 0.0}, {'from_id': 1, 'to_id': 0, 'weight': 0.0}, {'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 77.0}, {'from_id': 1, 'to_id': 6, 'weight': 85.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 1, 'to_id': 8, 'weight': 0.0}, {'from_id': 2, 'to_id': 0, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 0.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 8, 'weight': 0.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 11.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 8, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 8, 'weight': 0.0}, {'from_id': 5, 'to_id': 0, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 29.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 1.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 96.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 8, 'weight': 0.0}, {'from_id': 6, 'to_id': 0, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 0.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 0.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 8, 'weight': 0.0}, {'from_id': 7, 'to_id': 0, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}, {'from_id': 7, 'to_id': 8, 'weight': 0.0}, {'from_id': 8, 'to_id': 0, 'weight': 0.0}, {'from_id': 8, 'to_id': 1, 'weight': 0.0}, {'from_id': 8, 'to_id': 2, 'weight': 0.0}, {'from_id': 8, 'to_id': 3, 'weight': 0.0}, {'from_id': 8, 'to_id': 4, 'weight': 0.0}, {'from_id': 8, 'to_id': 5, 'weight': 0.0}, {'from_id': 8, 'to_id': 6, 'weight': 0.0}, {'from_id': 8, 'to_id': 7, 'weight': 0.0}]}","[8, 7, 1, 5, 3, 6, 4, 2, 0]",43,json,0
LOP,LOP,"On a typical afternoon the assignment is simple: create one complete sequence of study topics with every topic included exactly once. Thereβs a reinforcement number for each directed pairing β how much benefit results if that particular topic comes before another β and the overall benefit of a sequence is the sum of those numbers for every pair that appears in that order. The task is to find the ordering with the biggest total sum, and the concrete details are provided below.
Concretely, there are 7 topics to place, listed as 1, 2, 3, 4, 5, 6, 7.
*Meaning: this is a directed reinforcement_score matrix over items in topic_ids (7 total). Entry at row preceding_topic_id=i and column following_topic_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**reinforcement_score)**
| preceding_topic_id\following_topic_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 417.0 | 134.0 | 202.0 | 84.0 | 1232.0 | 0.0 | 5.0 |
| 2 | 0.0 | 13408.0 | 12028.0 | 355.0 | 0.0 | 0.0 | 730.0 |
| 3 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 25952.0 |
| 4 | 65.0 | 10032.0 | 2265.0 | 63890.0 | 2714.0 | 0.0 | 815.0 |
| 5 | 75.0 | 17567.0 | 6364.0 | 9825.0 | 1456.0 | 0.0 | 28044.0 |
| 6 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 7 | 3940.0 | 10542.0 | 7825.0 | 7026.0 | 3286.0 | 0.0 | 4985.0 |
Select the ordering that maximizes the total sum of these reinforcement scores.
A quick note on the output format: when you send back the ordering, please stick to this simple JSON shape so it's easy to read and check.
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the single sequence of study topics, listed from the one that comes first to the one that comes last. This JSON is just a sketch of the shape I need β replace the placeholders with the actual item identifiers from the instance when you give the real answer.
Please use the identifiers exactly as they appear in the instance input β don't rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[417.0, 134.0, 202.0, 84.0, 1232.0, 0.0, 5.0], [0.0, 13408.0, 12028.0, 355.0, 0.0, 0.0, 730.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 25952.0], [65.0, 10032.0, 2265.0, 63890.0, 2714.0, 0.0, 815.0], [75.0, 17567.0, 6364.0, 9825.0, 1456.0, 0.0, 28044.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3940.0, 10542.0, 7825.0, 7026.0, 3286.0, 0.0, 4985.0]]","[4, 2, 6, 5, 0, 3, 1]",119585.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 134.0}, {'from_id': 1, 'to_id': 3, 'weight': 202.0}, {'from_id': 1, 'to_id': 4, 'weight': 84.0}, {'from_id': 1, 'to_id': 5, 'weight': 1232.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 5.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 12028.0}, {'from_id': 2, 'to_id': 4, 'weight': 355.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 0.0}, {'from_id': 2, 'to_id': 7, 'weight': 730.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 0.0}, {'from_id': 3, 'to_id': 7, 'weight': 25952.0}, {'from_id': 4, 'to_id': 1, 'weight': 65.0}, {'from_id': 4, 'to_id': 2, 'weight': 10032.0}, {'from_id': 4, 'to_id': 3, 'weight': 2265.0}, {'from_id': 4, 'to_id': 5, 'weight': 2714.0}, {'from_id': 4, 'to_id': 6, 'weight': 0.0}, {'from_id': 4, 'to_id': 7, 'weight': 815.0}, {'from_id': 5, 'to_id': 1, 'weight': 75.0}, {'from_id': 5, 'to_id': 2, 'weight': 17567.0}, {'from_id': 5, 'to_id': 3, 'weight': 6364.0}, {'from_id': 5, 'to_id': 4, 'weight': 9825.0}, {'from_id': 5, 'to_id': 6, 'weight': 0.0}, {'from_id': 5, 'to_id': 7, 'weight': 28044.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 0.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 0.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 3940.0}, {'from_id': 7, 'to_id': 2, 'weight': 10542.0}, {'from_id': 7, 'to_id': 3, 'weight': 7825.0}, {'from_id': 7, 'to_id': 4, 'weight': 7026.0}, {'from_id': 7, 'to_id': 5, 'weight': 3286.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[5, 3, 7, 6, 1, 4, 2]",44,markdown_table,1
LOP,LOP,"Someone in the household sketched out a postcard gallery and wants it to flow from left to right. The rule is simple: every card gets used once in one continuous line, no repeats, and each time a card appears before another thereβs a given harmony number that boosts the display β the galleryβs total charm is what you get when you add up those boosts. So the job becomes arranging the cards in the order that yields the highest total charm. The exact pairwise harmony numbers follow below.
# num_postcards=7
# postcard_ids=1, 2, 3, 4, 5, 6, 7
# Meaning: this is a directed harmony_score matrix over items in postcard_ids (7 total). Entry at row preceding_postcard_id=i and column following_postcard_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# harmony_score
| preceding_postcard_id\following_postcard_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| 1 | 568.0 | 898.0 | 11.0 | 87.0 | 7.0 | 2.0 | 6.0 |
| 2 | 234.0 | 755.0 | 141.0 | 377.0 | 22.0 | 50.0 | 30.0 |
| 3 | 20.0 | 167.0 | 2756.0 | 12.0 | 0.0 | 3.0 | 5.0 |
| 4 | 0.0 | 0.0 | 0.0 | 6161.0 | 1.0 | 5.0 | 0.0 |
| 5 | 0.0 | 0.0 | 13.0 | 0.0 | 1624.0 | 7.0 | 0.0 |
| 6 | 5.0 | 22.0 | 46.0 | 0.0 | 4.0 | 60.0 | 6.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
If you want to hand me the final line-up, a little JSON sketch makes it easy to read β something like this is perfect:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of ""solution"" as the left-to-right list of cards in the gallery; each entry in the array is one card identifier from the instance input in the order they should appear. This is just a template showing the expected shape, not the actual answer.
Please use the identifiers exactly as they appear in the instance input β no renaming and no new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[568.0, 898.0, 11.0, 87.0, 7.0, 2.0, 6.0], [234.0, 755.0, 141.0, 377.0, 22.0, 50.0, 30.0], [20.0, 167.0, 2756.0, 12.0, 0.0, 3.0, 5.0], [0.0, 0.0, 0.0, 6161.0, 1.0, 5.0, 0.0], [0.0, 0.0, 13.0, 0.0, 1624.0, 7.0, 0.0], [5.0, 22.0, 46.0, 0.0, 4.0, 60.0, 6.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[0, 1, 4, 5, 2, 6, 3]",1720.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [1, 2, 3, 4, 5, 6, 7], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 898.0}, {'from_id': 1, 'to_id': 3, 'weight': 11.0}, {'from_id': 1, 'to_id': 4, 'weight': 87.0}, {'from_id': 1, 'to_id': 5, 'weight': 7.0}, {'from_id': 1, 'to_id': 6, 'weight': 2.0}, {'from_id': 1, 'to_id': 7, 'weight': 6.0}, {'from_id': 2, 'to_id': 1, 'weight': 234.0}, {'from_id': 2, 'to_id': 3, 'weight': 141.0}, {'from_id': 2, 'to_id': 4, 'weight': 377.0}, {'from_id': 2, 'to_id': 5, 'weight': 22.0}, {'from_id': 2, 'to_id': 6, 'weight': 50.0}, {'from_id': 2, 'to_id': 7, 'weight': 30.0}, {'from_id': 3, 'to_id': 1, 'weight': 20.0}, {'from_id': 3, 'to_id': 2, 'weight': 167.0}, {'from_id': 3, 'to_id': 4, 'weight': 12.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 3.0}, {'from_id': 3, 'to_id': 7, 'weight': 5.0}, {'from_id': 4, 'to_id': 1, 'weight': 0.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 1.0}, {'from_id': 4, 'to_id': 6, 'weight': 5.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 13.0}, {'from_id': 5, 'to_id': 4, 'weight': 0.0}, {'from_id': 5, 'to_id': 6, 'weight': 7.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 5.0}, {'from_id': 6, 'to_id': 2, 'weight': 22.0}, {'from_id': 6, 'to_id': 3, 'weight': 46.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 4.0}, {'from_id': 6, 'to_id': 7, 'weight': 6.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}]}","[1, 2, 5, 6, 3, 7, 4]",45,csv,1
LOP,LOP,"Recently I put together a lineup of fragrance strips that needed to be tasted in one continuous run β every strip had to be included exactly once, no reruns, no drops. Thereβs a little table telling how well each scent precedes each other scent, and the plan is to arrange the lineup so that when those pair scores are added up for every earlier-later combination present, the grand total is as high as possible. The full list of strips and their pair scores is shown below.
# total_strips=7
# strip_ids=0, 1, 2, 3, 4, 5, 6
# Meaning: this is a directed progression_value matrix over items in strip_ids (7 total). Entry at row preceding_strip=i and column following_strip=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# progression_value
| preceding_strip\following_strip | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| 0 | 525.0 | 98.0 | 7.0 | 8.0 | 15.0 | 4.0 | 1.0 |
| 1 | 55.0 | 6024.0 | 104.0 | 42.0 | 12.0 | 0.0 | 49.0 |
| 2 | 12.0 | 32.0 | 1259.0 | 2.0 | 4.0 | 72.0 | 6.0 |
| 3 | 0.0 | 0.0 | 0.0 | 964.0 | 0.0 | 0.0 | 118.0 |
| 4 | 10.0 | 6.0 | 45.0 | 0.0 | 994.0 | 0.0 | 6.0 |
| 5 | 36.0 | 95.0 | 18.0 | 11.0 | 15.0 | 16556.0 | 32.0 |
| 6 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
If you want to hand me the final lineup, just drop it into this simple JSON shape so it's easy to pick up and check:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Think of that ""solution"" list like the single continuous tasting order: the first entry is the strip you sniff first, the second is next, and so on until the last. This is just a sketch of the shape I need, not the actual answer β replace those placeholders with the real strip identifiers from the instance.
Please use the identifiers exactly as they appear in the instance input β no renaming and no new labels.
Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.","[[525.0, 98.0, 7.0, 8.0, 15.0, 4.0, 1.0], [55.0, 6024.0, 104.0, 42.0, 12.0, 0.0, 49.0], [12.0, 32.0, 1259.0, 2.0, 4.0, 72.0, 6.0], [0.0, 0.0, 0.0, 964.0, 0.0, 0.0, 118.0], [10.0, 6.0, 45.0, 0.0, 994.0, 0.0, 6.0], [36.0, 95.0, 18.0, 11.0, 15.0, 16556.0, 32.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[5, 0, 1, 4, 2, 3, 6]",720.0,"{'problem_type': 'LOP', 'num_nodes': 7, 'nodes': [0, 1, 2, 3, 4, 5, 6], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 98.0}, {'from_id': 0, 'to_id': 2, 'weight': 7.0}, {'from_id': 0, 'to_id': 3, 'weight': 8.0}, {'from_id': 0, 'to_id': 4, 'weight': 15.0}, {'from_id': 0, 'to_id': 5, 'weight': 4.0}, {'from_id': 0, 'to_id': 6, 'weight': 1.0}, {'from_id': 1, 'to_id': 0, 'weight': 55.0}, {'from_id': 1, 'to_id': 2, 'weight': 104.0}, {'from_id': 1, 'to_id': 3, 'weight': 42.0}, {'from_id': 1, 'to_id': 4, 'weight': 12.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 49.0}, {'from_id': 2, 'to_id': 0, 'weight': 12.0}, {'from_id': 2, 'to_id': 1, 'weight': 32.0}, {'from_id': 2, 'to_id': 3, 'weight': 2.0}, {'from_id': 2, 'to_id': 4, 'weight': 4.0}, {'from_id': 2, 'to_id': 5, 'weight': 72.0}, {'from_id': 2, 'to_id': 6, 'weight': 6.0}, {'from_id': 3, 'to_id': 0, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 0.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 0.0}, {'from_id': 3, 'to_id': 5, 'weight': 0.0}, {'from_id': 3, 'to_id': 6, 'weight': 118.0}, {'from_id': 4, 'to_id': 0, 'weight': 10.0}, {'from_id': 4, 'to_id': 1, 'weight': 6.0}, {'from_id': 4, 'to_id': 2, 'weight': 45.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 6.0}, {'from_id': 5, 'to_id': 0, 'weight': 36.0}, {'from_id': 5, 'to_id': 1, 'weight': 95.0}, {'from_id': 5, 'to_id': 2, 'weight': 18.0}, {'from_id': 5, 'to_id': 3, 'weight': 11.0}, {'from_id': 5, 'to_id': 4, 'weight': 15.0}, {'from_id': 5, 'to_id': 6, 'weight': 32.0}, {'from_id': 6, 'to_id': 0, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 0.0}, {'from_id': 6, 'to_id': 3, 'weight': 0.0}, {'from_id': 6, 'to_id': 4, 'weight': 0.0}, {'from_id': 6, 'to_id': 5, 'weight': 0.0}]}","[5, 0, 1, 4, 2, 3, 6]",46,csv,0
LOP,LOP,"Many people treat the morning like a tiny relay: each prep task passes the baton to the next, and every pass has a smoothness score. The job here is to set a single route that uses each task once, never repeats, and never leaves anything out. The quality of a route is simply the total you get by adding each pairβs smoothness when one task follows another, so the better route is the one with the largest total. The detailed tasks and their transition scores are provided below.
{
""num_tasks"": 9,
""task_ids"": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
}
# Meaning: this is a directed transition_smoothness matrix over items in task_ids (9 total). Entry at row preceding_task_id=i and column following_task_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# transition_smoothness
| preceding_task_id\following_task_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 2646.0 | 31.0 | 0.0 | 9.0 | 0.0 | 22.0 | 0.0 | 0.0 | 0.0 |
| 2 | 513.0 | 124.0 | 0.0 | 4.0 | 0.0 | 2.0 | 0.0 | 0.0 | 0.0 |
| 3 | 25.0 | 0.0 | 86.0 | 13.0 | 131.0 | 79.0 | 0.0 | 0.0 | 0.0 |
| 4 | 14.0 | 0.0 | 0.0 | 112.0 | 0.0 | 2.0 | 0.0 | 0.0 | 0.0 |
| 5 | 0.0 | 0.0 | 0.0 | 10.0 | 0.0 | 21.0 | 0.0 | 0.0 | 0.0 |
| 6 | 0.0 | 16.0 | 1.0 | 5.0 | 20.0 | 4.0 | 0.0 | 0.0 | 0.0 |
| 7 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 8 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 9 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
If you want to hand the route back in a tidy, machine-friendly way, just use this little JSON shape when you reply:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
That's just the shape I expect: ""solution"" is an ordered list from the very first task to the very last one. Think of it like a short form where you drop in the tasks in the order you picked them β one appearance each, nothing duplicated. The JSON above is just a sketch of the format, not the actual answer.
Please make sure you use the exact identifiers from the instance input β don't rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[2646.0, 31.0, 0.0, 9.0, 0.0, 22.0, 0.0, 0.0, 0.0], [513.0, 124.0, 0.0, 4.0, 0.0, 2.0, 0.0, 0.0, 0.0], [25.0, 0.0, 86.0, 13.0, 131.0, 79.0, 0.0, 0.0, 0.0], [14.0, 0.0, 0.0, 112.0, 0.0, 2.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 10.0, 0.0, 21.0, 0.0, 0.0, 0.0], [0.0, 16.0, 1.0, 5.0, 20.0, 4.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[8, 7, 6, 2, 4, 1, 3, 0, 5]",836.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': [1, 2, 3, 4, 5, 6, 7, 8, 9], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 31.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 9.0}, {'from_id': 1, 'to_id': 5, 'weight': 0.0}, {'from_id': 1, 'to_id': 6, 'weight': 22.0}, {'from_id': 1, 'to_id': 7, 'weight': 0.0}, {'from_id': 1, 'to_id': 8, 'weight': 0.0}, {'from_id': 1, 'to_id': 9, 'weight': 0.0}, {'from_id': 2, 'to_id': 1, 'weight': 513.0}, {'from_id': 2, 'to_id': 3, 'weight': 0.0}, {'from_id': 2, 'to_id': 4, 'weight': 4.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 2.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 8, 'weight': 0.0}, {'from_id': 2, 'to_id': 9, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 25.0}, {'from_id': 3, 'to_id': 2, 'weight': 0.0}, {'from_id': 3, 'to_id': 4, 'weight': 13.0}, {'from_id': 3, 'to_id': 5, 'weight': 131.0}, {'from_id': 3, 'to_id': 6, 'weight': 79.0}, {'from_id': 3, 'to_id': 7, 'weight': 0.0}, {'from_id': 3, 'to_id': 8, 'weight': 0.0}, {'from_id': 3, 'to_id': 9, 'weight': 0.0}, {'from_id': 4, 'to_id': 1, 'weight': 14.0}, {'from_id': 4, 'to_id': 2, 'weight': 0.0}, {'from_id': 4, 'to_id': 3, 'weight': 0.0}, {'from_id': 4, 'to_id': 5, 'weight': 0.0}, {'from_id': 4, 'to_id': 6, 'weight': 2.0}, {'from_id': 4, 'to_id': 7, 'weight': 0.0}, {'from_id': 4, 'to_id': 8, 'weight': 0.0}, {'from_id': 4, 'to_id': 9, 'weight': 0.0}, {'from_id': 5, 'to_id': 1, 'weight': 0.0}, {'from_id': 5, 'to_id': 2, 'weight': 0.0}, {'from_id': 5, 'to_id': 3, 'weight': 0.0}, {'from_id': 5, 'to_id': 4, 'weight': 10.0}, {'from_id': 5, 'to_id': 6, 'weight': 21.0}, {'from_id': 5, 'to_id': 7, 'weight': 0.0}, {'from_id': 5, 'to_id': 8, 'weight': 0.0}, {'from_id': 5, 'to_id': 9, 'weight': 0.0}, {'from_id': 6, 'to_id': 1, 'weight': 0.0}, {'from_id': 6, 'to_id': 2, 'weight': 16.0}, {'from_id': 6, 'to_id': 3, 'weight': 1.0}, {'from_id': 6, 'to_id': 4, 'weight': 5.0}, {'from_id': 6, 'to_id': 5, 'weight': 20.0}, {'from_id': 6, 'to_id': 7, 'weight': 0.0}, {'from_id': 6, 'to_id': 8, 'weight': 0.0}, {'from_id': 6, 'to_id': 9, 'weight': 0.0}, {'from_id': 7, 'to_id': 1, 'weight': 0.0}, {'from_id': 7, 'to_id': 2, 'weight': 0.0}, {'from_id': 7, 'to_id': 3, 'weight': 0.0}, {'from_id': 7, 'to_id': 4, 'weight': 0.0}, {'from_id': 7, 'to_id': 5, 'weight': 0.0}, {'from_id': 7, 'to_id': 6, 'weight': 0.0}, {'from_id': 7, 'to_id': 8, 'weight': 0.0}, {'from_id': 7, 'to_id': 9, 'weight': 0.0}, {'from_id': 8, 'to_id': 1, 'weight': 0.0}, {'from_id': 8, 'to_id': 2, 'weight': 0.0}, {'from_id': 8, 'to_id': 3, 'weight': 0.0}, {'from_id': 8, 'to_id': 4, 'weight': 0.0}, {'from_id': 8, 'to_id': 5, 'weight': 0.0}, {'from_id': 8, 'to_id': 6, 'weight': 0.0}, {'from_id': 8, 'to_id': 7, 'weight': 0.0}, {'from_id': 8, 'to_id': 9, 'weight': 0.0}, {'from_id': 9, 'to_id': 1, 'weight': 0.0}, {'from_id': 9, 'to_id': 2, 'weight': 0.0}, {'from_id': 9, 'to_id': 3, 'weight': 0.0}, {'from_id': 9, 'to_id': 4, 'weight': 0.0}, {'from_id': 9, 'to_id': 5, 'weight': 0.0}, {'from_id': 9, 'to_id': 6, 'weight': 0.0}, {'from_id': 9, 'to_id': 7, 'weight': 0.0}, {'from_id': 9, 'to_id': 8, 'weight': 0.0}]}","[9, 8, 7, 3, 5, 2, 4, 1, 6]",47,json,1
LOP,LOP,"Weβve got a conference schedule to build: one straight line of presenters, each taking a single slot, with no repeats and no missing people. Between every two speakers someone has worked out how much more engaging it is if A speaks before B β those are the little gains on the sheet. For any complete ordering, add up all the gains that apply (every time one presenter appears ahead of another you include that number) and the total is the eventβs audience score. The goal is to arrange the speakers so that total score is as high as possible. The concrete numbers and names are listed below.
There are 9 presenters to place in that single sequence: 1, 2, 3, 4, 5, 6, 7, 8, 9.
*Meaning: this is a directed engagement_gain matrix over items in presenter_ids (9 total). Entry at row preceding_presenter_id=i and column succeeding_presenter_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).*
**engagement_gain)**
| preceding_presenter_id\succeeding_presenter_id | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 11831.0 | 0.0 | 0.0 | 0.0 | 553.0 | 0.0 | 2.0 | 0.0 | 85.0 |
| 2 | 0.0 | 25.0 | 19.0 | 2.0 | 2.0 | 1.0 | 0.0 | 0.0 | 0.0 |
| 3 | 334.0 | 1515.0 | 2523.0 | 256.0 | 531.0 | 128.0 | 72.0 | 92.0 | 219.0 |
| 4 | 12.0 | 23.0 | 397.0 | 6567.0 | 74.0 | 368.0 | 76.0 | 0.0 | 65.0 |
| 5 | 59.0 | 2.0 | 117.0 | 201.0 | 10760.0 | 157.0 | 186.0 | 528.0 | 110.0 |
| 6 | 309.0 | 2.0 | 37.0 | 5.0 | 352.0 | 9.0 | 33.0 | 28.0 | 16.0 |
| 7 | 6.0 | 3.0 | 153.0 | 75.0 | 376.0 | 141.0 | 91.0 | 562.0 | 255.0 |
| 8 | 145.0 | 14.0 | 272.0 | 47.0 | 120.0 | 75.0 | 7.0 | 15896.0 | 25.0 |
| 9 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
We'll arrange them to maximize the summed gains and the total audience score.
Oh, and when you return the final ordering, it'd be great if you use this simple JSON layout so it's easy to read and plug into whatever's checking the schedule:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here the ""solution"" array is just the lineup of presenters from the very first slot to the very last slot β list each identifier once, in order. This JSON is just a sketch of the shape I expect, not the actual answer itself.
Please make sure to 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β.""","[[11831.0, 0.0, 0.0, 0.0, 553.0, 0.0, 2.0, 0.0, 85.0], [0.0, 25.0, 19.0, 2.0, 2.0, 1.0, 0.0, 0.0, 0.0], [334.0, 1515.0, 2523.0, 256.0, 531.0, 128.0, 72.0, 92.0, 219.0], [12.0, 23.0, 397.0, 6567.0, 74.0, 368.0, 76.0, 0.0, 65.0], [59.0, 2.0, 117.0, 201.0, 10760.0, 157.0, 186.0, 528.0, 110.0], [309.0, 2.0, 37.0, 5.0, 352.0, 9.0, 33.0, 28.0, 16.0], [6.0, 3.0, 153.0, 75.0, 376.0, 141.0, 91.0, 562.0, 255.0], [145.0, 14.0, 272.0, 47.0, 120.0, 75.0, 7.0, 15896.0, 25.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[6, 7, 3, 2, 5, 0, 4, 8, 1]",7364.0,"{'problem_type': 'LOP', 'num_nodes': 9, 'nodes': [1, 2, 3, 4, 5, 6, 7, 8, 9], 'pairs': [{'from_id': 1, 'to_id': 2, 'weight': 0.0}, {'from_id': 1, 'to_id': 3, 'weight': 0.0}, {'from_id': 1, 'to_id': 4, 'weight': 0.0}, {'from_id': 1, 'to_id': 5, 'weight': 553.0}, {'from_id': 1, 'to_id': 6, 'weight': 0.0}, {'from_id': 1, 'to_id': 7, 'weight': 2.0}, {'from_id': 1, 'to_id': 8, 'weight': 0.0}, {'from_id': 1, 'to_id': 9, 'weight': 85.0}, {'from_id': 2, 'to_id': 1, 'weight': 0.0}, {'from_id': 2, 'to_id': 3, 'weight': 19.0}, {'from_id': 2, 'to_id': 4, 'weight': 2.0}, {'from_id': 2, 'to_id': 5, 'weight': 2.0}, {'from_id': 2, 'to_id': 6, 'weight': 1.0}, {'from_id': 2, 'to_id': 7, 'weight': 0.0}, {'from_id': 2, 'to_id': 8, 'weight': 0.0}, {'from_id': 2, 'to_id': 9, 'weight': 0.0}, {'from_id': 3, 'to_id': 1, 'weight': 334.0}, {'from_id': 3, 'to_id': 2, 'weight': 1515.0}, {'from_id': 3, 'to_id': 4, 'weight': 256.0}, {'from_id': 3, 'to_id': 5, 'weight': 531.0}, {'from_id': 3, 'to_id': 6, 'weight': 128.0}, {'from_id': 3, 'to_id': 7, 'weight': 72.0}, {'from_id': 3, 'to_id': 8, 'weight': 92.0}, {'from_id': 3, 'to_id': 9, 'weight': 219.0}, {'from_id': 4, 'to_id': 1, 'weight': 12.0}, {'from_id': 4, 'to_id': 2, 'weight': 23.0}, {'from_id': 4, 'to_id': 3, 'weight': 397.0}, {'from_id': 4, 'to_id': 5, 'weight': 74.0}, {'from_id': 4, 'to_id': 6, 'weight': 368.0}, {'from_id': 4, 'to_id': 7, 'weight': 76.0}, {'from_id': 4, 'to_id': 8, 'weight': 0.0}, {'from_id': 4, 'to_id': 9, 'weight': 65.0}, {'from_id': 5, 'to_id': 1, 'weight': 59.0}, {'from_id': 5, 'to_id': 2, 'weight': 2.0}, {'from_id': 5, 'to_id': 3, 'weight': 117.0}, {'from_id': 5, 'to_id': 4, 'weight': 201.0}, {'from_id': 5, 'to_id': 6, 'weight': 157.0}, {'from_id': 5, 'to_id': 7, 'weight': 186.0}, {'from_id': 5, 'to_id': 8, 'weight': 528.0}, {'from_id': 5, 'to_id': 9, 'weight': 110.0}, {'from_id': 6, 'to_id': 1, 'weight': 309.0}, {'from_id': 6, 'to_id': 2, 'weight': 2.0}, {'from_id': 6, 'to_id': 3, 'weight': 37.0}, {'from_id': 6, 'to_id': 4, 'weight': 5.0}, {'from_id': 6, 'to_id': 5, 'weight': 352.0}, {'from_id': 6, 'to_id': 7, 'weight': 33.0}, {'from_id': 6, 'to_id': 8, 'weight': 28.0}, {'from_id': 6, 'to_id': 9, 'weight': 16.0}, {'from_id': 7, 'to_id': 1, 'weight': 6.0}, {'from_id': 7, 'to_id': 2, 'weight': 3.0}, {'from_id': 7, 'to_id': 3, 'weight': 153.0}, {'from_id': 7, 'to_id': 4, 'weight': 75.0}, {'from_id': 7, 'to_id': 5, 'weight': 376.0}, {'from_id': 7, 'to_id': 6, 'weight': 141.0}, {'from_id': 7, 'to_id': 8, 'weight': 562.0}, {'from_id': 7, 'to_id': 9, 'weight': 255.0}, {'from_id': 8, 'to_id': 1, 'weight': 145.0}, {'from_id': 8, 'to_id': 2, 'weight': 14.0}, {'from_id': 8, 'to_id': 3, 'weight': 272.0}, {'from_id': 8, 'to_id': 4, 'weight': 47.0}, {'from_id': 8, 'to_id': 5, 'weight': 120.0}, {'from_id': 8, 'to_id': 6, 'weight': 75.0}, {'from_id': 8, 'to_id': 7, 'weight': 7.0}, {'from_id': 8, 'to_id': 9, 'weight': 25.0}, {'from_id': 9, 'to_id': 1, 'weight': 0.0}, {'from_id': 9, 'to_id': 2, 'weight': 0.0}, {'from_id': 9, 'to_id': 3, 'weight': 0.0}, {'from_id': 9, 'to_id': 4, 'weight': 0.0}, {'from_id': 9, 'to_id': 5, 'weight': 0.0}, {'from_id': 9, 'to_id': 6, 'weight': 0.0}, {'from_id': 9, 'to_id': 7, 'weight': 0.0}, {'from_id': 9, 'to_id': 8, 'weight': 0.0}]}","[7, 8, 4, 3, 6, 1, 5, 9, 2]",48,markdown_table,1
LOP,LOP,"Thereβs a cartoonist juggling a pile of panels, figuring out which to read first, second, third, and so on so the payoff is funniest and clearest. The rule is simple: use every panel once and only once β donβt drop any, donβt repeat any β and for every two panels thereβs a little preference value that says how much better it is to put one before the other (itβs directional, so order matters). For any candidate ordering, the overall effect is just the sum of all those pairwise values where the earlier panel earns its listed bonus; the best order is the one with the largest total. The exact panels and their pairwise timing perks follow below.
The 10 panels are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, with the directional pairwise benefits listed below.
Meaning: this is a directed pairwise_benefit matrix over items in panels (10 total). Entry at row panel_before_id=i and column panel_after_id=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
pairwise_benefit:
| panel_before_id\panel_after_id | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 5621.0 | 985.0 | 285.0 | 0.0 | 0.0 | 146.0 | 15706.0 | 0.0 | 80.0 | 99.0 |
| 1 | 580.0 | 15304.0 | 154.0 | 131.0 | 5190.0 | 142.0 | 521.0 | 39.0 | 326.0 | 843.0 |
| 2 | 9.0 | 294.0 | 1958.0 | 4.0 | 3.0 | 0.0 | 9.0 | 7.0 | 20.0 | 2.0 |
| 3 | 10.0 | 31.0 | 9.0 | 17.0 | 10.0 | 1.0 | 23.0 | 2.0 | 0.0 | 0.0 |
| 4 | 53.0 | 164.0 | 31.0 | 1.0 | 17765.0 | 34.0 | 43.0 | 26.0 | 197.0 | 127.0 |
| 5 | 11.0 | 80.0 | 16.0 | 8.0 | 47.0 | 530.0 | 123.0 | 5.0 | 85.0 | 4.0 |
| 6 | 84.0 | 333.0 | 134.0 | 104.0 | 75.0 | 2.0 | 603.0 | 44.0 | 295.0 | 93.0 |
| 7 | 266.0 | 596.0 | 213.0 | 61.0 | 112.0 | 14.0 | 50.0 | 204.0 | 1.0 | 1.0 |
| 8 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| 9 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
These pairwise benefits let the cartoonist score any ordering of the 10 panels.
When you send back the final ordering, please use this simple JSON shape so it's easy to read and check:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
Here ""solution"" is just the ordered list of panels from the one you want read first to the one you want read last. Put each panel's exact identifier in the array in that order β one identifier per slot. This JSON is just a sketch of the shape I expect, not the real answer itself.
Please make sure to use the identifiers exactly as they appear in the instance input β do not rename them or invent new labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[5621.0, 985.0, 285.0, 0.0, 0.0, 146.0, 15706.0, 0.0, 80.0, 99.0], [580.0, 15304.0, 154.0, 131.0, 5190.0, 142.0, 521.0, 39.0, 326.0, 843.0], [9.0, 294.0, 1958.0, 4.0, 3.0, 0.0, 9.0, 7.0, 20.0, 2.0], [10.0, 31.0, 9.0, 17.0, 10.0, 1.0, 23.0, 2.0, 0.0, 0.0], [53.0, 164.0, 31.0, 1.0, 17765.0, 34.0, 43.0, 26.0, 197.0, 127.0], [11.0, 80.0, 16.0, 8.0, 47.0, 530.0, 123.0, 5.0, 85.0, 4.0], [84.0, 333.0, 134.0, 104.0, 75.0, 2.0, 603.0, 44.0, 295.0, 93.0], [266.0, 596.0, 213.0, 61.0, 112.0, 14.0, 50.0, 204.0, 1.0, 1.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[7, 0, 1, 5, 6, 3, 4, 2, 9, 8]",27302.0,"{'problem_type': 'LOP', 'num_nodes': 10, 'nodes': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'pairs': [{'from_id': 0, 'to_id': 1, 'weight': 985.0}, {'from_id': 0, 'to_id': 2, 'weight': 285.0}, {'from_id': 0, 'to_id': 3, 'weight': 0.0}, {'from_id': 0, 'to_id': 4, 'weight': 0.0}, {'from_id': 0, 'to_id': 5, 'weight': 146.0}, {'from_id': 0, 'to_id': 6, 'weight': 15706.0}, {'from_id': 0, 'to_id': 7, 'weight': 0.0}, {'from_id': 0, 'to_id': 8, 'weight': 80.0}, {'from_id': 0, 'to_id': 9, 'weight': 99.0}, {'from_id': 1, 'to_id': 0, 'weight': 580.0}, {'from_id': 1, 'to_id': 2, 'weight': 154.0}, {'from_id': 1, 'to_id': 3, 'weight': 131.0}, {'from_id': 1, 'to_id': 4, 'weight': 5190.0}, {'from_id': 1, 'to_id': 5, 'weight': 142.0}, {'from_id': 1, 'to_id': 6, 'weight': 521.0}, {'from_id': 1, 'to_id': 7, 'weight': 39.0}, {'from_id': 1, 'to_id': 8, 'weight': 326.0}, {'from_id': 1, 'to_id': 9, 'weight': 843.0}, {'from_id': 2, 'to_id': 0, 'weight': 9.0}, {'from_id': 2, 'to_id': 1, 'weight': 294.0}, {'from_id': 2, 'to_id': 3, 'weight': 4.0}, {'from_id': 2, 'to_id': 4, 'weight': 3.0}, {'from_id': 2, 'to_id': 5, 'weight': 0.0}, {'from_id': 2, 'to_id': 6, 'weight': 9.0}, {'from_id': 2, 'to_id': 7, 'weight': 7.0}, {'from_id': 2, 'to_id': 8, 'weight': 20.0}, {'from_id': 2, 'to_id': 9, 'weight': 2.0}, {'from_id': 3, 'to_id': 0, 'weight': 10.0}, {'from_id': 3, 'to_id': 1, 'weight': 31.0}, {'from_id': 3, 'to_id': 2, 'weight': 9.0}, {'from_id': 3, 'to_id': 4, 'weight': 10.0}, {'from_id': 3, 'to_id': 5, 'weight': 1.0}, {'from_id': 3, 'to_id': 6, 'weight': 23.0}, {'from_id': 3, 'to_id': 7, 'weight': 2.0}, {'from_id': 3, 'to_id': 8, 'weight': 0.0}, {'from_id': 3, 'to_id': 9, 'weight': 0.0}, {'from_id': 4, 'to_id': 0, 'weight': 53.0}, {'from_id': 4, 'to_id': 1, 'weight': 164.0}, {'from_id': 4, 'to_id': 2, 'weight': 31.0}, {'from_id': 4, 'to_id': 3, 'weight': 1.0}, {'from_id': 4, 'to_id': 5, 'weight': 34.0}, {'from_id': 4, 'to_id': 6, 'weight': 43.0}, {'from_id': 4, 'to_id': 7, 'weight': 26.0}, {'from_id': 4, 'to_id': 8, 'weight': 197.0}, {'from_id': 4, 'to_id': 9, 'weight': 127.0}, {'from_id': 5, 'to_id': 0, 'weight': 11.0}, {'from_id': 5, 'to_id': 1, 'weight': 80.0}, {'from_id': 5, 'to_id': 2, 'weight': 16.0}, {'from_id': 5, 'to_id': 3, 'weight': 8.0}, {'from_id': 5, 'to_id': 4, 'weight': 47.0}, {'from_id': 5, 'to_id': 6, 'weight': 123.0}, {'from_id': 5, 'to_id': 7, 'weight': 5.0}, {'from_id': 5, 'to_id': 8, 'weight': 85.0}, {'from_id': 5, 'to_id': 9, 'weight': 4.0}, {'from_id': 6, 'to_id': 0, 'weight': 84.0}, {'from_id': 6, 'to_id': 1, 'weight': 333.0}, {'from_id': 6, 'to_id': 2, 'weight': 134.0}, {'from_id': 6, 'to_id': 3, 'weight': 104.0}, {'from_id': 6, 'to_id': 4, 'weight': 75.0}, {'from_id': 6, 'to_id': 5, 'weight': 2.0}, {'from_id': 6, 'to_id': 7, 'weight': 44.0}, {'from_id': 6, 'to_id': 8, 'weight': 295.0}, {'from_id': 6, 'to_id': 9, 'weight': 93.0}, {'from_id': 7, 'to_id': 0, 'weight': 266.0}, {'from_id': 7, 'to_id': 1, 'weight': 596.0}, {'from_id': 7, 'to_id': 2, 'weight': 213.0}, {'from_id': 7, 'to_id': 3, 'weight': 61.0}, {'from_id': 7, 'to_id': 4, 'weight': 112.0}, {'from_id': 7, 'to_id': 5, 'weight': 14.0}, {'from_id': 7, 'to_id': 6, 'weight': 50.0}, {'from_id': 7, 'to_id': 8, 'weight': 1.0}, {'from_id': 7, 'to_id': 9, 'weight': 1.0}, {'from_id': 8, 'to_id': 0, 'weight': 0.0}, {'from_id': 8, 'to_id': 1, 'weight': 0.0}, {'from_id': 8, 'to_id': 2, 'weight': 0.0}, {'from_id': 8, 'to_id': 3, 'weight': 0.0}, {'from_id': 8, 'to_id': 4, 'weight': 0.0}, {'from_id': 8, 'to_id': 5, 'weight': 0.0}, {'from_id': 8, 'to_id': 6, 'weight': 0.0}, {'from_id': 8, 'to_id': 7, 'weight': 0.0}, {'from_id': 8, 'to_id': 9, 'weight': 0.0}, {'from_id': 9, 'to_id': 0, 'weight': 0.0}, {'from_id': 9, 'to_id': 1, 'weight': 0.0}, {'from_id': 9, 'to_id': 2, 'weight': 0.0}, {'from_id': 9, 'to_id': 3, 'weight': 0.0}, {'from_id': 9, 'to_id': 4, 'weight': 0.0}, {'from_id': 9, 'to_id': 5, 'weight': 0.0}, {'from_id': 9, 'to_id': 6, 'weight': 0.0}, {'from_id': 9, 'to_id': 7, 'weight': 0.0}, {'from_id': 9, 'to_id': 8, 'weight': 0.0}]}","[7, 0, 1, 5, 6, 3, 4, 2, 9, 8]",49,nl,0
LOP,LOP,"Thereβs a line cook puzzle on the counter: place all the prep items in one continuous line, donβt repeat anything, and donβt leave anything out. For each pair of ingredients someone has already written a bonus number that tells how good it is to have one placed before the other; the overall success is the sum of those bonuses for every pair depending on which one comes earlier. So the job is to pick the order that produces the highest summed score. The specific ingredients and their pairwise scores are listed below.
{
""num_ingredients"": 6,
""ingredient_ids"": [
""A"",
""B"",
""C"",
""D"",
""E"",
""F""
]
}
# Meaning: this is a directed adjacency_efficiency_score matrix over items in ingredient_ids (6 total). Entry at row preceding_ingredient=i and column following_ingredient=j is the reward gained if i is placed BEFORE j in the final ordering (diagonal can be ignored).
# adjacency_efficiency_score
| preceding_ingredient\following_ingredient | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| A | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| B | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| C | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| D | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| E | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| F | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
Also, just so weβre on the same page, when you reply please use this little JSON layout so I can pick out the ordering automatically:
{
""solution"": [<first_item>, <second_item>, ..., <last_item>]
}
""solution"" should be a single list that goes from the ingredient you want first to the one you want last. Think of it like filling in a simple form: put each ingredient identifier in order, exactly as it appears in the instance (donβt make up new names or tweak them). This JSON is just a sketch of the shape I expect β not the final answer itself.
Please use the identifiers exactly as given in the input β no renaming, no extra labels.
- for example: ""Valid identifiers look like plain numbers such as β1β or β23β, single capital letters like βAβ or βBβ, or a capital letter followed by digits like βA1β or βX7β.""","[[0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]","[1, 4, 0, 5, 2, 3]",-0.0,"{'problem_type': 'LOP', 'num_nodes': 6, 'nodes': ['A', 'B', 'C', 'D', 'E', 'F'], 'pairs': [{'from_id': 'A', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'A', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'B', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'C', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'E', 'weight': 0.0}, {'from_id': 'D', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'E', 'to_id': 'F', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'A', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'B', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'C', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'D', 'weight': 0.0}, {'from_id': 'F', 'to_id': 'E', 'weight': 0.0}]}","['B', 'E', 'A', 'F', 'C', 'D']",50,json,names
|