| |||||||||||
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 tablo.mps NAME tablo ROWS N min G c1 G c2 G e COLUMNS x min 1.000000 c1 2.000000 x c2 1.000000 e 1.000000 y min 1.000000 c1 1.000000 y c2 2.000000 e 1.000000 RHS RHS00001 c1 3.000000 c2 3.000000 RHS00001 e 1.000000 ENDATA | |||||||||||
© Copyright 2024 Fair Isaac Corporation. |