mascoptCplex.algos.networks
Class RoutingCplexFlowCapacityConstrains

java.lang.Object
  |
  +--mascoptCplex.algos.networks.RoutingCplexFlowCapacityMax
        |
        +--mascoptCplex.algos.networks.RoutingCplexFlowCapacityConstrains

public class RoutingCplexFlowCapacityConstrains
extends RoutingCplexFlowCapacityMax

Author:
fabrice.peix@sophia.inria.fr

Field Summary
 
Fields inherited from class mascoptCplex.algos.networks.RoutingCplexFlowCapacityMax
INFINITY, result
 
Constructor Summary
RoutingCplexFlowCapacityConstrains(NetworkCplexFlow f)
           
 
Method Summary
 boolean solve()
          Initialize the system flow, add the objective and constraints of capacity, so solve the flow on the network.
 
Methods inherited from class mascoptCplex.algos.networks.RoutingCplexFlowCapacityMax
addCapacity, averageFlow, getArcFlow, getChain, getPathSolution, getSingleChains, maxFlow, minFlow, objectiveRouting, printSolution, saveSolutionPath, sumFlow, sumLengthPaths
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingCplexFlowCapacityConstrains

public RoutingCplexFlowCapacityConstrains(NetworkCplexFlow f)
Parameters:
f -
Method Detail

solve

public boolean solve()
Initialize the system flow, add the objective and constraints of capacity, so solve the flow on the network.

Overrides:
solve in class RoutingCplexFlowCapacityMax
Returns:
true if the Cplex solution is optimal or feasible.