Solving Max-cut Problem with a mixed penalization method for Semidefinite Programming | Synapse