added conversion from xml to linear programming problem