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.35.tar.gz (8.3 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.35-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.35.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for strangeworks_optimization-0.2.35.tar.gz
Algorithm Hash digest
SHA256 86661bc8c48db2dafed75ea1df38376b5afd6cf231fd03ea5919ad3b071d8012
MD5 25869ffbbf06ad4dfa17c91c4ca60ccd
BLAKE2b-256 3f978dcd6c730e059f2d0a6d53491e8a7cdcc22f898151c55a0f8399c3af1def

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.35-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a3ad1dd6c3c9040b121f0a8bcb834129aa6a677b3dac8f65a01ad823e48299
MD5 4c9b56e91c22dc0d8e805c410d375b19
BLAKE2b-256 aa7eabf0629ef4bd3125c27442b43195b597c96f0739ac3d10ff29a16f4a66b6

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