The Maximum Singularity Degree for Linear and Semidefinite Programming | Synapse