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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strangeworks_optimization-0.2.38-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.38.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.11.0-1015-azure

File hashes

Hashes for strangeworks_optimization-0.2.38.tar.gz
Algorithm Hash digest
SHA256 4980343abca24861c94f5ee26d56319b9d68290bdee8e64c4b86ac101f7354dc
MD5 902e34cfe38ebc2faf3cbdd3bd1261f7
BLAKE2b-256 3fc69b67ab22feb17df7eb9aed2e44b9016497cd0919782fcf470f765cb958b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.38-py3-none-any.whl
Algorithm Hash digest
SHA256 f01dcb80ad5f21348fbbca2b287a861abcc12ef48937eea2b8e2c70c11bf3423
MD5 61512412195d523e785ab4a730588b31
BLAKE2b-256 0672621a7f0bebcf6ff863005f2571eb7e596fe2c95a3991312814a0738b2ba5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page