File numerics/src/tools/GAMSlink.h¶
Go to the source code of this file
data structures and function to work with GAMS
Typedefs
-
typedef struct GAMS_opt_bool_ GAMS_opt_bool¶
-
typedef struct GAMS_opt_int_ GAMS_opt_int¶
Simply linked list of integer option for GAMS.
-
typedef struct GAMS_opt_double_ GAMS_opt_double¶
Simply linked list of double option for GAMS.
-
typedef struct GAMS_opt_str_ GAMS_opt_str¶
Simply linked list of string option for GAMS.
-
typedef struct SN_GAMS_NM_gdx_ SN_GAMS_NM_gdx¶
-
typedef struct SN_GAMS_NV_gdx_ SN_GAMS_NV_gdx¶
Enums
Functions
-
static inline const char *GAMSP_get_filename(const void *GP)¶
-
static inline void GAMSP_set_filename(void *GP, char *filename)¶
-
static inline const char *GAMSP_get_filename_suffix(const void *GP)¶
-
static inline void GAMSP_set_filename_suffix(void *GP, char *filename_suffix)¶
-
static inline void SN_free_SN_GAMS_gdx(SN_GAMS_gdx *gdx_data)¶
-
static inline void SN_GAMS_add_NM_to_gdx(SN_GAMS_gdx *gdx_data, NumericsMatrix *M, char *name)¶
-
static inline void SN_GAMS_add_NV_to_gdx(SN_GAMS_gdx *gdx_data, double *vec, char *name, unsigned size)¶
-
static inline void SN_GAMS_add_NV_from_gdx(SN_GAMS_gdx *gdx_data, double *vec, char *name, unsigned size)¶
-
struct GAMS_opt_bool_¶
Public Members
-
char *name¶
Name of the option.
-
bool value¶
Value of the option.
-
unsigned type¶
Type of option (general or solver-specific)
-
struct GAMS_opt_bool_ *next_opt¶
Link to the next option.
-
char *name¶
-
struct GAMS_opt_int_¶
- #include <>
Simply linked list of integer option for GAMS.
Public Members
-
char *name¶
Name of the option.
-
int value¶
Value of the option.
-
unsigned type¶
Type of option (general or solver-specific)
-
struct GAMS_opt_int_ *next_opt¶
Link to the next option.
-
char *name¶
-
struct GAMS_opt_double_¶
- #include <>
Simply linked list of double option for GAMS.
Public Members
-
char *name¶
Name of the option.
-
double value¶
Value of the option.
-
unsigned type¶
Type of option (general or solver-specific)
-
struct GAMS_opt_double_ *next_opt¶
Link to the next option.
-
char *name¶
-
struct GAMS_opt_str_¶
- #include <>
Simply linked list of string option for GAMS.
Public Members
-
char *name¶
Name of the option.
-
char *value¶
Value of the option.
-
unsigned type¶
Type of option (general or solver-specific)
-
struct GAMS_opt_str_ *next_opt¶
Link to the next option.
-
char *name¶
-
struct SN_GAMSparams¶
- #include <>
Parameters for GAMS.
Public Members
-
char *model_dir¶
Directory where the GAMS model are.
-
char *gams_dir¶
GAMS directory.
-
char *filename¶
name of the problem (used as a gdx filename)
-
char *filename_suffix¶
suffix for the filename.
Useful when solving the same problem with the same solver, but different options
-
GAMS_opt_str *opt_str_list¶
list of string options
-
GAMS_opt_bool *opt_bool_list¶
list of boolean options
-
GAMS_opt_int *opt_int_list¶
list of integer options
-
GAMS_opt_double *opt_double_list¶
list of double options
-
char *model_dir¶
-
struct SN_GAMS_NM_gdx_¶
-
struct SN_GAMS_NV_gdx_¶
-
struct SN_GAMS_gdx¶
Public Members
-
SN_GAMS_NM_gdx *mat_for_gdx¶
-
SN_GAMS_NV_gdx *vec_for_gdx¶
-
SN_GAMS_NV_gdx *vec_from_gdx¶
-
SN_GAMS_NM_gdx *mat_for_gdx¶