Convert linear systme solver integer to stringh
0001 function [linsys_solver_string] = linsys_solver_to_string(linsys_solver) 0002 % Convert linear systme solver integer to stringh 0003 switch linsys_solver 0004 case osqp.constant('QDLDL_SOLVER') 0005 linsys_solver_string = 'qdldl'; 0006 case osqp.constant('MKL_PARDISO_SOLVER') 0007 linsys_solver_string = 'mkl pardiso'; 0008 otherwise 0009 error('Unrecognized linear system solver.'); 0010 end