Skip to main content

The TitanQ SDK for python

Project description

The TitanQ SDK for Python

Python License

TitanQ is the InfinityQ Software Development Kit (SDK) for Python. The SDK facilitates and opens the way for faster implementation of the TitanQ solver without having to deal directly with the TitanQ API.

This TitanQ package is maintained and published by InfinityQ

API Key

In order to use the TitanQ service, a user needs an API key. The API key can be obtained by contacting InfinityQ support

Installation

The following steps assume that you have:

  • A valid and active API Key
  • A supported Python version installed

Setting up an environment

python -m venv .venv
.venv/bin/activate

Install TitanQ

pip install titanq

Using TitanQ

The TitanQ solver is designed to support very large problems and therefore very large files. To simplify the user experience, TitanQ will instead use cloud storage set up and managed by the end users.

Currently, the SDK only supports two types of storage

Storage options Vector variables limit
S3 Buckets ✅ Up to 100k vector variables
Managed storage ⚠️ Up to 10k vector variables

Both options are documented with examples at the TitanQ's Quickstart documentation

Problem construction

TitanQ is an optimization solver for highly non-convex optimization problems. Information on problem construction can be found in the User Guide, and the SDK Documentation.

Additional parameters are available to tune the problem:

  • beta
  • coupling_mult
  • num_chains
  • num_engines

For more informations how to use theses parameters, please refer to the API documentation

Getting support or help

Further help can be obtained by contacting InfinityQ support

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

titanq-0.23.2.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

titanq-0.23.2-py3-none-any.whl (61.0 kB view details)

Uploaded Python 3

File details

Details for the file titanq-0.23.2.tar.gz.

File metadata

  • Download URL: titanq-0.23.2.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for titanq-0.23.2.tar.gz
Algorithm Hash digest
SHA256 d22e87e83592dceb3bd037ee59ebf8cf62ad85566263bd80b6072bee3ab4a869
MD5 177b5c1869c488dcded2a45a877a9299
BLAKE2b-256 c3717ff10f0deebe5b499870ad154999f2c6b0508a6a09730f31abe0a2e503f6

See more details on using hashes here.

File details

Details for the file titanq-0.23.2-py3-none-any.whl.

File metadata

  • Download URL: titanq-0.23.2-py3-none-any.whl
  • Upload date:
  • Size: 61.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for titanq-0.23.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b161f845c9c0aac35b50094b89245405985333182da07a6d2f40f44f9d9d5d08
MD5 63cc443a2c1adf80c0b71d6be9d60292
BLAKE2b-256 718adf7ba57ec28232fce9964720739f15729d95fc941a46d33e991cf2cada71

See more details on using hashes here.

Supported by

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