/* s e t u p Q P d a t a  */
returnValue QProblem_setupQPdata(QProblem *_THIS, real_t *const _H, const real_t *const _g, real_t *const _A, const real_t *const _lb, const real_t *const _ub, const real_t *const _lbA, const real_t *const _ubA)
/* s e t u p Q P d a t a  */
returnValue QProblem_setupQPdata(QProblem *_THIS, real_t *const _H, const real_t *const _g, real_t *const _A, const real_t *const _lb, const real_t *const _ub, const real_t *const _lbA, const real_t *const _ubA)
{
	int nC = QProblem_getNC( _THIS );
	if ( QProblemBCPY_setupQPdata( _THIS,_H,_g,_lb,_ub ) != SUCCESSFUL_RETURN )
		return THROWERROR( RET_INVALID_ARGUMENTS );
	if ( ( nC > 0 ) && ( _A == 0 ) )
		return THROWERROR( RET_INVALID_ARGUMENTS );
	if ( nC > 0 )
	{
		QProblem_setLBA( _THIS,_lbA );
		QProblem_setUBA( _THIS,_ubA );
		QProblem_setA( _THIS,_A );	}
	else
	{
		DenseMatrixCON( _THIS->A, 0,0,0, 0 );
	}
	return SUCCESSFUL_RETURN;
}