<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="FI" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Hello all,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I have already asked advice from Couenne and CBC mailing list. Sorry for multiple posting.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">We have a sawmill ERP SW product done with Microsoft tools. Programming language is C#. A new feature for the product requires mixer integer optimization with quadrative objective (least squares). Problem is small, tens of variables and constraints.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">CBC solves the problem nicely. I have done testing using NEOS and AMPL model.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Now we need to integrate CBC somehow to our SW. CBC APIs seem to require quite a bit of coding and that’s why I am asking help from COIN-OR OS.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">So, we already have the AMPL model. Actually, there will be lots of models depending on the exact case. There will be variations in the amount and content of the constraints and naturally in the constraint data.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">First question: Is there any API available which allow input of the model in matrix format? In our case modifying the problem directly to the matrices would be the easiest way.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Second question: Assume we will send the model to the OS in OSiL format. We would need to first convert the AMPL model into OSiL and then modify the OSiL model depending on the exact case. If I have understood correctly, OS can handle AMPL and converts the model into OSiL format. How can I get the OSiL format out from the OS?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Any other advice to get forward?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Kind Regards,</span></p><p class="MsoNormal"><span lang="EN-US">Juhani</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p></div></body></html>