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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Linear Optimization - Plz help

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

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)];
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)]);
title('Initial Locations');
axis square;

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