[Coin-bcpdiscuss] Re: Coin-bcpdiscuss Digest, Vol 29, Issue 1

Lasse Nisted lasse.nisted+coin at gmail.com
Tue Sep 18 12:03:57 EDT 2007


Hello

I just wanted to note that I did this over a year ago (with the bcp-trunk at
the time). I used Cbc to solve a small IP problem which gave a heuristic
solution inside Bcp. This didn't cause any problems. So it is possible :)

 - Lasse

On 9/18/07, Ted Ralphs <tkralphs at lehigh.edu> wrote:
>
> I don't think this is necessarily the case. You may end up with two
> OsiClp objects (one for Bcp and one for Cbc) in existence at the same
> time and these may conflict, due to the use of global variables in Clp.
> I can't say for sure that this will be a problem, though. All you can do
> is to try it.
>
> Cheers,
>
> Ted
>
> Laszlo Ladanyi wrote:
> > Hi Ali,
> >
> > You should not have any problems. Even if Clp and Cbc are not thread
> safe (and
> > they are getting there :-) things should work as Bcp is single threaded.
> What
> > is more of a problem is that there is no stable package that has both
> Bcp and
> > Cbc in it. That means that Bcp-1.1 and whichever Cbc you get may rely on
> a
> > different versions of CoinUtils, and if the structure of a class in
> CoinUtils
> > have changed then you can get royally messed up with the C++ class
> virtual
> > tables. One thing you can do is to work with Bonmin, which is a MINLP
> solver.
> > Well, not really work with Bonmin, but get the Bonmin package, since
> that
> > relies both on Cbc and Bcp, so both libs will be in the same package, so
> it's
> > likely that you'll have no symbol-conflict. Unfortunately Bonmin is
> available
> > only from the subversion repository and you have to get the trunk
> version...
> > Check it out with
> > 'svn co https://projects.coin-or.org/svn/Bonmin/trunk Bonmin-trunk'
> > Build the code and install it. This will compile loots of stuff that you
> are
> > not interested in (like Ipopt and Bonmin itself), but it will also
> compile
> > Clp, Cbc, and Bcp. Then you can link your code against the created libs.
> > Of course, it's trunk, so it might be a bit unstable... :-( (though in
> my
> > experience it is stable). So report any bugs or suspicious things you
> find, so
> > that we can look at it.
> >
> > Good luck,
> > --Laci
> >
> > On Tue, 18 Sep 2007 alikoc at mail.utexas.edu wrote:
> >
> >> Hi Ted,
> >>
> >> I am using the stable version. I obtained it using the command
> >>
> >> svn co https://projects.coin-or.org/svn/Bcp/stable/1.1 Coin-Bcp
> >>
> >> Thanks,
> >>
> >> Ali
> >>
> >> Quoting coin-bcpdiscuss-request at list.coin-or.org:
> >>
> >>> Send Coin-bcpdiscuss mailing list submissions to
> >>>     coin-bcpdiscuss at list.coin-or.org
> >>>
> >>> To subscribe or unsubscribe via the World Wide Web, visit
> >>>     http://list.coin-or.org/mailman/listinfo/coin-bcpdiscuss
> >>> or, via email, send a message with subject or body 'help' to
> >>>     coin-bcpdiscuss-request at list.coin-or.org
> >>>
> >>> You can reach the person managing the list at
> >>>     coin-bcpdiscuss-owner at list.coin-or.org
> >>>
> >>> When replying, please edit your Subject line so it is more specific
> >>> than "Re: Contents of Coin-bcpdiscuss digest..."
> >>>
> >>>
> >>> Today's Topics:
> >>>
> >>>    1. Using CBC inside BCP (alikoc at mail.utexas.edu)
> >>>    2. Re: Using CBC inside BCP (Ted Ralphs)
> >>>
> >>>
> >>> ----------------------------------------------------------------------
> >>>
> >>> Message: 1
> >>> Date: Sun, 16 Sep 2007 17:07:05 -0500
> >>> From: alikoc at mail.utexas.edu
> >>> Subject: [Coin-bcpdiscuss] Using CBC inside BCP
> >>> To: coin-bcpdiscuss at list.coin-or.org
> >>> Message-ID: <1189980425.46eda909e66f8 at webmailapp3.cc.utexas.edu>
> >>> Content-Type: text/plain; charset=ISO-8859-1
> >>>
> >>> Hello all,
> >>>
> >>> Can anyone help me with installing CBC inside BCP? Or is it even
> possible?
> >>>
> >>> During the branch and price algorithm I need to use an IP solver to
> solve the
> >>> subproblems of the column generation. I know how to add cplex, but it
> has
> >>> license limitations. When parallelizing the code, it is not possible
> to use
> >>> more than 10 processer.
> >>>
> >>>
> >>> I appreciate any help.
> >>>
> >>> Thanks in advance,
> >>>
> >>> Ali
> >>>
> >>>
> >>>
> >>> ------------------------------
> >>>
> >>> Message: 2
> >>> Date: Sun, 16 Sep 2007 18:29:33 -0400
> >>> From: Ted Ralphs <tkralphs at lehigh.edu>
> >>> Subject: Re: [Coin-bcpdiscuss] Using CBC inside BCP
> >>> To: alikoc at mail.utexas.edu
> >>> Cc: coin-bcpdiscuss at list.coin-or.org
> >>> Message-ID: <46EDAE4D.4090901 at lehigh.edu>
> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>>
> >>> This would be fairly easy to do in theory, but my guess is that you
> will
> >>> run into problems because neither Clp or Cbc are thread safe. What
> >>> version of Bcp are you using? Did you get it from SVN?
> >>>
> >>> Ted
> >>> --
> >>> Dr. Ted Ralphs
> >>> Associate Professor
> >>> Industrial and Systems Engineering
> >>> Lehigh University
> >>> (610)758-4784
> >>> tkralphs at lehigh.edu
> >>> www.lehigh.edu/~tkr2
> >>>
> >>>
> >>> ------------------------------
> >>>
> >>> _______________________________________________
> >>> Coin-bcpdiscuss mailing list
> >>> Coin-bcpdiscuss at list.coin-or.org
> >>> http://list.coin-or.org/mailman/listinfo/coin-bcpdiscuss
> >>>
> >>>
> >>> End of Coin-bcpdiscuss Digest, Vol 29, Issue 1
> >>> **********************************************
> >>>
> >>
> >>
> >> _______________________________________________
> >> Coin-bcpdiscuss mailing list
> >> Coin-bcpdiscuss at list.coin-or.org
> >> http://list.coin-or.org/mailman/listinfo/coin-bcpdiscuss
> >>
> >
> > _______________________________________________
> > Coin-bcpdiscuss mailing list
> > Coin-bcpdiscuss at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/coin-bcpdiscuss
>
>
> --
> Dr. Ted Ralphs
> Associate Professor
> Industrial and Systems Engineering
> Lehigh University
> (610)758-4784
> tkralphs at lehigh.edu
> www.lehigh.edu/~tkr2
> _______________________________________________
> Coin-bcpdiscuss mailing list
> Coin-bcpdiscuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-bcpdiscuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/bcp/attachments/20070918/8d7d56e9/attachment.html 


More information about the Coin-bcpdiscuss mailing list