[Coin-discuss] OSI build in MSDEV 2005

J P Fasano jpfasano at us.ibm.com
Fri Jan 12 13:22:37 EST 2007


>I noticed from the example that it seems the only way to load a model to a
solver  is via MPS file.
>Am I right?

No.

>Is there any programmatic way  to do this?

Yes.
loadProblem is a typical method call for doing this.

See:

http://www.coin-or.org/Doxygen/Osi/class_osi_solver_interface.html#z124_0
   http://www.coin-or.org/Doxygen/Clp/class_clp_model.html#z186_1

For an example program which uses loadProblem try looking at:

https://projects.coin-or.org/Clp/browser/trunk/Clp/examples/rowColumn.cpp

To find other example programs which use loadProblem, try googling with
search string
    site:projects.coin-or.org/Clp/browser/trunk/Clp/examples loadProblem

JP




More information about the Coin-discuss mailing list