Commit 61beec8
authored
Fix infinite average pseudocost + Handle numerical issues in strong branching (#678)
If the LP relaxation when branching on a fractional variable in the strong branching do not lead to a optimal solution and the iteration limit is not reach, then the corresponding pseudocost is set to infinite. This ignore any issue in the dual simplex and cause the pseudocost average to also be infinite.
This PR properly handle numerical issues in the dual simplex in strong branching and exclude infinite pseudocost to be included in the average.
Not critical for 25.12.
Authors:
- Nicolas L. Guidotti (https://github.com/nguidotti)
Approvers:
- Chris Maes (https://github.com/chris-maes)
URL: #6781 parent e3892d3 commit 61beec8
1 file changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
230 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
| |||
317 | 324 | | |
318 | 325 | | |
319 | 326 | | |
320 | | - | |
321 | | - | |
322 | 327 | | |
323 | 328 | | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
| 335 | + | |
| 336 | + | |
328 | 337 | | |
329 | 338 | | |
330 | 339 | | |
| |||
0 commit comments