/* s e t u p Q P d a t a  */
returnValue QProblemBCPY_setupQPdata(QProblem *_THIS, real_t *const _H, const real_t *const _g, const real_t *const _lb, const real_t *const _ub)
/* s e t u p Q P d a t a  */
returnValue QProblemBCPY_setupQPdata(QProblem *_THIS, real_t *const _H, const real_t *const _g, const real_t *const _lb, const real_t *const _ub)
{
	QProblem_setH( _THIS,_H );
	if ( _g == 0 )
		return THROWERROR( RET_INVALID_ARGUMENTS );
	else
		QProblem_setG( _THIS,_g );
	QProblem_setLB( _THIS,_lb );
	QProblem_setUB( _THIS,_ub );
	return SUCCESSFUL_RETURN;
}