Metadata-Version: 2.1
Name: Topsis_Raghav_102103283
Version: 0.6
Summary: Topsis package python
Author: Raghav Garg
Author-email: rgarg5_be21@thapar.edu
License: MIT
Keywords: Python,Topsis
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown

# Topsis
TOPSIS( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python compiled by Raghav Garg, 102103283, TIET, Patiala. 

## Installation
Use the package manager pip to install.

pip install Topsis-Raghav-102103283

## Usage
Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-) and enter the output file name followed by .csv extension.

python [InputDataFile as .csv] [Weights as a string] [Impacts as a string] [ResultFileName as .csv]

### Example
python sample.csv "2,2,1,1" "-,-,+,+" result.csv

## Please Note That
The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So the csv MUST follow the format as shown in sample.csv shown in the Example section.
The input data file MUST contain three or more columns.
The second to last columns of the data file MUST contain NUMERIC values.
The number of weights, impacts and columns (second to last) MUST be SAME.
Impacts MUST either be '+' or '-'.
Impacts and Weights MUST be separated by , (comma).

## License

Â© 2024 Raghav Garg

This repository is licensed under MIT License. See LICENSEÂ forÂ details.
