Skip to main content

This SDK extends the Strangeworks SDK to provide access to the Strangeworks Optimization API.

Project description

Tests

strangeworks-optimization

Docs

Usage

# model has been created and is one of the StrangeworksModelTypes
model = ...
solver = "my_provider.my_solver"
optimizer = StrangeworksOptimizer(model, solver)
optimizer.run()
print(optimizer.status())
print(optimizer.results())

Dev notes

gcloud beta logging tail "resource.type=cloud_run_revision AND resource.labels.service_name=svc-optimization severity>=ERROR"
gcloud beta logging tail "resource.type=cloud_run_revision AND resource.labels.service_name=svc-dwave-prod"


resource.type = "cloud_run_revision"
resource.labels.service_name = "svc-optimization"
resource.labels.location = "us-central1"
 severity>=DEFAULT
-textPayload NOT "job_updater|sw-optimization-service"

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

strangeworks_optimization-0.2.37.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.

strangeworks_optimization-0.2.37-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file strangeworks_optimization-0.2.37.tar.gz.

File metadata

  • Download URL: strangeworks_optimization-0.2.37.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1015-azure

File hashes

Hashes for strangeworks_optimization-0.2.37.tar.gz
Algorithm Hash digest
SHA256 7cda88a333fcbe19f7992c706f821645a68594387d2f44e06932aa8bdc809bd3
MD5 98db52b044fc48885e9875e2cb8f1340
BLAKE2b-256 622d30e3d59b6e263c3e89e2c51642ce36ec6e9b43fac9dbbd6ec9f9d274d8af

See more details on using hashes here.

File details

Details for the file strangeworks_optimization-0.2.37-py3-none-any.whl.

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.37-py3-none-any.whl
Algorithm Hash digest
SHA256 eaecab27f0c9dfd167bddf9cabc35d69a61a0e615200f261b785229aa447ad99
MD5 d21923d314c7f60fa9364074e703fef8
BLAKE2b-256 1d8d44ff55789b8373f440116350ed82c644f927ba06b3105411dc0757eccf22

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