Changeset 92
 Timestamp:
 Mar 28, 2005 4:26:55 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Samples/sample2.cpp
r80 r92 293 293 if (preProcess) 294 294 process.postProcess(*model.solver()); 295 int numberColumns = model.solver()>getNumCols(); 295 // Solution now back in solver1 296 int numberColumns = solver1.getNumCols(); 296 297 297 const double * solution = model.solver()>getColSolution();298 const double * solution = solver1.getColSolution(); 298 299 299 300 int iColumn; … … 303 304 for (iColumn=0;iColumn<numberColumns;iColumn++) { 304 305 double value=solution[iColumn]; 305 if (fabs(value)>1.0e7&& model.solver()>isInteger(iColumn))306 if (fabs(value)>1.0e7&&solver1.isInteger(iColumn)) 306 307 std::cout<<std::setw(6)<<iColumn<<" "<<value<<std::endl; 307 308 }
Note: See TracChangeset
for help on using the changeset viewer.