GAMS log file in Linux

Problems with syntax of GAMS
Post Reply
Lutz
User
User
Posts: 60
Joined: 7 years ago

Re: GAMS log file in Linux

Post by Lutz »

Hi,

You have to set the command line option "LogOption" (or short "lo") to either 2 or 4. Here you can find more details about that option:

https://www.gams.com/latest/docs/usergu ... SLogOption

Best regards,
Lutz
Lutz
User
User
Posts: 60
Joined: 7 years ago

Re: GAMS log file in Linux

Post by Lutz »

Hi,

You did not mention the GAMS version you are using, so I was assuming that you use the recent one. However, it seems that your version is rather old. LogOption=4 was introduced with GAMS 24.1 in 2013 (https://www.gams.com/latest/docs/releasenotes/24.1.html). Older versions than that do not accept 4 as value.
LogOption is a command line option only. You cannot set it inside your code. But here is more info about different ways how to set command line options in general: http://support.gams.com/gams:enter_gams ... ne_options

Hope that helps,
Lutz
mldizd
User
User
Posts: 1
Joined: 7 years ago

Re: GAMS log file in Linux

Post by mldizd »

Hello,
Please let me know How I can post my question in this forum. H don't find any icon in this regard.
Thanks in advance
Lutz
User
User
Posts: 60
Joined: 7 years ago

Re: GAMS log file in Linux

Post by Lutz »

mldizd wrote:Hello,
Please let me know How I can post my question in this forum. H don't find any icon in this regard.
Thanks in advance
Just select a topic, e.g. "Syntax" (https://forum.gamsworld.org/viewforum.php?f=2) and click the "New Topic" button on the top.

Lutz
Post Reply