ankane / or-tools-ruby

Operations research tools for Ruby
Apache License 2.0
179 stars 25 forks source link

adding support for SatParameters.random_seed? #58

Closed btc closed 7 months ago

btc commented 7 months ago

Thank you for this delightful library. It has been a joy to use the CP model and solver.

I am trying to set random_seed as solver.parameters.random_seed, but parameters.methods indicates that random_seed= is not present.

Am I missing something? Or perhaps would it be possible to add it?

For reference, here is the field on the SatParameters proto definition.

ankane commented 7 months ago

Hi @btc, added in the commit above.