optimization-- comparison of optimum results - reg

1 view (last 30 days)
I solved two supply chain cost minimization problems by modelling in GAMS ( General Algebraic Modeling System) and MATLAB R2015a.I used the same data for both the GAMS and MATLAB environments. I got different optimum values for GAMS and MATLAB environments. I cross checked the two problems optimum results obtained through GAMS and MATLAB by substituting in the constraints. Both are satisfying the constraints. For the GAMS I used the CPLEX solver and for MATLAB I used intlinprog solver.
I got the following optimum results
Problem GAMS MATLAB
Problem 1 16,51,79,750 11,72,39,625
Problem 2 13,25,19,250 10,91,36,625
I am in dilemma which results are correct. I also want to know why this huge difference in cost has occurred.
  1 Comment
Alan Weiss
Alan Weiss on 18 Jun 2018
What do you expect us to say that would be helpful here? We have no clue what you did, what the solvers reported as their exit flags, etc. So how can we give informed suggestions?
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Answers (0)

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!