Initializing help system before first use

setname

setname


Purpose
Associate a matrix name to a constraint or variable.
Synopsis
procedure setname(c:linctr, n:string)
procedure setname(v:mpvar, n:string)
Arguments
A linear constraint
A decision variable
Name given to the constraint or variable
Further information
1. When exporting a problem to a matrix file, constraint/variable names are deduced from the global public symbols: anonymous and local entities are usually named after their row/column number in the matrix. This procedure makes it possible to give a name to these entities.
2. If the given name starts with the '#' character, the generated matrix name will include the order number of the constraint or variable in the matrix.
Related topics