Get problem, variable and constraint names
pname = cnames() [pname,xnames,gnames] = cnames() [pname,xnames,gnames] = cnames(n,m)
integer, see below
integer, see below
string, the problem name
string vector, all variable names
string vector, all constraint names
pname=cnames() returns the problem name in pname,
[pname,xnames,gnames]=cnames() returns the problem name in pname, all variable names in xnames, and all constraint names in gnames. The names are stored row-wise in xnames and gnames.
[pname,xnames,gnames]=cnames(n,m) gets only the first n variable names and only the first m constraint names.
Based on CUTEr authored by
Nicholas I.M. Gould - n.gould@rl.ac.uk - RAL
Dominique Orban - orban@ece.northwestern.edu - Northwestern
Philippe L. Toint - Philippe.Toint@fundp.ac.be - FUNDP
see http://hsl.rl.ac.uk/cuter-www