Framework for Various Optimization Tasks
Project description
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)
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
quibble-0.0.1.dev1.tar.gz
(33.5 MB
view hashes)
Built Distribution
Close
Hashes for quibble-0.0.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7446659080421df8a24d723e50b8bb763dfaea2c596cbfd1a13733de2d6a00b3 |
|
MD5 | c276bb88bbea8ce0ff30a6bde0e26fcc |
|
BLAKE2b-256 | a694182d078e7fd8360c207f1a35c9b9cda7fbd241c95382121cca756d5a6237 |