Commit 0934fc2a authored by Martin Marinov's avatar Martin Marinov

Set the maximum number of iterations in the IPOPTSolverLean::solve() version...

Set the maximum number of iterations in the IPOPTSolverLean::solve() version without lazy constraints
parent 7ef6a27e
......@@ -223,6 +223,9 @@ void IPOPTSolverLean::solve(NProblemInterface* _problem,
}
DEB_out(2,"\n");
// TODO: check if this is used and refactor
impl_->app_->Options()->SetIntegerValue("max_iter", impl_->max_iter_);
//----------------------------------------------------------------------------
// 3. solve problem
//----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment