BN
unread,Dec 8, 2008, 6:00:09 PM12/8/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Xpress-MP
Hi,
My first post in this forum. Hope this group is still active.
I have a Mosel model built and compiled and it works fine without any
issues. But I would like to call and run the model from within
VB .NET. I am actually able to run and solve the model as well using
the Mosel .NET reference library (xprmdn.dll). But my problem is with
accessing data elements within my model from VB. I can read and
display standard data types like int, strings or sets and arrays of
these. But I have my own defined data types in the form of records and
arrays/sets of records and I am not able to read them using the
methods available.
For example, if I have a record type like this is my model, how do I
read it from VB? I would like to print MyData.s, MyData.l, MyData.long
etc to the output file.
MyData:record
s:string
l: real
long: real
Inner: integer
Outer: integer
end-record
Thanks
BN