![]() |
OR-Tools
9.6
|
Definition at line 615 of file min_cost_flow.h.
Public Types | |
| typedef Graph::NodeIndex | NodeIndex |
| typedef Graph::ArcIndex | ArcIndex |
| typedef Graph::OutgoingArcIterator | OutgoingArcIterator |
| typedef Graph::OutgoingOrOppositeIncomingArcIterator | OutgoingOrOppositeIncomingArcIterator |
| typedef ZVector< ArcIndex > | ArcIndexArray |
| enum | Status { NOT_SOLVED , OPTIMAL , FEASIBLE , INFEASIBLE , UNBALANCED , BAD_RESULT , BAD_COST_RANGE } |
Public Member Functions | |
| MinCostFlow (const StarGraph *graph) | |
| const StarGraph * | graph () const |
| Status | status () const |
| void | SetNodeSupply (NodeIndex node, FlowQuantity supply) |
| void | SetArcUnitCost (ArcIndex arc, CostValue unit_cost) |
| void | SetArcCapacity (ArcIndex arc, FlowQuantity new_capacity) |
| void | SetArcFlow (ArcIndex arc, FlowQuantity new_flow) |
| bool | Solve () |
| bool | CheckFeasibility (std::vector< NodeIndex > *const infeasible_supply_node, std::vector< NodeIndex > *const infeasible_demand_node) |
| bool | MakeFeasible () |
| CostValue | GetOptimalCost () |
| FlowQuantity | Flow (ArcIndex arc) const |
| FlowQuantity | Capacity (ArcIndex arc) const |
| CostValue | UnitCost (ArcIndex arc) const |
| FlowQuantity | Supply (NodeIndex node) const |
| FlowQuantity | InitialSupply (NodeIndex node) const |
| FlowQuantity | FeasibleSupply (NodeIndex node) const |
| void | SetUseUpdatePrices (bool value) |
| void | SetCheckFeasibility (bool value) |
|
inherited |
Definition at line 330 of file min_cost_flow.h.
|
inherited |
Definition at line 334 of file min_cost_flow.h.
|
inherited |
Definition at line 329 of file min_cost_flow.h.
|
inherited |
Definition at line 331 of file min_cost_flow.h.
|
inherited |
Definition at line 333 of file min_cost_flow.h.
|
inherited |
| Enumerator | |
|---|---|
| NOT_SOLVED | |
| OPTIMAL | |
| FEASIBLE | |
| INFEASIBLE | |
| UNBALANCED | |
| BAD_RESULT | |
| BAD_COST_RANGE | |
Definition at line 195 of file min_cost_flow.h.
|
inlineexplicit |
Definition at line 617 of file min_cost_flow.h.
|
inherited |
Definition at line 396 of file min_cost_flow.cc.
|
inherited |
Definition at line 374 of file min_cost_flow.cc.
|
inherited |
Definition at line 412 of file min_cost_flow.cc.
|
inherited |
Definition at line 393 of file min_cost_flow.cc.
|
inherited |
Definition at line 389 of file min_cost_flow.cc.
|
inlineinherited |
Definition at line 342 of file min_cost_flow.h.
|
inherited |
Definition at line 406 of file min_cost_flow.cc.
|
inherited |
Definition at line 382 of file min_cost_flow.cc.
|
inherited |
Definition at line 357 of file min_cost_flow.cc.
|
inherited |
Definition at line 361 of file min_cost_flow.cc.
Definition at line 354 of file min_cost_flow.cc.
|
inlineinherited |
Definition at line 423 of file min_cost_flow.h.
|
inherited |
Definition at line 351 of file min_cost_flow.cc.
|
inlineinherited |
Definition at line 415 of file min_cost_flow.h.
|
inherited |
Definition at line 364 of file min_cost_flow.cc.
|
inlineinherited |
Definition at line 347 of file min_cost_flow.h.
|
inherited |
Definition at line 403 of file min_cost_flow.cc.
Definition at line 399 of file min_cost_flow.cc.