spinetoolbox.spine_io.gdx_utils

Utility functions for .gdx import/export.

author:
  1. Soininen (VTT)
date:

7.1.2020

Module Contents

spinetoolbox.spine_io.gdx_utils._python_interpreter_bitness()[source]

Returns 64 for 64bit Python interpreter or 32 for 32bit interpreter.

spinetoolbox.spine_io.gdx_utils._windows_dlls_exist(gams_path)[source]

Returns True if requred DLL files exist in given GAMS installation path.

spinetoolbox.spine_io.gdx_utils.find_gams_directory()[source]

Returns GAMS installation directory or None if not found.

On Windows systems, this function looks for gams.location in registry; on other systems the PATH environment variable is checked.

Returns:a path to GAMS installation directory or None if not found.