Ignore:
Timestamp:
Nov 23, 2018 2:19:58 PM (2 years ago)
Author:
forrest
Message:

for debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcHeuristicFPump.cpp

    r2382 r2434  
    23832383        int i;
    23842384        double rhs = 0.0;
    2385         for (i = 0; i < numberIntegersOrig; i++) {
    2386             int iColumn = integerVariableOrig[i];
    2387 #ifdef COIN_HAS_CLP
    2388             if (!isHeuristicInteger(newSolver,iColumn))
    2389               continue;
    2390 #endif
     2385        for (i = 0; i < numberIntegers; i++) {
     2386            int iColumn = integerVariable[i];
    23912387            int direction = closestSolution[i];
    23922388            closestSolution[i] = iColumn;
     
    24012397            }
    24022398        }
    2403         newSolver->addRow(numberIntegersOrig, closestSolution,
     2399        newSolver->addRow(numberIntegers, closestSolution,
    24042400                          lastSolution, -COIN_DBL_MAX, rhs + 10.0);
    24052401        //double saveValue = newSolutionValue;
Note: See TracChangeset for help on using the changeset viewer.