No project description provided
Project description
TOPSIS Command Line Tool
By Ashpreet Singh (Roll No: 102303263)
This Python package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method for solving Multi-Criteria Decision Making problems.
Installation
pip install Topsis-Ashpreet-102303263
Input File Format
CSV file:
First column → Alternatives
Other columns → Numeric criteria
Example: Model,P1,P2,P3,P4 M1,1,2,3,4 M2,2,3,4,5 M3,3,4,5,6
Usage
topsis
Example: topsis data.csv "1,1,1,1" "+,+,+,+" result.csv
Weights
Comma separated numbers
Must match criteria count
Example: 1,1,1,1
Impacts
Use + for benefit
Use - for cost
Example: +,+,-,+
Output
Output CSV will contain:
Topsis Score
Rank
Higher score = better alternative
Error Handling
Program checks:
File not found
Wrong inputs
Non numeric values
Weight/impact mismatch
Project details
Release history Release notifications | RSS feed
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_ashpreet_102303263-1.0.1.tar.gz.
File metadata
- Download URL: topsis_ashpreet_102303263-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06572e9a3739c9275bbfb633ac1af090bea3f1e1596f5021961836f4b83d5af5
|
|
| MD5 |
14427c74138e529ddafdd523eee165f5
|
|
| BLAKE2b-256 |
370c5bd2f045351c943e9bdb63bdd3176bb7e573d780e0b8a40577177d71b884
|
File details
Details for the file topsis_ashpreet_102303263-1.0.1-py3-none-any.whl.
File metadata
- Download URL: topsis_ashpreet_102303263-1.0.1-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.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
271b6bf9cd36ec780f75b3e47fc07c840ee99a7be409558e2dfb631d93d26d1e
|
|
| MD5 |
2bba88d321d85179151e0907874a4bb6
|
|
| BLAKE2b-256 |
717529398292261173b562e227d1f1065b9239ac3b4a43da84c0b1568c63ef99
|