Does user_objective_scale and user_bound_scale modify output dec vars and solution values instead of only internal scaling? #2640
Replies: 3 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
I've verified that when scaling up/down with Note that if |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jajhall , Thank you for the clarification! I just realized that the issue is not with the final solution - that one does come back properly scaled. Could you confirm whether the automatic de-scaling applies not only to the final output solution, but also to each intermediate solution that is passed through the MIP improving solution callback? Thanks again for your help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
According to the documentation,
user_objective_scaleanduser_bound_scaleshould only affect internal calculations, with the solution values automatically returned in the original scale. However, I'm observing that the solution values (variables and objective function) appear to be scaled in the output.I thought it was
1 Model is passed with original scale
2 Scaling options are applied (e.g.,
user_objective_scale = 4)3 HiGHS performs internal calculations with scaled values
4 Solution is returned in original (unscaled) scale
The solution values appear to be affected by the scaling factors, suggesting they are not being automatically de-scaled before being returned to the user.
Is this the intended behavior, or should the solution values be automatically returned in the original scale as the documentation suggests? Is possible that I am not mapping correclty the output but I just want confirmation about this
Beta Was this translation helpful? Give feedback.
All reactions