![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 405 of file min_cost_flow.h.
#include <min_cost_flow.h>
Public Types | |
| typedef Graph::NodeIndex | NodeIndex |
| typedef Graph::ArcIndex | ArcIndex |
| typedef int64_t | CostValue |
| typedef int64_t | FlowQuantity |
| typedef Graph::OutgoingOrOppositeIncomingArcIterator | OutgoingOrOppositeIncomingArcIterator |
| typedef ZVector< ArcIndex > | ArcIndexArray |
| Public Types inherited from operations_research::MinCostFlowBase | |
| enum | Status { NOT_SOLVED , OPTIMAL , FEASIBLE , INFEASIBLE , UNBALANCED , BAD_RESULT , BAD_COST_RANGE , BAD_CAPACITY_RANGE } |
Public Member Functions | |
| GenericMinCostFlow (const Graph *graph) | |
| GenericMinCostFlow (const GenericMinCostFlow &)=delete | |
| GenericMinCostFlow & | operator= (const GenericMinCostFlow &)=delete |
| const Graph * | graph () const |
| Status | status () const |
| void | SetNodeSupply (NodeIndex node, FlowQuantity supply) |
| void | SetArcUnitCost (ArcIndex arc, ArcScaledCostType unit_cost) |
| void | SetArcCapacity (ArcIndex arc, ArcFlowType new_capacity) |
| bool | Solve () |
| CostValue | GetOptimalCost () |
| FlowQuantity | Flow (ArcIndex arc) const |
| FlowQuantity | Capacity (ArcIndex arc) const |
| CostValue | UnitCost (ArcIndex arc) const |
| FlowQuantity | Supply (NodeIndex node) const |
| void | SetCheckFeasibility (bool value) |
| void | SetUseUpdatePrices (bool value) |
| void | SetPriceScaling (bool value) |
| typedef Graph::ArcIndex operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::ArcIndex |
Definition at line 408 of file min_cost_flow.h.
| typedef ZVector<ArcIndex> operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::ArcIndexArray |
Definition at line 413 of file min_cost_flow.h.
| typedef int64_t operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::CostValue |
Definition at line 409 of file min_cost_flow.h.
| typedef int64_t operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::FlowQuantity |
Definition at line 410 of file min_cost_flow.h.
| typedef Graph::NodeIndex operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::NodeIndex |
Definition at line 407 of file min_cost_flow.h.
| typedef Graph::OutgoingOrOppositeIncomingArcIterator operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::OutgoingOrOppositeIncomingArcIterator |
Definition at line 412 of file min_cost_flow.h.
|
explicit |
Definition at line 51 of file min_cost_flow.cc.
|
delete |
| auto operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::Capacity | ( | ArcIndex | arc | ) | const |
Definition at line 378 of file min_cost_flow.cc.
| auto operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::Flow | ( | ArcIndex | arc | ) | const |
Definition at line 367 of file min_cost_flow.cc.
| auto operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::GetOptimalCost | ( | ) |
Definition at line 482 of file min_cost_flow.cc.
|
inline |
Definition at line 427 of file min_cost_flow.h.
|
delete |
| void operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::SetArcCapacity | ( | ArcIndex | arc, |
| ArcFlowType | new_capacity ) |
Definition at line 99 of file min_cost_flow.cc.
| void operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::SetArcUnitCost | ( | ArcIndex | arc, |
| ArcScaledCostType | unit_cost ) |
Definition at line 89 of file min_cost_flow.cc.
|
inline |
Definition at line 477 of file min_cost_flow.h.
| void operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::SetNodeSupply | ( | NodeIndex | node, |
| FlowQuantity | supply ) |
Definition at line 79 of file min_cost_flow.cc.
|
inline |
Definition at line 481 of file min_cost_flow.h.
|
inline |
Definition at line 480 of file min_cost_flow.h.
| bool operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::Solve | ( | ) |
Definition at line 451 of file min_cost_flow.cc.
|
inline |
Definition at line 432 of file min_cost_flow.h.
| auto operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::Supply | ( | NodeIndex | node | ) | const |
Definition at line 396 of file min_cost_flow.cc.
| auto operations_research::GenericMinCostFlow< Graph, ArcFlowType, ArcScaledCostType >::UnitCost | ( | ArcIndex | arc | ) | const |
Definition at line 388 of file min_cost_flow.cc.