> Presently, I have problem loading the matrix using "lpx_load_matrix(lp, ne, > ia, ja, ar);". The program exits/terminates/crashes when executing this > line. ne = 4424 while ia has a size of 4425. > > The program works okay when I use a smaller data set- one that gives ne=110 > and ia has a size of 111. > > Has anybody encountered a similar problem when running GLPK 4.9 with MS > VC++6? It smells like a memory/stack/heap issue and I just do not know how > to solve this. Going through the mailing list archive did not turn up much. > I forsee my final data set to give ne=160,000 and ia with a size 200k > elements. any ideas anyone?
Check more carefully that all your arrays are properly allocated and passed to glpk routines, and use msvc debugger to trace the code. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
