genmpnames
genmpnames |
Purpose
Synopsis
void genmpnames(XPRMcontext ctx, XPRMlinctr obj, XPRMmpvar extra[], int strip);
Arguments
ctx
|
Mosel's execution context
|
||||||
obj
|
Objective. Possible values are
|
||||||
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