problem.getIndexFromName
| problem.getIndexFromName | 
  Purpose
 
 
  Returns the index for a specified row or column name.
 
 
  Synopsis
 
  ind = problem.getIndexFromName (type, name) 
 
  Arguments
 
 | 
     type 
     | 
 | ||||
| 
     name 
     | 
     String containing name of the item sought.
     | 
  Example
 
 
 The following example retrieves the index of column "
 xnew":
 
 x = xpress.var (name = 'xnew')
[...]
print ("variable's index: ", p.getIndexFromName ('xnew'))
  Related topics
 
  
