Net2PlanExample: Capacity assignment minimizing network delay, with linear cost constraintsca_minAvNetDelayLinearCostThis algorithm obtains the capacity assignment that minimizes the average network delay in the network, so that the network cost is limited to a maximum budget . Average network delay considers the queueing delay and the transmission delay. Propagation delay is not included since it is not affected by the link capacities. Average network delay is estimated as: Where:
The network cost is the sum of the costs of the links , where the cost in a link grows in a linear form respect to capacities: Where:
The algorithm solves the following formulation: Decision variables:
The previous formulation is a convex program respect to the variables, and is solved using CVX. The algorithm requires CVX solver installed and running. Download .m file: ca_minAvNetDelayLinearCost.m |