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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: strangeworks_optimization-0.2.30.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.15 Linux/6.8.0-1014-azure

File hashes

Hashes for strangeworks_optimization-0.2.30.tar.gz
Algorithm Hash digest
SHA256 676c917ef8b99cff559615735bdfb830b6fd65700e5149c364c1a064c17fd80d
MD5 7e609b18e1d0f2032edeeb89a2c35fe3
BLAKE2b-256 990a08d79a5f5395d722466cab5808b9c8e90576cb79efcabb959670dee40c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strangeworks_optimization-0.2.30-py3-none-any.whl
Algorithm Hash digest
SHA256 63fa2b2efd7bdaf581549790ae51be1172b37e39f28442f174bb7f8c47194a3f
MD5 fb20e2a051a570afb6f827701c865b8e
BLAKE2b-256 e7d1915894d32ea927e7c8fdd9f3bac5ea1fd2cd4014e709dc35b06a2d6e0f79

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