Added LP solver for pathgaps.py