Changeset 626
 Timestamp:
 Jun 13, 2007 12:30:49 PM (14 years ago)
 Location:
 trunk/Cbc/src
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Cbc/src/CbcHeuristicFPump.cpp
r581 r626 185 185 memcpy(newSolution,solution,numberColumns*sizeof(double)); 186 186 int flip; 187 returnCode = rounds( newSolution,saveObjective,roundExpensive_,downValue_,&flip);187 returnCode = rounds(solver,newSolution,saveObjective,roundExpensive_,downValue_,&flip); 188 188 if (returnCode) { 189 189 // SOLUTION IS INTEGER … … 322 322 */ 323 323 int 324 CbcHeuristicFPump::rounds( double * solution,324 CbcHeuristicFPump::rounds(OsiSolverInterface * solver, double * solution, 325 325 const double * objective, 326 326 bool roundExpensive, double downValue, int *flip) 327 327 { 328 OsiSolverInterface * solver = model_>solver();329 328 double integerTolerance = model_>getDblParam(CbcModel::CbcIntegerTolerance); 330 329 double primalTolerance ; 
trunk/Cbc/src/CbcHeuristicFPump.hpp
r356 r626 79 79 returns 0 if current is solution 80 80 */ 81 int rounds( double * solution, const double * objective,81 int rounds(OsiSolverInterface * solver, double * solution, const double * objective, 82 82 bool roundExpensive=false, 83 83 double downValue=0.5, int *flip=0);
Note: See TracChangeset
for help on using the changeset viewer.