write_lp, write_LPWrite an lp model to a file. int write_LP(lprec *lp, FILE *stream); int write_lp(lprec *lp, char *filename); Return Value
write_lp and write_LP return TRUE (1) if the operation was
successful. A return value of FALSE (0) indicates an error. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS stream Pointer to FILE structure. filename Filename to write the lp model to. Remarks 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. The model in the file will be in lp-format. Example
See Also delete_lp, copy_lp, make_lp, read_lp, read_LP, read_mps, read_MPS, write_mps, write_MPS |