Only linear solver mumps works but too slow #442
-
Hello, I have extended my model by some more time steps. Unfortunately, this runs into a solution time issue and convergency problem. Therefore, I wanted to try out different linear solvers. Mumps could solve the problem in a time which is not feasible for me as I have to run the problem multiple times. Setting the linear solver to one of the solvers out of the HSL package results in a local infeasibility (Test Unit and a mwe worked fine). Changing the starting point was unsuccessful, too. Attached are sample log files. Has someone an idea regarding my parameter settings or a clue why I do not converge with the HSL solvers. PS: I have to use Ipopt on a Windows/Java setup. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I built IpOpt with: "If you want to compile Ipopt with the Pardiso library that is included in Intel MKL, it is sufficient to ensure that MKL is used for the linear algebra routines (Blas/Lapack), see BLAS and LAPACK." So I get Pardiso by default, it is faster than Mumps in my case. |
Beta Was this translation helpful? Give feedback.
-
The logs don't look as if it is the linear solver that decided on whether you find a feasible point or not. Changing the linear solver just changes the solution path and in the run with MA97 it quickly went into a local infeasible point, while in the run with MUMPS it didn't (well, it eventually gave up with an "acceptable point"), but it could very well have been the other way around as well. Keeping the linear solver fixed and changing some Ipopt parameters may have a similar effect. I cannot give good advice on which parameters to change. Revisiting your problem formulation could also be direction to pursue. |
Beta Was this translation helpful? Give feedback.
-
I am using MKL version on Linux.On Mar 15, 2021 9:28 AM, andrcoding ***@***.***> wrote:
As the new versions of Pardiso are claimed to be faster than the MKL version, I actually wanted to test this one directly. However, I think there is no fitting library available for my situation. In addition, the MKL version also only works with an MS compiler, doesn't it?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
The logs don't look as if it is the linear solver that decided on whether you find a feasible point or not. Changing the linear solver just changes the solution path and in the run with MA97 it quickly went into a local infeasible point, while in the run with MUMPS it didn't (well, it eventually gave up with an "acceptable point"), but it could very well have been the other way around as well. Keeping the linear solver fixed and changing some Ipopt parameters may have a similar effect. I cannot give good advice on which parameters to change. Revisiting your problem formulation could also be direction to pursue.