CPLEX's LP and MIP solvers and linprog and intlinprog solvers of MATLAB - comparison - Reg
Afficher commentaires plus anciens
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 commentaires
Matt J
le 27 Jan 2018
Maybe there are simply multiple solutions. How much variation is there in the final objectve value? What happens if you initialize the MATLAB solvers with the solutions of the other solvers (and vice versa)?
Siva
le 5 Jan 2019
Matt J
le 5 Jan 2019
Never mind my previous suggestion. I forgot that this was linprog. But you can still compare the objective function difference
>> dot(f,x1-x2)
Réponses (0)
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!