it is possible in 11.2.3 to optimize strain in certain directions, directly from VNL (see figure) or using
constraints = [FixStrain(x=True, y=True, z=False)]
bulk_configuration = OptimizeGeometry(
bulk_configuration,
maximum_forces=0.05*eV/Ang,
maximum_stress=0.05*eV/Ang**3,
constraints=constraints,
trajectory_filename=None,
)