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

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPrimalQuadraticDantzig.hpp

    r1665 r2385  
    2121
    2222public:
     23  ///@name Algorithmic methods
     24  //@{
    2325
    24      ///@name Algorithmic methods
    25      //@{
    26 
    27      /** Returns pivot column, -1 if none.
     26  /** Returns pivot column, -1 if none.
    2827         Lumbers over all columns - slow
    2928         updateArray has cost updates (also use pivotRow_ from last iteration)
    3029         Can just do full price if you really want to be slow
    3130     */
    32      virtual int pivotColumn(CoinIndexedVector * updates,
    33                              CoinIndexedVector * spareRow1,
    34                              CoinIndexedVector * spareRow2,
    35                              CoinIndexedVector * spareColumn1,
    36                              CoinIndexedVector * spareColumn2);
     31  virtual int pivotColumn(CoinIndexedVector *updates,
     32    CoinIndexedVector *spareRow1,
     33    CoinIndexedVector *spareRow2,
     34    CoinIndexedVector *spareColumn1,
     35    CoinIndexedVector *spareColumn2);
    3736
    38      /// Just sets model
    39      virtual void saveWeights(ClpSimplex * model, int mode) {
    40           model_ = model;
    41      }
    42      //@}
     37  /// Just sets model
     38  virtual void saveWeights(ClpSimplex *model, int mode)
     39  {
     40    model_ = model;
     41  }
     42  //@}
    4343
     44  ///@name Constructors and destructors
     45  //@{
     46  /// Default Constructor
     47  ClpPrimalQuadraticDantzig();
    4448
    45      ///@name Constructors and destructors
    46      //@{
    47      /// Default Constructor
    48      ClpPrimalQuadraticDantzig();
     49  /// Copy constructor
     50  ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
    4951
    50      /// Copy constructor
    51      ClpPrimalQuadraticDantzig(const ClpPrimalQuadraticDantzig &);
     52  /// Constructor from model
     53  ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic *model,
     54    ClpQuadraticInfo *info);
    5255
    53      /// Constructor from model
    54      ClpPrimalQuadraticDantzig(ClpSimplexPrimalQuadratic * model,
    55                                ClpQuadraticInfo * info);
     56  /// Assignment operator
     57  ClpPrimalQuadraticDantzig &operator=(const ClpPrimalQuadraticDantzig &rhs);
    5658
    57      /// Assignment operator
    58      ClpPrimalQuadraticDantzig & operator=(const ClpPrimalQuadraticDantzig& rhs);
     59  /// Destructor
     60  virtual ~ClpPrimalQuadraticDantzig();
    5961
    60      /// Destructor
    61      virtual ~ClpPrimalQuadraticDantzig ();
     62  /// Clone
     63  virtual ClpPrimalColumnPivot *clone(bool copyData = true) const;
    6264
    63      /// Clone
    64      virtual ClpPrimalColumnPivot * clone(bool copyData = true) const;
     65  //@}
    6566
    66      //@}
    67 
    68      //---------------------------------------------------------------------------
     67  //---------------------------------------------------------------------------
    6968
    7069private:
    71      ///@name Private member data
    72      /// Pointer to info
    73      ClpQuadraticInfo * quadraticInfo_;
    74      //@}
     70  ///@name Private member data
     71  /// Pointer to info
     72  ClpQuadraticInfo *quadraticInfo_;
     73  //@}
    7574};
    7675
    7776#endif
     77
     78/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     79*/
Note: See TracChangeset for help on using the changeset viewer.