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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for num_solver-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f59aa5c0367aee5c46ea12d3fa308297f3b05e3ce53158c56f490da6404e04dc
MD5 14b834e85b142640c292f90c5f5ca17b
BLAKE2b-256 b9ce07c9f6ed85dbb0dedee13a81380bfe64bfaf7612b03189b16d223a57ed24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for num_solver-0.1.7-py2-none-any.whl
Algorithm Hash digest
SHA256 082bc2770378db5805a34be40b66c2a9b129fe5859bdc38bdcbc6ce2fc518b0d
MD5 cb8aa1b6ac1f31fcea7e173edf511612
BLAKE2b-256 b5980e3a474f86ac65a3a5b0d03ee0ce0c3bcfbbfc840713c7a4149f7709d615

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