Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type Class Reference

constraint object in the primal linear programming problem. standard format: \(x_i - x_j \ge c_{ij}\) maps to arc \(x_i \rightarrow x_j, \textrm{cost} = -c_{ij}\). More...

#include <LpDualMcf.h>

Public Member Functions

 constraint_type (string const &xi, string const &xj, value_type const &c)
 constructor

Public Attributes

pair< string, string > variable
 variable \(x_i\) and \(x_j\)
value_type constant
 constant in the right hand side, i.e., \(c_{ij}\)
arc_type arc
 arc \(x_i \rightarrow x_j\) in the graph

Detailed Description

template<typename T = int64_t>
class limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type

constraint object in the primal linear programming problem. standard format: \(x_i - x_j \ge c_{ij}\) maps to arc \(x_i \rightarrow x_j, \textrm{cost} = -c_{ij}\).

Definition at line 209 of file LpDualMcf.h.

Constructor & Destructor Documentation

◆ constraint_type()

template<typename T = int64_t>
limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type::constraint_type ( string const & xi,
string const & xj,
value_type const & c )
inline

constructor

Parameters
xi\(x_i\)
xj\(x_j\)
c\(c_{ij}\)

Definition at line 219 of file LpDualMcf.h.

Member Data Documentation

◆ arc

template<typename T = int64_t>
arc_type limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type::arc

arc \(x_i \rightarrow x_j\) in the graph

Definition at line 213 of file LpDualMcf.h.

◆ constant

template<typename T = int64_t>
value_type limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type::constant

constant in the right hand side, i.e., \(c_{ij}\)

Definition at line 212 of file LpDualMcf.h.

◆ variable

template<typename T = int64_t>
pair<string, string> limbo::solvers::lpmcf::LpDualMcf< T >::constraint_type::variable

variable \(x_i\) and \(x_j\)

Definition at line 211 of file LpDualMcf.h.


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