Rational dilation problems associated with constrained algebras