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.25.0.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

titanq-0.25.0-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titanq-0.25.0.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for titanq-0.25.0.tar.gz
Algorithm Hash digest
SHA256 94f927cf8a218aebe4e62fa6d070bc3e31dd726a244ec6e429772aa036d4bca3
MD5 3885a1fc12e4ab076bf670ed275abe34
BLAKE2b-256 8a26732f34397df8e0b5b0f491a0728645233fbb860ea12b9136846f8062febb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: titanq-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for titanq-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c374e74d7b2546cb9359a7a4814362a12483c3f1d31fc6aef5fdd6902d765f5c
MD5 e53201bcc481bf4fa5837607a15bfb59
BLAKE2b-256 da66a096bb92d01ac1b0d578f29f80fe65c1662f74228ea4e8525b80b6425635

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