Traveling salesman intlinprog function in 2013b

1 view (last 30 days)
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.

Answers (2)

Alan Weiss
Alan Weiss on 30 May 2014
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
Sean de Wolski on 30 May 2014
If your company/agency/university is current on SMS then you should be able to upgrade to R2014a at no additional cost.

Categories

Find more on Solver-Based Optimization Problem Setup in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!