On Mon, 2017-10-30 at 08:04 +0000, Lilas Mhd Salem Alrahis wrote: > Dear developers, > > > > My name is Lilas Alrahis and I’m a PhD student. I’m trying to use a > platform that is GLPK based, see the following for your reference > > > > https://bitbucket.org/spramod/bsim-tetc14/overview > > > > > > I’m not familiar with CPP programing. When I run the code however I > get a GLPK related error; > > > > CREATING THE GLPK MODEL. > > glp_add_cols: ncs = 0; invalid number of columns > > Error detected in file api/prob1.c at line 362 > > Aborted > > > > I just want to understand what could be causing such an error? >
This error means that the program/application you are using attempts to add 0 columns (i.e. variables) to the glpk problem object with the glpk api routine glp_add_cols, however, the number of columns to be added should be a positive integer. You need to report this to the developers of bsim. > > > Thank you for the help! > > Lilas Alrahis > > _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
