Hi everyone !
I have a MIP model in GAMS. ( model name is : TSmodel)
How I can find the number of variable( binary and continues variable ) and number of constraints in Model?
Thanks!
Richard
Hi everyone !
I have a MIP model in GAMS. ( model name is : TSmodel)
How I can find the number of variable( binary and continues variable ) and number of constraints in Model?
Thanks!
Richard
The GAMS Log and listing have this informations:
Log:
--- Generating LP model b1
--- blend.gms(55) 4 Mb
--- 4 rows 10 columns 37 non-zeroes
Listing:
MODEL STATISTICS
BLOCKS OF EQUATIONS 2 SINGLE EQUATIONS 4
BLOCKS OF VARIABLES 2 SINGLE VARIABLES 10
NON ZERO ELEMENTS 37
Inside GAMS you have access to the model suffixes e.g. b1.numVar after the solve. Find the different model suffixes here: https://www.gams.com/latest/docs/UG_ModelSolve.html?search=numvar#UG_ModelSolve_ModelAttributesUsedAfterSolve. Some of them give you some size information on the just generated and solved model.
-Michael
Yes! Thanks a lot!
Yes! Thanks a lot!