Executing GAMS using VB.NET

I am a new VB.NET programmer and am looking for an example of how to do the following:

Execute an existing GAMS program
Wait for model to run and capture model completion status.

Thanks in advance.


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/d/optout.

Daniel,

In your GAMS system directory (e.g. C:\GAMS\win32\24.2) there is a folder apifiles\VBnet. Please have a look at TransportSeq.sln. In this solution you will find a series of VB.Net projects using the GAMS.Net API. Documentation for this API can be found in \docs\api\GAMS.net4.chm or online at http://www.gams.com/dd/docs/api/dotNetDoc/Index.html . There is also a tutorial at \docs\api\GAMS.net4.Tutorial.chm or http://www.gams.com/dd/docs/api/GAMS.net4.Tutorial.chm . In the tutorial the API is used with C#, but it might be useful for you anyway.

Best regards,
Lutz



On 3/20/2014 9:22 AM, Daniel Sproull wrote:

I am a new VB.NET programmer and am looking for an example of how to do
the following:
Execute an existing GAMS program
Wait for model to run and capture model completion status.
Thanks in advance.


You received this message because you are subscribed to the Google
Groups “gamsworld” group.
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/d/optout.



Lutz Westermann LWestermann@gams.com
GAMS Development Corporation GAMS Software GmbH
1217 Potomac St. NW, P.O. Box 40 59
Washington DC, 20007, USA 50216 Frechen, Germany
Fon/Fax: +1 202 342-0180/1 Fon/Fax: +49 221 949-9170/1
http://www.gams.com


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/d/optout.