SkillAgentSearch skills...

DEIDOS

Subset Sum Problem Solver

Install / Use

/learn @maxtuno/DEIDOS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DEIDOS COVENANT

Deidos covenant is an algorithm to find all the solutions to a problem of "Sum of Subsets" that is NP-Complete, was developed by Oscar Riveros [oscar.riveros@peqnp.science] in 2012.

Solutions

The algorithm out the explicit solution and/or complement, are "quivalents" or complementary.

Build

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Usage

./deidos_covenant instance.txt

Format

The file format is: (use the gen_ssp.py to generate random examples)

python3 gen_ssp.py bits size

SIZE
TARGET
N_1
N_2
...
N_SIZE

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated3y ago
Forks0

Languages

C++

Security Score

55/100

Audited on Aug 11, 2022

No findings