set_outputstream, set_outputfileDefines the output when lp_solve has something to report. void set_outputstream(lprec *lp, FILE *stream); unsigned char set_outputfile(lprec *lp, char *filename); Return Value set_outputstream has no return value. set_outputfile returns TRUE (1) if the file could be opened, else FALSE (0).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 stream The stream to print the results to. If NULL, then output is stdout again. filename The file to print the results to. If NULL, then output is stdout again. Remarks
The set_outputstream, set_outputfile functions define the output
when lp_solve has something to report. Example
See Also delete_lp, free_lp, make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, print_lp, print_objective, print_solution, print_constraints, print_duals, print_scales, print_tableau, print_str, print_debugdump |