CPXXchgprobname and CPXchgprobname

The routine CPXXchgprobname/CPXchgprobname changes the name of the current problem.

int CPXXchgprobname( CPXCENVptrenv, CPXLPptrlp, char const *probname )

int CPXchgprobname( CPXCENVptrenv, CPXLPptrlp, char const *probname )

Description

The routine CPXXchgprobname/CPXchgprobname changes the name of the current problem.

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.
probname
The new name of the problem.

Return

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

Example


status = CPXchgprobname (env, lp, probname);