Write an lp model to a file.
unsigned char write_LP(lprec *lp, FILE *stream);
unsigned char write_lp(lprec *lp, char *filename);
write_lp and write_LP return TRUE (1) if the operation was
successful. A return value of FALSE (0) indicates an error.
Pointer to FILE structure.
Filename to write the lp model to.
The write_lp and write_LP functions write the model to filename. write_LP needs a file pointer to an already opened file. write_lp accepts the name of the file. The latter function will generally be more convenient.When stream or filename are NULL, then output is written to output set by set_outputstream, set_outputfile. By default this is stdout.
The model in the file will be in lp-format.