int  QSnew_col (QSprob p, double obj, double lower, double upper,
     const char *name)
/* Assume p is initialized to the problem in the QSload_prob example. */
/* Add a variable w, with an objective coefficient of 1.1, and with   */
/* 1.0 <= w <= 2.0.                                                   */

int rval;
const char *name = "w";

rval = QSnew_col (p, 1.1, 1.0, 2.0, name);
if (rval) {
    fprintf (stderr, "QSnew_col failed with return code %d\n", rval);
}