Skip to main content

A barebones mathematical programming package

Project description

alt text

Documentation Status PyPI Downloads

Gana is an algebraic modeling language (AML) for multiscale modeling and optimization

Modeling in Gana is done using four sets:

  1. I - index
  2. V - variable
  3. P - parameter
  4. T - parametric variable

The model can be exported as a .mps or .lp file and passed to a solver

or

Matrices can be generated to represent:

LHS Parameter coefficient of variables in constraints: 1. A - all 2. G - inequality 3. H - equality 4. NN - nonnegativity

RHS parameters in constraints: 1. B

RHS Parameter coefficient of parametric variables in constraints: 1. F

Bounds of the parametric variables: 1. CRa - RHS coefficients 2. CRb - Bound (upper or lower)

Gana was developed to enable certain functionalities in energia (py).

Both were developed through my PhD and as such have a lot of room for improvement.

So please reach out to me on cacodcar@gmail.com with suggestions and such.

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

gana-1.0.0.tar.gz (56.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gana-1.0.0-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file gana-1.0.0.tar.gz.

File metadata

  • Download URL: gana-1.0.0.tar.gz
  • Upload date:
  • Size: 56.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for gana-1.0.0.tar.gz
Algorithm Hash digest
SHA256 150a475182157b414fc6471f0f06068a67a9e2ffa09b90670239c31346ec4a4b
MD5 4dcacc9350dbece09d41e39ae301044d
BLAKE2b-256 28774af9ca334509ba509e9f770c99627e80eefb30ab5ae5a3c87f6c926cd0c2

See more details on using hashes here.

File details

Details for the file gana-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gana-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 63.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for gana-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4e37d9e220133508d88a11128064f0895f2020dae3902fe15667653827b89b8
MD5 45c78a8f61635c0695a53792743666d1
BLAKE2b-256 9e56b14c268fcc5bdda3c102de797f28fdb0a2e376c8cfbaafff70280f2738dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page