GAMSRemoteClass.cs
37 public int RunServer(string ModelText, byte[] GDXInFile, byte[] ParameterFile, ref byte[] GDXOutFile, ref string LogOutput, ref string Message)
53 string ParameterFileName = Path.Combine(ws.WorkingDirectory, ws.ScratchFilePrefix + Path.GetRandomFileName());
62 string GDXInFileName = Path.Combine(ws.WorkingDirectory, ws.ScratchFilePrefix + Path.GetRandomFileName());
63 string GDXOutFileName = Path.Combine(ws.WorkingDirectory, ws.ScratchFilePrefix + Path.GetRandomFileName());
This example demonstrates how to implement a simple GAMS Server. The example has two parts: GAMSServe...
Definition: GAMSRemoteClass.cs:25
void Run(GAMSOptions gamsOptions=null, GAMSCheckpoint checkpoint=null, TextWriter output=null, Boolean createOutDB=true)
Dictionary< string, string > Defines
string WorkingDirectory
GAMSJob AddJobFromString(string gamsSource, GAMSCheckpoint checkpoint=null, string jobName=null)
GAMSOptions AddOptions(GAMSOptions optFrom=null)
string ScratchFilePrefix
Definition: GAMSRemoteClass.cs:10