> I have been using GLPK. I wanted to know if we have a certain number of > constraints in the model file (constr1, constr2 etc.,), Can we choose to > run the model file by turning off certain constriants? For e.g., My data > file has only constr1 but not constr2 and I need to turn off constr2 > before running the model, is there any way we can do this? I know AMPL has > the ability of turning constraints on or off in the run file.
Currently glpk does not support such feature. However, you can use the C preprocessor to do that: gcc -E -xc modfile > preprocessed modfile _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
