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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.29.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-1025-azure

File hashes

Hashes for strangeworks_optimization-0.2.29.tar.gz
Algorithm Hash digest
SHA256 4232a5c2e807e60c708456b8c6a3c69354a55c0395bc0234b7934a604981a1a4
MD5 16f4a6cfcd457855087158e18d77149a
BLAKE2b-256 c3ceafaef756d440383808c6bc69f1ed73f7b0e5fd133ea875b4564371704c7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.29-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff276cdd03cd8ee3cf0dbc559d92b8920a1707c4f674dc051bd1d566bdebee3
MD5 5a95715231feae8fa385ed73b541d5a2
BLAKE2b-256 392af7c343f6d4051b9ccde3494627cfa24c16a3ba49e73f96ddb1057bb1dc23

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