Gams Universe
GamsStructure.GamsUniverse — TypeGamsUniverse(sets::Dict{Symbol,GamsSet}
parameters::Dict{Symbol,GamsParameter}
scalars::Dict{Symbol,GamsScalar})Note: scalars are going to be deprecated soon.
Access objects like an array,
GU[:X]This will return the X object, either a set or parameter. The search order is sets first, then parameters.
Print a universe to see it's members and their descriptions.
GamsStructure.load_universe — Methodload_universe(path::String;
to_load = [],
nGU::GamsUniverse = GamsUniverse(),
raw_text=true)Load a universe from the path.
path - Universe location
to_load - Load specific sets and parameters
nGU - Add sets and parameters to an existing universe
raw_text - Denote if a universe is saved as raw_text or in a binary format.
GamsStructure.unload — Methodunload(GU::GamsUniverse,
path;
to_unload = [],
raw_text = true)Save a universe from the path.
GU - The universe to save
path - Universe location
to_unload - Unload specific sets and parameters
raw_text - Denote if a universe is saved as raw_text or in a binary format.