Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_LP_SOLUTION_HPP
2 #define GRAPH_ANALYSIS_ALGORITHMS_LP_SOLUTION_HPP
6 #include "../LPSolver.hpp"
19 void setColumnValue(
const std::string& columnName,
double value) { mColumnValues[columnName] = value; }
36 std::string
toString(
size_t indent = 0)
const;
39 std::map<std::string, double> mColumnValues;
40 double mObjectiveValue;
43 size_t mNumberOfColumns;
44 size_t mNumberOfNonZeros;
51 #endif // GRAPH_ANALYSIS_ALGORITHMS_LP_SOLUTION_HPP
size_t getNumberOfNonZeros() const
Definition: Solution.hpp:31
LPSolver::Status getStatus() const
Definition: Solution.hpp:34
void setStatus(LPSolver::Status status)
Definition: Solution.hpp:33
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Definition: Solution.hpp:15
void setColumnValue(const std::string &columnName, double value)
Definition: Solution.hpp:19
void setNumberOfRows(size_t n)
Definition: Solution.hpp:24
void setObjectiveValue(double value)
Definition: Solution.hpp:22
std::string toString(size_t indent=0) const
Definition: Solution.cpp:25
size_t getNumberOfColumns() const
Definition: Solution.hpp:28
void setNumberOfNonZeros(size_t n)
Definition: Solution.hpp:30
size_t getNumberOfRows() const
Definition: Solution.hpp:25
Status
Definition: LPSolver.hpp:18
double getColumnValue(const std::string &columnName) const
Definition: Solution.cpp:10
void setNumberOfColumns(size_t n)
Definition: Solution.hpp:27
double getObjectiveValue() const
Definition: Solution.hpp:21