Closed assaron closed 9 years ago
Thanks for reporting this. This is indeed due to the time limit. With a time limit of 1 sec CPLEX does not get to identifying violated connectivity constraints for this instance. I don't see an easy way of overriding the specified time-limit to allow for exactly enough time for CPLEX to start separating cuts.
Can sugest to select the biggest connected component from the CPLEX solution? Probably, it should not be very hard to do. When using the solver with time limit, I'm not expecting the solution to be invalid: may be not optimal, but valid.
Also, I forgot to mention, that I sometimes have this problem even for 20 seconds time limit with 6 threads.
Hey,
Current version of heinz (master-747cf66) still sometimes gives unconnected solution if there is a time limit.
I'm running
heinz -n nodes.txt -e edges.txt -o out.txt -t 1
for the files from the example https://www.dropbox.com/s/hmm6aluh6jzgnax/graph3d3733dc3423.tar.gz?dl=0. As far as I understand time limit is so small it basically makes heinz to output solution just after preprocessing. And this solution (with weight 4.2218) is unconnected.Here is relevant part of log: