Changeset 1801 for trunk/Clp


Ignore:
Timestamp:
Oct 11, 2011 12:59:21 PM (8 years ago)
Author:
forrest
Message:

use nonscaled times/transposeTimes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPresolve.cpp

    r1780 r1801  
    290290                 originalModel_->primalColumnSolution(), offset, true),
    291291                 ncols_, originalModel_->dualColumnSolution());
    292      originalModel_->transposeTimes(-1.0,
     292     originalModel_->clpMatrix()->transposeTimes(-1.0,
    293293                                    originalModel_->dualRowSolution(),
    294294                                    originalModel_->dualColumnSolution());
    295295     memset(originalModel_->primalRowSolution(), 0, nrows_ * sizeof(double));
    296      originalModel_->times(1.0, originalModel_->primalColumnSolution(),
    297                            originalModel_->primalRowSolution());
     296     originalModel_->clpMatrix()->times(1.0,
     297                                        originalModel_->primalColumnSolution(),
     298                                        originalModel_->primalRowSolution());
    298299     originalModel_->checkSolutionInternal();
    299300     if (originalModel_->sumDualInfeasibilities() > 1.0e-1) {
Note: See TracChangeset for help on using the changeset viewer.