Linear Optimization - Plz help - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Linear Optimization - Plz help

roopkumarkroopkumark Posts: 1Member
N = 5;
[Node1, Node2, distance] = find(table);
Hello,

I am trying to use the molecule model for placing nodes in a network relatively. There seem to be a problem with the mmole function. Does mmole function work only for larger number of nodes(atoms) i.e 25 or greater or can it be used for even smaller number of nodes(atoms) i.e 10 or lesser


Xstart = [ [.25 .25] ; reshape(xrandom, N-1, 2)];
subplot(1,1,1);
plot(Xstart(:,1),Xstart(:,2), 'b.', 'Markersize', 20);
for i = 1:length(distance)
line([Xstart(Node1(i),1) Xstart(Node2(i),1)],[Xstart(Node1(i),2), Xstart(Node2(i),2)]);
end
title('Initial Locations');
axis square;

[Node1, Node2, distance] = find(table);
spy(table+table');
title('Measured distances');
[val,g,H] = mmole(xrandom,table);
spy(H);
title('Structure of Hessian Matrix');
Sign In or Register to comment.