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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.31.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.15 Linux/6.8.0-1014-azure

File hashes

Hashes for strangeworks_optimization-0.2.31.tar.gz
Algorithm Hash digest
SHA256 833abfa51e09866643a004f45819024a56a686b3a1346e9cf285456cc1f41194
MD5 b002c06435d30956c7084f8ca1a4e029
BLAKE2b-256 b5ff39d85294316469cdd42fb823df632c0b1b8144698aa87c2359a0883ffaa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.31-py3-none-any.whl
Algorithm Hash digest
SHA256 c27610d7a691fb045cdf2cdb6b1397e50f75a7f5f94cec17dbedd07abf829db6
MD5 eedacfb3a8413f645fa43873ff0fda11
BLAKE2b-256 87c55040409fc2e270aba03c6e0662c93b3a118e851ce572931b32c79d32ac32

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