Running examples in ‘FLSSS-Ex.R’ failed
The error most likely occurred in:

> ### Name: mmKnapsackIntegerized
> ### Title: An advanced version of 'mmKnapsack()'
> ### Aliases: mmKnapsackIntegerized
> 
> ### ** Examples
> 
> if(.Machine$sizeof.pointer == 8L){
+ # =====================================================================================
+ # 64-bit architecture required.
+ # =====================================================================================
+ # =====================================================================================
+ # Play random numbers
+ # =====================================================================================
+ rm(list = ls()); gc()
+ subsetSize = 6
+ supersetSize = 60
+ NcostsAttr = 4
+ 
+ 
+ 
+ 
+ 
+ # =====================================================================================
+ # Test case P08 from
+ # https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
+ # =====================================================================================
+ 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
+ 
+ 
+ # 'mmKnapsackIntegerized()' is designed for the multidimensional Knapsack
+ # and may not be ideal for one-dimensional 0-1 Knapsack regarding computing speed.
+ # 'len = 0' would cause severe deceleration. Looping 'len' over possible
+ # values is recommended if 'len' is ungiven.
+ rst = FLSSS::mmKnapsackIntegerized(
+   maxCore = 2L, len = 12L, itemsProfits = gains, itemsCosts = costs,
+   capacities = budgets, heuristic = FALSE, tlimit = 3, threadLoad = 4L, verbose = TRUE)
+ rst = sort(rst$solution)
+ 
+ 
+ cat("Correct solution:\n1 2 4 5 6 10 11 13 16 22 23 24\nFLSSS solution =\n")
+ cat(rst, "\n")
+ # The difference is due to rounding errors in real-integer conversion. The default
+ # 'precisionLevel' shifts, scales and rounds 'itemCosts' such that its
+ # maximal element is no less than 8 times the number of items.
+ 
+ 
+ # Increase the precision level
+ rst = FLSSS::mmKnapsackIntegerized(
+   maxCore = 2L, len = 12L, itemsProfits = gains, itemsCosts = costs,
+   capacities = budgets, heuristic = FALSE, precisionLevel = rep(500L, 1),
+   tlimit = 3, threadLoad = 4L, verbose = TRUE)
+ # 'precisionLevel = 500' shifts, scales and rounds 'itemCosts' such that its
+ # maximal element is no less than 500.
+ rst = sort(rst$solution)
+ cat("Correct solution:\n1 2 4 5 6 10 11 13 16 22 23 24\nFLSSS solution =\n")
+ cat(rst, "\n")
+ }
Dimensionality reduced from 2 to 1 
Updated profit = 13019873
Updated profit = 13319432
Updated profit = 13369905
Updated profit = 13443712
Updated profit = 13473708
Updated profit = 13497192Error: C stack usage  17589261784612 is too close to the limit
Execution halted
R(48227,0x7fff733e0000) malloc: *** error for object 0x7fff53340a78: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

 *** caught bus error ***
address 0x7fff74962050, cause 'non-existent physical address'
An irrecoverable exception occurred. R is aborting now ...