필터 지우기
필터 지우기

Traveling salesman intlinprog function in 2013b

조회 수: 3 (최근 30일)
matthew
matthew 2014년 5월 30일
답변: Sean de Wolski 2014년 5월 30일
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.

답변 (2개)

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

카테고리

Help CenterFile Exchange에서 Solver-Based Optimization Problem Setup에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by