CPXchgprobname


Description

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

Return Value

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

Synopsis

  int CPXchgprobname (CPXCENVptr env,
                      CPXLPptr lp,
                      const char *probname_str);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXLPptr lp

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

const char *probname_str

The new name of the problem.

Example

  status = CPXchgprobname (env, lp, probname);


Previous Page: CPXchgobjsen Return to Top Next Page: CPXchgprobtype