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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.28.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1025-azure

File hashes

Hashes for strangeworks_optimization-0.2.28.tar.gz
Algorithm Hash digest
SHA256 96469bd1a4f321d99efac513a3698bea887d5ecb6062d897573268dba1ba39a6
MD5 768b760da72c0318901bbb703cb66727
BLAKE2b-256 b22f97fdde4995712daeeb6439cbab79ff5a38231003698fc37d39e6e149a1a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 9d586da8c329147e53f27162854fb1e012fcf794a82dfee90e1d69f1e1265d6b
MD5 df181c4523b9615f39a8b5bf44791f9a
BLAKE2b-256 6b91dbe27d0ceca7ca27b9685dfcfaafdb026a2cbc9ac4563d5b443138d0d9fb

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