From 44f758d5791a363d988df6ffdcbaf7e1209c5e1c Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Wed, 29 Oct 2014 11:35:50 +0100 Subject: [PATCH] Improve documentation --- dune/solvers/solvers/quadraticipopt.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dune/solvers/solvers/quadraticipopt.hh b/dune/solvers/solvers/quadraticipopt.hh index 31a6e0e7..ea00e63d 100644 --- a/dune/solvers/solvers/quadraticipopt.hh +++ b/dune/solvers/solvers/quadraticipopt.hh @@ -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 -- GitLab