Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CouenneExprHess.hpp
Go to the documentation of this file.
1 /* $Id: CouenneExprHess.hpp 716 2011-06-26 12:43:43Z pbelotti $
2  *
3  * Name: CouenneExprHess.hpp
4  * Authors: Pietro Belotti, Lehigh University
5  * Purpose: Hessian of the Lagrangian, definition
6  *
7  * This file is licensed under the Eclipse Public License (EPL)
8  */
9 
10 #ifndef CouenneExprHess_HPP
11 #define CouenneExprHess_HPP
12 
13 namespace Couenne {
14 
15  class expression;
16  class CouenneProblem;
17 
20 
21  class ExprHess {
22 
23  private:
24 
25  int nnz_;
26  int *iRow_;
27  int *jCol_;
28 
43 
44  int *numL_;
45 
46  int **lamI_;
47 
51 
52  public:
53 
54  ExprHess ();
56 
57  ExprHess (const ExprHess &);
58  ExprHess &operator=(const ExprHess &);
59  ExprHess *clone ();
60 
61  ~ExprHess ();
62 
63  int nnz () {return nnz_;}
64  int *iRow () {return iRow_;}
65  int *jCol () {return jCol_;}
66  int *numL () {return numL_;}
67  int **lamI () {return lamI_;}
68 
69  expression ***expr () {return expr_;}
70  };
71 }
72 
73 #endif
expression matrices.
int * numL_
There are m+1 (m constraints + 1 obj) components:
expression *** expr_
list of lists of pointers to expression
expression *** expr()
int * jCol_
col indices
Class for MINLP problems with symbolic information.
int nnz_
number of (symbolic) nonzeroes
int ** lamI_
vector of indices in the lambda vector whose constraint has nonzero entry in this position of the hes...
ExprHess * clone()
Expression base class.
ExprHess & operator=(const ExprHess &)
int * iRow_
row indices (read this way by eval_h)