setname
setname |
Purpose
Synopsis
procedure setname(c:linctr, n:string)
procedure setname(v:mpvar, n:string)
Arguments
c
|
A linear constraint
|
v
|
A decision variable
|
n
|
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