Create an lprec structure and read an lp model from file.
lprec *read_lp(FILE *stream, int verbose, char *lp_name);
lprec *read_LP(char *filename, int verbose, char *lp_name);
Returns a pointer to a new lprec structure. This must be provided to almost all
Pointer to FILE structure.
Filename to read the lp model from.
The verbose level. Can be one of the following values:
The read_lp and read_LP functions construct a new lprec structure and read the model from filename. read_lp needs a file pointer to an already opened file. read_LP accepts the name of the file. The latter function will generally be more convenient.
The model in the file must be in lp-format.
See Also delete_lp, free_lp, make_lp, write_lp, write_LP, read_lpt, read_LPT, write_lpt, write_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, write_mps, write_freemps, write_MPS, write_freeMPS