Traveling salesman intlinprog function in 2013b
Ältere Kommentare anzeigen
I am trying to breakdown and learn the traveling salesman demo provided at this link.
however i am running the 2013b version of matlab which does not include the intlinprog library i would like some help converting the
opts = optimoptions('intlinprog','Display','off');
[xopt,costopt,exitflag,output] = intlinprog(dist,intcon,[],[],Aeq,beq,lb,ub,opts);
code to work with the rest of the demo thanks in advance.
Antworten (2)
Alan Weiss
am 30 Mai 2014
1 Stimme
You are asking for something that is nearly impossible, namely, writing a replacement mixed-integer linear programming algorithm. The intlinprog function makes a huge difference from previous toolbox versions.
Perhaps I misunderstand you, though, when you say you want "...some help converting..." To me, that sounds like you want replacement functionality. But maybe you mean that you want help understanding what the commands do. For that, feel free to read the documentation on each function, optimoptions and intlinprog.
Alan Weiss
MATLAB mathematical toolbox documentation
Sean de Wolski
am 30 Mai 2014
0 Stimmen
If your company/agency/university is current on SMS then you should be able to upgrade to R2014a at no additional cost.
Kategorien
Mehr zu Nearest Neighbors finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!