read_mps, read_MPSCreate an lprec structure and read an mps model from file. lprec *read_mps(FILE *stream, short verbose); lprec *read_MPS(char *filename, short verbose); Return Value
Returns a pointer to a new lprec structure. This must be provided to almost all
lp_solve functions. Parameters stream Pointer to FILE structure. filename Filename to read the mps model from. verbose The verbose level. Can be one of the following values: See also set_verbose and get_verbose. Remarks The read_mps and read_MPS functions construct a new lprec structure and read the model from filename. read_mps needs a file pointer to an already opened file. read_MPS accepts the name of the file. The latter function will generally be more convenient.
The model in the file must be in mps-format.
Example
See Also delete_lp, copy_lp, make_lp, write_mps, write_MPS, read_lp, read_lp_file, read_LP, write_lp, write_LP |