> Now, however, writing the output causes a lack of memory error and the > model fails even with the reduced data set. I have been watching the > memory monitor through Windows Task Manager and note that the reduced > data set finds an integer (they are all binary) optimal solution after > about 2500 secs at which time the reported available memory is c.c. > 1.9GB. > > When I include the Access table output the memory reduces rapidly and > the program fails. The following is one of the Access output table > syntax (which I assume is correct, because the smaller output tables > update correctly). >
To reduce the memory requirement you may try to split the job into several stages like follows: 1) translate the model and write it to foo.glp: glpsol -m foo.mod -d foo.dat --check --wglp foo.glp 2) solve the translated model and write its solution to foo.sol glpsol --glp foo.glp -w foo.sol 3) process the model using the previously found solution glpsol -m foo.mod -d foo.dat -r foo.sol _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
