Changeset 494 for branches/devel/Cbc/src/CbcLinked.cpp
- Timestamp:
- Dec 1, 2006 12:56:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel/Cbc/src/CbcLinked.cpp
r493 r494 78 78 79 79 } 80 static int iPass=0;81 char temp[50];82 iPass++;83 sprintf(temp,"cc%d",iPass);84 writeMps(temp);85 printf("wrote cc%d\n",iPass);80 //static int iPass=0; 81 //char temp[50]; 82 //iPass++; 83 //sprintf(temp,"cc%d",iPass); 84 //writeMps(temp); 85 //printf("wrote cc%d\n",iPass); 86 86 OsiClpSolverInterface::initialSolve(); 87 87 int secondaryStatus = modelPtr_->secondaryStatus(); … … 3000 3000 } 3001 3001 } 3002 if (yRow_<0) 3003 yLambda = xLambda; 3002 3004 #if 0 3003 3005 if (fabs(x-xLambda)>1.0e-4|| … … 3339 3341 const CoinPackedMatrix * matrix = solver->getMatrixByCol(); 3340 3342 const double * element = matrix->getElements(); 3343 const double * objective = solver->getObjCoefficients(); 3341 3344 const int * row = matrix->getIndices(); 3342 3345 const CoinBigIndex * columnStart = matrix->getVectorStarts(); … … 3361 3364 xybar[j] = element[k]*multiplier; 3362 3365 } 3366 if (yRow_<0) 3367 y=x; 3368 if (xyRow_<0) 3369 xybar[j] = objective[iColumn]*multiplier; 3363 3370 assert (fabs(xybar[j]-x*y)<1.0e-4); 3364 3371 if (j==0)
Note: See TracChangeset
for help on using the changeset viewer.