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.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for num_solver-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fd55547a27995db027f424f9113901f252e3871afbc1f7b785c9e281b5609227
MD5 f34a27e18da1fbdf494ec4f271e9616b
BLAKE2b-256 367cbfdb5b0fc64b0c2a11d839f6def87d269b0c0efc807749d6991a5d05d66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for num_solver-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 5158d75121d5489ec52f7cd2850bf94beb9eccbc123cab9c12d9dde8a7d69520
MD5 6e3a5cc1eac284f561521bb00e73c06d
BLAKE2b-256 2688bdfc7b36821438f3a24b8dfc99d9921912cbcc9d62628f9eec90b1ced845

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