Last updated on 2018-08-27 09:49:23 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 7.5 | 151.94 | 42.32 | 194.26 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 7.5 | 130.54 | 33.18 | 163.72 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 7.5 | 160.91 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 7.5 | 253.88 | NOTE | |||
r-devel-windows-ix86+x86_64 | 5.2 | 75.00 | 94.00 | 169.00 | OK | |
r-patched-linux-x86_64 | 5.2 | 27.83 | 37.36 | 65.19 | NOTE | |
r-patched-solaris-x86 | 7.5 | 210.20 | NOTE | |||
r-release-linux-x86_64 | 5.2 | 29.29 | 37.42 | 66.71 | NOTE | |
r-release-windows-ix86+x86_64 | 5.2 | 79.00 | 94.00 | 173.00 | OK | |
r-release-osx-x86_64 | 5.2 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 5.2 | 88.00 | 74.00 | 162.00 | OK | |
r-oldrel-osx-x86_64 | 5.2 | OK |
ATLAS clang-UBSAN gcc-UBSAN noLD OpenBLAS valgrind
Version: 7.5
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86
Version: 7.5
Check: examples
Result: ERROR
Running examples in ‘FLSSS-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mmKnapsack
> ### Title: Multithreaded multidimensional Knapsack problem solver
> ### Aliases: mmKnapsack
>
> ### ** Examples
>
> # =====================================================================================
> # Play random numbers
> # =====================================================================================
> rm(list = ls()); gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 451115 24.1 854500 45.7 829241 44.3
Vcells 835537 6.4 8388608 64.0 1701368 13.0
> subsetSize = 6
> supersetSize = 60
> NcostsAttr = 4
>
>
>
>
> # =====================================================================================
> # Test case P08 from
> # https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
> # =====================================================================================
> rm(list = ls()); gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 451115 24.1 854500 45.7 829241 44.3
Vcells 835534 6.4 8388608 64.0 1701368 13.0
> costs = matrix(c(382745, 799601, 909247, 729069, 467902, 44328, 34610, 698150,
+ 823460, 903959, 853665, 551830, 610856, 670702, 488960, 951111,
+ 323046, 446298, 931161, 31385, 496951, 264724, 224916, 169684),
+ ncol = 1)
>
>
> gains = c( 825594, 1677009, 1676628, 1523970, 943972, 97426, 69666, 1296457,
+ 1679693, 1902996, 1844992, 1049289, 1252836, 1319836, 953277, 2067538,
+ 675367, 853655, 1826027, 65731, 901489, 577243, 466257, 369261)
>
>
> budgets = 6404180
>
>
> # 'mmKnapsack()' is designed for the multidimensional Knapsack and may not
> # be ideal for one-dimensional 0-1 Knapsack regarding computing speed.
> # 'len = 0' causes substantial deceleration. Looping 'len' over possible
> # values is recommended if 'len' is ungiven.
> rst1 = FLSSS::mmKnapsack(
+ maxCore = 2L, len = 12L, itemsProfits = gains, itemsCosts = costs,
+ capacities = budgets, heuristic = FALSE, tlimit = 3, threadLoad = 4L,
+ verbose = TRUE)
Updated profit = 1.30199e+07
Updated profit = 1.33194e+07
Updated profit = 1.33699e+07
Updated profit = 1.34437e+07
Updated profit = 1.34737e+07
Updated profit = 1.34972e+07
Updated profit = 1.35174e+07
Updated profit = 1.35213e+07
Updated profit = 1.35491e+07
> rst1 = sort(rst1)
>
>
> cat("Correct solution:\n1 2 4 5 6 10 11 13 16 22 23 24\nFLSSS solution =\n")
Correct solution:
1 2 4 5 6 10 11 13 16 22 23 24
FLSSS solution =
> cat(rst1, "\n")
1 2 4 5 6 10 11 13 16 22 23 24
>
>
>
>
> # =====================================================================================
> # Test case P07 from
> # https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
> # =====================================================================================
> costs = matrix(c(70, 73, 77, 80, 82, 87, 90, 94, 98, 106, 110, 113, 115, 118, 120),
+ ncol = 1)
>
>
> gains = c(135, 139, 149, 150, 156, 163, 173, 184, 192, 201, 210, 214, 221, 229, 240)
>
>
> budgets = 750
>
>
> rst2 = FLSSS::mmKnapsack(
+ maxCore = 2L, len = 8L, itemsProfits = gains, itemsCosts = costs,
+ capacities = budgets, heuristic = FALSE, tlimit = 3,
+ threadLoad = 4L, verbose = TRUE)
Updated profit = 209
Updated profit = 230
Updated profit = 239
Updated profit = 247
Updated profit = 258
Updated profit = 268
Updated profit = 275
Updated profit = 277
Updated profit = 281
Updated profit = 282
Updated profit = 292
Updated profit = 301
Updated profit = 310
Updated profit = 318
Updated profit = Error: C stack usage 1048129095444 is too close to the limit
Execution halted
*** caught segfault ***
address (nil), cause 'memory not mapped'
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 7.5
Check: installed package size
Result: NOTE
installed size is 14.3Mb
sub-directories of 1Mb or more:
libs 14.1Mb
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 7.5
Check: examples
Result: ERROR
Running examples in ‘FLSSS-Ex.R’ failed
The error most likely occurred in:
> ### Name: mmKnapsack
> ### Title: Multithreaded multidimensional Knapsack problem solver
> ### Aliases: mmKnapsack
>
> ### ** Examples
>
> # =====================================================================================
> # Play random numbers
> # =====================================================================================
> rm(list = ls()); gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 450945 24.1 853801 45.6 775418 41.5
Vcells 834878 6.4 8388608 64.0 1700671 13.0
> subsetSize = 6
> supersetSize = 60
> NcostsAttr = 4
>
>
>
>
> # =====================================================================================
> # Test case P08 from
> # https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
> # =====================================================================================
> rm(list = ls()); gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 450948 24.1 853801 45.6 775418 41.5
Vcells 834880 6.4 8388608 64.0 1700671 13.0
> costs = matrix(c(382745, 799601, 909247, 729069, 467902, 44328, 34610, 698150,
+ 823460, 903959, 853665, 551830, 610856, 670702, 488960, 951111,
+ 323046, 446298, 931161, 31385, 496951, 264724, 224916, 169684),
+ ncol = 1)
>
>
> gains = c( 825594, 1677009, 1676628, 1523970, 943972, 97426, 69666, 1296457,
+ 1679693, 1902996, 1844992, 1049289, 1252836, 1319836, 953277, 2067538,
+ 675367, 853655, 1826027, 65731, 901489, 577243, 466257, 369261)
>
>
> budgets = 6404180
>
>
> # 'mmKnapsack()' is designed for the multidimensional Knapsack and may not
> # be ideal for one-dimensional 0-1 Knapsack regarding computing speed.
> # 'len = 0' causes substantial deceleration. Looping 'len' over possible
> # values is recommended if 'len' is ungiven.
> rst1 = FLSSS::mmKnapsack(
+ maxCore = 2L, len = 12L, itemsProfits = gains, itemsCosts = costs,
+ capacities = budgets, heuristic = FALSE, tlimit = 3, threadLoad = 4L,
+ verbose = TRUE)
Updated profit = 1.30199e+07
Updated profit = 1.33194e+07
Updated profit = 1.33699e+07
Updated profit = 1.34437e+07
Updated profit = 1.34737e+07
Updated profit = 1.34972e+07
Updated profit = 1.35174e+07
Updated profit = 1.35213e+07
Updated profit = 1.35491e+07
> rst1 = sort(rst1)
>
>
> cat("Correct solution:\n1 2 4 5 6 10 11 13 16 22 23 24\nFLSSS solution =\n")
Correct solution:
1 2 4 5 6 10 11 13 16 22 23 24
FLSSS solution =
> cat(rst1, "\n")
1 2 4 5 6 10 11 13 16 22 23 24
>
>
>
>
> # =====================================================================================
> # Test case P07 from
> # https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
> # =====================================================================================
> costs = matrix(c(70, 73, 77, 80, 82, 87, 90, 94, 98, 106, 110, 113, 115, 118, 120),
+ ncol = 1)
>
>
> gains = c(135, 139, 149, 150, 156, 163, 173, 184, 192, 201, 210, 214, 221, 229, 240)
>
>
> budgets = 750
>
>
> rst2 = FLSSS::mmKnapsack(
+ maxCore = 2L, len = 8L, itemsProfits = gains, itemsCosts = costs,
+ capacities = budgets, heuristic = FALSE, tlimit = 3,
+ threadLoad = 4L, verbose = TRUE)
Updated profit = 209
Updated profit = 308
Updated profit = 310
Updated profit = 323
Updated profit = 329
Error: C stack usage 384234882924 is too close to the limit
Execution halted
Updated profit = 339
Updated profit = *** stack smashing detected ***: <unknown> terminated
346
Updated profit = 352
Updated profit =
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 5.2
Check: compiled code
Result: NOTE
File ‘FLSSS/libs/FLSSS.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64