| 285 | } |
| 286 | |
| 287 | void HighsDomain::ConflictPoolPropagation::updateActivityUbChange( |
| 288 | HighsInt col, double oldbound, double newbound) { |
| 289 | assert(!domain->infeasible_); |
| 290 | |
| 291 | for (HighsInt i = colUpperWatched_[col]; i != -1; |
| 292 | i = watchedLiterals_[i].next) { |
| 293 | HighsInt conflict = i >> 1; |
| 294 | |
| 295 | const HighsDomainChange& domchg = watchedLiterals_[i].domchg; |
| 296 | uint8_t numInactiveDelta = |
| 297 | (domchg.boundval < newbound) - (domchg.boundval < oldbound); |
| 298 | if (numInactiveDelta != 0) { |
| 299 | conflictFlag_[conflict] += numInactiveDelta; |
| 300 | markPropagateConflict(conflict); |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | void HighsDomain::ConflictPoolPropagation::propagateConflict( |
| 306 | HighsInt conflict) { |
nothing calls this directly
no test coverage detected