[CHiPPS] [Coin-discuss/list] coin Blis supports MPICH or MPICH2

Yan Xu Yan.Xu at sas.com
Thu Feb 5 13:03:31 EST 2009


The Blis C++ API in in BlisModel.h, but it is limited. It has solve functions, but I guess it miss the function to load/change data.

Yan

From: Jack Bryan [mailto:dtustudy68 at hotmail.com]
Sent: Thursday, February 05, 2009 10:25 AM
To: Yan Xu
Cc: coin-discuss at list.coin-or.org; chipps at list.coin-or.org
Subject: RE: [Coin-discuss/list] coin Blis supports MPICH or MPICH2

thanks

Where can I find the Blis  C++ API function list?

I can not find them on the website.

I need to use BLIS as a black box to solve MILP.

For example,
BLIS_Solve(mpi, process_number, MILP_model, returned_solution).

Does Blis  C++ API function support these kinds of uses ? or other possible use-format ?

Any help is appreciated.

JACK

Feb.  5  2009

________________________________
From: Yan.Xu at sas.com
To: dtustudy68 at hotmail.com
CC: coin-discuss at list.coin-or.org; chipps at list.coin-or.org
Date: Thu, 5 Feb 2009 10:03:18 -0500
Subject: RE: [Coin-discuss] coin Blis supports MPICH or MPICH2
Fogot to mention that Blis is written in C++, and it API will be C++ code.

If only change objective coefficients, then it will be quick to add a set objective function. If need change others like constraint matrix. It requires  a bit more work. Please let me know what you need change the model.

Copy to chipps mailing list. Please use that mailing list because not all people in coin-discuss might be interested in chipps.

Best,
Yan


From: Jack Bryan [mailto:dtustudy68 at hotmail.com]
Sent: Wednesday, February 04, 2009 11:31 AM
To: Yan Xu
Cc: coin-discuss at list.coin-or.org
Subject: RE: [Coin-discuss] coin Blis supports MPICH or MPICH2

thanks,

Does parallel BLIS support API routines calling from C or C++ program ?

Does parallel  Blis support some operations on MILP models ?

I need some API routines to do some operations on A,b,c parameters of MILP models
and then call parallel  BLIS solver to solve the MILP model.

But, I need to change the obj. function C to the MILP model at each iteration , and
then solve the new MILP model with parallel  BLIS .

It means that I can not write a MILP models as an output file with mps format.
I have to solve a new model with parallel  BLIS at each iteration on the fly.

I have used lp_solve (another open source solver) API routines to design a C program
and it works well.

Now, I want to solve large MILP models so I only want to use parallel BLIS as a black box.

I want to change my original C program as little as possible so that I can
focus on algorithm design not on programing with different languages.

I find that lp_solve support API from C (also maybe C++).
Now, I hope that parallel  BLIS also suport API from C or C++.

I plan to design a C program that can call lP_solve API routines to do some
operations on A,b,c and generate a mew MILP model on the fly and then the C
program can also call parallel  BLIS API routines such that the new model
can be solved by parallel  BLIS.

Any help is apprecited.

Jack.
Feb.  4 2009
________________________________
From: Yan.Xu at sas.com
To: dtustudy68 at hotmail.com; coin-discuss at list.coin-or.org
Date: Wed, 4 Feb 2009 11:01:33 -0500
Subject: RE: [Coin-discuss] coin Blis supports MPICH or MPICH2
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

   CXXDEFS="-DMPICH_IGNORE_CXX_SEEK"

in configuring command line if using mpich2-1.0.4.

Yan



From: Yan Xu
Sent: Wednesday, February 04, 2009 10:47 AM
To: 'Jack Bryan'; coin-discuss at list.coin-or.org
Subject: RE: [Coin-discuss] coin Blis supports MPICH or MPICH2

Jack,

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.

Hope  this helps,
Yan

From: coin-discuss-bounces at list.coin-or.org [mailto:coin-discuss-bounces at list.coin-or.org] On Behalf Of Jack Bryan
Sent: Wednesday, February 04, 2009 10:04 AM
To: coin-discuss at list.coin-or.org
Subject: [Coin-discuss] coin Blis supports MPICH or MPICH2

Hi,

Blis solver supports MPICH or MPICH2 ?

which version ?

Any help is apprecited.

Jack.
Feb.  4 2009
________________________________
Windows Live(tm): Keep your life in sync. See how it works.<http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009>

________________________________
Windows Live(tm): E-mail. Chat. Share. Get more ways to connect. Check it out.<http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009>

________________________________
Windows Live(tm): Keep your life in sync. See how it works.<http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/chipps/attachments/20090205/613af82e/attachment-0001.html 


More information about the CHiPPS mailing list