Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topsis_ashpreet_102303263-1.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topsis_ashpreet_102303263-1.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file topsis_ashpreet_102303263-1.0.1.tar.gz.

File metadata

File hashes

Hashes for topsis_ashpreet_102303263-1.0.1.tar.gz
Algorithm Hash digest
SHA256 06572e9a3739c9275bbfb633ac1af090bea3f1e1596f5021961836f4b83d5af5
MD5 14427c74138e529ddafdd523eee165f5
BLAKE2b-256 370c5bd2f045351c943e9bdb63bdd3176bb7e573d780e0b8a40577177d71b884

See more details on using hashes here.

File details

Details for the file topsis_ashpreet_102303263-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_ashpreet_102303263-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 271b6bf9cd36ec780f75b3e47fc07c840ee99a7be409558e2dfb631d93d26d1e
MD5 2bba88d321d85179151e0907874a4bb6
BLAKE2b-256 717529398292261173b562e227d1f1065b9239ac3b4a43da84c0b1568c63ef99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page