![]() |
Epigraph
Convex Optimization in C++
|
Go to the source code of this file.
Classes | |
| class | cvx::Constraint |
Functions | |
| Constraint | cvx::equalTo (const Scalar &lhs, const Scalar &rhs) |
| Create an equality constraint: lhs == rhs. More... | |
| Constraint | cvx::greaterThan (const Scalar &lhs, const Scalar &rhs) |
| Create a greater than or equal constraint: lhs >= rhs. More... | |
| Constraint | cvx::lessThan (const Scalar &lhs, const Scalar &rhs) |
| Create a less than or equal constraint: lhs <= rhs. More... | |
| Constraint | cvx::box (const Scalar &lower, const Scalar &middle, const Scalar &upper) |
| Create a box constraint: lower <= middle <= upper. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::equalTo (const Eigen::MatrixBase< Derived > &lhs, const Scalar &rhs) |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::equalTo (const Scalar &lhs, const Eigen::MatrixBase< Derived > &rhs) |
| Create an equality constraint: lhs == rhs. More... | |
| template<typename DerivedLhs , typename DerivedRhs > | |
| std::vector< Constraint > | cvx::equalTo (const Eigen::MatrixBase< DerivedLhs > &lhs, const Eigen::MatrixBase< DerivedRhs > &rhs) |
| Create an equality constraint: lhs == rhs. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::lessThan (const Eigen::MatrixBase< Derived > &lhs, const Scalar &rhs) |
| Create a less than or equal constraint: lhs <= rhs. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::lessThan (const Scalar &lhs, const Eigen::MatrixBase< Derived > &rhs) |
| Create a less than or equal constraint: lhs <= rhs. More... | |
| template<typename DerivedLhs , typename DerivedRhs > | |
| std::vector< Constraint > | cvx::lessThan (const Eigen::MatrixBase< DerivedLhs > &lhs, const Eigen::MatrixBase< DerivedRhs > &rhs) |
| Create a less than or equal constraint: lhs <= rhs. More... | |
| template<typename DerivedLhs , typename DerivedRhs > | |
| std::vector< Constraint > | cvx::greaterThan (const Eigen::MatrixBase< DerivedLhs > &lhs, const Eigen::MatrixBase< DerivedRhs > &rhs) |
| Create a greater than or equal constraint: lhs >= rhs. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::greaterThan (const Scalar &lhs, const Eigen::MatrixBase< Derived > &rhs) |
| Create a greater than or equal constraint: lhs >= rhs. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::greaterThan (const Eigen::MatrixBase< Derived > &lhs, const Scalar &rhs) |
| Create a greater than or equal constraint: lhs >= rhs. More... | |
| template<typename DerivedLower , typename DerivedMiddle , typename DerivedUpper > | |
| std::vector< Constraint > | cvx::box (const Eigen::MatrixBase< DerivedLower > &lower, const Eigen::MatrixBase< DerivedMiddle > &middle, const Eigen::MatrixBase< DerivedUpper > &upper) |
| Create a box constraint: lower <= middle <= upper. More... | |
| template<typename Derived > | |
| std::vector< Constraint > | cvx::box (const Scalar &lower, const Eigen::MatrixBase< Derived > &middle, const Scalar &upper) |
| Create a box constraint: lower <= middle <= upper. More... | |
| std::vector<Constraint> cvx::box | ( | const Eigen::MatrixBase< DerivedLower > & | lower, |
| const Eigen::MatrixBase< DerivedMiddle > & | middle, | ||
| const Eigen::MatrixBase< DerivedUpper > & | upper | ||
| ) |
Create a box constraint: lower <= middle <= upper.
| DerivedLower | Has to be cvx::Scalar |
| DerivedMiddle | Has to be cvx::Scalar |
| DerivedUpper | Has to be cvx::Scalar |
| lower | The lower bound |
| middle | The middle term |
| upper | The upper bound |
| std::vector<Constraint> cvx::box | ( | const Scalar & | lower, |
| const Eigen::MatrixBase< Derived > & | middle, | ||
| const Scalar & | upper | ||
| ) |
Create a box constraint: lower <= middle <= upper.
| Derived | Has to be cvx::Scalar |
| lower | The lower bound |
| middle | The middle term |
| upper | The upper bound |
Create a box constraint: lower <= middle <= upper.
| lower | The lower bound |
| middle | The middle term |
| upper | The upper bound |
| std::vector<Constraint> cvx::equalTo | ( | const Eigen::MatrixBase< DerivedLhs > & | lhs, |
| const Eigen::MatrixBase< DerivedRhs > & | rhs | ||
| ) |
Create an equality constraint: lhs == rhs.
| DerivedLhs | Has to be cvx::Scalar |
| DerivedRhs | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::equalTo | ( | const Scalar & | lhs, |
| const Eigen::MatrixBase< Derived > & | rhs | ||
| ) |
Create an equality constraint: lhs == rhs.
| Derived | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
Create an equality constraint: lhs == rhs.
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::greaterThan | ( | const Eigen::MatrixBase< Derived > & | lhs, |
| const Scalar & | rhs | ||
| ) |
Create a greater than or equal constraint: lhs >= rhs.
| Derived | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::greaterThan | ( | const Eigen::MatrixBase< DerivedLhs > & | lhs, |
| const Eigen::MatrixBase< DerivedRhs > & | rhs | ||
| ) |
Create a greater than or equal constraint: lhs >= rhs.
| DerivedLhs | Has to be cvx::Scalar |
| DerivedRhs | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::greaterThan | ( | const Scalar & | lhs, |
| const Eigen::MatrixBase< Derived > & | rhs | ||
| ) |
Create a greater than or equal constraint: lhs >= rhs.
| Derived | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
Create a greater than or equal constraint: lhs >= rhs.
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::lessThan | ( | const Eigen::MatrixBase< Derived > & | lhs, |
| const Scalar & | rhs | ||
| ) |
Create a less than or equal constraint: lhs <= rhs.
| Derived | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::lessThan | ( | const Eigen::MatrixBase< DerivedLhs > & | lhs, |
| const Eigen::MatrixBase< DerivedRhs > & | rhs | ||
| ) |
Create a less than or equal constraint: lhs <= rhs.
| DerivedLhs | Has to be cvx::Scalar |
| DerivedRhs | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |
| std::vector<Constraint> cvx::lessThan | ( | const Scalar & | lhs, |
| const Eigen::MatrixBase< Derived > & | rhs | ||
| ) |
Create a less than or equal constraint: lhs <= rhs.
| Derived | Has to be cvx::Scalar |
| lhs | The left hand side |
| rhs | The right hand side |