Previous Page: CPXgetlbFirst PageNext Page: CPXgetlpcallbackfunc

CPXgetlogfile


Description

The CPXgetlogfile() routine accesses the log file to which messages from all four CPLEX-defined channels are written.

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

int CPXgetlogfile (CPXENVptr env,
                   CPXFILEptr *logfile_p);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXFILEptr *logfile_p
The address of a CPXFILEptr variable. This routine will set logfile_p to be the file pointer for the current log file.

Example

status = CPXgetlogfile (env, &logfile);
Previous Page: CPXgetlbFirst PageNext Page: CPXgetlpcallbackfunc