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

Uploaded Source

Built Distribution

num_solver-0.1.4-py2-none-any.whl (4.9 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for num_solver-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d342f235650be81793a96a84a8f1f2f1c437eda0f9f76062fcfa7d1dab35479b
MD5 3957909327586b519e58e42a8cbaf7ee
BLAKE2b-256 21e674387b19ac5e52a349c5b80e73bf5c12ab75f44fbe731e0113b50b07214d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for num_solver-0.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 43c456e4bc7d9c71de7ba70437c2657b4350086420474432f781b31b1b766f78
MD5 28d84ee47caef996abb3bc20b6bfb18d
BLAKE2b-256 047682a02224ef9d878b95b98df950ccbe4ca2d2176b6d596d75c197738b2159

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