Tuning optimization parameters

170 views
Skip to first unread message

Frédéric Girod

unread,
Jul 11, 2023, 5:58:22 AM7/11/23
to or-tools-discuss
Hi all,
Could you give me an example of how I could run several optimizations using different optimization parameters ('cp_model_probing_level',  'linearization_level', 'symmetry_level', 'search_branching') ?
Many thanks in advance.

Laurent Perron

unread,
Jul 11, 2023, 8:53:07 AM7/11/23
to or-tools...@googlegroups.com
Is there any answer different than just running different separate processes ?
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



--
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/86205151-24d7-487c-8576-f6fb42ecb961n%40googlegroups.com.

Frédéric Girod

unread,
Jul 12, 2023, 5:59:08 AM7/12/23
to or-tools-discuss
No you're right.
But what the syntax to run the solver with different values of the above listed parameters ?

Frédéric Girod

unread,
Jul 13, 2023, 5:00:03 AM7/13/23
to or-tools-discuss
Any thoughts ?

watchdogs132

unread,
Jul 13, 2023, 6:06:02 AM7/13/23
to or-tools-discuss
solver.parameters.parameter_name = value ?! 

Frédéric Girod

unread,
Jul 13, 2023, 7:41:02 AM7/13/23
to or-tools-discuss
Many thanks
Reply all
Reply to author
Forward
0 new messages