CPLEX's LP and MIP solvers and linprog and intlinprog solvers of MATLAB - comparison - Reg

조회 수: 12 (최근 30일)
I solved a linear programming problem by modeling in GAMS modeling language and used CPLEX's lp and MIP solvers. This problem has around 1800 variables.
The same problem i modelled in MATLAB and used linprog and intlinprog solvers.
There is lot of variation in the results obtained from the two modelling environments ( GAMS and MATLAB with CPLEX and MATLAB solvers).
I want to know the reason.
  댓글 수: 3
Kallam Haranadha Reddy
Kallam Haranadha Reddy 2019년 1월 5일
sir my problem has around 2500 variables. can i use the active-set algorithm for the linprog solver to initialize the initial point in matlab. i think that only active-set algorithms can only accept initial point.
Matt J
Matt J 2019년 1월 5일
Never mind my previous suggestion. I forgot that this was linprog. But you can still compare the objective function difference
>> dot(f,x1-x2)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Programming and Mixed-Integer Linear Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by