Dear Andrew,please find enclosed a diff with an additional API-command lpx_write_pb that writes an instance in (possibly normalized) Pseudo-Boolean format. It is also incorporated in glpsol.
The main problem so far is that the different PB solvers have qutie different requirements on the input. However, the normalized one follows the PB competition guidelines. There should probably be some checking that the variables are binary, but I skipped that as there might be cases where it may be useful.
I would also like to add two requests: * An API-call to set the amount of available memory. * An API-call to set a hook that is called with a tree pointer (or just the objective value) when a new MIP solution is found. With best regards Oscar Gustafsson
glpk_opb_write.patch.gz
Description: Binary data
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
