Skip to main content

QpiAI-Opt-API is a an interface python package to access QpiAI-Opt solvers on cloud

Project description

qpiai-opt-api

qpiai-opt-api provides a python package to interface with the qpiai-opt solver on the cloud to solve NP-Hard Combinatorial problems.

QpiAI-Opt is a high-level optimization library to solve NP-Hard (combinatorial) problems. We provide access to our solvers through QpiAI-Opt API to access four base class problems (that have real-world applications):

  1. Maximum Cut

  2. Minimum Vertex Cover

  3. Maximum Independent Set

  4. Number Partition

QpiAI-Opt API also provides a QUBO design engine to express a general QUBO problem and solve it with our solver.

Installation steps

  1. Install the latest version of the project from: https://pypi.org/project/qpiai-opt-api/1.0.1/ You can use the following command to install.

    pip install qpiai-opt-api==1.0.1

  2. Install the dependencies from requirements.txt

    pip install networkx

    pip install requests

  3. You are ready to access the solvers using the url and access token. Refer to the below tutorial to get started.

  4. In order to use the wrappers for dwave and qiskit support, install the following dependencies. pip install qiskit

    pip install qiskit[optimization]

    pip install 'qiskit-optimization[cplex]

    pip install dimod

    pip install dwave-neal

What's new?

We have added dwave and qiskit wrappers to solve the qubo problem on both the platforms, besides qpiai_opt's solver. Refer to documentaion for more info.

You can also refer to the below turorials to get started with qpiai_opt and its wrappers to solve on supported platforms.

Tutorials

Refer to QpiAI-API tutorials

MIT License

Copyright (c) 2022 Sagar B Dollin, QpiAI India Private Limited

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qpiai_opt_api-1.0.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qpiai_opt_api-1.0.4-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file qpiai_opt_api-1.0.4.tar.gz.

File metadata

  • Download URL: qpiai_opt_api-1.0.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for qpiai_opt_api-1.0.4.tar.gz
Algorithm Hash digest
SHA256 24fa3dcc8b835a86b7d7abfac457d4d477f90062908e14363bbfc60f52aa921d
MD5 c0e2adaea9d8ca4447c2bdc1dbd2140c
BLAKE2b-256 711c707d8f904853865ebad3e135c991a1cf58acf607b175ca9edc94cd423441

See more details on using hashes here.

File details

Details for the file qpiai_opt_api-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: qpiai_opt_api-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for qpiai_opt_api-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7bca35c1636e08f9535e2d2d4b082f161afa167e4e0654e1c0809ff7aa088e8
MD5 eae50fe1ce66cce7deb85eed51be6367
BLAKE2b-256 f1baf47305e8681053ff6b79d66c19a07eca955a016fe7c017da31ca45155dcc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page