0
0
mirror of https://github.com/opencv/opencv.git synced 2026-01-18 17:21:42 +01:00

Created skeleton for simplex method.

Added LPSolver class together with two nested classes: LPFunction and
LPConstraints. These represent function to be maximized and constraints
imposed respectively. They are implementations of interfaces Function
and Constraints respectively (latter ones are nested classes of Solver
interface, which is generic interface for all optimization algorithms to
be implemented within this project).

The next step is to implement the simplex algorithm! First, we shall
implement it for the case of constraints of the form Ax<=b and x>=0.
Then, we shall extend the sets of problems that can be handled by the
conversion to the one we've handled already. Finally, we shale
concentrate on numerical stability and efficiency.
This commit is contained in:
Alex Leontiev
2013-06-24 20:27:11 +03:00
parent f41b8b90ff
commit b216c0940c
4 changed files with 68 additions and 21 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ OpenCV4Tegra/
.sw[a-z]
.*.swp
tags
build/