How to use setSolverSpecificParametersAsString from Java

310 views
Skip to first unread message

Johannes Leimhofer

unread,
Aug 8, 2015, 1:19:28 PM8/8/15
to or-tools-discuss
Hey there,

I'm facing problems when using method setSolverSpecificParametersAsString from Java.
When using the CBC solver I call
solver.setSolverSpecificParametersAsString("-ratio 0.05");
in order to set the ratio gap to 5 percent.

However, this call always results in an error:
[19:12:54] src\linear_solver\linear_solver.cc:334: Error in SetSolverSpecificParametersAsString() for solver type: CBC_MIXED_INTEGER_PROGRAMMING

Can anyone please tell me how to use this feature correctly - thanks.

Best,
Johannes


Frederic Didier

unread,
Aug 13, 2015, 6:02:49 AM8/13/15
to or-tools-discuss
Currently SetSolverSpecificParametersAsString() is not implemented with CBC...
It shouldn't be hard to do though, so we may add it in the near future.
 

Best,
Johannes


--
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.

Reply all
Reply to author
Forward
0 new messages