Optimality GAP Setting for SCIP Solver

423 views
Skip to first unread message

Evren Güney

unread,
Aug 25, 2022, 8:38:30 AM8/25/22
to or-tools-discuss
Hello,

I've crawled a lot in the previous group messages but I couldnt find the correct syntax to set Optimality Gap parameter (C#)

This is not accepted:
solver.SetSolverSpecificParametersAsString("termination_criteria { eps_optimal_relative: 1e-6 }");

I got the error:
W0825 15:33:50.028426 43248 scip_interface.cc:1045] Failed to set SCIP parameter string: termination_criteria { eps_optimal_relative: 1e-6 }, error is: INVALID_ARGUMENT

So what is the correct format and do we have a page showing all the list of these parameters?

Frederic Didier

unread,
Aug 25, 2022, 8:45:34 AM8/25/22
to or-tools...@googlegroups.com
https://www.scipopt.org/doc/html/PARAMETERS.php

Something like "limits/gap=1e-6" should work.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/dfb548ec-7bd5-4346-acd9-ddb9d4e51ec1n%40googlegroups.com.

Evren Güney

unread,
Aug 25, 2022, 9:01:26 AM8/25/22
to or-tools-discuss
Thanks Frederic,
That's exactly what I was looking for
Reply all
Reply to author
Forward
0 new messages