|
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXsetlogfile (CPXENVptr env, CPXFILEptr logfile_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
A CPXFILEptr for the log file. This routine sets logfile_p to be the file pointer for the current log file. A NULL pointer may be passed if no log file is desired. NULL is the default value. Before calling this routine, obtain this pointer with a call to CPXfopen().
status = CPXsetlogfile (env, logfile); |