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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.26.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-1023-azure

File hashes

Hashes for strangeworks_optimization-0.2.26.tar.gz
Algorithm Hash digest
SHA256 87e49601cd522b06ff8f530fd3e67046918f69a11ac7882c0ee9b61356fdc87d
MD5 a995c38223fdeb68889bbade38e6f521
BLAKE2b-256 c607b37b65e4a9284c501819ce01b21d037ff6a343c515df083acb4121ff9a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.26-py3-none-any.whl
Algorithm Hash digest
SHA256 9e14ce7dd45477885176e18bb38042cbc3a163c3d41b46215d67375b2331feca
MD5 839782b4f783000ddd275d16a7852340
BLAKE2b-256 ae23078c51029486c4119325da277c79502421366ed7769f512fd3014f576fbc

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