A Fair OR-ML Framework for Resource Substitution in Large-Scale Networks