10 #include "aliceVision/numeric/numeric.hpp"
16 namespace linearProgramming {
30 LP_GREATER_OR_EQUAL = 2,
40 std::vector<eLP_SIGN> _vec_sign;
41 std::vector<std::pair<double, double>> _vec_bounds;
44 std::vector<double> _vec_cost;
60 std::vector<std::pair<double, double>> _vec_bounds;
65 std::vector<LPConstraints::eLP_SIGN> _vec_sign;
68 std::vector<double> _vec_cost;
78 : _nbParams(nbParams){};
85 virtual bool solve() = 0;
88 virtual bool getSolution(std::vector<double>& estimatedParams) = 0;