<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
thanks,<br><br>Does <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel BLIS support API routines calling from C </span>or C++<span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"></span> program ? <br><br>Does <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>Blis support some operations on MILP models ? <br><br>I need some API routines to do some operations on A,b,c parameters of MILP models <br>and then call <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS solver to solve the MILP model.<br><br>But, I need to change the obj. function C to the MILP model at each iteration , and <br>then solve the new MILP model with <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS .<br><br>It means that I can not write a MILP models as an output file with mps format.<br>I have to solve a new model with <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS at each iteration on the fly.<br><br>I have used lp_solve (another open source solver) API routines to design a C program <br>and it works well.<br><br>Now, I want to solve large MILP models so I only want to use <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel </span> BLIS as a black box.<br><br>I want to change my original C program as little as possible so that I can <br>focus on algorithm design not on programing with different languages.<br><br>I find that lp_solve support API from C (also maybe C++).<br>Now, I hope that <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS also suport API from C or C++.<br><br>I plan to design a C program that can call lP_solve API routines to do some <br>operations on A,b,c and generate a mew MILP model on the fly and then the C <br>program can also call <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS API routines such that the new model <br>can be solved by <span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">parallel&nbsp; </span>BLIS. <br><br><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Any help is apprecited.<br>
<br>
Jack.<br>
Feb.&nbsp; 4 2009<br>
</span><br><br><hr id="stopSpelling">From: Yan.Xu@sas.com<br>To: dtustudy68@hotmail.com; coin-discuss@list.coin-or.org<br>Date: Wed, 4 Feb 2009 11:01:33 -0500<br>Subject: RE: [Coin-discuss] coin Blis supports MPICH or MPICH2<br><br>







<style>
.ExternalClass .EC_shape
{;}
</style>

<style>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_EmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.EC_EmailStyle19
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .EC_MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.EC_Section1
{page:Section1;}
</style>





<div class="EC_Section1">

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">I checked my notes. Here is more details. I tried mpich-1.2.7
and mpich2-1.0.4 before. They are fine with BLIS except you need add an extra
option</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;&nbsp; CXXDEFS=”-DMPICH_IGNORE_CXX_SEEK”</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">in configuring command line if using mpich2-1.0.4.</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Yan</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> Yan Xu <br>
<b>Sent:</b> Wednesday, February 04, 2009 10:47 AM<br>
<b>To:</b> 'Jack Bryan'; coin-discuss@list.coin-or.org<br>
<b>Subject:</b> RE: [Coin-discuss] coin Blis supports MPICH or MPICH2</span></p>

</div>

</div>

<p class="EC_MsoNormal">&nbsp;</p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Jack,</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">ALPS/BLIS uses functions defined by MPI-1 only. It looks to me
that MPICH implements MPI-1 and MPICH2 implements MPI-1 and MPI-2. So, Blis
should runs fine with MPICH and MPICH2.</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Hope &nbsp;this helps,</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Yan</span></p>

<p class="EC_MsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="EC_MsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
coin-discuss-bounces@list.coin-or.org
[mailto:coin-discuss-bounces@list.coin-or.org] <b>On Behalf Of </b>Jack Bryan<br>
<b>Sent:</b> Wednesday, February 04, 2009 10:04 AM<br>
<b>To:</b> coin-discuss@list.coin-or.org<br>
<b>Subject:</b> [Coin-discuss] coin Blis supports MPICH or MPICH2</span></p>

</div>

</div>

<p class="EC_MsoNormal">&nbsp;</p>

<p class="EC_MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Hi, <br>
<br>
Blis solver supports MPICH or MPICH2 ?<br>
<br>
which version ?<br>
<br>
Any help is apprecited.<br>
<br>
Jack.<br>
Feb.&nbsp; 4 2009<br>
<br>
</span></p>

<div class="EC_MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">

<hr size="2" width="100%" align="center">

</span></div>

<p class="EC_MsoNormal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Windows
Live™: Keep your life in sync. <a href="http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009">See how it works.</a></span></p>

</div><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect.  <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009' target='_new'>Check it out.</a></body>
</html>