Computational aspects of dual-porosity models