The routine returns a zero on success, and a nonzero if an error occurs.
int CPXchgbds (CPXCENVptr env, CPXLPptr lp, int cnt, const int *indices, const char *lu, const double *bd); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
lu[j] | = ' U ' | bd[j] is an upper bound |
lu[j] | = ' L ' | bd[j] is a lower bound |
lu[j] | = ' B ' | bd[j] is the lower and upper bound |
status = CPXchgbds (env, lp, cnt, indices, lu, bd); |