cshjin / Microgrid_sim

Other
12 stars 4 forks source link

AMPL + CPLEX running in different platform #21

Closed cshjin closed 9 years ago

cshjin commented 9 years ago

Linux platform is much more efficient than windows?

Why?

cshjin commented 9 years ago

Check: https://www.or-exchange.org/questions/760/cplex-performance-windows-vs-linux

To me, the same problem run in same machine in different OS, the linux runs much faster than Win's. It probability the executable file in Linux is already compiled into binary files, both for ampl and cplex. While the windows' will load some .DLL file to make it run correctly, which may take a bit cost, but won't be so much.

However, not the same with replies in the top link, It seems the Linux run much faster than Windows, which almost take three times faster than that.

It is still unknown about that, and even some AMPL options slightly differs in different platform, Now force to make it run in Linux and script AMPL correctly in Linux.