Get specific output information

Problems with syntax of GAMS
Post Reply
gams101
User
User
Posts: 1
Joined: 4 years ago

Get specific output information

Post by gams101 »

Hello,

i have a test.gms and want to test scip/baron/antigone with a timelimit and print the output in a file:

i call the script for scip for example with gams test.gms qcp=scip resLim=1 o=scip.lst

and it is working. Now i want to gather specific information about the runs of the different solvers:

I want to following information:

1. ObjVal of best Solution
2. ObjBound best bound found
3. Gap (optional could be calculated by 1+2)
4. Runtime of the algorithm

This is what i found yet:

display "MYOUTPUT11";
display m.objVal;
display m.etAlg;
display "MYOUTPUT11";

But how do to get the other information, also m.etAlg prints always NaN.

Thanks.
Post Reply