Hi Mart,
I’m assuming you are seeing the following message when IPOPT runs?
This is Ipopt version 3.12.3, running with linear solver pardiso.
In my experience PARDISO can be a little sensitive with IPOPT, sometimes it works, sometimes it doesn’t. The original version of PARDISO worked well, the Intel MKL one I link against appears more sensitive. I never found out why.
To check it is working you can have a look at test_ipopt_linearcon.m in OPTI/TestProblems/Development. The last two cells run a “large” sparse problem with a trivial solution. PARDISO is called once and if you have the task manager open, you should see the CPU usage spike to 50% at least (Intel PARDISO appears to not call logical CPUs, only physical ones, at least the way I set it up), although briefly. You’ll also see in the print out something like:
Total CPU secs in IPOPT (w/o function evaluations) = 8.848
Total CPU secs in NLP function evaluations = 0.246
If your problem is spending most of its time in the NLP function evaluations, then probably using PARDISO isn’t going to help much. In the above problem most of the time spent is within IPOPT, which in this case, is solving the system of linear equations that arises at iteration 1. Therefore a parallelized linear solver can be useful.
Obviously PARDISO needs the sparsity structure to really work, so ensure you are supplying the jacobianstructure.
Also note that MA57 is pretty fast and reliable. Only very large problems are likely to benefit from PARDISO’s parallelization. I’ve seen many problems where MA57 is faster than the parallelized versions of the HSL linear solvers within IPOPT as well. The getting started cost of the parallelization versus actual solving can sometimes make it just not worthwhile. Only profiling can reveal where the added work becomes useful.
Not sure that helps at all, but I wouldn’t find your results surprising.
Jonathan
--
You received this message because you are subscribed to the Google Groups "OPTI Toolbox Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opti-toolbox-fo...@googlegroups.com.
To post to this group, send email to opti-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.