1 #ifndef UTILITY_OPTIMIZER_LINEAR_PROG_EVALUATION_H 2 #define UTILITY_OPTIMIZER_LINEAR_PROG_EVALUATION_H 32 , optimalCoordinate_(
Eigen::VectorXd::Zero(0))
41 , optimalCoordinate_(
Eigen::VectorXd::Zero(0))
51 , optimalCoordinate_(std::move(optimalCoordinate))
61 : supportValue_(supportValue)
62 , optimalCoordinate_(std::move(optimalCoordinate))
89 out <<
"optimal coordinate: (";
107 out <<
"NO FEASIBLE";
133 #endif //UTILITY_OPTIMIZER_LINEAR_PROG_EVALUATION_H double supportValue() const
get the optimal value of the object function
Definition: evaluation.hpp:69
Evaluation()
constructor
Definition: evaluation.hpp:30
LINEPROG_SOLUTION solution_
status of the linear programing
Definition: evaluation.hpp:24
LINEPROG_SOLUTION solution() const
get the status of the linear programming solution
Definition: evaluation.hpp:79
Evaluation(const double &supportValue, Eigen::VectorXd optimalCoordinate, const LINEPROG_SOLUTION &solution)
constructor with given information
Definition: evaluation.hpp:60
friend std::ostream & operator<<(std::ostream &out, const Evaluation &rhs)
out the given evaluation object to the standard out stream
Definition: evaluation.hpp:86
Evaluation(Eigen::VectorXd optimalCoordinate, const LINEPROG_SOLUTION &solution)
constructor with given information
Definition: evaluation.hpp:49
Definition: extEigen.cpp:3
Eigen::VectorXd optimalCoordinate_
vector which can get the optimal solution of the object function
Definition: evaluation.hpp:20
Eigen::VectorXd optimalCoordinate() const
get the optimal solution of the linear programming
Definition: evaluation.hpp:74
Evaluation(const LINEPROG_SOLUTION &solution)
constructor with given status of the solution
Definition: evaluation.hpp:39
Definition: evaluation.hpp:10
LINEPROG_SOLUTION
status of the solution return by glpk
Definition: enum.h:91
Definition: condition.cpp:3
double supportValue_
optimal value of the object function
Definition: evaluation.hpp:16