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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for strangeworks_optimization-0.2.41.tar.gz
Algorithm Hash digest
SHA256 d2ca247a2d47460cd1b297ae9fe8a81fadf2a0df812ec27df1d7d9dca6ff96b2
MD5 af8cb368d3344b2e35c3ad1a40f1e04f
BLAKE2b-256 2d664174e17a261d2dead563001f85e1b8b3709d0de6543c1a8d81584ba9cd2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.41-py3-none-any.whl
Algorithm Hash digest
SHA256 59b5c481ecaa64acc334f0d4c6c8d08b9b4b39eeea6fec9c41706dd48e18b082
MD5 907a1560d25626556be34f5cc34429ff
BLAKE2b-256 0c60fc61a21db4cf81f16ad44da90fbf7c776e7a7337e00c79058506eed80199

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