Strangeworks-Optimization-Models
Pydantic models for use with Strangeworks Optimization API
- StrangeworksModel is an abstract base class for all Strangeworks optimization models.
These are all in the strangeworks_optimization_models module.
Problem Models
In problem_models we have data structures representing the problems to be solved. these take the form
- Model is the native model used outside strangeowrks
- Model type is an enum of the types of native models
- StrangeworksModelType is an enum that defines the types of models available. These include:
- BinaryQuadraticModel
- ConstrainedQuadraticModel
- DiscreteQuadraticModel
- JiJProblem
- AquilaModel
- QuboDict
- MPSFile
- HitachiModel
- Each model has its own class, such as MPSFile, QuboDict, AquilaNDArray, and HitachiModelList. These classes contain the data for each model.
Solver Models
Ways to specify solvers. Right now they are all basically provider.solver
Solution Models
In solution_models we have data structures representing the solutions to the problems. These take the form:
- Solution is the native solution used outside strangeworks
- Solution type is an enum of the types of native solutions
The solution models also include methods for converting the solution to a string and from a string, similar to the problem models.
Metadata
Release files for strangeworks-optimization-models 0.1.68
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| strangeworks_optimization_models-0.1.68.tar.gz | 32.0 kB | Without provenance | Details for strangeworks_optimization_models-0.1.68.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strangeworks_optimization_models-0.1.68-py3-none-any.whl | Python 3 | none | any | Details for strangeworks_optimization_models-0.1.68-py3-none-any.whl |
Total release size: 67.8 kB
Release files / strangeworks_optimization_models-0.1.68.tar.gz
| Download URL | strangeworks_optimization_models-0.1.68.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc970d0695bf5907f4201cde1ac34b6ead9999f28f83ab5a35e381294617559f
|
|
BLAKE2b-256 checksum How to use checksums |
bf14eccdb6e1979c54d8a8258e0bd25e5e63739e6cd0a35264f84c1a5e39fc2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.23
|
Release files / strangeworks_optimization_models-0.1.68-py3-none-any.whl
| Download URL | strangeworks_optimization_models-0.1.68-py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
924d50f347e61b1ed23a7e73eae1fcf0c51bbeabbd036ce75f2ca2e45c1f14b6
|
|
BLAKE2b-256 checksum How to use checksums |
28977f994a04fa4c1ebebb7a362df0ae4fe5a82839953ab54a443947a37a0dfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.23
|
Security for strangeworks-optimization-models 0.1.68
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.