File constraint_problem.h

template<typename MatrixType, typename Point>
class constraint_problem

Public Types

using Type = typename Point::FT
using PointType = Point
using VT = Eigen::Matrix<Type, Eigen::Dynamic, 1>
using MT = MatrixType

Public Functions

inline constraint_problem(const int dim, MT const &Aeq_, VT const &beq_, MT const &Aineq_, VT const &bineq_, VT const &lb_, VT const &ub_)
inline constraint_problem(const int dim)
inline void init(int num_vars)
inline void set_equality_constraints(MT const &Aeq_, VT const &beq_)
inline void set_inequality_constraints(MT const &Aineq_, VT const &bineq_)
inline void set_bounds(VT const &lb_, VT const &ub_)
inline std::pair<MT, VT> get_equations()
inline std::pair<MT, VT> get_inequalities()
inline std::pair<VT, VT> get_bounds()
inline unsigned int dimension()

Private Members

unsigned int num_vars
MatrixType Aeq
VT beq
MatrixType Aineq
VT bineq
VT lb
VT ub
Type inf = 1e9