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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qpiai_opt_api-1.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 33822b25c58d2b8c03e2bb7ae6cf85de154caf902fd23eb99986af3d872c52f3
MD5 b4e50e1ec0dcbd2afd97d5a322a674c3
BLAKE2b-256 617b457e1e12c9739e58fae546ec4c0babd957faa7ea722853bda42ebd876e28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qpiai_opt_api-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ceee7ad89a2774297ce17f2e4056f5538835e6510ba6bd0600ab9bc6e040c137
MD5 343ce3064f23a87f02586ddf305f0b03
BLAKE2b-256 0f1e7e8ee164d14ce1d0dc4804c22b5d66f76a73a8c0145d7eba2ca224154830

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