Skip to main content

Tool for solving Network Utility Maximization problems

Project description

# Network Utility Maximization Solver

A tool for solving [Network Utility Maximization](http://www.ifp.illinois.edu/~srikant/ECE567/Fall09/lecture2-num-primal.pdf) problems.

` $ pip install num_solver `

## Example

` $ python Python 2.7.11 (default, Jan 22 2016, 08:29:18) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import num_solver >>> import numpy as np >>> utility = lambda x: np.sum(np.ma.log(x)) >>> R = np.array([[1., 1.]]) >>> capacity = np.array([10.]) >>> num_solver.solve_num_problem(utility, R, capacity) array([ 5., 5.]) `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

num_solver-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

num_solver-0.1.3-py2-none-any.whl (4.3 kB view details)

Uploaded Python 2

File details

Details for the file num_solver-0.1.3.tar.gz.

File metadata

  • Download URL: num_solver-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for num_solver-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5f9a49137d234703fd702d9093e8022f170ee60a75b0cd1c80e2d2903beb8a64
MD5 dcc89bde0895d110ca5a810226f6d9a6
BLAKE2b-256 d0a896ea02a4d09d25a5c9462ded3cd98be4d9ed9e488bd25e91b5a6b1c86f80

See more details on using hashes here.

File details

Details for the file num_solver-0.1.3-py2-none-any.whl.

File metadata

File hashes

Hashes for num_solver-0.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 5a85f923f320785dce6af8245262891408c0a9d9762cb1d8bb0f473af4a8587a
MD5 7c1ce2078fa4ecf0251596551f40cec5
BLAKE2b-256 1cee147a98336efad5739bcd6f8518a5c78e261f2e9b528d1ec8d8ace1d38a75

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page