<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Jan,<br>
<br>
yes, both the Python and the Java interface support getting all
collected solutions:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/SCIP-Interfaces/PySCIPOpt/blob/master/pyscipopt/scip.pyx#L1212">https://github.com/SCIP-Interfaces/PySCIPOpt/blob/master/pyscipopt/scip.pyx#L1212</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/SCIP-Interfaces/JSCIPOpt/blob/master/src/scipjni.i#L131">https://github.com/SCIP-Interfaces/JSCIPOpt/blob/master/src/scipjni.i#L131</a><br>
<br>
all the best<br>
Matthias<br>
<br>
<br>
<div class="moz-cite-prefix">On 07.12.2016 23:07, Jan Goos wrote:<br>
</div>
<blockquote
cite="mid:EFFCC1E1-C582-4D0C-8E61-A49CD0D313AA@vub.ac.be"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="">Hello Jonathan,</div>
<div class=""><br class="">
</div>
<div class="">Many thanks for your swift response. For now, I’ll
try and use a different approach. Nevertheless, I’d rather stay
away from C. Do the Java and Python interfaces support the
collection of multiple solutions?</div>
<div class=""><br class="">
</div>
<div class="">Keep up the good work!</div>
<div class="">Best regards,</div>
<div class="">J a n</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 7 Dec 2016, at 22:58, Jonathan Currie <<a
moz-do-not-send="true"
href="mailto:jonathan.currie@aut.ac.nz" class="">jonathan.currie@aut.ac.nz</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1;
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class="">Hi Jan,<o:p
class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class=""><o:p
class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class="">That
functionality does not exist via OPTI at present, but
it sounds like it should! I’ll have a look this
weekend.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class=""><o:p
class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class="">Jonathan<o:p
class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125);" class=""><o:p
class=""> </o:p></span></div>
<div class="">
<div style="border-style: solid none none;
border-top-color: rgb(225, 225, 225);
border-top-width: 1pt; padding: 3pt 0cm 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><b
class=""><span style="font-size: 11pt;
font-family: Calibri, sans-serif;" class=""
lang="EN-US">From:</span></b><span
style="font-size: 11pt; font-family: Calibri,
sans-serif;" class="" lang="EN-US"><span
class="Apple-converted-space"> </span>Scip [<a
moz-do-not-send="true"
href="mailto:scip-bounces@zib.de" style="color:
rgb(149, 79, 114); text-decoration: underline;"
class="">mailto:scip-bounces@zib.de</a>]<span
class="Apple-converted-space"> </span><b
class="">On Behalf Of<span
class="Apple-converted-space"> </span></b>Jan
Goos<br class="">
<b class="">Sent:</b><span
class="Apple-converted-space"> </span>Thursday,
8 December 2016 10:54 AM<br class="">
<b class="">To:</b><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true" href="mailto:scip@zib.de"
style="color: rgb(149, 79, 114);
text-decoration: underline;" class="">scip@zib.de</a><br
class="">
<b class="">Subject:</b><span
class="Apple-converted-space"> </span>[SCIP]
multiple SCIP solutions in Matlab<o:p class=""></o:p></span></div>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><o:p
class=""> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-family: Verdana, sans-serif;" class="">Dear
SCIPers,<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-family: Verdana, sans-serif;" class="">I
am using SCIP via OPTI Toolbox in Matlab, and I'd like
to enumerate multiple solutions. After thoroughly
reading the documentation, I formulated the following
example IP:<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-family: Verdana, sans-serif;" class="">opts
=
scipset('scipopts',{'constraints/countsols/collect',1});<br
class="">
opts = optiset('solver','scip','solverOpts',opts);<br
class="">
Opt =
opti('f',0,'bounds',0,4,'xtype','I','options',opts)<br
class="">
x = solve(Opt)<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-family: Verdana, sans-serif;" class="">I
would like to get the 5 equally valid solutions
[0,1,2,3,4], but I only get 1 [0]. Can you please tell
me what I'm missing?<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif;" class=""><span
style="font-family: Verdana, sans-serif;" class="">Best
regards,<br class="">
J a n</span></div>
</div>
</div>
</blockquote>
</div>
<br class="">
<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="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
\__________________
Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85-245</pre>
</body>
</html>