using psd solver