Linear Programming Simple Problems On Distance