solver specific parameters settings supported in ortools

571 views
Skip to first unread message

Haoxian Zhao

unread,
Aug 5, 2015, 1:36:32 AM8/5/15
to or-tools-discuss
hi there,

I am using or-tools to build a MIP model (it is fantastic, thanks for making it available!) and it is being solved by SCIP, I would like to tweak some of the variable of the solver (as described in here) but not sure how this can be done with or-tools? if this is not supported, could you please share some advice on how I can achieve this? thanks 

regards
Haoxian

Frederic Didier

unread,
Aug 13, 2015, 5:25:49 AM8/13/15
to or-tools-discuss
On Wed, Aug 5, 2015 at 7:36 AM, Haoxian Zhao <hao...@zhao.uk> wrote:
hi there,

I am using or-tools to build a MIP model (it is fantastic, thanks for making it available!) and it is being solved by SCIP, I would like to tweak some of the variable of the solver (as described in here) but not sure how this can be done with or-tools? if this is not supported, could you please share some advice on how I can achieve this? thanks 

with SCIP, you should be able to use SetSolverSpecificParametersAsString("..."); using the SCIP parameter format in the provided string.
 

regards
Haoxian

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pooya Rezaei

unread,
Apr 3, 2018, 2:22:29 PM4/3/18
to or-tools-discuss
Does this work? We are trying to limit the optimization solution time, say to 60 seconds, by passing "limits/time  = 60" to SetSolverSpecificParametersAsString() in C#, but it does not work, i.e., the optimization continues to run. I know there is another way to limit the optimization time using SetTimeLimit(), but I am trying to do this to test for other parameters, specifically SCIP optimization tuning parameters.

AM

unread,
Apr 3, 2018, 5:26:25 PM4/3/18
to or-tools-discuss
Yes I tried it on CPLEX to set the lower objective and It didn't work either.


Using CPLEX interactive command:

SetSolverSpecificParametersAsString("simplex limit lowerobj -3000");

and I am getting this warning:

W0403 15:03:23.649812  6204 linear_solver.cc:1428] Error in SetSolverSpecificParametersAsString() for solver type: CPLEX_LINEAR_PROGRAMMING

what am I missing? Is syntax within the string wrong?
Reply all
Reply to author
Forward
0 new messages