Andrew, Thank you for your help. However, I am quite a beginner in the area. Could you help how to compile my program by gcc in 64bit mode? Because my current problem is the parameter "ne" for lpx_load_matrix exceeds the size of 32 bit "int". I have to use "long int" to represent "ne". Then, lpx_load_matrix will have a warning of none comparative parameter. Thank you.
Xiaolan Andrew Makhorin wrote: >> I have the same memory problem as well. I don't know how to run a big >> problem set which is larger than "int". I just wonder if glpk has >> package for large problem size. I looked at Andrea's post. However, I >> cannot find lpx_free_env in my installed packet on Solaris. Would you >> please tell me more about that? >> > > It is called lib_free_env and placed in file 'glplib2.c'. > > If you wish to compile glpk on a 64-bit platform, you need to > define the preprocessor variable _GLPLIB_HUGEMEM; otherwise the > memory available to glpk routines is limited by sizeof(int) bytes, > that is 2Gb. > > > > > _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
