lpinterface
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Member Functions | Public Attributes | List of all members
lpint::Constraint< T > Struct Template Reference

Struct to represent right-hand side of LP constraints. In linear programming, we have constraints of the form

\[ Ax <\mathrm{cmp}> b, \]

where $<cmp>$ represents an elementwise comparison operator, such as $\leq$. This struct represents one element of the right-hand side of such a constraint, together with the elementwise comparison. More...

#include <data_objects.hpp>

Public Member Functions

 Constraint (Row< T > &&r, T lb, T ub)
 

Public Attributes

Row< T > row
 
lower_bound
 Lower bound of constraint equation.
 
upper_bound
 Upper bound of constraint equation.
 

Detailed Description

template<typename T>
struct lpint::Constraint< T >

Struct to represent right-hand side of LP constraints. In linear programming, we have constraints of the form

\[ Ax <\mathrm{cmp}> b, \]

where $<cmp>$ represents an elementwise comparison operator, such as $\leq$. This struct represents one element of the right-hand side of such a constraint, together with the elementwise comparison.


The documentation for this struct was generated from the following file: