Represents an AMPL decision variable. Note that, in case of a scalar
variable, all the properties of the variable instance can be accessed
through methods like
value. The methods have the
same name of the corresponding AMPL suffixes.
See https://www.ampl.com/NEW/suffbuiltin.html for a list of the available
All these methods throw an error if called on an entity which has been deleted
in the underlying intepreter.
To gain access to all the values in an entity (for all instances and all
suffixes for that entities), see
getValues and the