fix mixing long and int in linear programming
remove pyqpbo dependency for easier build.