mirror of
https://github.com/opencv/opencv.git
synced 2024-12-28 11:58:13 +08:00
b216c0940c
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.
3 lines
81 B
CMake
3 lines
81 B
CMake
set(the_description "Generic optimization")
|
|
ocv_define_module(optim opencv_core)
|