A Study on Weighting Factor in Objective Function for Network Resource Allocation