https://github.com/gabriel-dp/linear-programming-problems
Some common linear programming problems solved using C++ and CPLEX
https://github.com/gabriel-dp/linear-programming-problems
cplex linear-programming operational-research ufsj
Last synced: 9 days ago
JSON representation
Some common linear programming problems solved using C++ and CPLEX
- Host: GitHub
- URL: https://github.com/gabriel-dp/linear-programming-problems
- Owner: gabriel-dp
- License: mit
- Created: 2024-09-03T17:39:14.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T03:04:01.000Z (9 months ago)
- Last Synced: 2024-09-13T16:03:48.219Z (8 months ago)
- Topics: cplex, linear-programming, operational-research, ufsj
- Language: C++
- Homepage:
- Size: 2.09 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Problemas de Programação Linear
```cpp
#define TRABALHO "Trabalho - Problemas de Programação Linear"
#define PROFESSOR "Guilherme Pena"
#define DISCIPLINA "Pesquisa Operacional"
#define ESTUDANTES ["Gabriel de Paula", "Henrique Azevedo"]
```
## 📃 Lista de Problemas
[`1. Problema do Fluxo de Custo Mínimo`](./src/01-PFCM/)
[`2. Problema de Transporte`](./src/02-PT/)
[`3. Problema da Designação`](./src/03-PD/)
[`4. Problema do Caminho Mínimo`](./src/04-PCM/)
[`5. Problema do Fluxo Máximo`](./src/05-PFM/)
## 🖥 Como executar
> [Instale a biblioteca CPLEX](https://www.ibm.com/products/ilog-cplex-optimization-studio)
Vá para a pasta do problema:
```bash
cd src/xx-xxxxx
```Compile o executável:
```bash
make
```Execute o programa com a entrada:
```bash
./main.exe < input.txt
```