NO FRAMES

CPXgetlogfile

int CPXPUBLIC CPXgetlogfile(CPXCENVptr env, CPXFILEptr * logfile_p)
Definition file: cplex.h
Include files: cplex.h

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

Example

 status = CPXgetlogfile (env, &logfile);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

logfile_p

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

Returns:

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