Skip to main content

Enhanced version 2.2 with variable modeling and optimation.

Project description

Optimation v2.2

A flexible framework for variable weighting, quantum-inspired logic, and simplified modeling.

Features

  • Variable Weighting
  • Exponential/Quantum Logic
  • Modeling: Variables, Objectives, Minimization

Example

from optimation import Variable, Model, Objective, minimize

x = Variable("x", 10)
y = Variable("y", 20)

def total(vars): return sum(v.value for v in vars)

model = Model()
model.add_variable(x)
model.add_variable(y)
model.add_objective(Objective(total))

print(minimize(model))

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

optimation-2.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optimation-2.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file optimation-2.2.tar.gz.

File metadata

  • Download URL: optimation-2.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for optimation-2.2.tar.gz
Algorithm Hash digest
SHA256 728236e3690e63ae9f76a719128aa19c057ca2f796caf2bd87af8b5dcfa92c83
MD5 d481616fbf178a1d747cea8215878449
BLAKE2b-256 df0b1865cb174f124b37278949e4d777d5a7eef1a5b6675f89eaa6b0dbbd20c2

See more details on using hashes here.

File details

Details for the file optimation-2.2-py3-none-any.whl.

File metadata

  • Download URL: optimation-2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for optimation-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 239f6e06afe0e466685e7f002e64f8e3989f4292ad824d857a60c40b603b7003
MD5 5a06ce122d389cb2d2bd1e5387895c15
BLAKE2b-256 8f1d1464bf348c278f29739356e47ee2ff993af4ce2f6275bf495c9c2b72282a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page