Text this: Computing Assortative Mixing by Degree with the s-Metric in Networks Using Linear Programming