A constrained minimum spanning tree problem