<div dir="auto"><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Dear Christopher,<div dir="auto"><br></div><div dir="auto">SCIPgetBestSol returns the first solution of what you would get with SCIPgetSols, you can view the logic here:</div><div dir="auto"><a href="https://github.com/scipopt/scip/blob/26bef1309914c73f395885449a8a101acc0bdfb4/src/scip/scip_sol.c#L2313" target="_blank" rel="noreferrer">https://github.com/scipopt/scip/blob/26bef1309914c73f395885449a8a101acc0bdfb4/src/scip/scip_sol.c#L2313</a><br></div><div dir="auto"><br></div><div dir="auto">The solution storage will contain all solutions collected during the search process, the others can be checked for your application. </div><div dir="auto"><br></div><div dir="auto">Hope this helps,</div><div dir="auto">Mathieu </div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 7, 2023, 16:46 Christopher G <<a href="mailto:christopherg00@proton.me" target="_blank" rel="noreferrer">christopherg00@proton.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:14px">Dear SCIP community,</div><div style="font-family:Arial,sans-serif;font-size:14px">I was wondering whether the array of SCIP_SOL* that is returned by <span>SCIPgetSols()</span> always contains the SCIP_SOL* that <span>SCIPgetBestSol</span>() returns. The documentation does not specify that. Furthermore, I'd like to know whether SCIPgetSols() returns the best incumbents or just some recent feasible solutions that were found until the solving was terminated. For my pricing problem I'd like to retrieve the k best incumbents of the problem and I am not sure whether this is the right approach.<br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Hope you can help out here. Best,</div><div style="font-family:Arial,sans-serif;font-size:14px">Christopher<br></div>_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" rel="noreferrer noreferrer" target="_blank">Scip@zib.de</a><br>
<a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer noreferrer noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
</blockquote></div></div></div>
</blockquote></div></div></div>