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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file quibble-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: quibble-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 33.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.0

File hashes

Hashes for quibble-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 9dad1cb70d45f1b787ab7ddfcd37903b1bbfa3329df11d3a444f3ef627c96978
MD5 a36dc07b1836c80b2e6321a44fa98b99
BLAKE2b-256 a72466190c2d3bcbaee9f033aa2cf9b4cc2cc2f5bcc2efebfbe32abe4012cbe9

See more details on using hashes here.

File details

Details for the file quibble-0.0.1.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for quibble-0.0.1.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7446659080421df8a24d723e50b8bb763dfaea2c596cbfd1a13733de2d6a00b3
MD5 c276bb88bbea8ce0ff30a6bde0e26fcc
BLAKE2b-256 a694182d078e7fd8360c207f1a35c9b9cda7fbd241c95382121cca756d5a6237

See more details on using hashes here.

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