Promethee
Multi-decision criteria algorithm Promethee
Usage:
install with pip:
pip install Promethee==1.0
Import on your code:
from Promethee import promethee
Paramethers:
promethee(df,pesos,objetivos,tipo,q,p)
df = pandas dataframe with de Criterias, the problems and their values as the example:
|__|C1|C2|C3|
|D1| 6 | 7 |10|
|D2| 9 | 8 | 9 |
|D3| 8 | 2 | 8 |
|D4| 7 | 8 | 5 |
|D5| 1 |10|10|
|D6| 8 | 3 | 8 |
|D7| 6 |10| 9 |
|D8| 1 | 2 | 6 |
pesos = list with the respective wheights of each criteria
objetivos = list with the respectives values if the criteria is for maximization or minimization. True = minimization False = maximization
tipo = int that determines the type of the function used:
- Usual Criterion
- U-shape Criterion
- V-shape Criterion
- Level Criterion
- V-Shape with indiference criterion
- Gaussion Criterion
q and p = int that is necessarie in some types of function, if not informed, their default value is 0 (functions type 4 and 5 requires 'q' and 'p', in that case, 'q' is the intermediary value and 'p' is the higher value).
Metadata
Release files for Promethee 1.0
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 |
|---|---|---|---|---|
| Promethee-1.0.tar.gz | 3.1 kB | Without provenance | Details for Promethee-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Promethee-1.0-py3-none-any.whl | Python 3 | none | any | Details for Promethee-1.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / Promethee-1.0.tar.gz
| Download URL | Promethee-1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c4faac7d0b592fdb5916fd92555bd729b19df0742bd225bae26ead4928d34be
|
|
BLAKE2b-256 checksum How to use checksums |
c14f01b210afb2205db324cce84193fce099fbac281d4375940d91971aa2d4be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.2
|
Release files / Promethee-1.0-py3-none-any.whl
| Download URL | Promethee-1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53a540bbf9f0842ecfc39bccee21027553a05878dd5a73e7ba782360654702ca
|
|
BLAKE2b-256 checksum How to use checksums |
9520fbd9b52bfcc92dcd7a696a863ca4edf538c20b7d39d0efc84bf7a2ae4f2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.2
|
Security for Promethee 1.0
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.