TOPSIS implementation using command line
Project description
Topsis-Sommit-102303184
A Python package to perform TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) for multi-criteria decision making using the command line.
Installation
Install the package from PyPI:
bash pip install Topsis-Sommit-102303184
Usage
Run TOPSIS from the command line as follows:
bash topsis
Example
bash topsis data.csv "1,1,1,2" "+,+,-,+" result.csv
Input File Format
- Input file must be a CSV file
- First column contains alternatives (names)
- Remaining columns contain numerical criteria values
Sample Input (data.csv)
Model,P1,P2,P3,P4 M1,250,16,12,5 M2,200,18,8,4 M3,300,14,10,6
Parameters
- InputDataFile: Path to input CSV file
- Weights: Comma-separated numerical weights
- Impacts: Comma-separated impacts (+ for benefit, - for cost)
- ResultFileName: Name of output CSV file
Output
The output CSV file will contain:
- Topsis Score
- Rank (1 indicates the best alternative)
Author
Sommit
Roll No: 102303184
License
MIT License
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
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 topsis_sommit_102303184-0.2.tar.gz.
File metadata
- Download URL: topsis_sommit_102303184-0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
961fe5876d52763321662dce7af9e6fb27ce64c16eefd8a57e26d324be44d19a
|
|
| MD5 |
b84c235a1048f9939d0fd2da63683e48
|
|
| BLAKE2b-256 |
ce3d3f5b9458a4b0a50d70cbe5f979ea9ab55ef676f0e97846259deefea0cef2
|
File details
Details for the file topsis_sommit_102303184-0.2-py3-none-any.whl.
File metadata
- Download URL: topsis_sommit_102303184-0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5106ff8eb0f32e11103a2c07d956517982de387aa3c9a587aadb96b35c4bcb6
|
|
| MD5 |
8af67313884b954917955875882f158b
|
|
| BLAKE2b-256 |
c2a589aaba0ce22bd249b4d02adbcac30d2b184618d5e7938370e22e45d1702f
|