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

Uploaded Source

Built Distribution

File details

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

File metadata

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

File hashes

Hashes for strangeworks_optimization-0.2.25.tar.gz
Algorithm Hash digest
SHA256 1d437d5591ee1ad6f62cdfde9ce0faa1b8b4ecc05b4f8d0bb1bdc83617370c0f
MD5 6ac92be948c24593f375bdad26d6b5e4
BLAKE2b-256 b8e535beaed1dff2d2688f40b11983efca3c3ab469dd603772440369521aff9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.25-py3-none-any.whl
Algorithm Hash digest
SHA256 bece18f7d80b49a1743d5620b36f5b3ca1a5467b27fa0909ce6818f6b128d553
MD5 251bbece57289d30df41161bc7d3ed29
BLAKE2b-256 b9631d574e86c56d06864dc8074efbd30e1cd8aad8d523e824c7494bbebf8d94

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