Skip to content

Comparison of open-source and proprietary software environments in solving the common problem of Matrix Decomposition

License

Notifications You must be signed in to change notification settings

simonebenitozzi/cholesky-analysis

Repository files navigation

Analysis of Cholesky Method for Matrix Decomposition

This repository contains the source code and analysis for comparing open-source and proprietary software environments in solving a common problem. The main objective of this project is to derive valuable insights and considerations by comparing the implementation and functionality of the Cholesky method for solving linear systems with sparse, symmetric, and positive definite matrices across different programming environments and operating systems.

Problem Description

The focus of this project is to examine and compare the implementation and performance of the Cholesky method in MATLAB, a closed-source language requiring a license, and Python, an open-source language with a rich ecosystem of libraries for solving a wide range of problems. Additionally, the project will contrast the execution of the method in both Windows and Linux operating systems.

Project Scope

The goal of this project is to provide a comprehensive analysis that goes beyond technical aspects and considers trade-offs, performance, effectiveness, managerial considerations, costs, and repercussions associated with choosing one environment over the other. The intention is to simulate a real-world decision-making context and facilitate an informed choice.

Graph

Matrix

Drive: https://drive.google.com/drive/folders/1fA6B7xLlRSZmUeHtPEsXHVTkyQcFPmdT?usp=sharing

The symmetric and positive definite matrices that will be analyzed are as follows:

Documentation

Link: https://it.overleaf.com/6993789178xtxsqsfnxnbk

Repository Contents

The repository contains the following files:

  1. Analysis/: Directory to store the results of the analysis.
  2. DOC/: Directory to store the documentation files.
  3. MATLAB/: Directory containing the MATLAB implementation of the Cholesky method.
  4. PyProject/: Directory containing the Python implementation of the Cholesky method.
  5. README.md: This file, providing an overview of the project and repository.

Getting Started

To get started with this project, please follow these steps:

  1. Clone the repository to your local machine using the command:

    git clone https://github.com/your-username/repository-name.git
    
  2. Ensure you have MATLAB and Python installed on your system.

  3. Navigate to the project directory:

    cd repository-name
    
  4. Explore the implementation files (cholesky.m and cholesky.py) to understand the Cholesky method in both languages.

  5. Run the implementations on your preferred operating system, following the instructions provided within each file.

  6. Analyze the results and consider the trade-offs, performance, and managerial implications in the context of your specific use case.

Contribution Guidelines

If you would like to contribute to this project, please follow these guidelines:

  1. Fork the repository to your GitHub account.

  2. Create a new branch for your contribution:

    git checkout -b new-branch-name
    
  3. Make your modifications and enhancements.

  4. Commit and push your changes to your forked repository.

  5. Submit a pull request, explaining the purpose and changes of your contribution.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for your purposes.

Contact Information

For any questions or inquiries regarding this project, please contact [email protected].

About

Comparison of open-source and proprietary software environments in solving the common problem of Matrix Decomposition

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published