Giter Site home page Giter Site logo

niufuxi / bdpp-on-resource-allocation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dk-zhu/bdpp-on-resource-allocation

0.0 0.0 0.0 290 KB

Code for "A Distributed Buffering Drift-Plus-Penalty Algorithm for Coupling Constrained Optimization" (L-CSS, status: revise and resubmit)

Python 100.00%

bdpp-on-resource-allocation's Introduction

A Distributed Buffering Drift-Plus-Penalty Algorithm for Coupling Constrained Optimization

This repository contains the numerical experiments in the paper A Distributed Buffering Drift-Plus-Penalty Algorithm for Coupling Constrained Optimization (L-CSS, revise and resubmit, 2023). The experiments involve a virtualized 5G resource allocation problem which aims to determine the optimal amount of resources allocated to each slice such that the sum of cost functions of slice thicknesses is minimized subject to the resource constraints. We investigate the convergence performance of the proposed algorithm, called B-DPP, and the effect of the buffer parameter $\gamma_t=C/\sqrt{t}$ on the objective error and constraint violations. In addition, we compare B-DPP with the distributed dual subgradient method, C-SP-SG, and DPD-TV to demonstrate its competitive performance.

Description

Dependencies

The code is written in Python 3.7.7 and requires the following packages:

Moreover, a Tex distribution is required to render the figures.

Code structure

  • graph_gen.py: generate the network topology.
  • data_gen.py: generate the data for the virtualized 5G resource allocation problem.
  • algorithms.py: implement B-DPP, C-SP-SG, DPD-TV, and the distributed dual subgradient method.
  • main.py: run the experiments.
  • plot.py: plot the results.

Results

Effect of the buffer parameter

C_obj C_cons

Comparison

algo_obj algo_cons

bdpp-on-resource-allocation's People

Contributors

dk-zhu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.