[OS] multiple solutions
Horand Gassmann
Horand.Gassmann at dal.ca
Thu Nov 8 15:05:21 EST 2012
Mike Steglich <mike.steglich at berlin.de> wrote:
> Hi Gus,
>
>
> Thank you for your answer. It helps if one uses the OS libs. But is
> there also an opportunity to catch the incumbents by using
> OSSolverService/CBC and to write these solutions in <solution>
> sections? ( I have forgotten to write that I want to use the
> OSSolverService binary in my first email.)
If you use the executable as a black box, then the answer is probably
"No", at least at the moment. The solution file is written *after* Cbc
finishes, so to do what you want would require two things: First,
you'd have to store the incumbents in Cbc memory --- don't know if
this is possible --- and then you (or rather, we :) ) would have to
access that memory when writing the solution file. We certainly do not
do so at the moment, and I have no idea how difficult it might be.
So the only possibility I see is for you to capture the incumbent
solutions in the output capture element. Presumably you would have to
set a Cbc option to print those out, and presumably that will be
possible. You would also have to parse the output file yourself.
If you think it is important to have multiple <solution> elements for
this situation, I would suggest that you fill out a ticket so we have
a record for later.
Hope that helps.
gus
-------------------------------------------------------
Horand I. Gassmann, Professor
Kenneth C. Rowe School of Business, Dalhousie University
6100 University Avenue, PO Box 15000
Halifax, Nova Scotia, Canada, B3H 4R2
ph. (902) 494-1844
fax (902) 494-1107
http://myweb.dal.ca/gassmann/
More information about the OS
mailing list