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.5.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.5-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qpiai_opt_api-1.0.5.tar.gz
Algorithm Hash digest
SHA256 50438b37159980aca32b150d9d161f3ebfed36c7a693675c1485e9b576c6ecfd
MD5 23c4657f15886d4cb217435c2cc4836c
BLAKE2b-256 fb1152cdd0f8b5130dc93b5be3b7022282ff662eb7b37b39c1c10896bccb94f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qpiai_opt_api-1.0.5-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.9.16

File hashes

Hashes for qpiai_opt_api-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9564caa341c6c263225c97ba89ba26fb08cc80ba8896a2c5332e31bede6a90e1
MD5 3d78d1c04095d70b6f35d51103c0a3fe
BLAKE2b-256 f2515af4dbeb714e7f7325c7490145b6e7fca5ad393e97c74529d8e15838a3bf

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