[SCIP] multiple SCIP solutions in Matlab

Jan Goos jan.goos at vub.ac.be
Wed Dec 7 23:07:48 CET 2016


Hello Jonathan,

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?

Keep up the good work!
Best regards,
J a n


> On 7 Dec 2016, at 22:58, Jonathan Currie <jonathan.currie at aut.ac.nz> wrote:
> 
> Hi Jan,
>  
> That functionality does not exist via OPTI at present, but it sounds like it should! I’ll have a look this weekend.
>  
> Jonathan
>  
> From: Scip [mailto:scip-bounces at zib.de <mailto:scip-bounces at zib.de>] On Behalf Of Jan Goos
> Sent: Thursday, 8 December 2016 10:54 AM
> To: scip at zib.de <mailto:scip at zib.de>
> Subject: [SCIP] multiple SCIP solutions in Matlab
>  
> Dear SCIPers,
> 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:
> opts = scipset('scipopts',{'constraints/countsols/collect',1});
> opts = optiset('solver','scip','solverOpts',opts);
> Opt = opti('f',0,'bounds',0,4,'xtype','I','options',opts)
> x = solve(Opt)
> 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?
> Best regards,
> J a n

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20161207/fff4826f/attachment.html>


More information about the Scip mailing list