Commit 2ca3a4ab authored by Jan Möbius's avatar Jan Möbius

Check for available ma57 solver before using it. Set a better memory size for mumps.

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@107 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent e258812c
......@@ -28,8 +28,18 @@ IPOPTSolver()
// Create an instance of the IpoptApplication
app_ = IpoptApplicationFactory();
// Switch to HSL if available in Comiso
#if COMISO_HSL_AVAILABLE
app_->Options()->SetStringValue("linear_solver", "ma57");
#endif
// Restrict memory to be able to run larger problems on windows
// with the default mumps solver
#ifdef WIN32
app_->Options()->SetIntegerValue("mumps_mem_percent", 5);
#endif
// set default parameters
app_->Options()->SetStringValue("linear_solver", "ma57");
app_->Options()->SetIntegerValue("max_iter", 100);
// app->Options()->SetStringValue("derivative_test", "second-order");
// app->Options()->SetIntegerValue("print_level", 0);
......
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