Hello Andrew -- a small change -- best wishes, Robbie

regarding GLPK 4.41 API manual, page 54
example /* spxsamp1.c */

$ g++ --version
g++ (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

$ g++ -Wall -fno-inline -pedantic -Wno-long-long -Weffc++ ..
file.cc:000: warning: converting to non-pointer type 'int' from NULL

hence statement :   glp_adv_basis(P, NULL);
should be       :   glp_adv_basis(P, 0);

---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : [email protected]
Webmail (preferred)           : [email protected]
[from IMAP client]







_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to