doum
2025-11-25 7aa43e7f0edb7680762b3ffaed7f944742bfc0ea
server/visits/dmvisit_service/src/main/java/com/doumee/core/tsp/TspSolver.java
@@ -134,6 +134,7 @@
        // 执行算法
        Assignment solution = routing.solveWithParameters(searchParameters);
        if(solution ==null){
            log.error("规划结束=============未找到最优路线!" );
            throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"未找到最优路线!");
        }
        // 打印路线