Re: [Help-glpk] GLPK got out-of-memory exception when solving linear programming models

2015-08-25 Thread Andrew Makhorin
I am trying yto build a linear programming model by C# VS 2013 from Optimization.Framework. The LP has 5000 constraints and 6000 decision variables. How many non-zero constraint coefficients in your model? I got out-of-memory exceptin when I tried to solve it by GLPK. How to

[Help-glpk] GLPK got out-of-memory exception when solving linear programming models

2015-08-25 Thread usa usa
Hi, I am trying yto build a linear programming model by C# VS 2013 from Optimization.Framework. The LP has 5000 constraints and 6000 decision variables. I got out-of-memory exceptin when I tried to solve it by GLPK. How to check memory consumption of a LP model in GLPK? When I reduce the size

Re: [Help-glpk] Zero valued coefficients

2015-08-25 Thread Andrew Makhorin
currently glp_set_mat_col() glp_set_mat_row() glp_load_matrix() may be used to place zero valued coefficients in the sparse matrix stored as structure GLPAIJ. These zero values are not needed in any way by GLPK. It is left to the calling problem to avoid passing zeros. I

Re: [Help-glpk] Zero valued coefficients

2015-08-25 Thread Heinrich Schuchardt
On 25.08.2015 21:00, Andrew Makhorin wrote: currently glp_set_mat_col() glp_set_mat_row() glp_load_matrix() may be used to place zero valued coefficients in the sparse matrix stored as structure GLPAIJ. These zero values are not needed in any way by GLPK. It is left to the calling