Skip to main content

Various optimization algorithms for teaching and research

Project description

biogeme-optimization

PyPi

Various optimization algorithms used for teaching and research. In particular, they are used by Biogeme.

The package contains the following modules:

algebra

It contains functions dealing with linear algebra:

  • A modified Cholesky factorization introduced by Schnabel and Eskow (1999)
  • The calculation of a descent direction based on this factorization.

bfgs

The functions in this module calculate

  • the BFGS update of the hessian approximation (see Eq. (13.12) in Bierlaire (2015)),
  • the inverse BFGS update of the hessian approximation (see Eq. (13.13) in Bierlaire (2015)).

bounds

This module mainly defines the class Boundsthat manages the bound constraints.

diagnostics

This module defines the diagnostic of some optimization subproblems (dogleg, and comjugate gradient).

exceptions

It defines the OptimizationError exception.

format

It defines the class FormattedColumns that formats the information reported at each iteration of an algorithm.

function

It defines the abstract class FunctionToMinimize that encapsulate the calculation of the objective function and its derivatives.

hybrid_function

It defines the class HybridFunction that calculates the objective function and its derivatives, where the second derivative can be either the analytical hessian, or a BFGS approximation.

linesearch

This module implements the line search algorithms (see Chapter 11 in Bierlaire, 2015).

simple_bounds

This module implements the minimization algorithm under bound constraints proposed by Conn et al. (1988).

trust_region

This module implements the trust region algorithms (see Chapter 12 in Bierlaire, 2015).

References

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

biogeme_optimization-0.0.11.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

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

biogeme_optimization-0.0.11-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file biogeme_optimization-0.0.11.tar.gz.

File metadata

  • Download URL: biogeme_optimization-0.0.11.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for biogeme_optimization-0.0.11.tar.gz
Algorithm Hash digest
SHA256 1d503fdd227162d9bf74f4290e66ff01a314c97793983fb73c84e49855b5445d
MD5 e7a6b136d77b369a34864c803d29a4c8
BLAKE2b-256 e43e0fdd6dfed040e73e6c2dceb00ffa41a5a8880e7272a7a3da6f05e22df91e

See more details on using hashes here.

File details

Details for the file biogeme_optimization-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for biogeme_optimization-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5144dc5c79533d3124c0b7d6d55425cdbbb45af380744e813192be029cc94619
MD5 85bc56ee0e041677d3d5ca3d4e2cfb22
BLAKE2b-256 6b27173b39b6282aca3e0deb3b15d145173ed7884eefc6660c3d5e829e362724

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