rescuer-task
Data classes for special MILP format
Class RescuerTask contains fields:
- cont_bounds: upper and lower bonds on continuous variables. Can be null if there are no bonds.
- rescuer_groups: sizes of groups of binary variables aka rescuers. The sum of variables in a group equals the size of the group minus one.
- inequalities: list of inequalities
Class Inequality contains 4 fields:
- conts: pairs “continuous variable number”-”continuous variable coefficient”
- constant_term: constant term of the left side of inequality
- right_coef: multiplier of the right side of inequality
- rescuers: list of rescuers
If rescuers is null or empty, the inequality is interpreted as “the sum of values of continuous variable with coefficients and the constant term of the left side of inequality <=0”, otherwise it’s interpreted as “the sum of values of continuous variable with coefficients and the constant term of the left side of inequality <=right_coef* sum of rescuers from field rescuers”, where right_coef should be chosen in such a way that if at least one of the rescuers has the value of 1, the inequality is satisfied.
ROADMAP.md contains future plans for the library’s improvements.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rescuer_task-0.1.0.tar.gz.
File metadata
- Download URL: rescuer_task-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9122a12126581aaa112192294cd499d35059a8127bb22bb836ed742de753acc
|
|
| MD5 |
83ddc4f68daad75201aabe8c2d745b16
|
|
| BLAKE2b-256 |
ed6e9f074598eabe56b4009940c92c7d62ef5ea65792cc55bde072c6a60eb249
|
File details
Details for the file rescuer_task-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rescuer_task-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a36de0e2496656b6e39800f77790ee3a8e419ace626188ebc5c917c585a81519
|
|
| MD5 |
1f4f9e23981577a8ddf9d35022030bcd
|
|
| BLAKE2b-256 |
0c27d863387409abc63b37dcf50d7c53eaf42d1b91086249cca37a4e0306dc76
|