Last Tableau of Simplex Method in LP Problem

Greetings,
Currently, I am using linprog with simplex method to solve linear programming problem.
Is it possible to print the last tableau of simplex method?
Thank you

 Accepted Answer

https://www.12000.org/my_notes/simplex/index.htm

2 Comments

Thank Torsten for your help!
I have tried the codes you sent to me. However, the code cannot deal with some special cases:
a. constraint matrix is not full rank; b. cycling because of degeneracy.
But these two cases are very important to my research.
I also look up github and file exchange of matlab, but unfortunately have not found one that satisfy my requirements. They always fail for case a. Case a is also the reason hinders my own simplex code.
Add new slack variables to all your constraint equations. Then your constraint matrix has full rank.

Sign in to comment.

More Answers (0)

Products

Release

R2018b

Asked:

on 28 Mar 2019

Commented:

on 1 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!