<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16455"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Dear Changhyeok,</DIV>
<DIV>&nbsp;</DIV>
<DIV>do you know the lower bound LB&nbsp;of your problem? Usually, the node is fathomed if the LB &gt;= UB. Otherwise, the method "select_branching_candidates()" is looking for branching candidates and in case no variable is found reports the error you've got.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For short, you can also fathom the node with </DIV>
<DIV>&nbsp;</DIV>
<DIV>BCP_DoNotBranch_Fathomed </DIV>
<DIV>&nbsp;</DIV>
<DIV>in your own "select_branching_candidates()" method.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hope this helps,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Andrea</DIV>
<DIV><BR><BR><BR>&gt;&gt;&gt; Changhyeok Lee &lt;changhyeoklee@gmail.com&gt; 11.12.2012 01:43 &gt;&gt;&gt;<BR>Hello,&nbsp; <BR><BR>I'm trying to solve an MILP using BCP package. Currently my problem has only core variable and constraints (no indexed cuts or variables to add).&nbsp; <BR><BR>I'm using Clp solver and I have implemented the Gomory cuts using CglGomory library within "generate_cut_in_lp" and "cut_to_row" function.<BR><BR>For my current test problem, the output log contains the following messages.<BR><BR>LP: **** Processing NODE 0 on LEVEL 0 (from TM) ****<BR><BR>….<BR><BR>LP: **** Processing NODE 1 on LEVEL 1 (dived) ****<BR><BR>….<BR><BR>LP: **** Processing NODE 3 on LEVEL 2 (dived) ****<BR><BR>In the first iteration of the last NODE 3, the Clp finds an integral solution and it prints the following output.<BR><BR>LP: Default test_feasibility() executed.<BR>LP: Default test_full() executed.<BR>LP: Default pack_feasible_solution() executed.<BR>TM: Default unpack_feasible_solution() executed.<BR>TM: Solution found at 1.793 sec.<BR>TM 5.885: Sol from proc: 1 val: -3.320268 (prev best: infinity) tree size/procd: 5/2 cand list ins/size: 3/4<BR><BR><BR><BR>Then, it continues the LP process and finally I see the following error message.<BR><BR>LP: Default select_branching_candidates() executed.<BR>BM: Couldn't branch!<BR><BR><BR><BR>Here is my question. How do we prune the node after I find an integral solution?&nbsp; <BR><BR>My understanding is that in the branch and bound process, if we find an integral solution, then we just update the best incumbent solution and prune the node. However, it seems that my code continues to work on the node and even try to branch. Obviously, there's nothing to branch (all integral solution) and the BCP package generates the error message.<BR><BR>Am I missing something? What do I need to do to have my BCP code to prune the integral node?<BR><BR>Thank you in advance for your help!<BR><BR>----<BR>Changhyeok<BR><BR><BR><BR><BR>_______________________________________________<BR>BCP mailing list<BR>BCP@list.coin-or.org<BR><A href="http://list.coin-or.org/mailman/listinfo/bcp">http://list.coin-or.org/mailman/listinfo/bcp</A><BR></DIV></BODY></HTML>