graph_analysis
Public Member Functions | List of all members
graph_analysis::algorithms::lp::Solution Class Reference

#include <Solution.hpp>

Public Member Functions

double getColumnValue (const std::string &columnName) const
 
void setColumnValue (const std::string &columnName, double value)
 
double getObjectiveValue () const
 
void setObjectiveValue (double value)
 
void setNumberOfRows (size_t n)
 
size_t getNumberOfRows () const
 
void setNumberOfColumns (size_t n)
 
size_t getNumberOfColumns () const
 
void setNumberOfNonZeros (size_t n)
 
size_t getNumberOfNonZeros () const
 
void setStatus (LPSolver::Status status)
 
LPSolver::Status getStatus () const
 
std::string toString (size_t indent=0) const
 

Detailed Description

Representation class for an LP Solution

Member Function Documentation

◆ getColumnValue()

double graph_analysis::algorithms::lp::Solution::getColumnValue ( const std::string &  columnName) const

◆ getNumberOfColumns()

size_t graph_analysis::algorithms::lp::Solution::getNumberOfColumns ( ) const
inline

◆ getNumberOfNonZeros()

size_t graph_analysis::algorithms::lp::Solution::getNumberOfNonZeros ( ) const
inline

◆ getNumberOfRows()

size_t graph_analysis::algorithms::lp::Solution::getNumberOfRows ( ) const
inline

◆ getObjectiveValue()

double graph_analysis::algorithms::lp::Solution::getObjectiveValue ( ) const
inline

◆ getStatus()

LPSolver::Status graph_analysis::algorithms::lp::Solution::getStatus ( ) const
inline

◆ setColumnValue()

void graph_analysis::algorithms::lp::Solution::setColumnValue ( const std::string &  columnName,
double  value 
)
inline

◆ setNumberOfColumns()

void graph_analysis::algorithms::lp::Solution::setNumberOfColumns ( size_t  n)
inline

◆ setNumberOfNonZeros()

void graph_analysis::algorithms::lp::Solution::setNumberOfNonZeros ( size_t  n)
inline

◆ setNumberOfRows()

void graph_analysis::algorithms::lp::Solution::setNumberOfRows ( size_t  n)
inline

◆ setObjectiveValue()

void graph_analysis::algorithms::lp::Solution::setObjectiveValue ( double  value)
inline

◆ setStatus()

void graph_analysis::algorithms::lp::Solution::setStatus ( LPSolver::Status  status)
inline

◆ toString()

std::string graph_analysis::algorithms::lp::Solution::toString ( size_t  indent = 0) const

The documentation for this class was generated from the following files: