Public Member Functions | Private Attributes | List of all members
Couenne::ExprJac Class Reference

Jacobian of the problem (computed through Couenne expression classes). More...

#include <CouenneExprJac.hpp>

Collaboration diagram for Couenne::ExprJac:
Collaboration graph
[legend]

Public Member Functions

 ExprJac ()
 
 ExprJac (CouenneProblem *)
 
 ~ExprJac ()
 
 ExprJac (const ExprJac &)
 
ExprJacclone ()
 
ExprJacoperator= (const ExprJac &)
 
int nnz () const
 
intiRow () const
 
intjCol () const
 
expression ** expr () const
 
int nRows () const
 

Private Attributes

int nnz_
 number of (symbolic) nonzeroes More...
 
intiRow_
 row indices (read this way by eval_jac_g) More...
 
intjCol_
 col indices More...
 
expression ** expr_
 nonzero expression elements (there are nnz_ of them) More...
 
int nRows_
 number of actual constraints More...
 

Detailed Description

Jacobian of the problem (computed through Couenne expression classes).

Definition at line 21 of file CouenneExprJac.hpp.

Constructor & Destructor Documentation

ExprJac::ExprJac ( )

Definition at line 24 of file CouenneExprJac.cpp.

ExprJac::ExprJac ( CouenneProblem p)

constraints:

If they are variable constraints, i.e., of the form a <= x <= b, they should be ignored and be replaced by variable bound (simply ask the problem).

All other constraints should be part of the jacobian

to be resized on demand

Each should be considered a constraint

Definition at line 98 of file CouenneExprJac.cpp.

ExprJac::~ExprJac ( )

Definition at line 33 of file CouenneExprJac.cpp.

ExprJac::ExprJac ( const ExprJac rhs)

Definition at line 48 of file CouenneExprJac.cpp.

Member Function Documentation

ExprJac * ExprJac::clone ( )

Definition at line 53 of file CouenneExprJac.cpp.

ExprJac & ExprJac::operator= ( const ExprJac rhs)

Definition at line 58 of file CouenneExprJac.cpp.

int Couenne::ExprJac::nnz ( ) const
inline

Definition at line 43 of file CouenneExprJac.hpp.

int* Couenne::ExprJac::iRow ( ) const
inline

Definition at line 44 of file CouenneExprJac.hpp.

int* Couenne::ExprJac::jCol ( ) const
inline

Definition at line 45 of file CouenneExprJac.hpp.

expression** Couenne::ExprJac::expr ( ) const
inline

Definition at line 47 of file CouenneExprJac.hpp.

int Couenne::ExprJac::nRows ( ) const
inline

Definition at line 49 of file CouenneExprJac.hpp.

Member Data Documentation

int Couenne::ExprJac::nnz_
private

number of (symbolic) nonzeroes

Definition at line 25 of file CouenneExprJac.hpp.

int* Couenne::ExprJac::iRow_
private

row indices (read this way by eval_jac_g)

Definition at line 26 of file CouenneExprJac.hpp.

int* Couenne::ExprJac::jCol_
private

col indices

Definition at line 27 of file CouenneExprJac.hpp.

expression** Couenne::ExprJac::expr_
private

nonzero expression elements (there are nnz_ of them)

Definition at line 29 of file CouenneExprJac.hpp.

int Couenne::ExprJac::nRows_
private

number of actual constraints

Definition at line 31 of file CouenneExprJac.hpp.


The documentation for this class was generated from the following files: