Giter Site home page Giter Site logo

eppica / vogels-approximation-method Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 14 KB

This project implements the Vogel's Approximation method to solve the Transport Problem.

License: MIT License

Python 100.00%
python vogels approximation-method transport-problem

vogels-approximation-method's Introduction

๐Ÿ“ˆ Vogel's Approximation Method

About

This project aims to solve a Transport Problem for the Linear Programming class using an algorithm that implements the Vogel's Approximation method.

Technologies

Requirements

To run and edit the project, be sure to have installed in your computer the following softwares:

After that, you'll need to clone this repo:

git clone https://github.com/eppica/Vogels-Approximation-Method.git

Setup

Inside the project directory, create a virtual environment (venv)

At the cmd, type:

python -m venv ./venv

After that you should see a venv directory.

To run commands using venv, go to Scripts directory inside venv:

Vogels-Approximation-Method
โ”‚   main.py
โ”‚   ...
โ””โ”€โ”€โ”€ ๐Ÿ—€ venv
     โ””โ”€โ”€โ”€ ๐Ÿ—€ Scripts
          โ”‚   activate

To use the virtual environment, run:

activate

Then, using the virtual environment, install the project requirements:

pip install -r requirements.txt

That will prevent you to install the libs in the local computer, and it will be available only on the project scope.

Editing

Whenever you install a new library, you need to update the requirements.txt file.

At the cmd, run:

pip freeze > requirements.txt

Running

venv:

To see the project running, inside the virtual environment at cmd, run:

python main.py

โš–๏ธ License

MIT License

vogels-approximation-method's People

Contributors

lbeghini avatar predodamiao avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

vogels-approximation-method's Issues

Refactor code

Remove very similar functions and guarantee that the IDE does not identify any code repetitions

Write README.md

Write README.md explaining how to run, the problem and motivation of the project

Model the problem

Given the proposed problem, model according to the pattern used in the program

Update README.md with 'how to use'

Add section 'how to use' where it explains the basic functionality of the program, what the options of the menu means and give an example.

Implement initial screen

Implement initial screen with a header and a menu where the user can choose to output the iterations to a .xlsx, if he wants to see the iterations in console and choose the program he wants to run from the problems directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.