source: branches/pre/include/ClpPdco.hpp @ 215

Last change on this file since 215 was 215, checked in by forrest, 16 years ago

Second try at pdco

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1// Copyright (C) 2003, International Business Machines
2// Corporation and others.  All Rights Reserved.
3
4/*
5   Authors
6   
7   John Tomlin
8
9 */
10#ifndef ClpPdco_H
11#define ClpPdco_H
12
13#include "ClpInterior.hpp"
14
15/** This solves problems in Primal Dual Convex Optimization
16
17    It inherits from ClpInterior.  It has no data of its own and
18    is never created - only cast from a ClpInterior object at algorithm time.
19
20*/
21class ClpPdco : public ClpInterior {
22
23public:
24
25  /**@name Description of algorithm */
26  //@{
27  /** Pdco algorithm
28
29      Method
30
31
32  */
33
34  int pdco();
35  // ** Temporary version
36  int  pdco( ClpPdcoBase * stuff, Options &options, Info &info, Outfo &outfo);
37
38  //@}
39
40  /**@name Functions used in pdco */
41  //@{
42  /// LSQR
43  void lsqr();
44
45  void matVecMult( int, double *, double *);
46 
47  void matVecMult( int, CoinDenseVector &, double *);
48 
49  void matVecMult( int, CoinDenseVector &, CoinDenseVector &);
50 
51  void matVecMult( int, CoinDenseVector *, CoinDenseVector *);
52 
53  void getBoundTypes( int *, int *, int *, int**);
54 
55  void getGrad(CoinDenseVector &x, CoinDenseVector &grad);
56 
57  void getHessian(CoinDenseVector &x, CoinDenseVector &H);
58 
59  double getObj(CoinDenseVector &x);
60 
61  void matPrecon( double, double *, double *);
62 
63  void matPrecon( double, CoinDenseVector &, double *);
64 
65  void matPrecon( double, CoinDenseVector &, CoinDenseVector &);
66 
67  void matPrecon( double, CoinDenseVector *, CoinDenseVector *);
68  //@}
69
70};
71#endif
Note: See TracBrowser for help on using the repository browser.