https://github.com/yorgosbas/primal-dual-linear-programming-converter
Convert a Primal Linear Problem into Dual Linear Problem
https://github.com/yorgosbas/primal-dual-linear-programming-converter
linear-programming primal-dual
Last synced: about 1 year ago
JSON representation
Convert a Primal Linear Problem into Dual Linear Problem
- Host: GitHub
- URL: https://github.com/yorgosbas/primal-dual-linear-programming-converter
- Owner: YorgosBas
- License: mit
- Created: 2020-04-26T15:26:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T15:41:54.000Z (about 6 years ago)
- Last Synced: 2023-09-04T20:08:17.834Z (almost 3 years ago)
- Topics: linear-programming, primal-dual
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Primal to Dual Linear Programming Converter
This repository extends [LP_Parser](https://github.com/YorgosBas/Linear-Program-Parser) functionallity with an additional feature of converting a primal problem to dual problem
## How to run
1. Install Parser.py and PrimalToDual.py
2. Write the file name to be converted in the same directory (Example: "Primal.txt")
3. Script will generate "dual.txt" file with the converted problem.
## How it works
1. Parses primal problem and checks for errors. Data are stored in specific matrices
2. Converts the primal problem to dual