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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.32.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for strangeworks_optimization-0.2.32.tar.gz
Algorithm Hash digest
SHA256 dafd3fd9aad577efb26329c078367a2fdabba711e71ea03d2344d008c5798afc
MD5 7af1830272dea58d072b4c1eb80d7a59
BLAKE2b-256 350fd79e205b0a09b5affb9734e54ecba4a53a188bd4a7fc560b8591c394cb88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.32-py3-none-any.whl
Algorithm Hash digest
SHA256 4181bfbc5da134b09ac714e7739478d2beff81978f0e9d0232811b418c63cc1b
MD5 b77d11d97f33d04cd5fb7c6ef6d69b93
BLAKE2b-256 5def1e4456b84589c0616a9fa466736df6add62c9cee37b0a907e3a01a2fbd52

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