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.3.tar.gz (7.9 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.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qpiai_opt_api-1.0.3.tar.gz
  • Upload date:
  • Size: 7.9 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.3.tar.gz
Algorithm Hash digest
SHA256 8dbefdf13aa975e8bd4b26df41848cb382a8a67d84ce5e7fd333653f63643f91
MD5 adc646cdbf452b7f0669e26e7a8ef494
BLAKE2b-256 b56f290a2a5a4a14ddab700f42e7bcc1634d24c83f8b3c1319cdf3915078a554

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qpiai_opt_api-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27fb99c6b3e3b9d589a12ff0b7dc948a0f96a102ade91bfd6895a7c10bb25ee8
MD5 7e3e8fab8bff3c2484ab66fbe3c44d1f
BLAKE2b-256 030cda23f9b00ba4f0dfb5b6291fdadaff7aa480ed087ccd2e281992c59366c5

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