Initializing help system before first use

getname

Purpose
Get the name of a decision variable or constraint of the problem.
Synopsis
function getname(x:mpvar):string
function getname(c:linctr):string
function getname(nl:nlctr):string
Arguments
A decision variable used in the problem
A constraint (or SOS) of the problem
nl 
A non linear constraint of the problem
Return value
Name of the given object.
Further information
1. This function returns the name of a decision variable or constraint of the problem that would be used for matrix exportation. The parameter of this function must be part of the problem — for instance a hidden constraint cannot be assigned a name.
2. This function requires that the matrix has been generated ( e.g. by a call to exportprob or loadprob). When used with a non linear constraint it is further required for the problem to be loaded into the optimiser and the parameter XPRS_loadnames must be true.
Module

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.