https://github.com/mohamedhmini/linear-programming
SIMPLEX algorithm applied in c
https://github.com/mohamedhmini/linear-programming
c-programming-language linear-algebra linear-programming operations-research optimization-algorithms
Last synced: 7 months ago
JSON representation
SIMPLEX algorithm applied in c
- Host: GitHub
- URL: https://github.com/mohamedhmini/linear-programming
- Owner: MohamedHmini
- Created: 2019-12-11T01:58:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T00:44:46.000Z (over 4 years ago)
- Last Synced: 2025-03-14T00:24:04.023Z (7 months ago)
- Topics: c-programming-language, linear-algebra, linear-programming, operations-research, optimization-algorithms
- Language: C
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LINEAR-PROGRAMMING
### STRUCTURE OF THE PROBLEM SET FILE :
nbr of matrices (for now it should be only the value 4)!!!
n m (dimensions of matrix A)
A (space seperated)
n m (dimensions of vector c)
c (space seperated)
n m (dimensions of the vector which contains the indices to the BASE matrix)
basis_indices (space seperated)
n m (dimensions of vector b)
b (space seperated)P.S : Examples are given in the datasets folder!
### STEPS :
1- compile the program using gcc in the following way :
```bash
gcc -o main ./Matrix/io.c ./Matrix/matrix.c ./simplex.c ./test.c
```2- run the executable main file in the following way :
```bash
./main
```