Hi Heinrich, > == Use of const in iocp == > > In structure iocp you have introduced with GLPK 4.52 a field: > const char *save_sol; > > Should access to this component really be restricted by "const"? > > Why should a program outside the glpk library not be allowed to change > the adress to which save_sol points?
It is not a constant pointer, it is a pointer to a constant object (character string), so the application program can change this pointer. It is like pointers used in strcmp, strchr, etc. > > == Missing documentation == > > Unfortunately the iocp fields alien, use_sol and save_sol are not > documented in glpk-4.52/doc/glpk.pdf. > > Glpsol parameter --alien is not documented. > > Please, update the documentation. These features are not documented intentionally, because they were introduced for development purposes and will changed/removed in the future. I think this must not confuse the user. Best regards, Andrew Makhorin _______________________________________________ Bug-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-glpk
