Print log file with .bat

Hello Dear GAMS Community,

I need a help.

I´m using .bat files to run lots of .gms instances in GAMS/CPLEX and GAMS/Gurobi.

The problem is, when I do this, the .log of solver is printed in the prompt and I´m not able to get it from there.

I need the log files to analyse the convergence and GAPS of solvers. I only have it when I run the .gms files directly from the GAMS. As aways, the GAMS put the .lst and .log into the project folder.

Does someone know how to get the log of the solver when using the a .bat file to run?

Thanks in advance,
Jack Hagart


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.

\

hi jack,
have a look at http://support.gams.com/doku.php?id=check_list. they say: “If you are working from the command line, please use the additional command line option lo=2 (e.g. gams trnsport.gms o=2) to redirect the screen output into a log file.”
i think that’s it.

kind regards,
franzi


Franziska Flachsbarth
Berliner Str. 111
03046 Cottbus




Am 31.07.2013 um 16:03 schrieb Jack Hagart:

Hello Dear GAMS Community,

I need a help.

I´m using .bat files to run lots of .gms instances in GAMS/CPLEX and GAMS/Gurobi.

The problem is, when I do this, the .log of solver is printed in the prompt and I´m not able to get it from there.

I need the log files to analyse the convergence and GAPS of solvers. I only have it when I run the .gms files directly from the GAMS. As aways, the GAMS put the .lst and .log into the project folder.

Does someone know how to get the log of the solver when using the a .bat file to run?

Thanks in advance,
Jack Hagart


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.

\