New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dwave-tabu

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwave-tabu

Optimized Tabu solver for QUBOs

  • 0.5.0
  • PyPI
  • Socket score

Maintainers
2

:warning: Note: dwave-tabu is deprecated in favor of dwave-samplers <https://github.com/dwavesystems/dwave-samplers>_.

.. image:: https://circleci.com/gh/dwavesystems/dwave-tabu.svg?style=svg :target: https://circleci.com/gh/dwavesystems/dwave-tabu :alt: Linux/MacOS/Windows build status

.. image:: https://codecov.io/gh/dwavesystems/dwave-tabu/branch/master/graph/badge.svg?token=uoMkg6WvKy :target: https://codecov.io/gh/dwavesystems/dwave-tabu :alt: Code coverage

.. image:: https://readthedocs.com/projects/d-wave-systems-dwave-tabu/badge/?version=latest :target: https://docs.ocean.dwavesys.com/projects/d-wave-systems-dwave-tabu/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://badge.fury.io/py/dwave-tabu.svg :target: https://badge.fury.io/py/dwave-tabu :alt: Latest version on PyPI

.. image:: https://img.shields.io/pypi/pyversions/dwave-tabu.svg?style=flat :target: https://pypi.org/project/dwave-tabu/ :alt: PyPI - Python Version

========== dwave-tabu

.. index-start-marker

A C/C++ implementation of the MST2 multistart tabu search algorithm <https://link.springer.com/article/10.1023/B:ANOR.0000039522.58036.68>_ for quadratic unconstrained binary optimization (QUBO) problems with a dimod sampler <https://docs.ocean.dwavesys.com/en/stable/docs_dimod/reference/sampler_composites/api.html#dimod.Sampler>_ Python interface.

.. index-end-marker

Installation

.. installation-start-marker

Install from a wheel on PyPI::

pip install dwave-tabu

.. installation-end-marker

Example

.. example-start-marker

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})

.. example-end-marker

License

Released under the Apache License 2.0. See <LICENSE>_ file.

Contributing

Ocean's contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>_ has guidelines for contributing to Ocean packages.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc