I'm using COIN-OR Cbc via its cbc
command line tool and need to abort some computations if they take too long.
I'm aware that I could write a controlling process around cbc to kill it after the timeout expires. I'm also aware that I could use cbc as C++ library. Both seem so be quite cumbersome, I'm looking for a simpler, direct solution.
Is this possible directly via the cbc
command line tool?
If not, is there a simple way using cbc as C++ library? (read an *.lp
file, apply timeout, create *.soln
file)