#include <NLPInterfacePack_NLPSerialPreprocessExplJac.hpp>
Public Types | |
| typedef std::valarray< value_type > | val_t |
| | |
| typedef std::valarray< index_type > | ivect_t |
| | |
Public Member Functions | |
| FirstOrderExplInfo () | |
| | |
| FirstOrderExplInfo (index_type *Gc_nz_in, val_t *Gc_val_in, ivect_t *Gc_ivect_in, jvect_t *Gc_jvect_in, index_type *Gh_nz_in, val_t *Gh_val_in, ivect_t *Gh_ivect_in, jvect_t *Gh_jvect_in, const ObjGradInfoSerial &obj_grad) | |
| | |
Public Attributes | |
| size_type * | Gc_nz |
| | |
| val_t * | Gc_val |
| | |
| ivect_t * | Gc_ivect |
| | |
| jvect_t * | Gc_jvect |
| | |
| size_type * | Gh_nz |
| | |
| val_t * | Gh_val |
| | |
| ivect_t * | Gh_ivect |
| | |
| jvect_t * | Gh_jvect |
| | |
| DVector * | Gf |
| | |
| value_type * | f |
| | |
| DVector * | c |
| | |
| DVector * | h |
| | |
When computing Gc and/or Gh, the subclass can be instructed to set the row and columns index arrays by setting Gc_ivect!=NULL and/or Gh_ivect!=NULL respecitively.
Objects of this type are passed on to subclasses and contain pointers to quantities to be updated. Note that NLP subclasses are not to resize the DVector or std::valarray objects Gc_val, Gc_ivect, Gc_jvect, Gh_val, Gh_ivect, Gh_jvect, *Gf, *c or h since the these will already be resized.
The storage format for the gradient matrices Gc and Gh use the coordinate data structure. For Gc, for instance, the elements are stored as:
for k = 0 ... Gc_nz
Gc(Gc_ivect[k],Gc_jvect[k]) == Gc_val[k]
Gc are implicitly zero.
In general, it is allowed for duplicate entries (Gc_ivect[k],Gc_jvect[k]) to exist with the convention that the corresponding Gc_val[k] are to be added in matrix operations. This is a relaxed requirement that can make things much more complicated for the code that accesses these matrix entries.
Definition at line 214 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp.
|
|
Definition at line 216 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 218 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 222 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 228 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 238 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 240 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 242 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 244 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 246 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 248 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 250 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 252 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 254 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 256 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 258 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
|
|
Definition at line 260 of file NLPInterfacePack_NLPSerialPreprocessExplJac.hpp. |
1.3.9.1