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 Type – string Description: string containing the problem type for which this function will search solvers. E.g.: problem type = ‘LP’ (Linear Programming)
- OUTPUTS
solvers Type – cell array for available GAMS solvers in your systems 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 Type – cell array Description: 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 solvers and problem types, respectively.
booleanTable Type – double matrix Description: 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 Type – cell array of strings Description: list of problem types that can be solved in GAMS. E.g: LP, MIP, etc
solvers Type – cell array of strings Description: list of solvers available in GAMS