<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Andrea,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Have a look at some of the examples in Clp/examples. Specifically addColumns.cpp might be of assistance. I&#8217;m not sure about calling C++ code from Fortran however, you may need to experiment with the C interface (see driverC.c).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Re afiro, I obtain an objective of -464.7531 using Clp, OOQP, SCIP and linprog. I assume this is the correct answer? I used Clp v1.15.2 with presolve on and the Dual Simplex algorithm. The barrier algorithm also obtains the same solution for me.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jonathan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> clp-bounces@list.coin-or.org [mailto:clp-bounces@list.coin-or.org] <b>On Behalf Of </b>Andrea Bertoldo<br><b>Sent:</b> Thursday, 19 September 2013 8:21 p.m.<br><b>To:</b> clp@list.coin-or.org<br><b>Subject:</b> [Clp] Questions about CLP (which I couldn't find in the FAQ, possibly because they're super-outdated)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div name=divtagdefaultwrapper id=divtagdefaultwrapper><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Hello everyone,<br><br>I have been trying out CLP a little bit to see how well it works, and I've got a couple of questions:<br>- is it possible to work without passing through a MPS file? I'm looking for a library that works with data in memory, and I would like to be able to call it from Fortran, and the documentation for this project is quite vast and if there's a mention about calling CLP by passing matrices instead of reading a MPS, well, I've missed it;<br>- I've found the notorious afiro problem inside the Data/Samples folder, and I've tried to feed it to the CLP Minimum and CLP TestBarrier projects (inside the Clp solution provided for the users to test), but the results are different from what the real solution should be. Is there a more robust algorithm in your library that is able to solve this problem? CLP Minimum uses a bare ClpSimplex object, whereas CLP TestBarrier switches from an interior to a simplex method.<br><br>Thanks in advance for your time and congratulations to all the people involved in COIN-OR for what you have achieved! I was really impressed when I found out how much stuff you have going on :)<br><br>Kind regards,<br><br>Andrea<o:p></o:p></span></p></div></div></body></html>