read_basisRead basis from a file and set as default basis. unsigned char read_basis(lprec *lp, char *filename, char *info); Return Value Returns TRUE if basis could be read from filename and FALSE if not. Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI filename Filename to read the basis from. info When not NULL, returns the information of the INFO card in filename. When NULL, the information is ignored. Note that when not NULL, that you must make sure that this variable is long enough, else a memory overrun could occur. Remarks
The read_basis function reads a basis from filename and
sets it as initial basis of the lp. The basis in the file must be in MPS bas file format. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_basis, set_basis, default_basis, write_basis, get_basiscrash, set_basiscrash |