Thermodynamic Compatibility of Polymers