<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I want to set a time limit on my runs. In examples there is<br>
<br>
<br>
examples/MCF/MCF_Main.cpp:       algo-&gt;solveDirect(timeLimit);<br>
<br>
<br>
However when I try to compile this I get the error<br>
<br>
../../../../Dip/examples/MCF/MCF_Main.cpp: In function ‘int main(int,<br>
char**)’:<br>
../../../../Dip/examples/MCF/MCF_Main.cpp:84: error: invalid conversion<br>
from ‘int’ to ‘const DecompSolution*’<br>
../../../../Dip/examples/MCF/MCF_Main.cpp:84: error:   initializing<br>
argument 1 of ‘virtual DecompSolverResult* DecompAlgo::solveDirect(const<br>
DecompSolution*)’<br>
make: *** [MCF_Main.o] Error 1<br>
<br>
How do I set a time limit?  Also is there anyway to get at<br></blockquote><div><br><br>To control the time use the parameter<br>
<br>
[DECOMP]<br>
  LimitTime = xxx<br><br><br>That example looks old - I&#39;ll update it. Please file ticket to remind me.<br>
<br><br><br><br><br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
m_masterObjLast<br>
<br>
from inside, for example, solveRelaxed() in the DecompApp?<br>
<br></blockquote><div><br>I&#39;ll explain in another email.<br> </div></div>