You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make objective_scaling_factor optional for gRPC (#1600)
This coupled with a presence check adjusts for the proto3 default 0 on omission of non-optional fields, which differs from the cuopt default of 1.
Previously, omitted objective_scaling_factor fields would cause a remote solve to use objective_scaling_factor = 0, instead of the cuopt default "1". (If the field was not omitted, it would only be 0 if explicitly set. Zero is not a valid value in any case).
Found during a routine review of gRPC fields versus local solve.
Authors:
- Trevor McKay (https://github.com/tmckayus)
Approvers:
- Miles Lubin (https://github.com/mlubin)
- Ramakrishna Prabhu (https://github.com/ramakrishnap-nv)
URL: #1600
0 commit comments