Skip to content

YA2IR/classical_simplex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is an implementation of the classical Simplex algorithm in C, with several examples taken from Operations Research: Applications and Algorithms by Wayne L. Winston.

Usage

You can uncomment any of the examples provided in the main function of simplex.c (they're quite different, one of them is cycling, one of them is unbounded... etc), then compile and run:

gcc examples.c simplex.c -o simplex && ./simplex

Misc Notes

  • This program operates on the simplex tableau in canonical form. The examples are provided in this format.
  • It supports less-than-or-equal constraints, but adapting it to handle greater-than-or-equal constraints should be straightforward.

About

An implementation of the classical Simplex algorithm in C

Topics

Resources

License

Stars

Watchers

Forks

Languages