Coder Social home page Coder Social logo

natefedez / simplex-method-ic-6400 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 1 MB

Implementation of the Simplex Method algorithm to solve linear programming maximization and minimization problems.

License: GNU General Public License v3.0

Python 100.00%
simplex big-m dual-method

simplex-method-ic-6400's Introduction

simplex-method-ic-6400

Description

Implementation of the Simplex Method algorithm to solve linear programming maximization and minimization problems.

About The Project

Product Screen Shot

Implementation of the Simplex Method algorithm to solve linear programming maximization and minimization problems.

Getting Started

Prerequisites

  • pip3 installed, the package installer for Python. Installation:
sudo apt-get -y install python3-pip
  • PyQt5 5.15.4 installed, set of cross-platform C++ libraries that implement high-level APIs for accessing many aspects of modern desktop and mobile systems. Installation:
pip3 install PyQt5
  • qt-material 2.8.4 installed, stylesheet for PySide6, PySide2 and PyQt5, which looks like Material Design. Installation:
pip3 install qt-material

Installation and Usage

  1. Clone the repo
    git clone https://github.com/natanfdecastro/simplex-method-ic-6400
  2. Go to src/main/python/edu/tec/ic6400/ and run:
    python3 simplex-program.py
  3. The main window should appear, introduce the data for the problems and the options
  4. You can add more variables and restrictions (max of 17 variables)
  5. Choose to generate a .txt file with the solution or not
  6. Click on solve
  7. The solved problem should look something like this:

Problem solved Screen Shot

  1. If you clicked generate .txt file, the resulting content of the file should look like this:
  • The statement of the problem: Problem solved Screen Shot

  • The procedure of the solved problem (the tables and actions): Problem solved Screen Shot

  • The final solution for the problem: Problem solved Screen Shot

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Contact

Natán Fernández de Castro - @natanfdecastro - [email protected]

Project Link: https://github.com/natanfdecastro/simplex-method-ic-6400

simplex-method-ic-6400's People

Contributors

adriel0312 avatar dac125 avatar natefedez avatar

Watchers

 avatar  avatar

Forkers

dac125 afifaj

simplex-method-ic-6400's Issues

feature/#2_estructuracion_de_sistema

Para trabajar

  • Crear rama a partir del issue llamada feature/#[numero_issue][nombre_issue]
  • Finalizado el trabajo en la rama feature/#[numero_issue][nombre_issue] crear pull request de la rama a master
  • Asignar a natanfdecastro como asignado de revisión del pull request

Descripción de Issue

  • Realizar la estructuración del sistema, preferiblemente en un MVC simplificado.
  • Aplicar lo presente relacionado con PyQT5 a donde corresponde.
  • Que el main.py sea solamente para llamadas del sistema, libre de responsabilidades.

Consideraciones

  • Agregar diagramas si es necesario

feature/#6_implementacion_metodo_2_fases

Para trabajar

  • Crear rama a partir del issue llamada feature/#6_implementacion_metodo_2_fases
  • Finalizado el trabajo en la rama feature/#6_implementacion_metodo_2_fases crear pull request de la rama a master
  • Asignar a @Adriel0312 como asignado de revisión del pull request

Descripción de Issue

  • Implementar el método de las dos fases en python, según se explicó en clase.

Consideraciones

  • Revisar que se hagan impresiones (print) en consola de manera correcta, validando todo resultado que sea correcto.

feature/#3_implementación_algoritmo_BigM

Para trabajar

  • Implementar el algoritmo del método big M.
  • Asignar a DAC125 como asignado de revisión del pull request

Descripción de Issue

  • Investigar librerías necesarias para ejecutar las operaciones del método.

Consideraciones

  • El algoritmo tiene que estar escrito en funciones

Nothing runs

Hello there, nice package but when I run it after installing the dependencies, it looks for a module called src which is just a folder and there is no simplex_program.py its just main.py

feature/#1_implementacion_pyqt5

Para trabajar

  • Crear rama a partir del issue llamada feature/#[numero_issue][nombre_issue]
  • Finalizado el trabajo en la rama feature/#[numero_issue][nombre_issue] crear pull request de la rama a master
  • Asignar a natanfdecastro como asignado de revisión del pull request

Descripción de Issue

Consideraciones

  • Verificar la facilidad de uso de esta biblioteca.

feature/#4_implementacion_metodo_dual

Para trabajar

  • Crear rama a partir del issue llamada feature/#[numero_issue][nombre_issue]
  • Finalizado el trabajo en la rama feature/#[numero_issue][nombre_issue] crear pull request de la rama a master
  • Asignar a @DAC125 como asignado de revisión del pull request

Descripción de Issue

  • Implementar el método dual en python, según se explicó en clase.

Consideraciones

  • Revisar que se hagan impresiones (print) en consola de manera correcta, validando todo resultado que sea correcto.

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.