A barebones mathematical programming package
Project description
Gana is an algebraic modeling language (AML) for multiscale modeling and optimization
Modeling in Gana is done using four sets:
- I - index
- V - variable
- P - parameter
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
150a475182157b414fc6471f0f06068a67a9e2ffa09b90670239c31346ec4a4b
|
|
| MD5 |
4dcacc9350dbece09d41e39ae301044d
|
|
| BLAKE2b-256 |
28774af9ca334509ba509e9f770c99627e80eefb30ab5ae5a3c87f6c926cd0c2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4e37d9e220133508d88a11128064f0895f2020dae3902fe15667653827b89b8
|
|
| MD5 |
45c78a8f61635c0695a53792743666d1
|
|
| BLAKE2b-256 |
9e56b14c268fcc5bdda3c102de797f28fdb0a2e376c8cfbaafff70280f2738dd
|