Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carstenkoenig/linpro_simplex
my take on the first assignment for the "linear and integer programming" course on coursera
https://github.com/carstenkoenig/linpro_simplex
Last synced: about 1 month ago
JSON representation
my take on the first assignment for the "linear and integer programming" course on coursera
- Host: GitHub
- URL: https://github.com/carstenkoenig/linpro_simplex
- Owner: CarstenKoenig
- License: other
- Created: 2013-09-16T13:14:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-19T06:25:45.000Z (over 11 years ago)
- Last Synced: 2024-10-15T09:17:49.755Z (3 months ago)
- Language: Haskell
- Size: 551 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Assignment 1
this implements a very simple solution to the first two assignments given in the coursera course [linear and integer programming](https://class.coursera.org/linearprogramming-001/assignment/index) using Haskell
## usage
### tests
included are a few tests that runs the assignments testcase-filescabal test
for example should run the code if you do not forget to enable the testscabal install --dependencies-only --enable-test
cabal configure --enable-tests### generating output
for assignment 1 you can just call the executable with a path to a pivot-dictionary in the format descriped [here](https://class.coursera.org/linearprogramming-001/assignment/view?assignment_id=5). This wil create a file with the same name extended with a .output suffix.
for assignment 2 you have to load main.hs into ghci and call the function
createAssignment2Answer path
with a path to a valid pivot-dictionary file creating a output-file with the same name extended with a .result suffix.