Go to the documentation of this file. 1 #ifndef HOPS_LINEARPROGRAMMING_HPP
2 #define HOPS_LINEARPROGRAMMING_HPP
41 virtual std::tuple<Eigen::MatrixXd, Eigen::VectorXd>
44 [[nodiscard]]
const Eigen::MatrixXd &
getA()
const {
48 [[nodiscard]]
const Eigen::VectorXd &
getB()
const {
58 #endif //HOPS_LINEARPROGRAMMING_HPP
virtual std::tuple< Eigen::MatrixXd, Eigen::VectorXd > addBoxConstraintsToUnconstrainedDimensions(double lb, double ub)=0
Adds box constraints to unconstrained dimensions and returns system matrices. Changes to the system m...
const Eigen::VectorXd & getB() const
Definition: LinearProgram.hpp:48
virtual LinearProgramSolution computeChebyshevCenter() const =0
Definition: LinearProgram.hpp:9
Eigen::VectorXd b
Definition: LinearProgram.hpp:54
virtual ~LinearProgram()=default
Definition: LinearProgramSolution.hpp:9
Eigen::MatrixXd A
Definition: LinearProgram.hpp:53
Definition: CsvReader.hpp:8
virtual std::vector< long > computeUnconstrainedDimensions() const =0
virtual std::tuple< Eigen::MatrixXd, Eigen::VectorXd > removeRedundantConstraints(double tolerance)=0
Removes redundant constraints and returns system matrices. Changes to the system matrices are reflect...
virtual LinearProgramSolution solve(const Eigen::VectorXd &objective) const =0
LinearProgram(Eigen::MatrixXd a, Eigen::VectorXd b)
Definition: LinearProgram.hpp:11
const Eigen::MatrixXd & getA() const
Definition: LinearProgram.hpp:44