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.36.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.36-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for strangeworks_optimization-0.2.36.tar.gz
Algorithm Hash digest
SHA256 54db285ba2924faab85b2c9703781630f841dd03ac70be156f7716dae33703d7
MD5 95c95055fc7eb7d70b93f3b9c3ebb9a6
BLAKE2b-256 831451bd6ef21a3761c921c63877f89e27bd6a45f6b531476f6db6200bfa911b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.36-py3-none-any.whl
Algorithm Hash digest
SHA256 23868e51e9ecf59c0bee183859229ceab6196886b3f805035235deea41166316
MD5 fb66e2df0e6f8df9698caefc40c3aa25
BLAKE2b-256 96f25cdac6b884aee6dde968314a65b9a0431b3a834d8f7fbc76f0a181184bbd

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