@@ -1243,7 +1243,7 @@ void HighsDomain::ObjectivePropagation::propagate() {
12431243void HighsDomain::computeMinActivity (HighsInt start, HighsInt end,
12441244 const HighsInt* ARindex,
12451245 const double * ARvalue, HighsInt& ninfmin,
1246- HighsCDouble& activitymin) {
1246+ HighsCDouble& activitymin) const {
12471247 if (infeasible_) {
12481248 activitymin = 0.0 ;
12491249 ninfmin = 0 ;
@@ -1288,7 +1288,7 @@ void HighsDomain::computeMinActivity(HighsInt start, HighsInt end,
12881288void HighsDomain::computeMaxActivity (HighsInt start, HighsInt end,
12891289 const HighsInt* ARindex,
12901290 const double * ARvalue, HighsInt& ninfmax,
1291- HighsCDouble& activitymax) {
1291+ HighsCDouble& activitymax) const {
12921292 if (infeasible_) {
12931293 activitymax = 0.0 ;
12941294 ninfmax = 0 ;
@@ -1398,7 +1398,7 @@ HighsInt HighsDomain::propagateRowUpper(const HighsInt* Rindex,
13981398 double Rupper,
13991399 const HighsCDouble& minactivity,
14001400 HighsInt ninfmin,
1401- HighsDomainChange* boundchgs) {
1401+ HighsDomainChange* boundchgs) const {
14021402 assert (std::isfinite (double (minactivity)));
14031403 if (ninfmin > 1 ) return 0 ;
14041404 HighsInt numchgs = 0 ;
@@ -1442,7 +1442,7 @@ HighsInt HighsDomain::propagateRowLower(const HighsInt* Rindex,
14421442 double Rlower,
14431443 const HighsCDouble& maxactivity,
14441444 HighsInt ninfmax,
1445- HighsDomainChange* boundchgs) {
1445+ HighsDomainChange* boundchgs) const {
14461446 assert (std::isfinite (double (maxactivity)));
14471447 if (ninfmax > 1 ) return 0 ;
14481448 HighsInt numchgs = 0 ;
@@ -1481,7 +1481,7 @@ HighsInt HighsDomain::propagateRowLower(const HighsInt* Rindex,
14811481}
14821482
14831483void HighsDomain::updateThresholdLbChange (HighsInt col, double newbound,
1484- double val, double & threshold) {
1484+ double val, double & threshold) const {
14851485 if (newbound != col_upper_[col]) {
14861486 double thresholdNew =
14871487 std::fabs (val) * boundRange (col_upper_[col], newbound,
@@ -1496,7 +1496,7 @@ void HighsDomain::updateThresholdLbChange(HighsInt col, double newbound,
14961496}
14971497
14981498void HighsDomain::updateThresholdUbChange (HighsInt col, double newbound,
1499- double val, double & threshold) {
1499+ double val, double & threshold) const {
15001500 if (newbound != col_lower_[col]) {
15011501 double thresholdNew =
15021502 std::fabs (val) * boundRange (newbound, col_lower_[col],
@@ -3617,9 +3617,11 @@ HighsDomain::ConflictSet::popQueue() {
36173617
36183618void HighsDomain::ConflictSet::clearQueue () { resolveQueue.clear (); }
36193619
3620- HighsInt HighsDomain::ConflictSet::queueSize () { return resolveQueue.size (); }
3620+ HighsInt HighsDomain::ConflictSet::queueSize () const {
3621+ return resolveQueue.size ();
3622+ }
36213623
3622- bool HighsDomain::ConflictSet::resolvable (HighsInt domChgPos) {
3624+ bool HighsDomain::ConflictSet::resolvable (HighsInt domChgPos) const {
36233625 assert (domChgPos >= 0 );
36243626 assert (domChgPos < (HighsInt)localdom.domchgreason_ .size ());
36253627 // printf("domchgPos: %d\n", domChgPos);
0 commit comments