first bugfixes for lp gurobi - does not work yet.