Optimising the relative entropy under semidefinite constraints | Synapse