Promethee algorithm
Project description
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).
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
Built Distribution
File details
Details for the file Promethee-1.0.tar.gz
.
File metadata
- Download URL: Promethee-1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4faac7d0b592fdb5916fd92555bd729b19df0742bd225bae26ead4928d34be |
|
MD5 | 36202f0b3f8d698662ee3ba272b925c7 |
|
BLAKE2b-256 | c14f01b210afb2205db324cce84193fce099fbac281d4375940d91971aa2d4be |
File details
Details for the file Promethee-1.0-py3-none-any.whl
.
File metadata
- Download URL: Promethee-1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a540bbf9f0842ecfc39bccee21027553a05878dd5a73e7ba782360654702ca |
|
MD5 | 06a0b2196235132571a92433108a6504 |
|
BLAKE2b-256 | 9520fbd9b52bfcc92dcd7a696a863ca4edf538c20b7d39d0efc84bf7a2ae4f2e |