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, copy_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. If "", then output is ignored. It doesn't go to the console or to a file then. This is usefull in combination with put_logfunc to redirect output to somewhere completely different. 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, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, put_logfunc, print_lp, print_objective, print_solution, print_constraints, print_duals, print_scales, print_tableau, print_str, print_debugdump, write_lp, write_LP, write_mps, write_freemps, write_MPS, write_freeMPS, write_basis |