fix mixing long and int in linear programming