Skip to main content

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


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)

Uploaded Source

Built Distribution

quibble-0.0.1.dev1-py2.py3-none-any.whl (34.1 MB view hashes)

Uploaded Python 2 Python 3

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