Good day!
I have just arrived to this issue.
Apparently, the readsol_MPS method only searches for the first word on the solution file. If it matches ‘Stopped’, it returns there was no solution (status=0).
But if it would continue to read the whole first line, it could detect if the wording “Stopped on time - objective value {some number}” appears. This would differentiate between the cases “I did not find a solution after the time limit” and “I found a solution although it may be non-optimal”.
I believe this happens in both methods: readsol_LP and readsol_MPS from the COIN_CMD class.
Not sure what Stuart thinks about this. I’d gladly make a pull request with this change if needed.
Franco
--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pulp-or-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discu...@googlegroups.com.
To post to this group, send email to pulp-or...@googlegroups.com.