Changeset 1081:f1398882a928 in lemon for lemon/circulation.h
- Timestamp:
- 08/08/11 12:36:16 (13 years ago)
- Branch:
- 1.1
- Phase:
- public
- Tags:
- r1.1.4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/circulation.h
r735 r1081 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 60 60 /// \brief The type of supply map. 61 61 /// 62 /// The type of the map that stores the signed supply values of the 63 /// nodes. 62 /// The type of the map that stores the signed supply values of the 63 /// nodes. 64 64 /// It must conform to the \ref concepts::ReadMap "ReadMap" concept. 65 65 typedef SM SupplyMap; … … 135 135 \geq sup(u) \quad \forall u\in V, \f] 136 136 \f[ lower(uv) \leq f(uv) \leq upper(uv) \quad \forall uv\in A. \f] 137 137 138 138 The sum of the supply values, i.e. \f$\sum_{u\in V} sup(u)\f$ must be 139 139 zero or negative in order to have a feasible solution (since the sum … … 145 145 constraints have to be satisfied with equality, i.e. all demands 146 146 have to be satisfied and all supplies have to be used. 147 147 148 148 If you need the opposite inequalities in the supply/demand constraints 149 149 (i.e. the total demand is less than the total supply and all the demands … … 326 326 /// \param graph The digraph the algorithm runs on. 327 327 /// \param lower The lower bounds for the flow values on the arcs. 328 /// \param upper The upper bounds (capacities) for the flow values 328 /// \param upper The upper bounds (capacities) for the flow values 329 329 /// on the arcs. 330 330 /// \param supply The signed supply values of the nodes.
Note: See TracChangeset
for help on using the changeset viewer.