Environment#
- class ampl.Environment : IEnumerable, global.SystemIDisposable#
This class provides access to the environment variables and provides facilities to specify where to load the underlying AMPL interpreter.
Public Functions
- IEnumerator<KeyValuePair<string, string>> GetEnumerator ()#
Get the enumerator for the map of environment variables.
Properties
- string this[string key] {get;set;}
Access and sets values.
- Param key:
Environment variable to get or set
- Return:
Its value if present, null otherwise