[Dip] set time limit
Kipp Martin
kmartin at chicagobooth.edu
Mon Oct 11 03:13:32 EDT 2010
Hi:
The previous email got sent before I was ready (sorry, I am tired).
I want to set a time limit on my runs. In examples there is
examples/MCF/MCF_Main.cpp: algo->solveDirect(timeLimit);
However when I try to compile this I get the error
../../../../Dip/examples/MCF/MCF_Main.cpp: In function ‘int main(int,
char**)’:
../../../../Dip/examples/MCF/MCF_Main.cpp:84: error: invalid conversion
from ‘int’ to ‘const DecompSolution*’
../../../../Dip/examples/MCF/MCF_Main.cpp:84: error: initializing
argument 1 of ‘virtual DecompSolverResult* DecompAlgo::solveDirect(const
DecompSolution*)’
make: *** [MCF_Main.o] Error 1
How do I set a time limit? Also is there anyway to get at
m_masterObjLast
from inside, for example, solveRelaxed() in the DecompApp?
Thanks
--
Kipp Martin
Professor of Operations Research
and Computing Technology
Booth School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kmartin at chicagobooth.edu
http://www.chicagobooth.edu/faculty/bio.aspx?person_id=12825325568
http://projects.coin-or.org/OS
More information about the Dip
mailing list