Skip to content
Snippets Groups Projects
Commit 44f758d5 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Improve documentation

parent 7ebb6a27
No related branches found
No related tags found
No related merge requests found
......@@ -131,10 +131,11 @@ bool QuadraticIPOptProblem<MatrixType,VectorType>::
get_nlp_info(Ipopt::Index& n, Ipopt::Index& m, Ipopt::Index& nnz_jac_g,
Ipopt::Index& nnz_h_lag, IndexStyleEnum& index_style)
{
// The problem described in HS071_NLP.hpp has 4 variables, x[0] through x[3]
// Number of variables
n = x_->dim();
// No equality constraints: Dirichlet conditions are actually inequality constraints
// No real constraints: Dirichlet conditions are actually bound inequality constraints
// bound constraints are handled differently by IpOpt
m = 0;
// hence the constraint jacobian is empty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment