Gams¶
- checkGAMSSolvers(problemType)[source]¶
This function return the solvers that can be used in GAMS to solve the type of problem especified by the user
- USAGE:
solvers = checkGAMSSolvers (problemType)
- INPUTS:
problemType – string containing the problem type for which this function will search solvers. E.g.: problemType = ‘LP’ (Linear Programming)
- OUTPUTS:
solvers – cell array of available GAMS solvers in your system which allows the user to solve problems of type problemType
Example
solvers = checkGAMSSolvers(‘MIP’) % returns the GAMS solvers available to solve Mixed Integer Programming % problems. You can see the entire list of problem types with the % function getAvailableGAMSSolvers.m
- getAvailableGAMSSolvers()[source]¶
This function return the GAMS solvers which are available in your system according to the license.
- USAGE:
[summaryTable, booleanTable, problemTypes, solvers] = getAvailableGAMSSolvers()
- OUTPUTS:
summaryTable – cell array matrix summarizing which problem can be solved by which solver. A “yes” in position (i,j) means that the GAMS solver “j” is available in your system to solve a problem of type “i”. Please note that headers are included in this summaryTable, so the first column and the first row have labels for the solvers and problem types, respectively.
booleanTable – double matrix summarizing which problem can be solved by which solver. A “1” in position (i,j) means that the GAMS solver “j” is available in your system to solve a problem of type “i”
problemTypes – cell array of strings listing the problem types that can be solved in GAMS, e.g. LP, MIP, etc.
solvers – cell array of strings listing the solvers available in GAMS