[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Possible memory/heap/stack problem

From: Andrew Makhorin
Subject: Re: [Help-glpk] Possible memory/heap/stack problem
Date: Sat, 8 Apr 2006 12:51:22 +0400

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]