Application of geometric optimization in solving logistics problems