- Timestamp:
- Jun 12, 2011 1:27:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/src/OsiClp/OsiClpSolverInterface.cpp
r1729 r1742 3037 3037 modelPtr_->solutionRegion(1)); 3038 3038 } 3039 // compute row activity 3040 memset(modelPtr_->primalRowSolution(),0,modelPtr_->numberRows()*sizeof(double)); 3041 modelPtr_->times(1.0,modelPtr_->primalColumnSolution(),modelPtr_->primalRowSolution()); 3039 3042 } 3040 3043 //----------------------------------------------------------------------------- … … 3048 3051 modelPtr_->djRegion(0)); 3049 3052 } 3053 // compute reduced costs 3054 memcpy(modelPtr_->dualColumnSolution(),modelPtr_->objective(), 3055 modelPtr_->numberColumns()*sizeof(double)); 3056 modelPtr_->transposeTimes(-1.0,modelPtr_->dualRowSolution(),modelPtr_->dualColumnSolution()); 3050 3057 } 3051 3058
Note: See TracChangeset
for help on using the changeset viewer.