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

Uploaded Source

Built Distribution

num_solver-0.1.8-py2-none-any.whl (5.3 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for num_solver-0.1.8.tar.gz
Algorithm Hash digest
SHA256 3746a45367f0ec75888f39ef345e95d5084c902c767b1d0ce116832b056dcba7
MD5 c86c6be80f46eab725f70af5b1914a92
BLAKE2b-256 b39296e32f1b0eeb089b5a401ccbbb54fe36cf1c93aa53e004da506bb51a98fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for num_solver-0.1.8-py2-none-any.whl
Algorithm Hash digest
SHA256 19f5313bdd7233d1cfd3caca4fb1981fd682a2e1331c5ef9b0ac690663976008
MD5 b6658936ea19528289113ba27cac90f6
BLAKE2b-256 6b71f8510faa505f8d40c583e552b19597ea4120e55ea6268b5812927d20205a

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