Learn R Programming

⚠️There's a newer version (9.2.8) of this package.Take me there.

FLSSS (version 9.1.3)

Mining Rigs for Problems in the Subset Sum Family

Description

Specialized solvers for combinatorial optimization problems in the Subset Sum family. The solvers differ from the mainstream in the options of (i) restricting subset size, (ii) bounding subset elements, (iii) mining real-value multisets with predefined subset sum errors, (iv) finding one or more subsets in limited time. A novel algorithm for mining the one-dimensional Subset Sum induced algorithms for the multi-Subset Sum and the multidimensional Subset Sum. The multi-threaded framework for the latter offers exact algorithms to the multidimensional Knapsack and the Generalized Assignment problems. Historical updates include (a) renewed implementation of the multi-Subset Sum, multidimensional Knapsack and Generalized Assignment solvers; (b) availability of bounding solution space in the multidimensional Subset Sum; (c) fundamental data structure and architectural changes for enhanced cache locality and better chance of SIMD vectorization; (d) option of mapping floating-point instance to compressed 64-bit integer instance with user-controlled precision loss, which could yield substantial speedup due to the dimension reduction and efficient compressed integer arithmetic via bit-manipulations; (e) distributed computing infrastructure for multidimensional subset sum; (f) arbitrary-precision zero-margin-of-error multidimensional Subset Sum accelerated by a simplified Bloom filter. The package contains a copy of xxHash from . Package vignette () detailed a few historical updates. Functions prefixed with 'aux' (auxiliary) are independent implementations of published algorithms for solving optimization problems less relevant to Subset Sum.

Copy Link

Version

Install

install.packages('FLSSS')

Monthly Downloads

298

Version

9.1.3

License

GPL-3

Maintainer

Charlie Wusuo Liu

Last Published

February 23rd, 2024

Functions in FLSSS (9.1.3)

auxKnapsack01bb

Multithreaded binary knapsack problem solver via branch and bound
FLSSS

One-dimensional Subset Sum given error threshold
FLSSSmultiset

Multi-Subset Sum given error threshold
arbFLSSSobjRun

Run an arbFLSSS instance
addNumStrings

Add numeric strings.
arbFLSSS

Multidimensional exact subset sum in arbitrary precision and magnitude
auxGAPbbDp

Multithreaded generalized assignment problem solver via a hybrid of branch-and-bound and dynamic programming.
GAP

Generalized Assignment Problem solver
auxGAPbb

Multithreaded generalized assignment problem solver via branch and bound
auxGAPga

Multithreaded generalized assignment problem solver via genetic algorithm
mFLSSSpar

Multithreaded multidimensional Subset Sum given error thresholds
mFLSSSparIntegerized

An advanced version of mFLSSSpar()
mFLSSSobjRun

Run an mFLSSS instance
mFLSSSparImposeBounds

Multithreaded multidimensional Subset Sum in bounded solution space given error thresholds
mFLSSSparImposeBoundsIntegerized

An advanced version of mFLSSSparImposeBounds()
mmKnapsack

Multithreaded multidimensional Knapsack problem solver
decomposeArbFLSSS

arbFLSSS decomposition
mmKnapsackIntegerized

An advanced version of mmKnapsack()
auxKnapsack01dp

Multithreaded binary knapsack problem solver via dynamic programming
decomposeMflsss

mFLSSS decomposition
ksumHash

Build k-sum accelerator