CPXXwriteannotations and CPXwriteannotations

The routine CPXXwriteannotations/CPXwriteannotations writes the information of all the annotations contained the CPLEX problem object to the specified file.

int  CPXXwriteannotations( CPXCENVptr env, CPXCLPptr lp, char const * filename )

int  CPXwriteannotations( CPXCENVptr env, CPXCLPptr lp, char const * filename )

Description

The routine CPXXwriteannotations/CPXwriteannotations writes the information of all the annotations in the CPLEX problem object to the specified file.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX problem object as returned by CPXXcreateprob/CPXcreateprob.
filename
A string containing the name of the ANN file.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.

Example


 status = CPXwriteannotations(env, lp, "myprob.ann");