LP: linear programming, C implementation