SCIP options in YALMIP

138 views
Skip to first unread message

Paul Gab

unread,
Jun 15, 2018, 3:02:03 PM6/15/18
to YALMIP
Dear all,

I am working with Matlab and I am exploring SCIP to solve a simple MINLP.

However, I am having some problems with the solver options: 
Whereas the fields in options.scip (e.g. "maxtime", "maxnodes") work perfectly, all the options that I try to pass to through "scipopts", such as "limits/gap", are simply ignored by the solver.

I have tried to read through the SCIP documentation, as well as through the "scipset" file, but I do not understand why it does not work.

Do you know how to pass such options to the solver?

Many thanks for your help! 

Johan Löfberg

unread,
Jun 15, 2018, 3:12:36 PM6/15/18
to YALMIP
scipopts? there is no such option

>> ops = sdpsettings('solver','scip');
>> ops.scip

ans = 

  struct with fields:

         solver: 'auto'
        maxiter: 1500
       maxfeval: 10000
       maxnodes: 10000
        maxtime: 1000
        tolrfun: 1.0000e-07
        tolafun: 1.0000e-07
         tolint: 1.0000e-05
     solverOpts: []
    dynamicOpts: []
        iterfun: []
       warnings: 'critical'
        display: 'off'
     derivCheck: 'off'

Johan Löfberg

unread,
Jun 16, 2018, 10:11:25 AM6/16/18
to YALMIP
you probaly want to do

ops.scip.solverOpts=scipset('scipopts',{'limits/solutions',1})

or something like that. weird structure but that's how opti works it appears


Reply all
Reply to author
Forward
0 new messages