CPLEX's LP and MIP solvers and linprog and intlinprog solvers of MATLAB - comparison - Reg
3 次查看(过去 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 个评论
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 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!