Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (3 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

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

    r1910 r2385  
    1515// Default Constructor
    1616//-------------------------------------------------------------------
    17 AbcDualRowPivot::AbcDualRowPivot () :
    18   model_(NULL),
    19   type_(-1)
     17AbcDualRowPivot::AbcDualRowPivot()
     18  : model_(NULL)
     19  , type_(-1)
    2020{
    21  
    2221}
    2322
     
    2524// Copy constructor
    2625//-------------------------------------------------------------------
    27 AbcDualRowPivot::AbcDualRowPivot (const AbcDualRowPivot & source) :
    28   model_(source.model_),
    29   type_(source.type_)
     26AbcDualRowPivot::AbcDualRowPivot(const AbcDualRowPivot &source)
     27  : model_(source.model_)
     28  , type_(source.type_)
    3029{
    31  
    3230}
    3331
     
    3533// Destructor
    3634//-------------------------------------------------------------------
    37 AbcDualRowPivot::~AbcDualRowPivot ()
     35AbcDualRowPivot::~AbcDualRowPivot()
    3836{
    39  
    4037}
    4138
     
    4441//-------------------------------------------------------------------
    4542AbcDualRowPivot &
    46 AbcDualRowPivot::operator=(const AbcDualRowPivot& rhs)
     43AbcDualRowPivot::operator=(const AbcDualRowPivot &rhs)
    4744{
    4845  if (this != &rhs) {
     
    5249  return *this;
    5350}
    54 void
    55 AbcDualRowPivot::saveWeights(AbcSimplex * model, int /*mode*/)
     51void AbcDualRowPivot::saveWeights(AbcSimplex *model, int /*mode*/)
    5652{
    5753  model_ = model;
    5854}
    5955// Recompute infeasibilities
    60 void
    61 AbcDualRowPivot::recomputeInfeasibilities()
     56void AbcDualRowPivot::recomputeInfeasibilities()
    6257{
    6358}
    64 void
    65 AbcDualRowPivot::updatePrimalSolutionAndWeights(CoinIndexedVector & weightsVector,
    66                                       CoinIndexedVector & updateColumn,
    67                                                 double theta)
     59void AbcDualRowPivot::updatePrimalSolutionAndWeights(CoinIndexedVector &weightsVector,
     60  CoinIndexedVector &updateColumn,
     61  double theta)
    6862{
    6963  // finish doing weights
    70   updateWeights2(weightsVector,updateColumn);
    71   updatePrimalSolution(updateColumn,theta);
     64  updateWeights2(weightsVector, updateColumn);
     65  updatePrimalSolution(updateColumn, theta);
    7266}
    7367// checks accuracy and may re-initialize (may be empty)
    74 void
    75 AbcDualRowPivot::checkAccuracy()
     68void AbcDualRowPivot::checkAccuracy()
    7669{
    7770}
    7871// Gets rid of all arrays
    79 void
    80 AbcDualRowPivot::clearArrays()
     72void AbcDualRowPivot::clearArrays()
    8173{
    8274}
     75
     76/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     77*/
Note: See TracChangeset for help on using the changeset viewer.