Home > matpower7.1 > mp-opt-model > .github > osqp > linsys_solver_to_string.m

linsys_solver_to_string

PURPOSE ^

Convert linear systme solver integer to stringh

SYNOPSIS ^

function [linsys_solver_string] = linsys_solver_to_string(linsys_solver)

DESCRIPTION ^

 Convert linear systme solver integer to stringh

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005