<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear William,<br>
<br>
during the solution process, SCIP stores all relevant solutions in a
solution pool. The solutions are sorted by increasing objective
value, duplicates are filtered out. You can access them anytime
using SCIPgetSols() and SCIPgetNSols(), resp, see also my stack
overflow answer to a similar question<br>
<br>
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/26090454/displaying-top-five-solutions-scip">https://stackoverflow.com/questions/26090454/displaying-top-five-solutions-scip</a><br>
<br>
SCIP can also be used to count all solutions, all optimal solutions,
etc. Please have a look at the following topic of our doxygen
documentation.<br>
<br>
<a class="moz-txt-link-freetext" href="http://scip.zib.de/doc/html/COUNTER.php">http://scip.zib.de/doc/html/COUNTER.php</a><br>
<br>
Counting all optimal solutions requires to compute an optimal
solution first, with objective value c*. <br>
Then you use solution counting for your problem under the additional
constraint c^T x = c*.<br>
<br>
Happy counting,<br>
Gregor<br>
<br>
<div class="moz-cite-prefix">Am 28.01.2018 um 15:53 schrieb Jianan
Zhang:<br>
</div>
<blockquote type="cite"
cite="mid:CABXJfNUZG7Mofm43w-6ndU28e+b-QAvN+mio8aRsZCJgbC0Apw@mail.gmail.com">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I want to get all the best solution once a incumbent sol
have been found, and then I found the SCIPgetBestSol()
method. </div>
<div><br>
</div>
<div>But this method can only return one such solution. May be
there are many solutions that have same best object value, how
can I get all of them?</div>
<div><br>
</div>
<div>Thank you!</div>
<div>William</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
</body>
</html>