CppAD: A C++ Algorithmic Differentiation Package
20130918
|
virtual bool CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::get_nlp_info | ( | Index & | n, |
Index & | m, | ||
Index & | nnz_jac_g, | ||
Index & | nnz_h_lag, | ||
IndexStyleEnum & | index_style | ||
) | [inline, virtual] |
Return dimension information about optimization problem.
[out] | n | is set to the value nx_. |
[out] | m | is set to the value ng_. |
[out] | nnz_jac_g | is set to ng_ * nx_ (sparsity not yet implemented) |
[out] | nnz_h_lag | is set to nx_*(nx_+1)/2 (sparsity not yet implemented) |
[out] | index_style | is set to C_STYLE; i.e., zeoro based indexing is used in the information passed to Ipopt. |
Definition at line 383 of file solve_callback.hpp.