set_use_namesSets if variable or constraint names are used. void set_use_names(lprec *lp, unsigned char isrow, unsigned char use_names); Return Value set_use_names has no return value. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI isrow Set to FALSE (0) if column information is needed and TRUE (1) if row information is needed. use_names If FALSE (0), then names are not used, else they are. Remarks When a model is read from file or created via the API, variables and constraints can be named.
These names are used to report information or to save the model in a given format.
However, sometimes it is required to ignore these names and to use the internal names of lp_solve.
This is for example the case when the names do not comply to the syntax rules of the format that
will be used to write the model to. Example
See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, is_use_names, set_col_name, get_col_name, set_row_name, get_row_name |