The symbolic constraint for flows. More...
#include <flow.h>


Classes | |
| class | flow_balance |
Public Member Functions | |
| FLOW (Graph &, scil_map< vertex_descriptor > &, scil_map< edge_descriptor > &) | |
| void | init (subproblem &S) |
| void | info () |
This symbolic constraint takes as agruments a directed graph G, a scil_map<node> D and a scil_map<edge> F.
The feasible assignments of the symbolic constraint are those where the flow conservation constraints are satisfied, i.e.
.
The symbolic constraint just adds the flow conservation constraints permanentely to the LP.
Definition at line 29 of file flow.h.
| SCIL::FLOW< Graph >::FLOW | ( | Graph & | G_, | |
| scil_map< vertex_descriptor > & | D_, | |||
| scil_map< edge_descriptor > & | VM_ | |||
| ) | [inline] |
Ensures that the edges in X form a superset of a path from u to v.
Preconditions:
For a demo, see: production.c
| void SCIL::FLOW< Graph >::info | ( | ) | [inline, virtual] |
Returns information on the symbolic constraints.
Reimplemented from SCIL::sym_constraint.
| void SCIL::FLOW< Graph >::init | ( | subproblem & | S | ) | [inline, virtual] |
Adds the flow conservation constraints to the LP.
Reimplemented from SCIL::sym_constraint.
1.6.3