A=MatrixXX::Zero(2*DIM_POINT*(wps_acc.size()+wps_vel.size()),DIM_POINT);// *2 because we have to put the lower and upper bound for each one
A=MatrixXX::Zero(2*DIM_POINT*(wps_acc.size()-empty_acc+wps_vel.size()-empty_vel),DIM_POINT);// *2 because we have to put the lower and upper bound for each one