| 31 | } |
| 32 | |
| 33 | static double activityContributionMax(double coef, const double& lb, |
| 34 | const double& ub) { |
| 35 | if (coef < 0) { |
| 36 | if (lb == -kHighsInf) return kHighsInf; |
| 37 | |
| 38 | return coef * lb; |
| 39 | } else { |
| 40 | if (ub == kHighsInf) return kHighsInf; |
| 41 | |
| 42 | return coef * ub; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | static HighsCDouble computeDelta(double val, double oldbound, double newbound, |
| 47 | double inf, HighsInt& numinfs) { |
no outgoing calls
no test coverage detected