Skip to content

coExp/Simplex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solve equation for Simplex Algorithm :
- row 1 : two integer : first number of rows, second number of columns
- row 2 to penultimate row :  "x1 x2 x3 e1 e2 e3 Res" with "x" the unknown, "e" epsilon, "res" result
- last row : what we try to maximize
 
Example: Looking for the max of 2.X + Y
                 Under constraints: X - Y <= 3
                                    X + 2.Y <= 6
                                    -X + 2.Y <= 2
                 the FILE is:
                    4 6
                    1.0  -1.0 1.0 0.0 0.0 3
                    1.0  2.0  0.0 1.0  0.0 6
                    -1.0  2.0  0.0 0.0 1.0 2
                    2.0  1.0 0.0 0.0 0.0 0.0

About

Resolution simplex - Operations research

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages