Changeset 1158:8d2e55fac752 in lemon for lemon/circulation.h
 Timestamp:
 09/13/12 11:52:50 (7 years ago)
 Branch:
 1.1
 Parents:
 1156:939d747055cd (diff), 1157:761fe0846f49 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.  Phase:
 public
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

lemon/circulation.h
r1081 r1158 559 559 560 560 Node act; 561 Node bact=INVALID;562 Node last_activated=INVALID;563 561 while((act=_level>highestActive())!=INVALID) { 564 562 int actlevel=(*_level)[act]; 
lemon/circulation.h
r1157 r1158 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 200320 095 * Copyright (C) 20032011 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.