Відправити по sms: Chordal and factor-width decompositions for scalable semidefinite and polynomial optimization