📄 soltorouts.m
字号:
function [b,r]=solToRouts(sol)
% from a solution to the rout arrange
n=size(sol,2)-1; % not use the fitness value
bk=[8 8]; % cap of trucks
l=8; % num of shops
d=[1 2 1 2 1 4 2 2]; %demand of shops
[b,r]=isFeasible(sol(1:n),bk,l,d); %if the sol realizable
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -