linear branch and bound