Pre-release
This release is a pre-release and may not be stable for production use.
Quibble
UNDER CONSTRUCTION 🚧
MORE COMING SOON 🔜
STAY TUNED 📻
Why Quibble? :thinking:
Framework for various optimization tasks.
Installation
Simply use the python package installer to get quibble:
pip install quibble
Package is currently being integrated into PyPI, so please be patient if it is not yet working 🙂
Examples
Here, you can find some minimal example to demonstrate the use of quibble.
Non-Linear Programming
import numpy as np
from quibble import NonLinearProgramming
nlp = NonLinearProgramming(verbose=True)
x_1 = nlp.add_decision_variable('x_1', lower_bound=-10, upper_bound=10)
x_2 = nlp.add_decision_variable('x_2', lower_bound=-10, upper_bound=10)
x_3 = nlp.add_decision_variable('x_3', lower_bound=-1, upper_bound=1)
nlp.add_constraint(x_1 * x_2 ** 3 - np.sin(x_3 - x_2 / 2), lower_bound=-2, upper_bound=2.5)
nlp.add_constraint(abs(x_1 + x_2 + x_3), lower_bound=-2, upper_bound=1)
nlp.add_objective(x_1 + x_2 + x_3)
result = nlp.solve(trials=1)
Release files for quibble 0.0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quibble-0.0.1.dev1.tar.gz | 33.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quibble-0.0.1.dev1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 67.6 MB
Release files / quibble-0.0.1.dev1.tar.gz
| Download URL | quibble-0.0.1.dev1.tar.gz |
|---|---|
| Size | 33.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dad1cb70d45f1b787ab7ddfcd37903b1bbfa3329df11d3a444f3ef627c96978
|
|
BLAKE2b-256 checksum How to use checksums |
a72466190c2d3bcbaee9f033aa2cf9b4cc2cc2f5bcc2efebfbe32abe4012cbe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.0
|
Release files / quibble-0.0.1.dev1-py2.py3-none-any.whl
| Download URL | quibble-0.0.1.dev1-py2.py3-none-any.whl |
|---|---|
| Size | 34.1 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7446659080421df8a24d723e50b8bb763dfaea2c596cbfd1a13733de2d6a00b3
|
|
BLAKE2b-256 checksum How to use checksums |
a694182d078e7fd8360c207f1a35c9b9cda7fbd241c95382121cca756d5a6237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.0
|