/* g e t D u a l S o l u t i o n  */
returnValue QProblemB_getDualSolution(QProblemB *_THIS, real_t *const yOpt)
/* g e t D u a l S o l u t i o n  */
returnValue QProblemB_getDualSolution(QProblemB *_THIS, real_t *const yOpt)
{
	int i;
	for( i=0; i<QProblemB_getNV( _THIS ); ++i )
		yOpt[i] = _THIS->y[i];
	if ( ( QProblemB_getStatus( _THIS ) == QPS_AUXILIARYQPSOLVED ) ||
		 ( QProblemB_getStatus( _THIS ) == QPS_HOMOTOPYQPSOLVED )  ||
		 ( QProblemB_getStatus( _THIS ) == QPS_SOLVED ) )
	{
		return SUCCESSFUL_RETURN;
	}
	else
	{
		return RET_QP_NOT_SOLVED;
	}
}