Hello, about solving speed

Hello, about solving speed. Hello, I feel that the speed of using ipopt to solve large-scale nonlinear programming problems in matlab is a little slow, I want to upgrade my computer, what will affect the solving speed, cpu, gpu or running memory?

Greater CPU speed will lead to greater speed in Ipopt. Note however that Ipopt for AMPL is single-threaded, so will use only one CPU core. Ipopt does not use GPU processors.

Additional memory will help if Ipopt is allocating more memory space than the physical memory available on your computer. But this only happens when there are millions of variables and/or very long and complicated expressions.