CPXERR_BAD_NAME

1220 Missing, duplicate, or invalid name is present in the model

#define CPXERR_BAD_NUMBER 1220

This error is returned when each object in the model must have a unique name that is valid for the requested operation and is writeable in the current encoding, but that is not the case.

For example, a name containing an operator is not valid when a basis file is requested to be written. Or, an name containing a utf-8 character that is not in the latin-1 character set is invalid when FILEENCODING is set to latin-1 and a basis file is requested to be written.