<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"MS PGothic","sans-serif";
        mso-fareast-language:JA;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I really can’t comment too much on why you get different numbers of left nodes. If you do something similar to
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">int</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">AlpsKnowledgeBroker</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#55FFFF;background:purple;mso-highlight:purple;mso-fareast-language:ZH-CN">updateN</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#8C8CFF;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">umNodesLeft</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">()</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">{</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp; nodeLeftNum_ = 0;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#55FFFF;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">if</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 (workingSubTree_ != 0) {</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nodeLeftNum_ &#43;= workingSubTree_-&gt;getNumNodes();</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp; }</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">std</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">vector</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">AlpsSubTree</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">*&gt;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BBBB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">subTreeVec</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 =</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subTreePool_-&gt;getSubTreeList().getContainer();</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">std</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">vector</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">AlpsSubTree</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">*&gt;::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">iterator</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BBBB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">pos1</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 = subTreeVec.begin();</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">std</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB00BB;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">vector</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">AlpsSubTree</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">*&gt;::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#00BB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">iterator</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BBBB00;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">pos2</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 = subTreeVec.end();</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#55FFFF;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">for</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 ( ; pos1 != pos2; &#43;&#43;pos1) {</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nodeLeftNum_ &#43;= (*pos1)-&gt;getNumNodes();</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp; }</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#55FFFF;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">return</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">
 nodeLeftNum_;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:silver;mso-highlight:silver;mso-fareast-language:ZH-CN">}</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:black;mso-highlight:black;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">should get right numbers.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> chipps-bounces@list.coin-or.org [mailto:chipps-bounces@list.coin-or.org]
<b>On Behalf Of </b>???<br>
<b>Sent:</b> Thursday, July 12, 2012 5:52 AM<br>
<b>To:</b> chipps@list.coin-or.org<br>
<b>Cc:</b> geogrid@gmail.com<br>
<b>Subject:</b> [CHiPPS] Problem About record Nodeleft<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Dear Professors,<o:p></o:p></p>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I now can record the node processed.<o:p></o:p></p>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I would like to record the information of nodes left in the nodepool and divenodepool,&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I did this just like the faction&nbsp;updateNumNodesLeft() does.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;Then I will send the information to hub using MPI_Pack.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;And hub add information of its own nodes left to the collection then send to master.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;master will add its own nodes left to its cluster, and then to the system.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I did this in the same&nbsp;<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;background:white">pattern of</span>&nbsp;sending Numnodesporcessed and quality.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;At last I wrote the information to a file(clear former information before writing) when&nbsp;force terminate&nbsp;or reach reportInterval.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;But I find that when the number of processed nodes I record&nbsp;is almost the same&nbsp;of that in the&nbsp;Alps log in stdout<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;the nodeleft of my recording is much more than that of the Alps log in stdout.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;The node processed information and the node left information is record at the same time.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;But some of the tree nodes' sons&nbsp;is not in the nodeleft information file.&nbsp; &nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp;&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;So there is much information repeated and missing in my file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I don't know why.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;I want to get the nodes processed and the nodeleft of the same time,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;so that I can get the relation of the nodes of processed and left of the whole search tree.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;Can you give me some advice to record the information?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>