By following your suggestion, I have solved my problem. I added only the line below.
GAMSWorkspace ws = new GAMSWorkspace(workingDirectory: @"L:\GAM_NET\DATA");
Search found 2 matches
Search found 2 matches • Page 1 of 1
Hi, I am new at .NET API of Gams. I have a problem for the code below GAMSWorkspace ws; if (Environment.GetCommandLineArgs().Length > 1) ws = new GAMSWorkspace(systemDirectory: Environment.GetCommandLineArgs()); else ws = new GAMSWorkspace(); GAMSJob t = ws.AddJobFromString(GetModelText()); t.Run...