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.33.tar.gz (7.9 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.33-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.33.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for strangeworks_optimization-0.2.33.tar.gz
Algorithm Hash digest
SHA256 c3d36651c303c1593e37dee2713da5023f9ae840406eca9b3c1ff89ea6151d3d
MD5 c94b8b3e4fd38c5dd6ae06852078000c
BLAKE2b-256 5ef6b1576d11bc129856f44466317a76ec40644f35dcd384ae12e3f8b6814649

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.33-py3-none-any.whl
Algorithm Hash digest
SHA256 c6049f461a66f693eccb6a0337d8146be637b1a439de45e88c808388f4546e67
MD5 de83e8612b20c19a65a4bbfd8e3a1ef0
BLAKE2b-256 42891d64da71ce4c51a96369ede36b50e20555e53a9212f37c6355283fcb2cf7

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