Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CouenneExprJac.hpp
Go to the documentation of this file.
1 /* $Id: CouenneExprJac.hpp 716 2011-06-26 12:43:43Z pbelotti $
2  *
3  * Name: CouenneExprJac.hpp
4  * Authors: Pietro Belotti, Lehigh University
5  * Purpose: Jacobian expression
6  *
7  * This file is licensed under the Eclipse Public License (EPL)
8  */
9 
10 #ifndef CouenneExprJac_HPP
11 #define CouenneExprJac_HPP
12 
13 namespace Couenne {
14 
15  class expression;
16  class CouenneProblem;
17 
20 
21  class ExprJac {
22 
23  private:
24 
25  int nnz_;
26  int *iRow_;
27  int *jCol_;
28 
30 
31  int nRows_;
32 
33  public:
34 
35  ExprJac ();
37  ~ExprJac ();
38 
39  ExprJac (const ExprJac &);
40  ExprJac *clone ();
41  ExprJac &operator= (const ExprJac &);
42 
43  int nnz () const {return nnz_;}
44  int *iRow () const {return iRow_;}
45  int *jCol () const {return jCol_;}
46 
47  expression **expr () const {return expr_;}
48 
49  int nRows () const {return nRows_;}
50  };
51 }
52 
53 #endif
Jacobian of the problem (computed through Couenne expression classes).
int * iRow_
row indices (read this way by eval_jac_g)
int nRows() const
ExprJac & operator=(const ExprJac &)
ExprJac * clone()
int nnz() const
Class for MINLP problems with symbolic information.
int * jCol_
col indices
int * jCol() const
expression ** expr() const
expression ** expr_
nonzero expression elements (there are nnz_ of them)
int nRows_
number of actual constraints
int nnz_
number of (symbolic) nonzeroes
Expression base class.
int * iRow() const