int QSset_param_double (QSprob p, int whichparam, double  newvalue)
/* p is a QSprob, a handle to an existing LP problem.                 */
/* Set the time limit of the QSopt solvers to 10.5 seconds.           */

int rval;

rval = QSset_param_double (p, QS_PARAM_SIMPLEX_MAX_TIME, 10.5);
if (rval) {
    fprintf (stderr,
             "Could not set the parameter, error code %d\n", rval);
}