Various optimization algorithms for teaching and research
Project description
biogeme-optimization
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 Bounds
that 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
- Bierlaire, M. (2015). Optimization: Principles and Algortihms. EPFL Press.
- Conn, A. R., Gould, N. I. M and Toint, Ph. L. (1988) Testing a Class of Methods for Solving Minimization Problems with Simple Bounds on the Variables. Mathematics of Computation, 50(182), 399-430.
- Schnabel, R. B. and Eskow, E. (1999) A Revised Modified Cholesky Factorization Algorithm. SIAM Journal on Optimization, 9(4), 1135-1148.
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
Built Distribution
File details
Details for the file biogeme_optimization-0.0.10.tar.gz
.
File metadata
- Download URL: biogeme_optimization-0.0.10.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e964d034208eb762217556112369d9f8f7dfeabe603a2dde360bca50031fca |
|
MD5 | c8ff84cc82a1835b1cff488ee16c11ae |
|
BLAKE2b-256 | 64468ac8117dd885ef509b09a81bb67d3c9de9de5ac187700b24a768a7dffc47 |
File details
Details for the file biogeme_optimization-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: biogeme_optimization-0.0.10-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f3e6bf7659dccdb52f1f6359c1a1b5df6d691dfe52256ce494b8b994bb6858 |
|
MD5 | 8629edfe1ae9e55356033331e47f5dcc |
|
BLAKE2b-256 | 66e5c91b52d86df4b748ed524b0d8d9bb3350422c23fd6ac231cfb849ac6883e |