NO FRAMES

CPXchgprobname

public int CPXchgprobname(CPXCENVptr env, CPXLPptr lp, const char * probname_str)
Definition file: cplex.h

The routine CPXchgprobname is used to change the name of the current problem.

Example

 status = CPXchgprobname (env, lp, probname);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

probname_str

The new name of the problem.

Returns:

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