Open dbackenroth opened 3 years ago
This is a valid point. The timings returned by the psolve
refer to the solver setup and solver solution times. It does not tell anything about CVXR
setup time etc. which can substantial as that is pure R code.
Thank you for developing the great CVXR package. The timing stats provided by CVXR seem to be drastically underestimating the amount of time required for problem solution.
Here is my script:
I print out the time using both Sys.time() and also using the solve_time and setup_time variables returned by CVXR::psolve. It appears that time is both much higher with Sys.time() than with solve_time and setup_time, and it also increases at a much faster rate with problem size (# rows in symmetric matrix which we want to optimize) as measured by Sys.time() then by using solve_time and setup_time.
Is there some other operation done by CVXR::psolve other than solve and setup, and is there anything that can reduce how long that operation takes?