Skip to content

kadora626/IsingNumberPartitioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IsingNumberPartitioning

This is the example of solving number partitioning problem using qbsolv.

Example

To run example, you only execute example.sh.

$ ./example.sh

Requrements

To run example, you have to install qbsolv in your PATH.

Files

input.txt: Input of the number partitioning problem. This example partition numbers which are written in this file. Input file has one number per line.

partition.qubo: Qubo file which is translated from input of the problem. txt2qubo.py translates input.txt to this qubo file.

partition.qbout: Output file of qbsolv execution. result.py prints problem result based on this file.

About

This is the example of solving number partitioning problem using qbsolv.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published