| |||||||||||
Solve LP, displaying the initial and optimal tableau Description Inputs an MPS matrix file and required optimization sense, and proceeds to solve the problem with lpoptimize. The simplex algorithm is interrupted to get its intial basis, and a tableau is requested with a call to function showtab. Once the solution is found, a second call produces the optimal tableau. Function showtab retrieves the pivot order of the basic variables, along with other problem information, and then constructs (and displays) the tableau row-by-row using the backwards transformation, btran. Note that tableau should only be used with matrices whose MPS names are no longer than 8 characters.
Source Files By clicking on a file name, a preview is opened at the bottom of this page.
Data Files tablobig.mps NAME T ROWS N nn G g1 G g2 L l3 L l4 G g5 L s6 COLUMNS y1 nn 2.000000 g1 1.000000 y1 g2 1.000000 l3 1.000000 y1 l4 1.000000 y2 nn 3.000000 g1 1.000000 y2 g2 -1.000000 l3 -1.000000 y2 g5 1.000000 y3 nn -1.000000 g1 1.000000 y3 l4 1.000000 s6 1.000000 y4 nn 7.000000 g1 1.000000 y4 g5 1.000000 y5 nn 1.000000 g1 1.000000 y5 s6 1.000000 RHS RHnn0001 g1 10.000000 g2 2.000000 RHnn0001 l3 4.000000 l4 6.000000 RHnn0001 g5 3.000000 s6 6.000000 ENDATA | |||||||||||
© Copyright 2023 Fair Isaac Corporation. |