File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1469,6 +1469,18 @@ void OsiClpSolverInterface::resolve()
14691469#ifdef CBC_STATISTICS
14701470 osi_primal++;
14711471#endif
1472+ // check free really superbasic
1473+ const double * columnLower = modelPtr_->columnLower ();
1474+ const double * columnUpper = modelPtr_->columnUpper ();
1475+ int numberColumns = modelPtr_->numberColumns ();
1476+ unsigned char * status = modelPtr_->statusArray ();
1477+ for (int iColumn = 0 ; iColumn < numberColumns; iColumn++) {
1478+ if ((status[iColumn]&7 )==0 ) {
1479+ // check not just superBasic
1480+ if (columnLower[iColumn]>-1.0e100 ||columnUpper[iColumn]<1.0e100 )
1481+ status[iColumn] = 4 ;
1482+ }
1483+ }
14721484 modelPtr_->primal (1 , startFinishOptions);
14731485 totalIterations += modelPtr_->numberIterations ();
14741486 lastAlgorithm_ = 1 ; // primal
You can’t perform that action at this time.
0 commit comments