How to Build the Catalog

Programs which generate, solve, and analyze Sudoku puzzles

How to Build the Catalog

Postby Mathimagics » Tue Jul 30, 2019 5:08 am

I thought it might be useful for enxio27 and others to show exactly how to construct the Sudoku ED catalog on Windows using gsf's sudoku.exe tool.

The method (band generation) remains the best way to achieve this end, and by throwing more than 1 process at the task, this can be done in a couple of days.

You will need:

  • a band directory in which you will generate the band files, and which has the capacity to hold them (total is roughly 425Gb)
  • a copy of sudoku.exe placed in that directory

There are 401 non-empty bands. These are numbered 1 to 416 (Bands 395, 397, 398, 400, 402, 403, 404, 406, 408, 409, 410, 412, 413, 414, 415 are all empty). I give below a 401-line BAT file that will do the job as a single process, and I will show below how to split it into a multi-process balanced-load job, and optionally how to consolidate the bands with small grid counts into larger ones.

A command for generating band 1 looks like this:
Code: Select all
sudoku  -gb1 -f%v -o Band001.txt


Inside a BAT file, that "%" needs to be replaced with "%%". Below you will find a complete batch file that builds the entire catalog. The job file has a comment on every line that gives you the actual grid count that you should get for that band. The first few lines are:
Code: Select all
sudoku  -gb001 -f%%v -o Band001.txt & REM   1,007,170 grids
sudoku  -gb002 -f%%v -o Band002.txt & REM  25,502,082 grids
sudoku  -gb003 -f%%v -o Band003.txt & REM  16,538,087 grids


The complete catalog build:
BuildCatalog.bat: Show
Code: Select all
sudoku  -gb001 -f%%v -o Band001.txt & REM   1,007,170 grids
sudoku  -gb002 -f%%v -o Band002.txt & REM  25,502,082 grids
sudoku  -gb003 -f%%v -o Band003.txt & REM  16,538,087 grids
sudoku  -gb004 -f%%v -o Band004.txt & REM   8,417,906 grids
sudoku  -gb005 -f%%v -o Band005.txt & REM  48,737,791 grids
sudoku  -gb006 -f%%v -o Band006.txt & REM  96,229,042 grids
sudoku  -gb007 -f%%v -o Band007.txt & REM  15,765,443 grids
sudoku  -gb008 -f%%v -o Band008.txt & REM   5,306,280 grids
sudoku  -gb009 -f%%v -o Band009.txt & REM   8,136,013 grids
sudoku  -gb010 -f%%v -o Band010.txt & REM  47,174,193 grids
sudoku  -gb011 -f%%v -o Band011.txt & REM  46,788,396 grids
sudoku  -gb012 -f%%v -o Band012.txt & REM  46,177,270 grids
sudoku  -gb013 -f%%v -o Band013.txt & REM  15,340,394 grids
sudoku  -gb014 -f%%v -o Band014.txt & REM  45,397,270 grids
sudoku  -gb015 -f%%v -o Band015.txt & REM  45,600,758 grids
sudoku  -gb016 -f%%v -o Band016.txt & REM   1,631,576 grids
sudoku  -gb017 -f%%v -o Band017.txt & REM  15,093,541 grids
sudoku  -gb018 -f%%v -o Band018.txt & REM  45,101,600 grids
sudoku  -gb019 -f%%v -o Band019.txt & REM  44,832,423 grids
sudoku  -gb020 -f%%v -o Band020.txt & REM  88,782,526 grids
sudoku  -gb021 -f%%v -o Band021.txt & REM  44,036,568 grids
sudoku  -gb022 -f%%v -o Band022.txt & REM  85,627,559 grids
sudoku  -gb023 -f%%v -o Band023.txt & REM  42,711,122 grids
sudoku  -gb024 -f%%v -o Band024.txt & REM  85,102,373 grids
sudoku  -gb025 -f%%v -o Band025.txt & REM  41,847,039 grids
sudoku  -gb026 -f%%v -o Band026.txt & REM  41,335,391 grids
sudoku  -gb027 -f%%v -o Band027.txt & REM   4,455,504 grids
sudoku  -gb028 -f%%v -o Band028.txt & REM  41,102,914 grids
sudoku  -gb029 -f%%v -o Band029.txt & REM   4,591,391 grids
sudoku  -gb030 -f%%v -o Band030.txt & REM   4,664,261 grids
sudoku  -gb031 -f%%v -o Band031.txt & REM  13,606,209 grids
sudoku  -gb032 -f%%v -o Band032.txt & REM  40,697,707 grids
sudoku  -gb033 -f%%v -o Band033.txt & REM  80,468,663 grids
sudoku  -gb034 -f%%v -o Band034.txt & REM  79,175,610 grids
sudoku  -gb035 -f%%v -o Band035.txt & REM  77,979,783 grids
sudoku  -gb036 -f%%v -o Band036.txt & REM  38,536,298 grids
sudoku  -gb037 -f%%v -o Band037.txt & REM  76,146,967 grids
sudoku  -gb038 -f%%v -o Band038.txt & REM  74,505,665 grids
sudoku  -gb039 -f%%v -o Band039.txt & REM  74,154,564 grids
sudoku  -gb040 -f%%v -o Band040.txt & REM  72,171,447 grids
sudoku  -gb041 -f%%v -o Band041.txt & REM  36,053,455 grids
sudoku  -gb042 -f%%v -o Band042.txt & REM  70,552,290 grids
sudoku  -gb043 -f%%v -o Band043.txt & REM  69,437,575 grids
sudoku  -gb044 -f%%v -o Band044.txt & REM  67,978,951 grids
sudoku  -gb045 -f%%v -o Band045.txt & REM  33,904,021 grids
sudoku  -gb046 -f%%v -o Band046.txt & REM  66,337,407 grids
sudoku  -gb047 -f%%v -o Band047.txt & REM  65,880,161 grids
sudoku  -gb048 -f%%v -o Band048.txt & REM  64,996,381 grids
sudoku  -gb049 -f%%v -o Band049.txt & REM  63,898,062 grids
sudoku  -gb050 -f%%v -o Band050.txt & REM  62,192,220 grids
sudoku  -gb051 -f%%v -o Band051.txt & REM  61,691,475 grids
sudoku  -gb052 -f%%v -o Band052.txt & REM  60,192,385 grids
sudoku  -gb053 -f%%v -o Band053.txt & REM  29,966,384 grids
sudoku  -gb054 -f%%v -o Band054.txt & REM  29,734,495 grids
sudoku  -gb055 -f%%v -o Band055.txt & REM  58,731,513 grids
sudoku  -gb056 -f%%v -o Band056.txt & REM  57,263,818 grids
sudoku  -gb057 -f%%v -o Band057.txt & REM  57,033,275 grids
sudoku  -gb058 -f%%v -o Band058.txt & REM  55,394,556 grids
sudoku  -gb059 -f%%v -o Band059.txt & REM  55,022,930 grids
sudoku  -gb060 -f%%v -o Band060.txt & REM  54,018,514 grids
sudoku  -gb061 -f%%v -o Band061.txt & REM  52,964,870 grids
sudoku  -gb062 -f%%v -o Band062.txt & REM  52,242,492 grids
sudoku  -gb063 -f%%v -o Band063.txt & REM  51,245,000 grids
sudoku  -gb064 -f%%v -o Band064.txt & REM  50,540,742 grids
sudoku  -gb065 -f%%v -o Band065.txt & REM  49,644,127 grids
sudoku  -gb066 -f%%v -o Band066.txt & REM  49,190,978 grids
sudoku  -gb067 -f%%v -o Band067.txt & REM  24,077,300 grids
sudoku  -gb068 -f%%v -o Band068.txt & REM  47,978,806 grids
sudoku  -gb069 -f%%v -o Band069.txt & REM  47,059,527 grids
sudoku  -gb070 -f%%v -o Band070.txt & REM  46,231,581 grids
sudoku  -gb071 -f%%v -o Band071.txt & REM  22,715,795 grids
sudoku  -gb072 -f%%v -o Band072.txt & REM  44,778,204 grids
sudoku  -gb073 -f%%v -o Band073.txt & REM  44,053,469 grids
sudoku  -gb074 -f%%v -o Band074.txt & REM  43,401,907 grids
sudoku  -gb075 -f%%v -o Band075.txt & REM  21,398,806 grids
sudoku  -gb076 -f%%v -o Band076.txt & REM  42,061,440 grids
sudoku  -gb077 -f%%v -o Band077.txt & REM  41,316,125 grids
sudoku  -gb078 -f%%v -o Band078.txt & REM  40,571,245 grids
sudoku  -gb079 -f%%v -o Band079.txt & REM  40,282,447 grids
sudoku  -gb080 -f%%v -o Band080.txt & REM  39,233,218 grids
sudoku  -gb081 -f%%v -o Band081.txt & REM  38,522,319 grids
sudoku  -gb082 -f%%v -o Band082.txt & REM  37,881,913 grids
sudoku  -gb083 -f%%v -o Band083.txt & REM  37,460,193 grids
sudoku  -gb084 -f%%v -o Band084.txt & REM  18,460,204 grids
sudoku  -gb085 -f%%v -o Band085.txt & REM  36,127,803 grids
sudoku  -gb086 -f%%v -o Band086.txt & REM  35,584,769 grids
sudoku  -gb087 -f%%v -o Band087.txt & REM  34,821,531 grids
sudoku  -gb088 -f%%v -o Band088.txt & REM  34,334,716 grids
sudoku  -gb089 -f%%v -o Band089.txt & REM  33,769,162 grids
sudoku  -gb090 -f%%v -o Band090.txt & REM  33,174,401 grids
sudoku  -gb091 -f%%v -o Band091.txt & REM  32,520,037 grids
sudoku  -gb092 -f%%v -o Band092.txt & REM  31,945,541 grids
sudoku  -gb093 -f%%v -o Band093.txt & REM  31,221,072 grids
sudoku  -gb094 -f%%v -o Band094.txt & REM  30,579,410 grids
sudoku  -gb095 -f%%v -o Band095.txt & REM  29,977,732 grids
sudoku  -gb096 -f%%v -o Band096.txt & REM  29,390,061 grids
sudoku  -gb097 -f%%v -o Band097.txt & REM  14,518,368 grids
sudoku  -gb098 -f%%v -o Band098.txt & REM  14,372,444 grids
sudoku  -gb099 -f%%v -o Band099.txt & REM  28,268,021 grids
sudoku  -gb100 -f%%v -o Band100.txt & REM  27,849,953 grids
sudoku  -gb101 -f%%v -o Band101.txt & REM  13,768,854 grids
sudoku  -gb102 -f%%v -o Band102.txt & REM  26,929,453 grids
sudoku  -gb103 -f%%v -o Band103.txt & REM  26,382,806 grids
sudoku  -gb104 -f%%v -o Band104.txt & REM   4,359,314 grids
sudoku  -gb105 -f%%v -o Band105.txt & REM  25,997,296 grids
sudoku  -gb106 -f%%v -o Band106.txt & REM  25,467,197 grids
sudoku  -gb107 -f%%v -o Band107.txt & REM  24,888,528 grids
sudoku  -gb108 -f%%v -o Band108.txt & REM  24,423,300 grids
sudoku  -gb109 -f%%v -o Band109.txt & REM  23,988,326 grids
sudoku  -gb110 -f%%v -o Band110.txt & REM  23,541,927 grids
sudoku  -gb111 -f%%v -o Band111.txt & REM  23,070,530 grids
sudoku  -gb112 -f%%v -o Band112.txt & REM  22,609,142 grids
sudoku  -gb113 -f%%v -o Band113.txt & REM  22,100,458 grids
sudoku  -gb114 -f%%v -o Band114.txt & REM  10,879,514 grids
sudoku  -gb115 -f%%v -o Band115.txt & REM  21,378,062 grids
sudoku  -gb116 -f%%v -o Band116.txt & REM  20,985,174 grids
sudoku  -gb117 -f%%v -o Band117.txt & REM  20,674,972 grids
sudoku  -gb118 -f%%v -o Band118.txt & REM  20,107,116 grids
sudoku  -gb119 -f%%v -o Band119.txt & REM  19,854,606 grids
sudoku  -gb120 -f%%v -o Band120.txt & REM   9,732,970 grids
sudoku  -gb121 -f%%v -o Band121.txt & REM  19,084,488 grids
sudoku  -gb122 -f%%v -o Band122.txt & REM   9,491,325 grids
sudoku  -gb123 -f%%v -o Band123.txt & REM  18,532,281 grids
sudoku  -gb124 -f%%v -o Band124.txt & REM   9,142,485 grids
sudoku  -gb125 -f%%v -o Band125.txt & REM  18,075,269 grids
sudoku  -gb126 -f%%v -o Band126.txt & REM  17,675,306 grids
sudoku  -gb127 -f%%v -o Band127.txt & REM  17,545,752 grids
sudoku  -gb128 -f%%v -o Band128.txt & REM  16,990,098 grids
sudoku  -gb129 -f%%v -o Band129.txt & REM   8,369,473 grids
sudoku  -gb130 -f%%v -o Band130.txt & REM  16,406,705 grids
sudoku  -gb131 -f%%v -o Band131.txt & REM  16,189,996 grids
sudoku  -gb132 -f%%v -o Band132.txt & REM  15,791,769 grids
sudoku  -gb133 -f%%v -o Band133.txt & REM   2,613,345 grids
sudoku  -gb134 -f%%v -o Band134.txt & REM  15,362,664 grids
sudoku  -gb135 -f%%v -o Band135.txt & REM  15,272,476 grids
sudoku  -gb136 -f%%v -o Band136.txt & REM  14,918,036 grids
sudoku  -gb137 -f%%v -o Band137.txt & REM   7,254,450 grids
sudoku  -gb138 -f%%v -o Band138.txt & REM  14,383,075 grids
sudoku  -gb139 -f%%v -o Band139.txt & REM   7,011,714 grids
sudoku  -gb140 -f%%v -o Band140.txt & REM  13,738,161 grids
sudoku  -gb141 -f%%v -o Band141.txt & REM  13,445,152 grids
sudoku  -gb142 -f%%v -o Band142.txt & REM   6,593,805 grids
sudoku  -gb143 -f%%v -o Band143.txt & REM  12,918,117 grids
sudoku  -gb144 -f%%v -o Band144.txt & REM   6,403,269 grids
sudoku  -gb145 -f%%v -o Band145.txt & REM  12,568,136 grids
sudoku  -gb146 -f%%v -o Band146.txt & REM  12,354,720 grids
sudoku  -gb147 -f%%v -o Band147.txt & REM  12,036,469 grids
sudoku  -gb148 -f%%v -o Band148.txt & REM   5,931,073 grids
sudoku  -gb149 -f%%v -o Band149.txt & REM   5,949,060 grids
sudoku  -gb150 -f%%v -o Band150.txt & REM  11,577,852 grids
sudoku  -gb151 -f%%v -o Band151.txt & REM  11,435,633 grids
sudoku  -gb152 -f%%v -o Band152.txt & REM  11,155,974 grids
sudoku  -gb153 -f%%v -o Band153.txt & REM  10,671,486 grids
sudoku  -gb154 -f%%v -o Band154.txt & REM  10,525,735 grids
sudoku  -gb155 -f%%v -o Band155.txt & REM  10,188,634 grids
sudoku  -gb156 -f%%v -o Band156.txt & REM  10,059,617 grids
sudoku  -gb157 -f%%v -o Band157.txt & REM   9,805,813 grids
sudoku  -gb158 -f%%v -o Band158.txt & REM   9,629,320 grids
sudoku  -gb159 -f%%v -o Band159.txt & REM   9,490,222 grids
sudoku  -gb160 -f%%v -o Band160.txt & REM   9,280,124 grids
sudoku  -gb161 -f%%v -o Band161.txt & REM   8,844,112 grids
sudoku  -gb162 -f%%v -o Band162.txt & REM   8,628,099 grids
sudoku  -gb163 -f%%v -o Band163.txt & REM   8,429,593 grids
sudoku  -gb164 -f%%v -o Band164.txt & REM   8,227,144 grids
sudoku  -gb165 -f%%v -o Band165.txt & REM   7,998,287 grids
sudoku  -gb166 -f%%v -o Band166.txt & REM   7,813,413 grids
sudoku  -gb167 -f%%v -o Band167.txt & REM   3,839,149 grids
sudoku  -gb168 -f%%v -o Band168.txt & REM   7,548,052 grids
sudoku  -gb169 -f%%v -o Band169.txt & REM   7,349,287 grids
sudoku  -gb170 -f%%v -o Band170.txt & REM   7,146,807 grids
sudoku  -gb171 -f%%v -o Band171.txt & REM   6,993,422 grids
sudoku  -gb172 -f%%v -o Band172.txt & REM   6,828,801 grids
sudoku  -gb173 -f%%v -o Band173.txt & REM   6,674,911 grids
sudoku  -gb174 -f%%v -o Band174.txt & REM   6,476,248 grids
sudoku  -gb175 -f%%v -o Band175.txt & REM   3,166,465 grids
sudoku  -gb176 -f%%v -o Band176.txt & REM   6,205,963 grids
sudoku  -gb177 -f%%v -o Band177.txt & REM   6,040,631 grids
sudoku  -gb178 -f%%v -o Band178.txt & REM   5,882,934 grids
sudoku  -gb179 -f%%v -o Band179.txt & REM   5,812,748 grids
sudoku  -gb180 -f%%v -o Band180.txt & REM   5,615,082 grids
sudoku  -gb181 -f%%v -o Band181.txt & REM   5,461,387 grids
sudoku  -gb182 -f%%v -o Band182.txt & REM   5,367,414 grids
sudoku  -gb183 -f%%v -o Band183.txt & REM   5,222,068 grids
sudoku  -gb184 -f%%v -o Band184.txt & REM   5,072,949 grids
sudoku  -gb185 -f%%v -o Band185.txt & REM   4,918,277 grids
sudoku  -gb186 -f%%v -o Band186.txt & REM   4,778,878 grids
sudoku  -gb187 -f%%v -o Band187.txt & REM   4,641,003 grids
sudoku  -gb188 -f%%v -o Band188.txt & REM   4,539,624 grids
sudoku  -gb189 -f%%v -o Band189.txt & REM   4,407,284 grids
sudoku  -gb190 -f%%v -o Band190.txt & REM   2,186,822 grids
sudoku  -gb191 -f%%v -o Band191.txt & REM   4,220,821 grids
sudoku  -gb192 -f%%v -o Band192.txt & REM   4,158,097 grids
sudoku  -gb193 -f%%v -o Band193.txt & REM   4,070,158 grids
sudoku  -gb194 -f%%v -o Band194.txt & REM   3,857,103 grids
sudoku  -gb195 -f%%v -o Band195.txt & REM   3,785,628 grids
sudoku  -gb196 -f%%v -o Band196.txt & REM   3,693,474 grids
sudoku  -gb197 -f%%v -o Band197.txt & REM   3,555,681 grids
sudoku  -gb198 -f%%v -o Band198.txt & REM   3,453,089 grids
sudoku  -gb199 -f%%v -o Band199.txt & REM   3,345,667 grids
sudoku  -gb200 -f%%v -o Band200.txt & REM   3,252,227 grids
sudoku  -gb201 -f%%v -o Band201.txt & REM   3,165,254 grids
sudoku  -gb202 -f%%v -o Band202.txt & REM   3,064,062 grids
sudoku  -gb203 -f%%v -o Band203.txt & REM   2,966,309 grids
sudoku  -gb204 -f%%v -o Band204.txt & REM   2,932,890 grids
sudoku  -gb205 -f%%v -o Band205.txt & REM   2,841,380 grids
sudoku  -gb206 -f%%v -o Band206.txt & REM   2,701,985 grids
sudoku  -gb207 -f%%v -o Band207.txt & REM   2,628,788 grids
sudoku  -gb208 -f%%v -o Band208.txt & REM   2,532,198 grids
sudoku  -gb209 -f%%v -o Band209.txt & REM   2,443,960 grids
sudoku  -gb210 -f%%v -o Band210.txt & REM   1,243,959 grids
sudoku  -gb211 -f%%v -o Band211.txt & REM   2,317,171 grids
sudoku  -gb212 -f%%v -o Band212.txt & REM   2,357,854 grids
sudoku  -gb213 -f%%v -o Band213.txt & REM   1,137,589 grids
sudoku  -gb214 -f%%v -o Band214.txt & REM   1,083,228 grids
sudoku  -gb215 -f%%v -o Band215.txt & REM   2,183,311 grids
sudoku  -gb216 -f%%v -o Band216.txt & REM   2,244,753 grids
sudoku  -gb217 -f%%v -o Band217.txt & REM   2,143,677 grids
sudoku  -gb218 -f%%v -o Band218.txt & REM   2,100,798 grids
sudoku  -gb219 -f%%v -o Band219.txt & REM   1,007,465 grids
sudoku  -gb220 -f%%v -o Band220.txt & REM   1,970,315 grids
sudoku  -gb221 -f%%v -o Band221.txt & REM   1,841,722 grids
sudoku  -gb222 -f%%v -o Band222.txt & REM   1,873,099 grids
sudoku  -gb223 -f%%v -o Band223.txt & REM   1,772,301 grids
sudoku  -gb224 -f%%v -o Band224.txt & REM     347,777 grids
sudoku  -gb225 -f%%v -o Band225.txt & REM   1,968,442 grids
sudoku  -gb226 -f%%v -o Band226.txt & REM   1,677,704 grids
sudoku  -gb227 -f%%v -o Band227.txt & REM   1,521,001 grids
sudoku  -gb228 -f%%v -o Band228.txt & REM   1,498,734 grids
sudoku  -gb229 -f%%v -o Band229.txt & REM   1,515,366 grids
sudoku  -gb230 -f%%v -o Band230.txt & REM   1,457,098 grids
sudoku  -gb231 -f%%v -o Band231.txt & REM   1,331,185 grids
sudoku  -gb232 -f%%v -o Band232.txt & REM   1,279,569 grids
sudoku  -gb233 -f%%v -o Band233.txt & REM   1,262,013 grids
sudoku  -gb234 -f%%v -o Band234.txt & REM   1,218,744 grids
sudoku  -gb235 -f%%v -o Band235.txt & REM     386,642 grids
sudoku  -gb236 -f%%v -o Band236.txt & REM   1,182,963 grids
sudoku  -gb237 -f%%v -o Band237.txt & REM     570,172 grids
sudoku  -gb238 -f%%v -o Band238.txt & REM   1,111,083 grids
sudoku  -gb239 -f%%v -o Band239.txt & REM   1,076,551 grids
sudoku  -gb240 -f%%v -o Band240.txt & REM     167,032 grids
sudoku  -gb241 -f%%v -o Band241.txt & REM     533,940 grids
sudoku  -gb242 -f%%v -o Band242.txt & REM   1,048,083 grids
sudoku  -gb243 -f%%v -o Band243.txt & REM     974,591 grids
sudoku  -gb244 -f%%v -o Band244.txt & REM     967,788 grids
sudoku  -gb245 -f%%v -o Band245.txt & REM     455,310 grids
sudoku  -gb246 -f%%v -o Band246.txt & REM     915,249 grids
sudoku  -gb247 -f%%v -o Band247.txt & REM     500,537 grids
sudoku  -gb248 -f%%v -o Band248.txt & REM     783,336 grids
sudoku  -gb249 -f%%v -o Band249.txt & REM     822,496 grids
sudoku  -gb250 -f%%v -o Band250.txt & REM     377,256 grids
sudoku  -gb251 -f%%v -o Band251.txt & REM     408,556 grids
sudoku  -gb252 -f%%v -o Band252.txt & REM     437,792 grids
sudoku  -gb253 -f%%v -o Band253.txt & REM     387,029 grids
sudoku  -gb254 -f%%v -o Band254.txt & REM     140,436 grids
sudoku  -gb255 -f%%v -o Band255.txt & REM     361,962 grids
sudoku  -gb256 -f%%v -o Band256.txt & REM     354,702 grids
sudoku  -gb257 -f%%v -o Band257.txt & REM     675,674 grids
sudoku  -gb258 -f%%v -o Band258.txt & REM     661,737 grids
sudoku  -gb259 -f%%v -o Band259.txt & REM     313,209 grids
sudoku  -gb260 -f%%v -o Band260.txt & REM     623,191 grids
sudoku  -gb261 -f%%v -o Band261.txt & REM     546,083 grids
sudoku  -gb262 -f%%v -o Band262.txt & REM     524,804 grids
sudoku  -gb263 -f%%v -o Band263.txt & REM     534,167 grids
sudoku  -gb264 -f%%v -o Band264.txt & REM     503,384 grids
sudoku  -gb265 -f%%v -o Band265.txt & REM     464,985 grids
sudoku  -gb266 -f%%v -o Band266.txt & REM     461,786 grids
sudoku  -gb267 -f%%v -o Band267.txt & REM     441,645 grids
sudoku  -gb268 -f%%v -o Band268.txt & REM     418,773 grids
sudoku  -gb269 -f%%v -o Band269.txt & REM     424,148 grids
sudoku  -gb270 -f%%v -o Band270.txt & REM     378,441 grids
sudoku  -gb271 -f%%v -o Band271.txt & REM     361,885 grids
sudoku  -gb272 -f%%v -o Band272.txt & REM     360,821 grids
sudoku  -gb273 -f%%v -o Band273.txt & REM     176,161 grids
sudoku  -gb274 -f%%v -o Band274.txt & REM     172,023 grids
sudoku  -gb275 -f%%v -o Band275.txt & REM     165,927 grids
sudoku  -gb276 -f%%v -o Band276.txt & REM     154,694 grids
sudoku  -gb277 -f%%v -o Band277.txt & REM     150,664 grids
sudoku  -gb278 -f%%v -o Band278.txt & REM     309,399 grids
sudoku  -gb279 -f%%v -o Band279.txt & REM     144,927 grids
sudoku  -gb280 -f%%v -o Band280.txt & REM     141,820 grids
sudoku  -gb281 -f%%v -o Band281.txt & REM     137,601 grids
sudoku  -gb282 -f%%v -o Band282.txt & REM     287,667 grids
sudoku  -gb283 -f%%v -o Band283.txt & REM     246,093 grids
sudoku  -gb284 -f%%v -o Band284.txt & REM     123,480 grids
sudoku  -gb285 -f%%v -o Band285.txt & REM     124,070 grids
sudoku  -gb286 -f%%v -o Band286.txt & REM     116,970 grids
sudoku  -gb287 -f%%v -o Band287.txt & REM     117,351 grids
sudoku  -gb288 -f%%v -o Band288.txt & REM     110,418 grids
sudoku  -gb289 -f%%v -o Band289.txt & REM      37,988 grids
sudoku  -gb290 -f%%v -o Band290.txt & REM     109,351 grids
sudoku  -gb291 -f%%v -o Band291.txt & REM     211,267 grids
sudoku  -gb292 -f%%v -o Band292.txt & REM     209,636 grids
sudoku  -gb293 -f%%v -o Band293.txt & REM     189,161 grids
sudoku  -gb294 -f%%v -o Band294.txt & REM     188,766 grids
sudoku  -gb295 -f%%v -o Band295.txt & REM     171,584 grids
sudoku  -gb296 -f%%v -o Band296.txt & REM     152,633 grids
sudoku  -gb297 -f%%v -o Band297.txt & REM     147,806 grids
sudoku  -gb298 -f%%v -o Band298.txt & REM      70,955 grids
sudoku  -gb299 -f%%v -o Band299.txt & REM     133,302 grids
sudoku  -gb300 -f%%v -o Band300.txt & REM     139,754 grids
sudoku  -gb301 -f%%v -o Band301.txt & REM     119,226 grids
sudoku  -gb302 -f%%v -o Band302.txt & REM      20,203 grids
sudoku  -gb303 -f%%v -o Band303.txt & REM      62,246 grids
sudoku  -gb304 -f%%v -o Band304.txt & REM      63,613 grids
sudoku  -gb305 -f%%v -o Band305.txt & REM      69,669 grids
sudoku  -gb306 -f%%v -o Band306.txt & REM      58,811 grids
sudoku  -gb307 -f%%v -o Band307.txt & REM      21,225 grids
sudoku  -gb308 -f%%v -o Band308.txt & REM      56,942 grids
sudoku  -gb309 -f%%v -o Band309.txt & REM      55,120 grids
sudoku  -gb310 -f%%v -o Band310.txt & REM      49,427 grids
sudoku  -gb311 -f%%v -o Band311.txt & REM      91,869 grids
sudoku  -gb312 -f%%v -o Band312.txt & REM      89,983 grids
sudoku  -gb313 -f%%v -o Band313.txt & REM      80,765 grids
sudoku  -gb314 -f%%v -o Band314.txt & REM      43,270 grids
sudoku  -gb315 -f%%v -o Band315.txt & REM      74,594 grids
sudoku  -gb316 -f%%v -o Band316.txt & REM      69,012 grids
sudoku  -gb317 -f%%v -o Band317.txt & REM      73,627 grids
sudoku  -gb318 -f%%v -o Band318.txt & REM      62,449 grids
sudoku  -gb319 -f%%v -o Band319.txt & REM      59,123 grids
sudoku  -gb320 -f%%v -o Band320.txt & REM      57,580 grids
sudoku  -gb321 -f%%v -o Band321.txt & REM      47,910 grids
sudoku  -gb322 -f%%v -o Band322.txt & REM      44,876 grids
sudoku  -gb323 -f%%v -o Band323.txt & REM      46,852 grids
sudoku  -gb324 -f%%v -o Band324.txt & REM      46,002 grids
sudoku  -gb325 -f%%v -o Band325.txt & REM      40,108 grids
sudoku  -gb326 -f%%v -o Band326.txt & REM      37,300 grids
sudoku  -gb327 -f%%v -o Band327.txt & REM      36,969 grids
sudoku  -gb328 -f%%v -o Band328.txt & REM      31,504 grids
sudoku  -gb329 -f%%v -o Band329.txt & REM      28,919 grids
sudoku  -gb330 -f%%v -o Band330.txt & REM      27,982 grids
sudoku  -gb331 -f%%v -o Band331.txt & REM      29,202 grids
sudoku  -gb332 -f%%v -o Band332.txt & REM      25,098 grids
sudoku  -gb333 -f%%v -o Band333.txt & REM      20,652 grids
sudoku  -gb334 -f%%v -o Band334.txt & REM      10,105 grids
sudoku  -gb335 -f%%v -o Band335.txt & REM      19,471 grids
sudoku  -gb336 -f%%v -o Band336.txt & REM      18,996 grids
sudoku  -gb337 -f%%v -o Band337.txt & REM      17,212 grids
sudoku  -gb338 -f%%v -o Band338.txt & REM      14,780 grids
sudoku  -gb339 -f%%v -o Band339.txt & REM      13,660 grids
sudoku  -gb340 -f%%v -o Band340.txt & REM      12,324 grids
sudoku  -gb341 -f%%v -o Band341.txt & REM      10,597 grids
sudoku  -gb342 -f%%v -o Band342.txt & REM       9,562 grids
sudoku  -gb343 -f%%v -o Band343.txt & REM       9,012 grids
sudoku  -gb344 -f%%v -o Band344.txt & REM       8,215 grids
sudoku  -gb345 -f%%v -o Band345.txt & REM       7,261 grids
sudoku  -gb346 -f%%v -o Band346.txt & REM       3,569 grids
sudoku  -gb347 -f%%v -o Band347.txt & REM       7,136 grids
sudoku  -gb348 -f%%v -o Band348.txt & REM         455 grids
sudoku  -gb349 -f%%v -o Band349.txt & REM       2,935 grids
sudoku  -gb350 -f%%v -o Band350.txt & REM       2,990 grids
sudoku  -gb351 -f%%v -o Band351.txt & REM       4,836 grids
sudoku  -gb352 -f%%v -o Band352.txt & REM       2,156 grids
sudoku  -gb353 -f%%v -o Band353.txt & REM       2,141 grids
sudoku  -gb354 -f%%v -o Band354.txt & REM       1,959 grids
sudoku  -gb355 -f%%v -o Band355.txt & REM       4,171 grids
sudoku  -gb356 -f%%v -o Band356.txt & REM       3,376 grids
sudoku  -gb357 -f%%v -o Band357.txt & REM       3,171 grids
sudoku  -gb358 -f%%v -o Band358.txt & REM       3,150 grids
sudoku  -gb359 -f%%v -o Band359.txt & REM         647 grids
sudoku  -gb360 -f%%v -o Band360.txt & REM       1,528 grids
sudoku  -gb361 -f%%v -o Band361.txt & REM       2,484 grids
sudoku  -gb362 -f%%v -o Band362.txt & REM       2,233 grids
sudoku  -gb363 -f%%v -o Band363.txt & REM       1,930 grids
sudoku  -gb364 -f%%v -o Band364.txt & REM       1,353 grids
sudoku  -gb365 -f%%v -o Band365.txt & REM       1,368 grids
sudoku  -gb366 -f%%v -o Band366.txt & REM       1,232 grids
sudoku  -gb367 -f%%v -o Band367.txt & REM       1,667 grids
sudoku  -gb368 -f%%v -o Band368.txt & REM         925 grids
sudoku  -gb369 -f%%v -o Band369.txt & REM         872 grids
sudoku  -gb370 -f%%v -o Band370.txt & REM         928 grids
sudoku  -gb371 -f%%v -o Band371.txt & REM         808 grids
sudoku  -gb372 -f%%v -o Band372.txt & REM         560 grids
sudoku  -gb373 -f%%v -o Band373.txt & REM         757 grids
sudoku  -gb374 -f%%v -o Band374.txt & REM         451 grids
sudoku  -gb375 -f%%v -o Band375.txt & REM         245 grids
sudoku  -gb376 -f%%v -o Band376.txt & REM         333 grids
sudoku  -gb377 -f%%v -o Band377.txt & REM         156 grids
sudoku  -gb378 -f%%v -o Band378.txt & REM         193 grids
sudoku  -gb379 -f%%v -o Band379.txt & REM         161 grids
sudoku  -gb380 -f%%v -o Band380.txt & REM          23 grids
sudoku  -gb381 -f%%v -o Band381.txt & REM         163 grids
sudoku  -gb382 -f%%v -o Band382.txt & REM         154 grids
sudoku  -gb383 -f%%v -o Band383.txt & REM         111 grids
sudoku  -gb384 -f%%v -o Band384.txt & REM         124 grids
sudoku  -gb385 -f%%v -o Band385.txt & REM          87 grids
sudoku  -gb386 -f%%v -o Band386.txt & REM          49 grids
sudoku  -gb387 -f%%v -o Band387.txt & REM          66 grids
sudoku  -gb388 -f%%v -o Band388.txt & REM         125 grids
sudoku  -gb389 -f%%v -o Band389.txt & REM          27 grids
sudoku  -gb390 -f%%v -o Band390.txt & REM          59 grids
sudoku  -gb391 -f%%v -o Band391.txt & REM          19 grids
sudoku  -gb392 -f%%v -o Band392.txt & REM          41 grids
sudoku  -gb393 -f%%v -o Band393.txt & REM           2 grids
sudoku  -gb394 -f%%v -o Band394.txt & REM          16 grids
sudoku  -gb396 -f%%v -o Band396.txt & REM          11 grids
sudoku  -gb399 -f%%v -o Band399.txt & REM          10 grids
sudoku  -gb401 -f%%v -o Band401.txt & REM           1 grids
sudoku  -gb405 -f%%v -o Band405.txt & REM           4 grids
sudoku  -gb407 -f%%v -o Band407.txt & REM          19 grids
sudoku  -gb411 -f%%v -o Band411.txt & REM           3 grids
sudoku  -gb416 -f%%v -o Band416.txt & REM           1 grids


You might wish to sort the file by the grid counts (these start in col 43) so that you can verify the process is working, and also to create the illusion of rapid progress as it churns out the band files! 8-)

Sorting also makes it easier to organise a multi-process job with roughly balanced loads. Split the job N ways by separating it into, say, all bands with < 1,000,000 grids in one job, and the remaining bands split into roughly equal chunks of total grids.
User avatar
Mathimagics
2017 Supporter
 
Posts: 1926
Joined: 27 May 2015
Location: Canberra

Re: How to Build the Catalog

Postby Mathimagics » Tue Jul 30, 2019 5:29 am

Estimating the Job Time

Since Band 1 has close to one million grids, you might like to time how long that takes, then a good estimate of the total build time (for a single process) is obtained by multiplying that time by 5473.

Combining Bands

I find it more convenient in practice to have just 255 band files, with 6 of these being amalgamations of bands 250-259, 260-269, 270-279, 280-289, 290-299 and 300-416. These are the bands with lowest grid counts, and 255 is a handy number for programming purposes.

You can always manually concatenate them after the build completes, but here is how to do it in the build itself. For example, if we want Band250.txt to have bands 250-259, just replace the "-o" with ">>" in the command lines:

Code: Select all
sudoku  -gb250 -f%%v -o Band250.txt & REM     377,256 grids
sudoku  -gb251 -f%%v >> Band250.txt & REM     408,556 grids
sudoku  -gb252 -f%%v >> Band250.txt & REM     437,792 grids
sudoku  -gb253 -f%%v >> Band250.txt & REM     387,029 grids
...
User avatar
Mathimagics
2017 Supporter
 
Posts: 1926
Joined: 27 May 2015
Location: Canberra


Return to Software