This function returns the basis in the QSbas data structure. The function can be used if an application has stored the basis information and may need to load it several times (for example, when the LP problem is solved in several different ways, or after several different types of modifications). If the application only needs to solve the LP problem a single time and the QSbas data structure is being passed directly to the QSprob p via a call to QSload_basis, then it may be easier to use the function QSread_and_load_basis to read and load the basis in a single stroke. When a application no longer requires the QSbas data structure, the function QSfree_basis should be call to free the associated memory. The basis file should contain a description of the basis in the industry standard MPS Basis format. (This is the format that is used by QSwrite_basis.)
|