The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetcolindex (CPXCENVptr env, CPXCLPptr lp, const char *lname_str, int *index_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
status = CPXgetcolindex (env, lp, "power43", &colindex); |