>
> I need to access OSSolverService from another application that will
> provide the problem instance in OSIL format.
> How can I do that? . I am creating a user interface for the user to
> feed the problem instance. After problem is fed, the GUI will create
> OSIL instance. So, how can I access the solver service?
So I am assuming you have the OSiL instance created? If the
OSSolverService is on the same machine then you can do something like
OSSolverService -osil fileName
You can also link the application to the OSlib and build a model using
the OSInstance API. Have you looked at the examples in OS/examples. See
for example OS/examples/instanceGenerator.
The users manual in OS/doc also has lots of examples.
> I would appreciate any suggestions. I also want to know what makes
> OSIL different from LPFML schema. Wasn't LPFML schema good enough?
OSiL is much broader. It has been extended to include for example
nonlinear and stochastic programming.
Cheers,
>
> Thanks in advance.
>
> -Tejinder Singh
> >
--
Kipp Martin
Professor of Operations Research
and Computing Technology
Graduate School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kipp....@chicagogsb.edu
http://gsbkip.chicagogsb.edu
http://www.coin-or.org
>
> Hi Tejinder:
>
>>
>> I need to access OSSolverService from another application that will
>> provide the problem instance in OSIL format.
>> How can I do that? . I am creating a user interface for the user to
>> feed the problem instance. After problem is fed, the GUI will create
>> OSIL instance. So, how can I access the solver service?
>
> So I am assuming you have the OSiL instance created? If the
> OSSolverService is on the same machine then you can do something like
>
> OSSolverService -osil fileName
>
> You can also link the application to the OSlib and build a model using
> the OSInstance API. Have you looked at the examples in OS/examples. See
> for example OS/examples/instanceGenerator.
>
> The users manual in OS/doc also has lots of examples.
Kipp's answer should be augmented by pointing you specifically to
section 10.3.7 of the user's manual, which describes the API for
the six main methods implemented in OSSolverService. We do not
currently have an example of how to use them. Maybe in version 1.2.
Cheers
gus
> the six main methods implemented in OSSolverService. We do not
> currently have an example of how to use them. Maybe in version 1.2.
Actually there are numerous examples on pages 56-65 of the current
User's Manual in the trunk, stable and release versions.
Thanks