## Paganini: Convex optimisation tuner for combinatorial systems
```
Install: python2 setup.py install
Usage: python2 paganini.py input.txt 1e-6
Usage: python2 paganini.py input.txt CVXOPT
Usage: python2 paganini.py input.txt SCS
Usage: python2 paganini.py input.txt ECOS
```
* `input.txt` is the name of the input file
with coefficients of algebraic
specifications
* `1e-6` is a float number corresponding to precision
* `[CVXOPT, SCS, ECOS]` stand for different convex optimization solvers.
ECOS is more preferrable for algebraic systems, SCS for rational.
## Example
Consider a system for marking abstractions in lambda-terms:
```
L = z L^2 + u z L + D
D = z + z D
```
We want to have `40%` of abstractions, so we encode all the variables and
functions into a single vector `[z, u, L, D]` and construct input file
```
2 1
0.4
3
1 1 1 0
1 0 2 0
0 0 0 1
2
1 0 0 0
1 0 0 1
```
Install: python2 setup.py install
Usage: python2 paganini.py input.txt 1e-6
Usage: python2 paganini.py input.txt CVXOPT
Usage: python2 paganini.py input.txt SCS
Usage: python2 paganini.py input.txt ECOS
```
* `input.txt` is the name of the input file
with coefficients of algebraic
specifications
* `1e-6` is a float number corresponding to precision
* `[CVXOPT, SCS, ECOS]` stand for different convex optimization solvers.
ECOS is more preferrable for algebraic systems, SCS for rational.
## Example
Consider a system for marking abstractions in lambda-terms:
```
L = z L^2 + u z L + D
D = z + z D
```
We want to have `40%` of abstractions, so we encode all the variables and
functions into a single vector `[z, u, L, D]` and construct input file
```
2 1
0.4
3
1 1 1 0
1 0 2 0
0 0 0 1
2
1 0 0 0
1 0 0 1
Metadata
Release files for paganini 0.2955977425
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paganini-0.2955977425.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paganini-0.2955977425-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / paganini-0.2955977425.tar.gz
| Download URL | paganini-0.2955977425.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0b1af9ef63a4c9fb241a44df2eea632cd432e9a64000165d15840589cd49d0f
|
|
BLAKE2b-256 checksum How to use checksums |
e4cd170b831c89bd1799d6726cbd29fd3a5cf890fe6bd0e43315365ab8522e7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / paganini-0.2955977425-py3-none-any.whl
| Download URL | paganini-0.2955977425-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cf5b0afef4120cbe4243596368f251421cd49a9756e8a62acf8a79ee1608b98
|
|
BLAKE2b-256 checksum How to use checksums |
088ad9ad3a84bbde2521eec977609000295f4b21a8ebf86820279c6ee61632da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |