There is no all-encompassing formula for relationships. The diversity of individuals in this world ensures no possible algorithm for success. Consider yourself fortunate if you get it right and find someone whose values and perspectives beat to the rhythm of your own life.