01.07.2013 Views

9. Anexos.

9. Anexos.

9. Anexos.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

for i=1:1:N<br />

end<br />

for j=1:1:size(VectorDir,1)<br />

end<br />

if VectorDir(j,1) == i<br />

Aeq(i,j)=1;<br />

elseif VectorDir(j,2) == i<br />

end<br />

Aeq(i,j)=-1;<br />

for j=1:1:size(Aeq,2)<br />

end<br />

for k=1:1:NumTerminales<br />

end<br />

if ((j==NodosTerminales(k)) & not(j == origen))<br />

beq(j)=1;<br />

elseif j==origen<br />

end<br />

% lb < x < ub<br />

beq(j) = -NumTerminales +1;<br />

%lb = zeros(size(VectorDir,1),1);<br />

%ub = lb;<br />

%for i=1:1:size(ub)<br />

% ub(i)=Inf;<br />

%end<br />

CosteSolucion=0;<br />

error=0;<br />

b=zeros(2*V,1);<br />

A=zeros(2*V);<br />

for i=1:1:size(A,2)<br />

end<br />

A(i,i)=-1;<br />

<strong>Anexos</strong>.<br />

12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!