Initializing help system before first use

genmpnames

genmpnames


Purpose
Generate row, SOS and column names.
Synopsis
void genmpnames(XPRMcontext ctx, XPRMlinctr obj, XPRMmpvar extra[], int strip);
Arguments
ctx 
Mosel's execution context
obj 
Objective. Possible values are
NULL 
No objective defined
XPRM_KEEPOBJ 
Last objective used
linctr 
Reference to a linear constraint to be used as the objective
extra 
Array of decision variables to be added to the matrix even if they appear in no constraint. The last reference of the array must be NULL. This parameter may be NULL
strip 
Use scrambled names if not 0
Example
Further information
This function generates the row, SOS and column names that can be accessed with function getmpname. Note that these names can be generated only if a matrix exists (this function may therefore generate a matrix if none is available).
Related topics