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/ClpCholeskyWssmpKKT.hpp

    r1665 r2385  
    1111class ClpCholeskyDense;
    1212
    13 
    1413/** WssmpKKT class for Clp Cholesky factorization
    1514
     
    1817
    1918public:
    20      /**@name Virtual methods that the derived classes provides  */
    21      //@{
    22      /** Orders rows and saves pointer to matrix.and model.
     19  /**@name Virtual methods that the derived classes provides  */
     20  //@{
     21  /** Orders rows and saves pointer to matrix.and model.
    2322      Returns non-zero if not enough memory */
    24      virtual int order(ClpInterior * model) ;
    25      /** Does Symbolic factorization given permutation.
     23  virtual int order(ClpInterior *model);
     24  /** Does Symbolic factorization given permutation.
    2625         This is called immediately after order.  If user provides this then
    2726         user must provide factorize and solve.  Otherwise the default factorization is used
    2827         returns non-zero if not enough memory */
    29      virtual int symbolic();
    30      /** Factorize - filling in rowsDropped and returning number dropped.
     28  virtual int symbolic();
     29  /** Factorize - filling in rowsDropped and returning number dropped.
    3130         If return code negative then out of memory */
    32      virtual int factorize(const double * diagonal, int * rowsDropped) ;
    33      /** Uses factorization to solve. */
    34      virtual void solve (double * region) ;
    35      /** Uses factorization to solve. - given as if KKT.
     31  virtual int factorize(const double *diagonal, int *rowsDropped);
     32  /** Uses factorization to solve. */
     33  virtual void solve(double *region);
     34  /** Uses factorization to solve. - given as if KKT.
    3635      region1 is rows+columns, region2 is rows */
    37      virtual void solveKKT (double * region1, double * region2, const double * diagonal,
    38                             double diagonalScaleFactor);
    39      //@}
     36  virtual void solveKKT(double *region1, double *region2, const double *diagonal,
     37    double diagonalScaleFactor);
     38  //@}
    4039
    41 
    42      /**@name Constructors, destructor */
    43      //@{
    44      /** Constructor which has dense columns activated.
     40  /**@name Constructors, destructor */
     41  //@{
     42  /** Constructor which has dense columns activated.
    4543         Default is off. */
    46      ClpCholeskyWssmpKKT(int denseThreshold = -1);
    47      /** Destructor  */
    48      virtual ~ClpCholeskyWssmpKKT();
    49      // Copy
    50      ClpCholeskyWssmpKKT(const ClpCholeskyWssmpKKT&);
    51      // Assignment
    52      ClpCholeskyWssmpKKT& operator=(const ClpCholeskyWssmpKKT&);
    53      /// Clone
    54      virtual ClpCholeskyBase * clone() const ;
    55      //@}
    56 
     44  ClpCholeskyWssmpKKT(int denseThreshold = -1);
     45  /** Destructor  */
     46  virtual ~ClpCholeskyWssmpKKT();
     47  // Copy
     48  ClpCholeskyWssmpKKT(const ClpCholeskyWssmpKKT &);
     49  // Assignment
     50  ClpCholeskyWssmpKKT &operator=(const ClpCholeskyWssmpKKT &);
     51  /// Clone
     52  virtual ClpCholeskyBase *clone() const;
     53  //@}
    5754
    5855private:
    59      /**@name Data members */
    60      //@{
    61      //@}
     56  /**@name Data members */
     57  //@{
     58  //@}
    6259};
    6360
    6461#endif
     62
     63/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     64*/
Note: See TracChangeset for help on using the changeset viewer.