From coin-trac at coin-or.org Thu Jan 26 05:43:42 2012 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 26 Jan 2012 10:43:42 -0000 Subject: [Ipopt-tickets] [Ipopt] #177: setting multipliers for fixed variables gives assert/segfault if solve failed Message-ID: <051.7a31ee15b1f722ce8e091c9b930862db@coin-or.org> #177: setting multipliers for fixed variables gives assert/segfault if solve failed -------------------+------------------------ Reporter: stefan | Owner: ipopt-team Type: defect | Status: new Priority: normal | Component: Ipopt Version: 3.10 | Severity: minor Keywords: | -------------------+------------------------ Hi, I run Ipopt with "fixed_variable_treatment make_constraint". The solve failed with status RESTORATION_FAILURE. In this case, I get a segmentation fault from {{{TNLPAdapter::FinalizeSolution}}} in the lines {{{ // Hopefully the following is correct to recover the bound // multipliers for fixed variables (sign ok?) if (fixed_variable_treatment_==MAKE_CONSTRAINT && n_x_fixed_>0) { const DenseVector* dy_c = static_cast(&y_c); DBG_ASSERT(dynamic_cast(&y_c)); DBG_ASSERT(!dy_c->IsHomogeneous()); const Number* values = dy_c->Values(); Index n_c_no_fixed = y_c.Dim() - n_x_fixed_; for (Index i=0; i Ipopt Interior-point optimizer for nonlinear programs.