finish LP solver