Skip to main content

No project description provided

Project description

TOPSIS Package

TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) is a comprehensive Python package designed for multi-criteria decision analysis. This package facilitates the evaluation and ranking of alternative solutions based on a specified set of criteria.

Table of Contents

Introduction

Multi-criteria decision analysis (MCDA) is a powerful method employed for decision-making in scenarios where multiple criteria need consideration. TOPSIS, a widely recognized MCDA technique, plays a pivotal role in ranking alternatives by assessing their proximity to the ideal solution and their distance from the anti-ideal solution.

This package offers a robust Python implementation of the TOPSIS method, presenting it as both a standalone Python module and a user-friendly command line tool.

Installation

You can install TOPSIS using pip:

pip install topsis-package


To use TOPSIS in your Python code, import the topsis module:

python
Copy code
from topsis_package import topsis

# Your decision matrix
data = {...}

# Your weights and impacts
weights = [...]
impacts = [...]

# Run TOPSIS
result_df = topsis(data, weights, impacts)

# Display the results
print(result_df)

Command Line

TOPSIS also provides a command line interface for convenient usage:

topsis input.csv <weights> <impacts> result.csv
  • input.csv: Path to the input CSV file containing the decision matrix.
  • weights: Weights for each criterion separated by commas.
  • impacts: Impacts for each criterion (+ or -) separated by commas.
  • result.csv: Path to the output CSV file where the results will be saved.

Examples

In this section, provide users with practical examples that demonstrate the application of the TOPSIS package in real-world scenarios. Include step-by-step guides, sample datasets, and expected outcomes to help users understand how to utilize the package effectively. Consider covering various use cases to showcase the versatility of the TOPSIS method.

Example 1: Project Selection

Demonstrate how to use the TOPSIS package to rank potential project alternatives based on criteria such as cost, timeline, and resource utilization. Provide a sample decision matrix, weights, and impacts, and guide users through the process of obtaining a ranked list of projects.

Example 2: Vendor Selection

Illustrate the application of TOPSIS for vendor selection by evaluating alternatives based on criteria like cost, quality, and delivery time. Walk users through the steps of inputting data, specifying weights and impacts, and interpreting the resulting rankings.

Example 3: Product Design Optimization

Showcase how TOPSIS can be applied in product design optimization. Provide a use case where design alternatives are evaluated based on criteria such as functionality, manufacturability, and user satisfaction. Guide users through the TOPSIS process to identify the most suitable design.

Contribution

Encourage users to contribute to the development of the TOPSIS package by providing clear guidelines on how they can actively participate. Include the following information:

Reporting Issues

Explain the process for reporting issues, including the preferred format for issue descriptions, steps to reproduce, and any additional information that would help in troubleshooting.

Suggesting Enhancements

Encourage users to share their ideas for enhancing the TOPSIS package. Provide guidance on how to propose new features, improvements, or optimizations. Include information on the preferred format for enhancement proposals.

Submitting Pull Requests

Guide users through the process of submitting pull requests. Include instructions on forking the repository, creating a new branch, making changes, and submitting the pull request. Specify any coding standards or guidelines that contributors should follow.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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_rishav_102103355-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

topsis_rishav_102103355-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file topsis_rishav_102103355-0.1.0.tar.gz.

File metadata

  • Download URL: topsis_rishav_102103355-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for topsis_rishav_102103355-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f726a2f54de508f637fa7f5bb5d83ca3f1c62e3d469898e4f35b83294383e10
MD5 401455c3a244d859cf2a090b17641e10
BLAKE2b-256 56a05dfa4b8dbf4bd90aa8ede39398cb47159d6c862b1a95073ce09e792b9488

See more details on using hashes here.

File details

Details for the file topsis_rishav_102103355-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_rishav_102103355-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4572a6dec024ec233c161301e3f1b3f5fa9bb68a9540ff9be979c3c154ea00e0
MD5 17ff790280f7819a8365ba5b57106c8c
BLAKE2b-256 d454784927b3195d8f01794a1148191f899e210824a8dedd9900ad37b82dbe4b

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