From 07c9168fc2bd2782bcb4097c8fafdd350dc4abf3 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 9 Mar 2008 11:40:40 +0000
Subject: [PATCH] tell ipopt that all equality constraints are linear

[[Imported from SVN: r2061]]
---
 src/averageinterface.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/averageinterface.hh b/src/averageinterface.hh
index bc4e2b8c..824d9f0e 100644
--- a/src/averageinterface.hh
+++ b/src/averageinterface.hh
@@ -548,6 +548,7 @@ void computeAveragePressureIPOpt(const Dune::FieldVector<double,GridType::dimens
     app->Options()->SetStringValue("mu_strategy", "adaptive");
     app->Options()->SetStringValue("output_file", "ipopt.out");
     app->Options()->SetStringValue("hessian_approximation", "limited-memory");
+    app->Options()->SetStringValue("jac_c_constant", "yes");
     app->Options()->SetIntegerValue("print_level", -2);
 
     // Intialize the IpoptApplication and process the options
-- 
GitLab