int QSchange_senses (QSprob p, int num, int *rowlist, char *sense)
/* Assume p is initialized to the problem in the QSload_prob example. */
/* Change the first constraint to an "=" and change the second        */
/* constraint to a "<=".                                              */

int rval;
int rowlist[2] = { 0, 1 };
char sense[2] = { 'E', 'L' };

rval = QSchange_senses (p, 2, rowlist, sense);
if (rval) {
    fprintf (stderr, 
             "Could not change the senses, error code %d\n",rval);
}