In order not to reinvent the wheel I tried to find some code to parse Mathematical Programming System files but I didnt find any implementations in python. Is there any code allready available for this? Update Reading Mathematical Prog. files Example MPS (afiro.mps: link1, link2) Contains: objective function, one row, n columns table with restrictions, m rows, n columns right table, one column, m rows Many languages have packages for reading and writing these files. Continue reading...