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

Uploaded Source

Built Distribution

num_solver-0.1.1-py2-none-any.whl (4.2 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for num_solver-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a25015fb4e854c358130e36b2385029fa5f4099ccde08f187d4b5c8841b12f5f
MD5 4924b8c8e48db6dbb6f2ba499d8bce55
BLAKE2b-256 4236a14cc0d9625e90ae5b73b620a4e48da1a9b1f993860be8f790abc86ed881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for num_solver-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5b1a2f09092159a0e36c4afe3af09be124cb50782ddb67e834ac0ac543df9050
MD5 ca5f39ac1fad9fff3eb3549bae17859a
BLAKE2b-256 fb14765c76d53a5b96594caac0328f1842b1b8c522b2fd019a9d4458dc860e98

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