8000 GitHub - wbernoudy/dwave-tabu: Tabu solver for QUBO/Ising problems.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wbernoudy/dwave-tabu

 
 

Repository files navigation

Last version on PyPI Linux/Mac build status Windows build status Documentation Status

dwave-tabu

An implementation of the MST2 multistart tabu search algorithm for quadratic unconstrained binary optimization (QUBO) problems with a dimod Python wrapper.

Installation or Building

Install from a wheel on PyPI:

pip install dwave-tabu

Alternatively, you can build the library with setuptools. This build requires that your system has a C++ compiler toolchain installed, as well as SWIG.

pip install -r requirements.txt
python setup.py build_ext --inplace
python setup.py install

Example

This example solves a two-variable Ising model.

>>> from tabu import TabuSampler
>>> response = TabuSampler().sample_ising({'a': -0.5, 'b': 1.0}, {('a', 'b'): -1})

About

Tabu solver for QUBO/Ising problems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 47.6%
  • Python 23.4%
  • PowerShell 11.4%
  • C 7.9%
  • Batchfile 5.3%
  • CMake 3.4%
  • Shell 1.0%
0