NO FRAMES

Macro CPXERR_NO_RHS_IN_OBJ

Definition file: cplex.h

CPXERR_NO_RHS_IN_OBJ

1211 rhs has no coefficient in obj.
You cannot make changes to the right-hand side of an objective row because no coefficients exist.