/* g e t W o r k i n g S e t B o u n d s  */
returnValue QProblem_getWorkingSetBounds(QProblem *_THIS, real_t *workingSetB)
/* g e t W o r k i n g S e t B o u n d s  */
returnValue QProblem_getWorkingSetBounds(QProblem *_THIS, real_t *workingSetB)
{
	int i;
	int nV = QProblem_getNV( _THIS );
	for (i = 0; i < nV; i++) {
		switch ( Bounds_getStatus( &(_THIS->bounds),i ) ) {
			case ST_LOWER: workingSetB[i] = -1.0; break;
			case ST_UPPER: workingSetB[i] = +1.0; break;
			default:       workingSetB[i] =  0.0; break;
		}
	}
	return SUCCESSFUL_RETURN;
}